1 line
22 KiB
JavaScript
1 line
22 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-order_cancellation-index"],{"0d55":function(e,t,n){"use strict";n.r(t);var i=n("ea87"),r=n("5034");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);n("af00");var d=n("828b"),o=Object(d["a"])(r["default"],i["b"],i["c"],!1,null,"6e6d9600",null,!1,i["a"],void 0);t["default"]=o.exports},2239:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("5c47"),n("0506"),n("5ef2");n("d542");var i=n("aa10"),r={data:function(){return{domain:i.HTTP_REQUEST_URL,iShidden:!1,verify_code:"",orderInfo:{},isWeixin:!1,mer_id:"",downStatus:!1,type:"customer",service:null}},onLoad:function(e){this.verify_code=e.verify_code,this.mer_id=e.mer_id,this.verify_code&&this.codeChange(),this.$wechat.isWeixin()&&(this.isWeixin=!0)},methods:{codeChange:function(){return this.verify_code?/[0-9]/.test(this.verify_code)?void uni.navigateTo({url:"/pages/admin/cancellate_result/index?cal_code="+this.verify_code+"&mer_id="+this.mer_id}):this.$util.Tips({title:"请输入正确的核销码"}):this.$util.Tips({title:"请输入核销码"})},scanCode:function(){var e=this,t=this;this.$wechat.isWeixin()&&this.$wechat.wechatEvevt("scanQRCode",{needResult:1,scanType:["qrCode","barCode"]}).then((function(n){e.verify_code=t.getDataBetweenStrings(n.resultStr,"=","&"),uni.navigateTo({url:"/pages/admin/cancellate_result/index?cal_code="+t.verify_code+"&mer_id="+t.mer_id})})).catch((function(t){e.$util.Tips({title:t})}))},getDataBetweenStrings:function(e,t,n){var i=e.indexOf(t),r=e.indexOf(n);return i>=0&&r>=0&&i<r?e.substring(i+t.length,r):null}}};t.default=r},5034:function(e,t,n){"use strict";n.r(t);var i=n("2239"),r=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=r.a},af00:function(e,t,n){"use strict";var i=n("da4b"),r=n.n(i);r.a},d542:function(e,t,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.computeRefundPrice=function(e,t){return r.default.post("server/".concat(e,"/refund/compute"),t,{login:!0})},t.confirmRefundApi=function(e,t){return r.default.post("server/".concat(e,"/refund/create"),t,{login:!0})},t.getAdminOrderDelivery=function(e){return r.default.get("admin/order/delivery/gain/"+e,{},{login:!0})},t.getAdminOrderDetail=function(e,t){return r.default.get("admin/"+e+"/order/"+t,{},{login:!0})},t.getAdminOrderList=function(e){return r.default.get("admin/order/list",e,{login:!0})},t.getDeliveryStoreLst=function(e){return r.default.get("admin/".concat(e,"/delivery_options"))},t.getLogistics=function(){return r.default.get("logistics",{},{login:!1})},t.getOrderList=function(e,t){return r.default.get("admin/".concat(t,"/order_list"),e,{login:!0})},t.getRefundOrderApi=function(e,t){return r.default.get("server/".concat(e,"/refund/check/").concat(t),{},{login:!0})},t.getRefundOrderDetail=function(e,t){return r.default.get("server/".concat(e,"/refund/detail/").concat(t),{},{login:!0})},t.getRefundOrderInfo=function(e,t){return r.default.get("server/".concat(e,"/refund/get/").concat(t))},t.getRefundOrderList=function(e,t){return r.default.get("server/".concat(t,"/refund/lst"),e,{login:!0})},t.getStatisticsInfo=function(){return r.default.get("admin/order/statistics",{},{login:!0})},t.getStatisticsMonth=function(e){return r.default.get("admin/order/data",e,{login:!0})},t.getStatisticsTime=function(e){return r.default.get("admin/order/time",e,{login:!0})},t.getTempAndDelivery=function(e){return r.default.get("admin/".concat(e,"/delivery_config"))},t.orderCancellation=function(e,t){return r.default.post("admin/".concat(e,"/verify/").concat(t))},t.orderDeliveryInfo=function(e){return r.default.get("admin/".concat(e,"/mer_form"))},t.orderExportTemp=function(e){return r.default.get("store/expr/temps",e)},t.orderNumberStatistics=function(e,t){return r.default.get("admin/".concat(t,"/pay_number"),e,{login:!0})},t.orderPrice=function(e,t){return r.default.get("admin/"+t+"/order_price",e,{login:!0})},
|