shop-php/public/static/js/pages-admin-orderDetail-index.58726c11.js

1 line
38 KiB
JavaScript
Raw Normal View History

2023-09-25 11:25:54 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-orderDetail-index"],{"0bd6":function(e,t,r){"use strict";r("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.checkPhone=function(e){return!!/^1(3|4|5|6|7|8|9)\d{9}$/.test(e)},t.isEmailAvailable=function(e){return!!/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/.test(e)},t.isMoney=function(e){return!!/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(e)},r("ac1f"),r("00b4")},"24fd":function(e,t,r){"use strict";r.r(t);var i=r("3e4d"),o=r.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},"27b6":function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",[r("v-uni-view",{staticClass:"priceChange",class:!0===e.change?"on":""},[r("v-uni-view",{staticClass:"priceTitle"},[e._v(e._s(0==e.status?"一键改价":1==e.status?"订单备注":"立即退款")),r("span",{staticClass:"iconfont icon-guanbi",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}})]),0==e.status?r("v-uni-view",{staticClass:"listChange"},[r("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[r("v-uni-view",[e._v("商品总价(¥)")]),r("v-uni-view",{staticClass:"money"},[r("v-uni-input",{staticClass:"color_black",attrs:{type:"digit"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.setValue.apply(void 0,arguments)}},model:{value:e.orderInfo.total_price,callback:function(t){e.$set(e.orderInfo,"total_price",t)},expression:"orderInfo.total_price"}})],1)],1),r("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[r("v-uni-view",[e._v("实际支付邮费(¥)")]),r("v-uni-view",{staticClass:"money"},[r("v-uni-input",{staticClass:"color_black",attrs:{type:"digit"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.setValue.apply(void 0,arguments)}},model:{value:e.orderInfo.pay_postage,callback:function(t){e.$set(e.orderInfo,"pay_postage",t)},expression:"orderInfo.pay_postage"}})],1)],1),r("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[r("v-uni-view",[e._v("实际支付金额(¥)")]),r("v-uni-view",{staticClass:"money"},[e._v(e._s(Number(this.orderInfo.total_price)+Number(this.orderInfo.pay_postage)-Number(this.orderInfo.coupon_price)-Number(this.orderInfo.integral_price))),r("span",{staticClass:"iconfont icon-suozi"})])],1),e.orderInfo.coupon_price>0?r("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[r("v-uni-view",[e._v("优惠金额(¥)")]),r("v-uni-view",{staticClass:"money"},[e._v(e._s(e.orderInfo.coupon_price)),r("span",{staticClass:"iconfont icon-suozi"})])],1):e._e(),e.orderInfo.integral_price>0?r("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[r("v-uni-view",[e._v("积分抵扣(¥)")]),r("v-uni-view",{staticClass:"money"},[e._v(e._s(e.orderInfo.integral_price)),r("span",{staticClass:"iconfont icon-suozi"})])],1):e._e()],1):r("v-uni-view",{staticClass:"listChange"},[r("v-uni-textarea",{attrs:{placeholder:e.orderInfo.remark?e.orderInfo.remark:"请填写备注信息..."},model:{value:e.remark,callback:function(t){e.remark=t},expression:"remark"}})],1),r("v-uni-view",{staticClass:"modify",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.save.apply(void 0,arguments)}}},[e._v(e._s(0==e.status?"立即修改":"确认提交"))])],1),r("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!0===e.change,expression:"change === true"}],staticClass:"mask",on:{touchmove:function(t){t.preventDefault(),arguments[0]=t=e.$handleEvent(t)}}})],1)},o=[]},3649:function(e,t,r){"use strict";var i=r("e62c"),o=r.n(i);o.a},"3e4d":function(e,t,r){"use strict";r("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"PriceChange",components:{},props:{change:Boolean,orderInfo:Object,status:String},data:function(){return{focus:!1,price:0,actual_price:0,refund_price:0,