zx/public/mer/js/chunk-15291cb4.a3d2d0af.js

1 line
97 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-15291cb4"],{"07e9":function(e,t,i){},"0b65":function(e,t,i){"use strict";t["a"]={shortcuts:[{text:"今天",onClick:function(e){var t=new Date,i=new Date;i.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),e.$emit("pick",[i,t])}},{text:"昨天",onClick:function(e){var t=new Date,i=new Date;i.setTime(i.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),e.$emit("pick",[i,t])}},{text:"最近7天",onClick:function(e){var t=new Date,i=new Date;i.setTime(i.getTime()-6048e5),e.$emit("pick",[i,t])}},{text:"最近30天",onClick:function(e){var t=new Date,i=new Date;i.setTime(i.getTime()-2592e6),e.$emit("pick",[i,t])}},{text:"本月",onClick:function(e){var t=new Date,i=new Date;i.setTime(i.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),e.$emit("pick",[i,t])}},{text:"本年",onClick:function(e){var t=new Date,i=new Date;i.setTime(i.setTime(new Date((new Date).getFullYear(),0,1))),e.$emit("pick",[i,t])}}]}},"1db3":function(e,t,i){"use strict";i("d199")},"1eaf":function(e,t,i){"use strict";i("ccfe")},"2e83":function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));i("28a5");var r=i("8122"),a=i("e8ae"),s=i.n(a),n=i("21a6");function l(e,t,i,a,l,o){var c,d=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],u=1,m=new s.a.Workbook,p=e.length;function _(e){var t=Array.isArray(e)?e[0]:e,i=Array.isArray(e)?e[1]:{};c=m.addWorksheet(t,i)}function v(e,t){if(!Object(r["isEmpty"])(e)){e=Array.isArray(e)?e:e.split(",");for(var i=0;i<e.length;i++){var a=c.getRow(i+1);a.getCell(1).value=e[i],a.height=30,a.font={bold:!0,size:20,vertAlign:"subscript"},a.alignment={vertical:"bottom",horizontal:"center"},a.outlineLevel=1,c.mergeCells(i+1,1,i+1,t),a.commit(),u++}}}function h(e){if(!Object(r["isEmpty"])(e)){for(var t=c.getRow(u),i=1;i<=e.length;i++)t.getCell(i).value=e[i-1];t.height=25,t.width=50,t.font={bold:!0,size:18,vertAlign:"subscript"},t.alignment={vertical:"bottom",horizontal:"center"},t.outlineLevel=1,t.commit(),u++}}function g(e){if(!Object(r["isEmpty"])(e))for(var t=0;t<e.length;t++){for(var i=u,a=c.getRow(u),s=!1,n=0,l=0,o=0,d=0;d<e[t].length;d++)Array.isArray(e[t][d])?(n=o,s=!0,b(e[t][d],o),o+=e[t][d][0].length,l=o):(a.getCell(C(o)).value=e[t][d],a.getCell(C(o)).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},a.alignment={vertical:"middle",horizontal:"center"},o++);s&&y(i,u,n,l),a.height=25,a.commit(),u++}}function b(e,t){for(var i=e.length,r=i-1,a=0;a<e.length;a++){for(var s=c.getRow(u),n=0;n<e[a].length;n++)s.getCell(C(t+n)).value=e[a][n],s.getCell(C(t+n)).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},s.alignment={vertical:"middle",horizontal:"center"};s.height=25,s.commit(),a<r&&u++}}function y(e,t,i,r){for(var a=0;a<p;a++)(a<i||a>=r)&&c.mergeCells(C(a)+e+":"+C(a)+t)}function w(e){if(!Object(r["isEmpty"])(e))if(Array.isArray(e))for(var t=0;t<e.length;t++){var i=c.getRow(u);i.getCell(1).value=e[t],i.getCell(1).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},i.alignment={vertical:"middle",horizontal:"left"},c.mergeCells("A"+u+":"+C(p-1)+u),u++}else{var a=c.getRow(u);a.getCell(1).value=e[f],a.getCell(1).border={top:{style:"thin"},left:{style:"thin"},bottom:{style:"thin"},right:{style:"thin"}},a.alignment={vertical:"middle",horizontal:"left"},c.mergeCells("A"+u+":"+C(p-1)+u)}}function C(e){if(e<26)return d[e];var t=e%26,i=Math.floor(e%26);return d[i]+d[t]}function k(e){e||(e=(new Date).getTime()),m.xlsx.writeBuffer().then((function(t){var i=new Blob([t],{type:"application/octet-stream"});n["saveAs"](i,e+".xlsx")}))}_(o),v(t,p),h(e),g(i),w(a),k(l)}},"3c37":function(e,t,i){"use strict";i("6df3")},"634a":function(e,t,i){"use strict";i.r(t);var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"divBox"},[i("div",{staticClass:"selCard mb14"},[i("el-form",{ref:"searchForm",attrs:{model:e.tableFrom,size:"small","label-width":"85px",inline:""}},[i("el-form-item",{staticStyle:{display:"block"},attrs:{label:"订单类型:",prop:"order_type"}},[i("el-radio-group",{attrs:{type:"button"},on:{change:function(t){e.getList(1),e.getCardList()}},model:{value:e.tableFrom.order_type,callback:function(t){e.$set(e.tableFrom,"order_type",t)},expression:"tableFrom.order_type"}},[i("el-radio-button",{attrs:{label:"-1"}},[e._v("全部 "),e.headeNum.type?i("span",[e._v(e._s("("+e.headeNum.type.count+")"))]):e._e()]),e._v(" "),i("el-radio-button",{attrs:{label:"0"}},[e._v("普通订单 "),e.headeNum.type_0?i("span",[e._v(e._s("("+e.headeNum.type_0.count+")"))]):e._e()]),e._v(" "),i("el-radio-button",{attrs:{label:"1"}},[e._v("核销订单 "),e.headeNum.type_1?i("span",[e._v(e._s("("+e.headeNum.type_1.count+")"))]):e._e()]),e._v(" "),i("el-radio-button",{attrs:{label:"2"}},[e._v("虚拟商品订单 "),e.headeNum.type_2?i("span",[e._v(e._s("("+e.headeNum.type_2.count+")"))]):e._e()]),e._v(" "),i("el-radio-button",{attrs:{label:"3"}},[e._v("卡密商品订单 "),e.headeNum.type_3?i("span",[e._v(e._s("("+e.headeNum.type_3.count+")"))]):e._e()])],1)],1),e._v(" "),i("el-form-item",{attrs:{label:"时间选择:"}},[i("el-date-picker",{staticStyle:{width:"280px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间","picker-options":e.pickerOptions},on:{change:e.onchangeTime},model:{value:e.timeVal,callback:function(t){e.timeVal=t},expression:"timeVal"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"发货方式:",prop:"filter_delivery"}},[i("el-select",{staticClass:"filter-item selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(t){e.getList(1),e.getCardList()}},model:{value:e.tableFrom.filter_delivery,callback:function(t){e.$set(e.tableFrom,"filter_delivery",t)},expression:"tableFrom.filter_delivery"}},e._l(e.dliveryWayList,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),i("el-form-item",{attrs:{label:"商品名称:",prop:"store_name"}},[i("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入商品名称",clearable:""},nativeOn:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.getList(1),e.getCardList()}},model:{value:e.tableFrom.store_name,callback:function(t){e.$set(e.tableFrom,"store_name",t)},expression:"tableFrom.store_name"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"总单单号:",prop:"group_order_sn"}},[i("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入总单订单号",clearable:""},nativeOn:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.getList(1),e.getCardList()}},model:{value:e.tableFrom.group_order_sn,callback:function(t){e.$set(e.tableFrom,"group_order_sn",t)},expression:"tableFrom.group_order_sn"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"商品类型:",prop:"filter_product"}},[i("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(t){e.getList(1),e.getCardList()}},model:{value:e.tableFrom.filter_product,callback:function(t){e.$set(e.tableFrom,"filter_product",t)},expression:"tableFrom.filter_product"}},e._l(e.productTypeList,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),i("el-form-item",{attrs:{label:"活动类型:",prop:"activity_type"}},[i("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(t){e.getList(1),e.getCardList()}},model:{value:e.tableFrom.activity_type,callback:function(t){e.$set(e.tableFrom,"activity_type",t)},expression:"tableFrom.activity_type"}},e._l(e.activityList,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),i("el-form-item",{attrs:{label:"支付方式:",prop:"pay_type"}},[i("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(t){e.getList(1),e.getCardList()}},model:{value:e.tableFrom.pay_type,callback:function(t){e.$set(e.tableFrom,"pay_type",t)},expression:"tableFrom.pay_type"}},[i("el-option",{attrs:{label:"余额",value:"0"}}),e._v(" "),i("el-option",{attrs:{label:"微信",value:"1"}}),e._v(" "),i("el-option",{attrs:{label:"支付宝",value:"2"}})],1)],1),e._v(" "),i("el-form-item",{attrs:{label:"关键字:",prop:"keywords"}},[i("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入订单号/收货人/联系方式",clearable:""},nativeOn:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.getList(1),e.getCardList()}},model:{value:e.tableFrom.keywords,callback:function(t){e.$set(e.tableFrom,"keywords",t)},expression:"tableFrom.keywords"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"用户信息:",prop:"username"}},[i("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入用户昵称/手机号",clearable:""},nativeOn:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.getList(1),e.getCardList()}},model:{value:e.tableFrom.username,callback:function(t){e.$set(e.tableFrom,"username",t)},expression:"tableFrom.username"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"快递单号:",prop:"delivery_id"}},[i("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入快递单号",clearable:""},nativeOn:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.getList(1),e.getCardList()}},model:{value:e.tableFrom.delivery_id,callback:function(t){e.$set(e.tableFrom,"delivery_id",t)},expression:"tableFrom.delivery_id"}})],1),e._v(" "),i("el-form-item",[i("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){e.getList(1),e.getCardList()}}},[e._v("搜索")]),e._v(" "),i("el-button",{attrs:{size:"small"},on:{click:function(t){return e.searchReset()}}},[e._v("重置")])],1)],1)],1),e._v(" "),e.cardLists.length>0?i("cards-data",{attrs:{"card-lists":e.cardLists}}):e._e(),e._v(" "),i("el-card",{staticClass:"dataBox"},[i("el-tabs",{on:{"tab-click":function(t){e.getList(1),e.getCardList(),e.getHeaderList()}},model:{value:e.tableFrom.status,callback:function(t){e.$set(e.tableFrom,"status",t)},expression:"tableFrom.status"}},[i("el-tab-pane",{attrs:{name:"",label:"全部("+(e.orderChartType.all||0)+")"}}),e._v(" "),i("el-tab-pane",{attrs:{name:"1",label:"待付款("+(e.orderChartType.unpaid||0)+")"}}),e._v(" "),i("el-tab-pane",{attrs:{name:"2",label:"待发货("+(e.orderChartType.unshipped||0)+")"}}),e._v(" "),i("el-tab-pane",{attrs:{name:"3",label:"待收货("+(e.orderChartType.untake||0)+")"}}),e._v(" "),i("el-tab-pane",{attrs:{name:"4",label:"待评价("+(e.orderChartType.unevaluate||0)+")"}}),e._v(" "),i("el-tab-pane",{attrs:{name:"5",label:"交易完成("+(e.orderChartType.complete||0)+")"}}),e._v(" "),i("el-tab-pane",{attrs:{name:"6",label:"已退款("+(e.orderChartType.refund||0)+")"}}),e._v(" "),i("el-tab-pane",{attrs:{name:"7",label:"已删除("+(e.orderChartType.del||0)+")"}})],1),e._v(" "),i("div",{staticClass:"mt5"},[i("el-button",{staticClass:"mr14",attrs:{size:"small",type:"primary"},on:{click:function(t){return e.orderCancellation("")}}},[e._v("订单核销")]),e._v(" "),i("el-dropdown",{staticClass:"dropdown",on:{command:e.exports}},[i("span",{staticClass:"el-dropdown-link"},[e._v("\n 导出列表"),i("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[i("el-dropdown-item",{attrs:{command:"1"}},[e._v("导出订单")]),e._v(" "),i("el-dropdown-item",{attrs:{command:"2"}},[e._v("导出发货单")])],1)],1),e._v(" "),i("el-upload",{staticClass:"mr14 ml5",staticStyle:{display:"inline-block"},attrs:{size:"small",headers:e.myHeaders,action:e.fileUrl,"on-success":e.handleSuccess,"show-file-list":!1}},[i("el-button",{attrs:{size:"small"}},[e._v("导入批量发货")])],1),e._v(" "),i("el-button",{attrs:{size:"small"},on:{click:e.getDeliveryList}},[e._v("批量发货记录")]),e._v(" "),i("el-button",{attrs:{size:"small"},on:{click:e.batchSend}},[e._v("批量发送货")])],1),e._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticClass:"table mt20",attrs:{data:e.tableData.data,size:"small","highlight-current-row":"","cell-class-name":e.addTdClass}},[i("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[i("el-form-item",{attrs:{label:"商品总价:"}},[i("span",[e._v(e._s(e._f("filterEmpty")(t.row.total_price)))])]),e._v(" "),i("el-form-item",{attrs:{label:"下单时间:"}},[i("span",[e._v(e._s(t.row.create_time))])]),e._v(" "),i("el-form-item",{attrs:{label:"用户备注:"}},[i("span",{staticStyle:{display:"inline-block",width:"200px"}},[e._v(e._s(e._f("filterEmpty")(t.row.mark)))])]),e._v(" "),i("el-form-item",{attrs:{label:"商家备注:"}},[i("span",[e._v(e._s(e._f("filterEmpty")(t.row.remark)))])])],1)]}}])}),e._v(" "),i("el-table-column",{attrs:{width:"50"},scopedSlots:e._u([{key:"header",fn:function(t){return[i("el-popover",{staticClass:"tabPop",attrs:{placement:"top-start",width:"100",trigger:"hover"}},[i("div",[i("span",{staticClass:"spBlock onHand",class:{check:"dan"===e.chkName},on:{click:function(i){return e.onHandle("dan",t.$index)}}},[e._v("选中本页")]),e._v(" "),i("span",{staticClass:"spBlock onHand",class:{check:"duo"===e.chkName},on:{click:function(t){return e.onHandle("duo")}}},[e._v("选中全部")])]),e._v(" "),i("el-checkbox",{attrs:{slot:"reference",value:"dan"===e.chkName&&e.checkedPage.indexOf(e.tableFrom.page)>-1||"duo"===e.chkName},on:{change:e.changeType},slot:"reference"})],1)]}},{key:"default",fn:function(t){return[i("el-checkbox",{attrs:{value:e.checkedIds.indexOf(t.row.order_id)>-1||"duo"===e.chkName&&-1===e.noChecked.indexOf(t.row.order_id)},on:{change:function(i){return e.changeOne(i,t.row)}}})]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"订单编号","min-width":"170"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",{staticStyle:{display:"block"},domProps:{textContent:e._s(t.row.order_sn)}}),e._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:t.row.is_del>0,expression:"scope.row.is_del > 0"}],staticStyle:{color:"#ED4014",display:"block"}},[e._v("用户已删除")])]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"real_name",label:"收货人/订购人","min-width":"130"}}),e._v(" "),i("el-table-column",{attrs:{label:"商品信息","min-width":"330"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.orderProduct,(function(r,a){return i("div",{key:a,staticClass:"tabBox acea-row row-middle"},[i("div",{staticClass:"demo-image__preview"},[i("el-image",{attrs:{src:r.cart_info.product.image,"preview-src-list":[r.cart_info.product.image]}})],1),e._v(" "),i("span",{staticClass:"tabBox_tit"},[e._v(e._s(r.cart_info.product.store_name+" | ")+e._s(r.cart_info.productAttr.sku))]),e._v(" "),i("span",{staticClass:"tabBox_pice"},[2===t.row.activity_type&&r.cart_info.productPresellAttr?i("span",[e._v(e._s("¥"+r.cart_info.productPresellAttr.presell_price+" x "+r.product_num))]):3===t.row.activity_type&&r.cart_info.productAssistAttr?i("span",[e._v(e._s("¥"+r.cart_info.productAssistAttr.assist_price+" x "+r.product_num))]):i("span",[e._v(e._s("¥"+r.cart_info.productAttr.price+" x "+r.product_num))]),e._v(" "),r.refund_num<r.product_num&&r.refund_num>=0?i("em",{staticStyle:{color:"red","font-style":"normal"}},[e._v("(-"+e._s(r.product_num-r.refund_num)+")")]):e._e()])])}))}}])}),e._v(" "),i("el-table-column",{attrs:{label:"实际支付","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.pay_price))]),e._v(" "),t.row.finalOrder?i("p",[e._v("尾款:"+e._s(t.row.finalOrder.pay_price))]):e._e()]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"支付类型","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[1===t.row.paid?i("span",[e._v(e._s(e._f("orderPayType")(t.row.pay_type)))]):i("span",[e._v("--")])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"支付状态","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(0===t.row.paid?"未支付":"已支付"))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:"订单状态","min-width":"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[0===t.row.is_del?i("span",[0===t.row.paid?i("span",[e._v("待付款")]):i("span",[0===t.row.order_type||2===t.row.order_type?i("span",[e._v(e._s(e._f("orderStatusFilter")(t.row.status)))]):i("span",[e._v(e._s(e._f("takeOrderStatusFilter")(t.row.status)))])])]):i("span",[e._v("已删除")])]}}])}),e._v(" "),i("el-table-column",{attrs:{prop:"create_time",label:"下单时间","min-width":"130"}}),e._v(" "),i("el-table-column",{key:"8",attrs:{label:"操作","min-width":"150",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-button",{attrs:{type:"text",size:"small"},on:{click:function(i){return e.onOrderDetails(t.row.order_id)}}},[e._v("详情")]),e._v(" "),e.orderFilter(t.row)?i("el-button",{attrs:{type:"text",size:"small"},on:{click:function(i){return e.onRefundDetail(t.row.order_sn)}}},[e._v("查看退款单")]):e._e(),e._v(" "),0===t.row.paid&&0===t.row.is_del&&2!=t.row.activity_type?i("el-button",{attrs:{type:"text",size:"small"},on:{click:function(i){return e.edit(t.row.order_id)}}},[e._v("编辑")]):e._e(),e._v(" "),0!=t.row.order_type&&2!=t.row.order_type||0!==t.row.status||1!==t.row.paid?e._e():i("el-button",{attrs:{type:"text",size:"small"},on:{click:function(i){return e.send(t.row,t.row.order_id)}}},[e._v("发送货")]),e._v(" "),0!==t.row.is_del?i("el-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(i){return e.handleDelete(t.row,t.$index)}}},[e._v("删除")]):e._e(),e._v(" "),1==t.row.order_type&&0===t.row.status&&1===t.row.paid?i("el-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(i){return e.orderCancellation(t.row.verify_code)}}},[e._v("去核销")]):e._e()]}}])})],1),e._v(" "),i("div",{staticClass:"block"},[i("el-pagination",{attrs:{background:"","page-size":e.tableFrom.limit,"current-page":e.tableFrom.page,layout:"total, prev, pager, next, jumper",total:e.tableData.total},on:{"size-change":e.handleSizeChange,"current-change":e.pageChange}})],1)],1),e._v(" "),i("el-dialog",{attrs:{title:"操作记录",visible:e.dialogVisible,width:"700px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.LogLoading,expression:"LogLoading"}],staticStyle:{width:"100%"},attrs:{border:"",data:e.tableDataLog.data}},[i("el-table-column",{attrs:{prop:"order_id",align:"center",label:"订单ID","min-width":"80"}}),e._v(" "),i("el-table-column",{attrs:{prop:"change_message",label:"操作记录",align:"center","min-width":"280"}}),e._v(" "),i("el-table-column",{attrs:{prop:"change_time",label:"操作时间",align:"center","min-width":"280"}})],1),e._v(" "),i("div",{staticClass:"block"},[i("el-pagination",{attrs:{"page-size":e.tableFromLog.limit,"current-page":e.tableFromLog.page,layout:"prev, pager, next, jumper",total:e.tableDataLog.total},on:{"size-change":e.handleSizeChangeLog,"current-change":e.pageChangeLog}})],1)],1),e._v(" "),i("el-dialog",{attrs:{title:"修改订单",visible:e.editVisible,width:"700px"},on:{"update:visible":function(t){e.editVisible=t}}},[i("el-form",{ref:"formValidate",attrs:{model:e.formValidate,"label-width":"120px"},nativeOn:{submit:function(e){e.preventDefault()}}},[i("el-form-item",{attrs:{label:"订单总价:"}},[i("el-input-number",{attrs:{min:0,placeholder:"请输入订单总价"},on:{change:e.changePrice},model:{value:e.formValidate.total_price,callback:function(t){e.$set(e.formValidate,"total_price",t)},expression:"formValidate.total_price"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"实际支付邮费:"}},[i("el-input-number",{attrs:{min:0,placeholder:"请输入订单油费"},on:{change:e.changePrice},model:{value:e.formValidate.pay_postage,callback:function(t){e.$set(e.formValidate,"pay_postage",t)},expression:"formValidate.pay_postage"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"优惠金额:"}},[i("span",[e._v(e._s(e.formValidate.coupon_price))])]),e._v(" "),i("el-form-item",{attrs:{label:"积分抵扣金额:"}},[i("span",[e._v(e._s(e.formValidate.integral_price))])]),e._v(" "),i("el-form-item",{attrs:{label:"实际支付金额:"}},[i("span",[e._v(e._s(e.formValidate.pay_price))])])],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary"},on:{click:e.editConfirm}},[e._v("确定")])],1)],1),e._v(" "),i("el-dialog",{attrs:{title:e.isBatch?"批量发货":"订单发送货",visible:e.sendVisible,width:"900px","before-close":e.handleClose},on:{"update:visible":function(t){e.sendVisible=t}}},[i("el-form",{ref:"shipment",attrs:{model:e.shipment,rules:e.rules,"label-width":"120px"},nativeOn:{submit:function(e){e.preventDefault()}}},[e.isResend&&3!=e.noLogistics&&2!=e.tableFrom.order_type?i("el-form-item",{attrs:{label:1==e.shipment.delivery_type||4==e.shipment.delivery_type?"原快递公司:":"送货人姓名:"}},[i("span",[e._v(e._s(e.original.delivery_name))])]):e._e(),e._v(" "),e.isResend&&3!=e.noLogistics&&2!=e.tableFrom.order_type?i("el-form-item",{attrs:{label:1==e.shipment.delivery_type||4==e.shipment.delivery_type?"原快递单号:":"送货人手机号:"}},[i("span",[e._v(e._s(e.original.delivery_id))])]):e._e(),e._v(" "),i("el-form-item",{attrs:{label:"选择类型:",prop:"delivery_type"}},[i("el-radio-group",{on:{change:e.changeSend},model:{value:e.shipment.delivery_type,callback:function(t){e.$set(e.shipment,"delivery_type",t)},expression:"shipment.delivery_type"}},[e.isBatch||2==e.tableFrom.order_type||1==e.orderType?e._e():i("el-radio",{attrs:{label:1}},[e._v("手动发货")]),e._v(" "),i("el-radio",{staticClass:"radio",attrs:{label:3}},[e._v(" "+e._s(1==e.orderType?"虚拟发货":"无需物流"))]),e._v(" "),1!=e.isDump||2==e.tableFrom.order_type||1==e.orderType||e.isBatch?e._e():i("el-radio",{staticClass:"radio",attrs:{label:4}},[e._v("电子面单打印")]),e._v(" "),2!=e.tableFrom.order_type&&1!=e.orderType?i("el-radio",{attrs:{label:2}},[e._v("自己配送")]):e._e(),e._v(" "),2==e.tableFrom.order_type||1==e.orderType||e.isBatch?e._e():i("el-radio",{attrs:{label:5}},[e._v("同城配送")])],1)],1),e._v(" "),5==e.shipment.delivery_type&&2!=e.tableFrom.order_type&&1!=e.orderType?i("el-form-item",{attrs:{label:"选择发货点:",prop:"station_id"}},[i("el-select",{staticClass:"pageWidth",attrs:{size:"small",placeholder:"请选择配送发货点"},model:{value:e.shipment.station_id,callback:function(t){e.$set(e.shipment,"station_id",t)},expression:"shipment.station_id"}},e._l(e.storeList,(function(e,t){return i("el-option",{key:e.value+t,attrs:{label:e.label,value:e.value}})})),1)],1):e._e(),e._v(" "),1!=e.shipment.delivery_type&&4!=e.shipment.delivery_type||2==e.tableFrom.order_type||1==e.orderType?e._e():i("el-form-item",{attrs:{label:"快递公司:",prop:"delivery_name"}},[i("el-select",{staticClass:"pageWidth",attrs:{filterable:"",size:"small",placeholder:"请选择快递公司"},on:{change:function(t){return e.getTempsLst(e.shipment.delivery_name)}},model:{value:e.shipment.delivery_name,callback:function(t){e.$set(e.shipment,"delivery_name",t)},expression:"shipment.delivery_name"}},e._l(e.deliveryList,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),5==e.shipment.delivery_type&&2!=e.tableFrom.order_type&&1!=e.orderType?i("el-form-item",{attrs:{label:"包裹重量(kg)",prop:"cargo_weight"}},[i("el-input-number",{staticStyle:{width:"200px"},attrs:{size:"small",placeholder:"请输入包裹重量"},model:{value:e.shipment.cargo_weight,callback:function(t){e.$set(e.shipment,"cargo_weight",t)},expression:"shipment.cargo_weight"}})],1):e._e(),e._v(" "),5==e.shipment.delivery_type&&2!=e.tableFrom.order_type&&1!=e.orderType?i("el-form-item",{attrs:{label:"配送备注:"}},[i("el-input",{staticClass:"pageWidth",attrs:{type:"textarea",size:"small",placeholder:"请输入配送单备注"},model:{value:e.shipment.mark,callback:function(t){e.$set(e.shipment,"mark",t)},expression:"shipment.mark"}})],1):e._e(),e._v(" "),1==e.shipment.delivery_type&&2!=e.tableFrom.order_type&&1!=e.orderType?i("el-form-item",{attrs:{label:"快递单号:",prop:"delivery_id"}},[i("el-input",{staticClass:"pageWidth",attrs:{size:"small",placeholder:"请输入快递单号"},model:{value:e.shipment.delivery_id,callback:function(t){e.$set(e.shipment,"delivery_id",t)},expression:"shipment.delivery_id"}})],1):e._e(),e._v(" "),4==e.shipment.delivery_type&&2!=e.tableFrom.order_type&&1!=e.orderType?i("el-form-item",{attrs:{label:"电子面单:",prop:"temp_id"}},[i("el-select",{staticClass:"pageWidth",attrs:{size:"small",placeholder:"请选择电子面单"},model:{value:e.shipment.temp_id,callback:function(t){e.$set(e.shipment,"temp_id",t)},expression:"shipment.temp_id"}},e._l(e.eleTempsLst,(function(e,t){return i("el-option",{key:e.temp_id+t,attrs:{label:e.title,value:e.temp_id}})})),1),e._v(" "),i("el-button",{attrs:{type:"text"},on:{click:function(t){return e.getPicture()}}},[e._v("预览")])],1):e._e(),e._v(" "),4==e.shipment.delivery_type&&2!=e.tableFrom.order_type&&1!=e.orderType?i("el-form-item",{attrs:{label:"寄件人姓名:",prop:"from_name"}},[i("el-input",{staticClass:"pageWidth",attrs:{size:"small",placeholder:"请输入寄件人姓名"},model:{value:e.shipment.from_name,callback:function(t){e.$set(e.shipment,"from_name",t)},expression:"shipment.from_name"}})],1):e._e(),e._v(" "),4==e.shipment.delivery_type&&2!=e.tableFrom.order_type&&1!=e.orderType?i("el-form-item",{attrs:{label:"寄件人电话:",prop:"from_tel"}},[i("el-input",{staticClass:"pageWidth",attrs:{size:"small",placeholder:"请输入寄件人电话"},model:{value:e.shipment.from_tel,callback:function(t){e.$set(e.shipment,"from_tel",t)},expression:"shipment.from_tel"}})],1):e._e(),e._v(" "),2==e.shipment.delivery_type&&2!=e.tableFrom.order_type&&1!=e.orderType?i("el-form-item",{attrs:{label:"送货人姓名:",prop:"to_name"}},[i("el-input",{staticClass:"pageWidth",attrs:{size:"small",maxlength:"10",placeholder:"请输入送货人姓名"},model:{value:e.shipment.to_name,callback:function(t){e.$set(e.shipment,"to_name",t)},expression:"shipment.to_name"}})],1):e._e(),e._v(" "),2==e.shipment.delivery_type&&2!=e.tableFrom.order_type&&2!=e.orderType?i("el-form-item",{attrs:{label:"送货人手机号:",prop:"to_phone"}},[i("el-input",{staticClass:"pageWidth",attrs:{size:"small",placeholder:"请输入送货人手机号"},model:{value:e.shipment.to_phone,callback:function(t){e.$set(e.shipment,"to_phone",t)},expression:"shipment.to_phone"}})],1):e._e(),e._v(" "),4==e.shipment.delivery_type&&2!=e.tableFrom.order_type&&1!=e.orderType?i("el-form-item",{attrs:{label:"寄件人地址:",prop:"from_addr"}},[i("el-input",{staticClass:"pageWidth",attrs:{type:"textarea",size:"small",placeholder:"请输入寄件人地址"},model:{value:e.shipment.from_addr,callback:function(t){e.$set(e.shipment,"from_addr",t)},expression:"shipment.from_addr"}})],1):e._e(),e._v(" "),4!=e.shipment.type&&2!=e.activityType&&(e.productList.length>1||e.productNum>1)?i("el-form-item",{attrs:{label:"分单发货:"}},[i("el-switch",{attrs:{"active-value":1,"inactive-value":0,width:55,"active-text":"开启","inactive-text":"关闭"},model:{value:e.shipment.is_split,callback:function(t){e.$set(e.shipment,"is_split",t)},expression:"shipment.is_split"}}),e._v(" "),i("p",{staticClass:"area-desc"},[e._v("可选择表格中的商品单独发货,发货后会生成新的订单且不能撤回,请谨慎操作!")])],1):e._e(),e._v(" "),1==e.shipment.is_split&&2!=e.tableFrom.order_type&&(e.productList.length>1||e.productNum>1)?i("el-form-item",{attrs:{label:""}},[i("el-table",{ref:"multipleSelection",staticClass:"table-line",attrs:{data:e.productList,"tooltip-effect":"dark",size:"mini","row-key":function(e){return e.product_id}},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{align:"center",type:"selection","reserve-selection":!0,"min-width":"50"}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"商品信息","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",{staticClass:"acea-row",staticStyle:{"align-items":"center"}},[i("div",{staticClass:"demo-image__preview"},[i("el-image",{attrs:{src:t.row.cart_info.product.image,"preview-src-list":[t.row.cart_info.product.image]}})],1),e._v(" "),i("span",{staticClass:"priceBox",staticStyle:{width:"150px"}},[e._v(e._s(t.row.cart_info.product.store_name))])])]}}],null,!1,1334329387)}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"规格","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",{staticClass:"priceBox"},[e._v(e._s(t.row.cart_info.productAttr.sku))])]}}],null,!1,2489556760)}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"商品售价","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",{staticClass:"priceBox"},[e._v(e._s(t.row.cart_info.productAttr.price))])]}}],null,!1,3535341656)}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"总数","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",{staticClass:"priceBox"},[e._v(e._s(t.row.stock_num))])]}}],null,!1,13674865)}),e._v(" "),i("el-table-column",{attrs:{label:"待发数量",align:"center","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-input",{staticClass:"priceBox",attrs:{type:"number",min:0,max:t.row.refund_num,size:"small"},on:{blur:function(i){return e.limitCount(t.row)}},model:{value:t.row["product_num_input"],callback:function(i){e.$set(t.row,"product_num_input",i)},expression:"scope.row['product_num_input']"}})]}}],null,!1,2768193810)})],1)],1):e._e(),e._v(" "),i("el-form-item",{attrs:{label:"备注:",prop:"remark"}},[i("el-input",{staticClass:"pageWidth",attrs:{type:"textarea",placeholder:"请输入备注"},model:{value:e.shipment.remark,callback:function(t){e.$set(e.shipment,"remark",t)},expression:"shipment.remark"}})],1)],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"small"},on:{click:e.handleClose}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.submitForm("shipment")}}},[e._v("提交")])],1)],1),e._v(" "),e.pictureVisible?i("el-dialog",{attrs:{visible:e.pictureVisible,width:"500px"},on:{"update:visible":function(t){e.pictureVisible=t}}},[i("img",{staticClass:"pictures",attrs:{src:e.pictureUrl}})]):e._e(),e._v(" "),i("order-detail",{ref:"orderDetail",attrs:{orderId:e.orderId,drawer:e.drawer},on:{closeDrawer:e.closeDrawer,changeDrawer:e.changeDrawer,reSend:e.reSend,onOrderRefund:e.onOrderRefund,send:e.send,getList:e.getList}}),e._v(" "),i("file-list",{ref:"exportList"}),e._v(" "),i("delivery-record",{ref:"deliveryList"}),e._v(" "),i("order-cancellate",{ref:"orderCancellate",on:{getList:e.getList}}),e._v(" "),i("order-refund",{ref:"orderRefund",on:{refundSuccess:e.refundSuccess}})],1)},a=[],s=(i("7f7f"),i("c5f6"),i("c80c")),n=(i("6b54"),i("96cf"),i("3b8d")),l=(i("ac6a"),i("28a5"),i("f8b7")),o=i("2e83"),c=i("90e7"),d=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("el-drawer",{attrs:{"with-header":!1,visible:e.drawer,size:"1000px",direction:e.direction,"before-close":e.handleClose},on:{"update:visible":function(t){e.drawer=t}}},[r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[r("div",{staticClass:"head"},[r("div",{staticClass:"full"},[r("img",{staticClass:"order_icon",attrs:{src:e.orderImg,alt:""}}),e._v(" "),r("div",{staticClass:"text"},[r("div",{staticClass:"title"},[e._v(e._s(0==e.orderDetailList.order_type?"普通订单":"核销订单"))]),e._v(" "),r("div",[r("span",{staticClass:"mr20"},[e._v("订单编号:"+e._s(e.orderDetailList.order_sn))])])]),e._v(" "),r("div",[0!=e.orderDetailList.order_type&&1==e.orderDetailList.paid?r("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.orderCancellation}},[e._v("订单核销")]):e._e(),e._v(" "),0!=e.orderDetailList.order_type&&2!=e.orderDetailList.order_type||0!==e.orderDetailList.status||1!==e.orderDetailList.paid?e._e():r("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.send}},[e._v("发送货")]),e._v(" "),1==e.orderDetailList.paid?r("el-button",{attrs:{type:"success",size:"small"},on:{click:e.printOrder}},[e._v("小票打印")]):e._e(),e._v(" "),r("el-dropdown",{staticClass:"ml10",on:{command:e.handleCommand}},[r("el-button",{attrs:{icon:"el-icon-more",size:"small"}}),e._v(" "),r("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[r("el-dropdown-item",{attrs:{command:"mark"}},[e._v("订单备注")]),e._v(" "),0==e.orderDetailList.order_type&&1===e.orderDetailList.status&&1===e.orderDetailList.paid?r("el-dropdown-item",{attrs:{command:"modify"}},[e._v("修改发货信息")]):e._e(),e._v(" "),-1!=e.orderDetailList.status&&1==e.orderDetailList.paid&&e.orderDetailList.status<9?r("el-dropdown-item",{attrs:{command:"refund"}},[e._v("退款")]):e._e()],1)],1)],1)]),e._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",{staticClass:"title"},[e._v("订单状态")]),e._v(" "),r("div",[e.orderDetailList.pay_time?e._e():r("div",{staticClass:"value1"},[e._v("待付款"),e.orderDetailList.is_del>0?r("span",{staticStyle:{color:"rgb(237,64,20)","font-size":"12px"}},[e._v("(用户已删除)")]):e._e()]),e._v(" "),0===e.orderDetailList.order_type&&e.orderDetailList.pay_time?r("div",{staticClass:"value1"},[r("span",[e._v(e._s(e._f("orderStatusFilter")(e.orderDetailList.status))),e.orderDetailList.is_del>0?r("span",{staticStyle:{color:"rgb(237,64,20)","font-size":"12px"}},[e._v("(用户已删除)")]):e._e()])]):e._e(),e._v(" "),1===e.orderDetailList.order_type&&e.orderDetailList.pay_time?r("div",{staticClass:"value1"},[r("span",[e._v(e._s(e._f("cancelOrderStatusFilter")(e.orderDetailList.status))),e.orderDetailList.is_del>0?r("span",{staticStyle:{color:"rgb(237,64,20)","font-size":"12px"}},[e._v("(用户已删除)")]):e._e()])]):e._e()])]),e._v(" "),r("li",{staticClass:"item"},[r("div",{staticClass:"title"},[e._v("实际支付")]),e._v(" "),r("div",[e._v("\n ¥"+e._s(e.orderDetailList.pay_price)+"\n "),e.orderDetailList.finalOrder&&e.orderDetailList.finalOrder.pay_price&&1==e.orderDetailList.finalOrder.paid?r("span",[e._v("尾款¥"+e._s(e.orderDetailList.finalOrder.pay_price))]):e._e()])]),e._v(" "),r("li",{staticClass:"item"},[r("div",{staticClass:"title"},[e._v("支付方式")]),e._v(" "),r("div",[e._v(e._s(e._f("payTypeFilter")(e.orderDetailList.pay_type)))])]),e._v(" "),r("li",{staticClass:"item"},[r("div",{staticClass:"title"},[e._v(e._s(e.orderDetailList.pay_time?"支付时间":"下单时间"))]),e._v(" "),r("div",[e._v(e._s(e.orderDetailList.create_time))])])])]),e._v(" "),r("el-tabs",{attrs:{type:"border-card"},on:{"tab-click":e.tabClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[r("el-tab-pane",{attrs:{label:"订单信息",name:"detail"}},[e.orderDetailList.user?r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[e._v("用户信息")]),e._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",[e._v("用户昵称:")]),e._v(" "),r("div",{staticClass:"value"},[e._v("\n "+e._s(e.orderDetailList.user.real_name?e.orderDetailList.user.real_name:e.orderDetailList.user.nickname)+"\n ")])]),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("用户ID")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.user.uid?e.orderDetailList.user.uid:"-"))])]),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("绑定电话:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.user.phone?e.orderDetailList.user.phone:"-"))])])])]):e._e(),e._v(" "),r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[e._v("收货信息")]),e._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",[e._v("收货人:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.real_name?e.orderDetailList.real_name:"-"))])]),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("收货电话:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.user_phone?e.orderDetailList.user_phone:"-"))])]),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("收货地址:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.user_address?e.orderDetailList.user_address:"-"))])])])]),e._v(" "),r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[e._v("订单信息")]),e._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",[e._v("创建时间:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.create_time?e.orderDetailList.create_time:"-"))])]),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("商品总数:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.total_num?e.orderDetailList.total_num:"-"))])]),e._v(" "),e.orderDetailList.pay_time?r("li",{staticClass:"item"},[r("div",[e._v("实际支付:")]),e._v(" "),r("div",{staticClass:"value"},[e._v("\n "+e._s(e.orderDetailList.pay_price)+"\n "),e.orderDetailList.finalOrder&&e.orderDetailList.finalOrder.pay_price&&1==e.orderDetailList.finalOrder.paid?r("span",[e._v("尾款¥"+e._s(e.orderDetailList.finalOrder.pay_price))]):e._e()])]):e._e(),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("优惠券金额:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.coupon_price?e.orderDetailList.coupon_price:"-"))])]),e._v(" "),e.orderDetailList.integral?r("li",{staticClass:"item"},[r("div",[e._v("积分抵扣:")]),e._v(" "),e.orderDetailList.integral&&0!=e.orderDetailList.integral?r("div",{staticClass:"value"},[e._v("使用了"+e._s(e.orderDetailList.integral)+"个积分,抵扣了"+e._s(e.orderDetailList.integral_price)+"元")]):e._e()]):e._e(),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("商品总价:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.total_price?e.orderDetailList.total_price:"-"))])]),e._v(" "),e.orderDetailList.svip_discount?r("li",{staticClass:"item"},[r("div",[e._v("会员商品优惠:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.svip_discount))])]):e._e(),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("支付运费:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.pay_postage))])]),e._v(" "),e.orderDetailList.spread?r("li",{staticClass:"item"},[r("div",[e._v("推广人:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.spread.nickname))])]):e._e(),e._v(" "),e.orderDetailList.TopSpread?r("li",{staticClass:"item"},[r("div",[e._v("上级推广人:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.TopSpread.nickname))])]):e._e(),e._v(" "),e.orderDetailList.activity_type?e._e():r("li",{staticClass:"item"},[r("div",[e._v("一级佣金:")]),e._v(" "),r("div",{staticClass:"value"},[e._v("\n "+e._s(parseFloat(e.orderDetailList.extension_one)+parseFloat(e.orderDetailList.refund_extension_one))+"\n "),e.orderDetailList.refund_extension_one>0?r("em",{staticStyle:{color:"red","font-style":"normal"}},[e._v("(-"+e._s(e.orderDetailList.refund_extension_one)+")")]):e._e()])]),e._v(" "),e.orderDetailList.activity_type?e._e():r("li",{staticClass:"item"},[r("div",[e._v("二级佣金:")]),e._v(" "),r("div",{staticClass:"value"},[e._v("\n "+e._s(parseFloat(e.orderDetailList.extension_two)+parseFloat(e.orderDetailList.refund_extension_two))+"\n "),e.orderDetailList.refund_extension_two>0?r("em",{staticStyle:{color:"red","font-style":"normal"}},[e._v("(-"+e._s(e.orderDetailList.refund_extension_two)+")")]):e._e()])]),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("赠送积分:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.give_integral||"-"))])]),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("发货方式:")]),e._v(" "),1==e.orderDetailList.order_type?r("div",{staticClass:"value"},[e._v("核销")]):r("div",{staticClass:"value"},[e._v(e._s(e._f("sendWay")(e.orderDetailList.delivery_type)))])]),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("商品类型:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(1==e.orderDetailList.is_virtual?"虚拟商品":2==e.orderDetailList.is_virtual?"卡密商品":"普通商品"))])]),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("活动类型:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(1==e.orderDetailList.activity_type?"秒杀":2==e.orderDetailList.activity_type?"预售":3==e.orderDetailList.activity_type?"助力":4==e.orderDetailList.activity_type?"拼团":"普通"))])])])]),e._v(" "),e.orderDetailList.order_extend?r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[e._v("自定义留言")]),e._v(" "),r("ul",{staticClass:"list"},e._l(e.orderDetailList.order_extend,(function(t,i){return r("li",{key:i,staticClass:"item"},[r("div",[e._v(e._s(i)+"")]),e._v(" "),Array.isArray(t)?e._l(t,(function(e,t){return r("img",{key:t,staticStyle:{width:"40px",height:"40px","margin-right":"12px"},attrs:{src:e}})})):[r("div",{staticClass:"value"},[e._v(e._s(t))])]],2)})),0)]):e._e(),e._v(" "),e.orderDetailList.mark?r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[e._v("买家留言")]),e._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",[e._v(e._s(e.orderDetailList.mark?e.orderDetailList.mark:"-"))])])])]):e._e(),e._v(" "),e.orderDetailList.remark?r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[e._v("商家备注")]),e._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",[e._v(e._s(e.orderDetailList.remark?e.orderDetailList.remark:"-"))])])])]):e._e(),e._v(" "),"1"===e.orderDetailList.delivery_type?r("div",{staticClass:"section"},[r("div",{staticClass:"title"},[e._v("物流信息")]),e._v(" "),r("ul",{staticClass:"list"},[r("li",{staticClass:"item"},[r("div",[e._v("快递公司:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.delivery_name?e.orderDetailList.delivery_name:"-"))])]),e._v(" "),r("li",{staticClass:"item"},[r("div",[e._v("快递单号:")]),e._v(" "),r("div",{staticClass:"value"},[e._v(e._s(e.orderDetailList.delivery_id?e.orderDetailList.delivery_id:"-"))]),e._v(" "),r("el-button",{staticStyle:{"margin-left":"5px"},attrs:{type:"text",size:"mini"},on:{click:e.openLogistics}},[e._v("物流查询")])],1)])]):e._e()]),e._v(" "),r("el-tab-pane",{attrs:{label:"商品信息",name:"goods"}},[r("el-table",{attrs:{data:e.orderDetailList.orderProduct,size:"small"}},[r("el-table-column",{attrs:{label:"商品信息","min-width":"300"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"tab"},[r("div",{staticClass:"demo-image__preview"},[r("el-image",{attrs:{src:t.row.cart_info.product.image,"preview-src-list":[t.row.cart_info.product.image]}})],1),e._v(" "),r("div",[r("div",[e._v(e._s(t.row.cart_info.product.store_name))]),e._v(" "),r("div",{staticClass:"line1 gary"},[e._v("\n 规格:"+e._s(t.row.cart_info.productAttr.sku?t.row.cart_info.productAttr.sku:"默认")+"\n ")])])])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"售价","min-width":"90"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"tab"},[r("div",{staticClass:"line1"},[e._v("\n "+e._s(t.row.cart_info.productAttr.price?t.row.cart_info.productAttr.price:"-")+"\n ")])])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"成本价","min-width":"90"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"tab"},[r("div",{staticClass:"line1"},[e._v("\n "+e._s(t.row.cart_info.productAttr.cost?t.row.cart_info.productAttr.cost:"-")+"\n ")])])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"实付金额","min-width":"90"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"tab"},[r("div",{staticClass:"line1"},[e._v("\n "+e._s(t.row.product_price?t.row.product_price:"-")+"\n ")])])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"购买数量","min-width":"90"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"tab"},[r("div",{staticClass:"line1"},[e._v("\n "+e._s(t.row.product_num)+"\n ")])])]}}])})],1)],1),e._v(" "),r("el-tab-pane",{attrs:{label:"订单记录",name:"orderList"}},[r("div",[r("el-form",{attrs:{size:"small","label-width":"80px"}},[r("div",{staticClass:"acea-row"},[r("el-form-item",{attrs:{label:"操作端:"}},[r("el-select",{staticStyle:{width:"140px","margin-right":"20px"},attrs:{placeholder:"请选择",clearable:"",filterable:""},on:{change:function(t){return e.onOrderLog(e.orderId)}},model:{value:e.tableFromLog.user_type,callback:function(t){e.$set(e.tableFromLog,"user_type",t)},expression:"tableFromLog.user_type"}},[r("el-option",{attrs:{label:"系统",value:"0"}}),e._v(" "),r("el-option",{attrs:{label:"用户",value:"1"}}),e._v(" "),r("el-option",{attrs:{label:"平台",value:"2"}}),e._v(" "),r("el-option",{attrs:{label:"商户",value:"3"}}),e._v(" "),r("el-option",{attrs:{label:"商家客服",value:"4"}})],1)],1),e._v(" "),r("el-form-item",{attrs:{label:"操作时间:"}},[r("el-date-picker",{staticStyle:{width:"380px","margin-right":"20px"},attrs:{type:"datetimerange",placeholder:"选择日期","value-format":"yyyy/MM/dd HH:mm:ss",clearable:""},on:{change:e.onchangeTime},model:{value:e.timeVal,callback:function(t){e.timeVal=t},expression:"timeVal"}})],1)],1)])],1),e._v(" "),r("el-table",{attrs:{data:e.tableDataLog.data,size:"small"}},[r("el-table-column",{attrs:{prop:"order_id",label:"订单编号","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(t.row.order_sn))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"操作记录","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(t.row.change_message))])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"操作角色","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"tab"},[r("div",[e._v(e._s(e.operationType(t.row.user_type)))])])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"操作人","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"tab"},[r("div",[e._v(e._s(t.row.nickname))])])]}}])}),e._v(" "),r("el-table-column",{attrs:{label:"操作时间","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"tab"},[r("div",{staticClass:"line1"},[e._v(e._s(t.row.change_time))])])]}}])})],1),e._v(" "),r("div",{staticClass:"block"},[r("el-pagination",{attrs:{"page-size":e.tableFromLog.limit,"current-page":e.tableFromLog.page,layout:"prev, pager, next, jumper",total:e.tableDataLog.total},on:{"size-change":e.handleSizeChangeLog,"current-change":e.pageChangeLog}})],1)],1),e._v(" "),e.childOrder.length>0?r("el-tab-pane",{attrs:{label:"关联订单",name:"subOrder"}},[r("el-table",{attrs:{data:e.childOrder}},[r("el-table-column",{attrs:{label:"订单编号",prop:"order_sn","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",[e._v(e._s(t.row.order_sn))])]}}],null,!1,1717655037)}),e._v(" "),r("el-table-column",{attrs:{label:"商品信息","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(t.row.orderProduct,(function(t,i){return r("div",{key:i,staticClass:"tabBox acea-row row-middle"},[r("div",{staticClass:"demo-image__preview"},[r("el-image",{attrs:{src:t.cart_info.product.image,"preview-src-list":[t.cart_info.product.image]}})],1),e._v(" "),r("span",{staticClass:"tabBox_tit"},[e._v(e._s(t.cart_info.product.store_name+" | ")+e._s(t.cart_info.productAttr.sku))]),e._v(" "),r("span",{staticClass:"tabBox_pice"},[e._v("\n "+e._s("¥"+t.cart_info.productAttr.price+" x "+t.product_num)+"\n "),t.refund_num<t.product_num&&t.refund_num>0?r("em",{staticStyle:{color:"red","font-style":"normal"}},[e._v("(-"+e._s(t.product_num-t.refund_num)+")")]):e._e()])])}))}}],null,!1,1370655139)}),e._v(" "),r("el-table-column",{attrs:{label:"实际支付","min-width":"80",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("span",[e._v(e._s(t.row.pay_price))])]}}],null,!1,3949474396)}),e._v(" "),r("el-table-column",{attrs:{label:"订单生成时间",prop:"create_time","min-width":"120"}}),e._v(" "),r("el-table-column",{attrs:{label:"操作","min-width":"50",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("el-button",{attrs:{type:"text",size:"small"},on:{click:function(i){return e.getChildOrderDetail(t.row.order_id)}}},[e._v("详情")])]}}],null,!1,2524739887)})],1)],1):e._e()],1)],1)]),e._v(" "),e.dialogLogistics?r("el-dialog",{attrs:{title:"物流查询",visible:e.dialogLogistics,width:"350px"},on:{"update:visible":function(t){e.dialogLogistics=t}}},[r("div",{staticClass:"logistics acea-row row-top"},[r("div",{staticClass:"logistics_img"},[r("img",{attrs:{src:i("bd9b")}})]),e._v(" "),r("div",{staticClass:"logistics_cent"},[r("span",[e._v("物流公司:"+e._s(e.orderDetailList.delivery_name))]),e._v(" "),r("span",[e._v("物流单号:"+e._s(e.orderDetailList.delivery_id))])])]),e._v(" "),r("div",{staticClass:"acea-row row-column-around trees-coadd"},[r("div",{staticClass:"scollhide"},[e.result.length>0?r("el-timeline",e._l(e.result,(function(t,i){return r("el-timeline-item",{key:i},[r("p",{staticClass:"time",domProps:{textContent:e._s(t.time)}}),e._v(" "),r("p",{staticClass:"content",domProps:{textContent:e._s(t.status)}})])})),1):e._e()],1)])]):e._e(),e._v(" "),r("order-cancellate",{ref:"orderCancellate",on:{getList:e.getList}})],1)},u=[],m=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.dialogVisible?i("el-dialog",{attrs:{title:"订单核销",visible:e.dialogVisible,width:"900px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[i("div",{staticClass:"container"},[i("el-form",{attrs:{"label-width":"80px",size:"small"}},[e.isColum?e._e():i("el-form-item",{attrs:{label:"核销码:"}},[i("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入核销码",size:"small"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchOrder(t)}},model:{value:e.code,callback:function(t){e.code=t},expression:"code"}}),e._v(" "),i("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.searchOrder}},[e._v("搜索")])],1),e._v(" "),i("el-form-item",{attrs:{label:"订单号:"}},[i("span",[e._v(e._s(e.orderData.order_sn))])])],1),e._v(" "),i("div",{staticStyle:{"margin-top":"20px"}},[i("el-table",{ref:"multipleSelection",attrs:{data:e.productList,"tooltip-effect":"dark",size:"mini","row-key":function(e){return e.product_id},"header-cell-style":{background:"#F0F5FF"}},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{align:"center",type:"selection",selectable:e.judgeSelect,"min-width":"50"}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"商品信息","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",{staticClass:"acea-row",staticStyle:{"align-items":"center"}},[i("div",{staticClass:"demo-image__preview"},[i("el-image",{attrs:{src:t.row.cart_info.product.image,"preview-src-list":[t.row.cart_info.product.image]}})],1),e._v(" "),i("span",{staticClass:"priceBox",staticStyle:{width:"150px"}},[e._v(e._s(t.row.cart_info.product.store_name))])])]}}],null,!1,1334329387)}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"规格","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",{staticClass:"priceBox"},[e._v(e._s(t.row.cart_info.productAttr.sku))])]}}],null,!1,2489556760)}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"订单金额","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",{staticClass:"priceBox"},[e._v(e._s(t.row.cart_info.productAttr.price))])]}}],null,!1,3535341656)}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"状态","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",{staticClass:"priceBox"},[e._v("待核销")])]}}],null,!1,3635758024)}),e._v(" "),i("el-table-column",{attrs:{align:"center",prop:"product_num",label:"总数","min-width":"80"}}),e._v(" "),i("el-table-column",{attrs:{label:"待核销数量",align:"center","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-input",{staticClass:"priceBox",attrs:{type:"number",min:0,max:t.row.max_num},on:{change:function(i){return e.limitNum(t.row)}},model:{value:t.row["refund_num"],callback:function(i){e.$set(t.row,"refund_num",i)},expression:"scope.row['refund_num']"}})]}}],null,!1,4190016114)})],1)],1)],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.handleCancellation}},[e._v("核销")])],1)]):e._e()],1)},p=[],_={name:"OrderCancellate",data:function(){return{dialogVisible:!1,loading:!1,code:"",order_id:"",orderData:"",multipleSelection:[],ids:[],isColum:!1,productList:[]}},methods:{searchOrder:function(){if(!this.code)return this.$message.warning("输入核销码!");this.productDetails(this.code)},judgeSelect:function(e,t){return 0==e.is_refund},handleCancellation:function(){var e=this;if(!this.code)return this.$message.warning("输入核销码!");if(!this.multipleSelection.length)return this.$message.warning("请选择核销商品!");var t=[];this.multipleSelection.map((function(e){e.refund_num>0&&t.push({id:e.order_product_id,num:e.refund_num})})),Object(l["x"])(this.order_id,{verify_code:this.code,data:t}).then((function(t){e.$message.success(t.message),e.dialogVisible=!1,e.$emit("getList","")})).catch((function(t){var i=t.message;e.$message.error(i)}))},productDetails:function(e){var t=this;this.code=e,this.loading=!0,Object(l["D"])(e).then((function(e){t.orderData=e.data,t.order_id=e.data.order_id,t.productList=e.data.orderProduct,t.productList.forEach((function(e,t){e.max_num=e.refund_num})),t.loading=!1})).catch((function(e){var i=e.message;t.loading=!1,t.$message.error(i)}))},resetData:function(){this.orderData={},this.productList=[],this.code=""},handleSelectionChange:function(e){this.multipleSelection=e},limitNum:function(e){e.refund_num>e.max_num?e.refund_num=e.max_num:e.refund_num<1&&(e.refund_num=1)}}},v=_,f=(i("7740"),i("2877")),h=Object(f["a"])(v,m,p,!1,null,"4836f2ee",null),g=h.exports,b={components:{orderCancellate:g},props:{drawer:{type:Boolean,default:!1}},data:function(){return{loading:!0,orderId:"",direction:"rtl",activeName:"detail",goodsList:[],timeVal:[],orderConfirm:!1,sendGoods:!1,dialogLogistics:!1,confirmReceiptForm:{id:""},tableDataLog:{data:[],total:0},contentList:[],nicknameList:[],result:[],orderDetailList:{user:{real_name:""},groupOrder:{group_order_sn:""}},orderImg:i("ea8b"),tableFromLog:{user_type:"",date:[],page:1,limit:10},childOrder:[]}},filters:{},methods:{onchangeTime:function(e){this.timeVal=e,this.tableFromLog.date=e?this.timeVal.join("-"):"",this.onOrderLog(this.orderId)},handleClose:function(){this.activeName="detail",this.$emit("closeDrawer"),this.sendGoods=!1,this.orderRemark=!1},openLogistics:function(){this.getOrderData(),this.dialogLogistics=!0},orderCancellation:function(){var e=this;e.$refs.orderCancellate.dialogVisible=!0,e.$refs.orderCancellate.productDetails(e.orderDetailList.verify_code),e.$refs.orderCancellate.isColum=!0},send:function(){this.$emit("send",this.orderDetailList,this.orderId)},printOrder:function(){var e=this;Object(l["K"])(this.orderId).then((function(t){e.$message.success(t.message)})).catch((function(t){e.$message.error(t.message)}))},onOrderMark:function(){var e=this;this.$modalForm(Object(l["L"])(this.orderId)).then((function(){return e.getInfo(e.orderId)}))},handleCommand:function(e){"mark"==e?this.onOrderMark():"modify"==e?this.reSend(this.orderId):this.refund(this.orderId)},refund:function(e){this.$emit("onOrderRefund",e)},reSend:function(e){this.$emit("reSend",e)},getList:function(){this.$emit("getList","")},getChildOrder:function(){var e=this;this.loading=!0,Object(l["q"])(this.orderId).then((function(t){e.activeName="detail",e.childOrder=t.data,setTimeout((function(){e.loading=!1}),500)})).catch((function(t){e.$message.error(t.message)}))},getOrderData:function(){var e=this;Object(l["t"])(this.orderId).then(function(){var t=Object(n["a"])(Object(s["a"])().mark((function t(i){return Object(s["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.result=i.data;case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$message.error(t.message)}))},toSendGoods:function(){this.sendGoods=!0},getDelivery:function(){var e=this;Object(l["F"])(this.orderId).then((function(t){e.$message.success(t.message),e.sendGoods=!1})).catch((function(t){e.$message.error(t.message)}))},getChildOrderDetail:function(e){this.getInfo(e)},getInfo:function(e){var t=this;this.loading=!0,this.orderId=e,Object(l["G"])(e).then((function(e){t.drawer=!0,t.orderDetailList=e.data,t.getChildOrder()})).catch((function(e){t.$message.error(e.message)}))},tabClick:function(e){"orderList"===e.name&&this.onOrderLog(this.orderId)},onOrderLog:function(e){var t=this;Object(l["J"])(e,this.tableFromLog).then((function(e){t.tableDataLog.data=e.data.list,t.tableDataLog.total=e.data.count}))},pageChangeLog:function(e){this.tableFromLog.page=e,this.onOrderLog(this.orderId)},handleSizeChangeLog:function(e){this.tableFromLog.limit=e,this.onOrderLog(this.orderId)},operationType:function(e){return 0==e?"系统":1==e?"用户":2==e?"平台":3==e?"商户":4==e?"商家客服":"未知"}}},y=b,w=(i("dbcf"),Object(f["a"])(y,d,u,!1,null,"48fd4611",null)),C=w.exports,k=i("30dc"),L=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.fileVisible?i("el-dialog",{attrs:{title:"批量发货记录",visible:e.fileVisible,width:"900px"},on:{"update:visible":function(t){e.fileVisible=t}}},[i("div",{staticClass:"container"},[i("el-form",{attrs:{size:"small",inline:"","label-width":"90px"}},[i("el-form-item",{staticClass:"width100",attrs:{label:"操作时间"}},[i("el-date-picker",{staticStyle:{width:"220px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间"},on:{change:e.onchangeTime},model:{value:e.timeVal,callback:function(t){e.timeVal=t},expression:"timeVal"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"发货类型:"}},[i("el-select",{staticClass:"filter-item selWidth mr20",attrs:{placeholder:"请选择",clearable:""},on:{change:function(t){e.getList(1)}},model:{value:e.tableFrom.type,callback:function(t){e.$set(e.tableFrom,"type",t)},expression:"tableFrom.type"}},e._l(e.deliveryTypeList,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),i("el-form-item",{attrs:{label:"状态:"}},[i("el-select",{staticClass:"filter-item selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(t){e.getList(1)}},model:{value:e.tableFrom.status,callback:function(t){e.$set(e.tableFrom,"status",t)},expression:"tableFrom.status"}},e._l(e.deliveryStatusList,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1)],1)],1),e._v(" "),i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:e.tableData.data,size:"mini","highlight-current-row":""}},[i("el-table-column",{attrs:{label:"序号","min-width":"90"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.$index+(e.tableFrom.page-1)*e.tableFrom.limit+1))])]}}],null,!1,2611860760)}),e._v(" "),i("el-table-column",{attrs:{label:"发货类型","min-width":"90"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(e._f("deliveryType")(t.row.type)))])]}}],null,!1,3190513475)}),e._v(" "),i("el-table-column",{attrs:{label:"操作时间",prop:"create_time","min-width":"180"}}),e._v(" "),i("el-table-column",{attrs:{label:"发货单数",prop:"count","min-width":"100"}}),e._v(" "),i("el-table-column",{attrs:{label:"成功发货单数",prop:"success","min-width":"100"}}),e._v(" "),i("el-table-column",{attrs:{label:"状态","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(e._f("deliveryStatusFilter")(t.row.status)))])]}}],null,!1,1539921219)}),e._v(" "),i("el-table-column",{key:"8",attrs:{label:"操作","min-width":"150",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[-1!=t.row.status?i("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(i){return e.detail(t.row.import_id)}}},[e._v("查看")]):e._e(),e._v(" "),-1!=t.row.status?i("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(i){return e.exports(t.row.import_id)}}},[e._v("生成文件")]):e._e(),e._v(" "),-1==t.row.status?i("el-button",{staticClass:"mr10",attrs:{type:"text",size:"small"},on:{click:function(i){return e.detail(t.row.import_id)}}},[e._v("查看原因")]):e._e()]}}],null,!1,842706115)})],1),e._v(" "),i("div",{staticClass:"block"},[i("el-pagination",{attrs:{"page-size":e.tableFrom.limit,"current-page":e.tableFrom.page,layout:"prev, pager, next, jumper",total:e.tableData.total},on:{"size-change":e.handleSizeChange,"current-change":e.pageChange}})],1)],1)]):e._e(),e._v(" "),e.dialogVisible?i("el-dialog",{attrs:{title:"",visible:e.dialogVisible,width:"900px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"table",staticStyle:{width:"100%"},attrs:{data:e.recordData.data,size:"mini","highlight-current-row":""}},[i("el-table-column",{attrs:{label:"序号","min-width":"60"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.$index+(e.recordFrom.page-1)*e.recordFrom.limit+1))])]}}],null,!1,748015416)}),e._v(" "),i("el-table-column",{attrs:{label:"订单号",prop:"order_sn","min-width":"150"}}),e._v(" "),i("el-table-column",{attrs:{label:"物流公司",prop:"delivery_name","min-width":"80"}}),e._v(" "),i("el-table-column",{attrs:{label:"物流单号",prop:"delivery_id","min-width":"100"}}),e._v(" "),i("el-table-column",{attrs:{label:"发货状态",prop:"status","min-width":"80"}}),e._v(" "),i("el-table-column",{attrs:{label:"异常原因",prop:"mark","min-width":"120"}})],1),e._v(" "),i("div",{staticClass:"block"},[i("el-pagination",{attrs:{"page-sizes":[10,20,30],"page-size":e.recordFrom.limit,"current-page":e.recordFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:e.recordData.total},on:{"size-change":e.handleSizeChange1,"current-change":e.pageChange1}})],1)],1)]):e._e()],1)},D=[],x={name:"DeliveryList",data:function(){return{fileVisible:!1,dialogVisible:!1,loading:!1,timeVal:[],deliveryStatusList:[{label:"全部",value:""},{label:"全部完成",value:1},{label:"部分完成",value:10},{label:"处理中",value:0},{label:"处理失败",value:-1}],deliveryTypeList:[{label:"全部",value:""},{label:"发货",value:1},{label:"送货",value:2},{label:"无需物流",value:3},{label:"电子面单",value:4}],tableData:{data:[],total:0},recordData:{data:[],total:0},recordFrom:{page:1,limit:20},tableFrom:{page:1,limit:10,date:"",status:""},recordId:""}},methods:{getList:function(e){var t=this;this.loading=!0,this.tableFrom.page=e||this.tableFrom.page,Object(l["j"])(this.tableFrom).then((function(e){t.fileVisible=!0,t.tableData.data=e.data.list,t.tableData.total=e.data.count,t.loading=!1})).catch((function(e){t.$message.error(e.message),t.listLoading=!1}))},exports:function(){var e=Object(n["a"])(Object(s["a"])().mark((function e(t){var i,r,a,n,l;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=JSON.parse(JSON.stringify(this.tableFrom)),r=[],i.page=1,a=1,n={},l=0;case 5:if(!(l<a)){e.next=14;break}return e.next=8,this.downLoad(t,i);case 8:n=e.sent,a=Math.ceil(n.count/i.limit),n.export.length&&(r=r.concat(n.export),i.page++);case 11:l++,e.next=5;break;case 14:return Object(o["a"])(n.header,n.title,r,n.foot,n.filename),e.abrupt("return");case 16:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),downLoad:function(e,t){return new Promise((function(i,r){Object(l["i"])(e,t).then((function(e){return i(e.data)}))}))},detail:function(e){var t=this;this.recordId=e,Object(l["h"])(e,this.recordFrom).then((function(e){t.dialogVisible=!0,t.recordData.data=e.data.list,t.recordData.total=e.data.count})).catch((function(e){t.$message.error(e.message)}))},onchangeTime:function(e){this.timeVal=e,this.tableFrom.date=e?this.timeVal.join("-"):"",this.getList(1)},pageChange:function(e){this.tableFrom.page=e,this.getList("")},handleSizeChange:function(e){this.tableFrom.limit=e,this.getList("")},pageChange1:function(e){this.recordFrom.page=e,this.getList(""),this.detail(this.recordId)},handleSizeChange1:function(e){this.recordFrom.limit=e,this.getList(""),this.detail(this.recordId)}}},F=x,O=(i("1db3"),Object(f["a"])(F,L,D,!1,null,"09129aaa",null)),S=O.exports,A=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.dialogVisible?i("el-dialog",{attrs:{title:"手动退款",visible:e.dialogVisible,width:"850px"},on:{"update:visible":function(t){e.dialogVisible=t}}},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"container"},[i("div",[i("el-table",{ref:"multipleSelection",attrs:{data:e.productList,"tooltip-effect":"dark",size:"small",border:"","row-key":function(e){return e.product_id},"header-cell-style":{background:"#F0F5FF"}},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{align:"center",type:"selection","reserve-selection":!0,"min-width":"50"}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"商品信息","min-width":"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("div",{staticClass:"acea-row",staticStyle:{"align-items":"center"}},[i("div",{staticClass:"demo-image__preview"},[i("el-image",{attrs:{src:t.row.cart_info.productAttr.image,"preview-src-list":[t.row.cart_info.productAttr.image]}})],1),e._v(" "),i("span",{staticStyle:{width:"150px"}},[e._v(e._s(t.row.cart_info.product.store_name))])])]}}],null,!1,732792787)}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"规格","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.cart_info.productAttr.sku||"默认"))])]}}],null,!1,3717964922)}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"商品实付金额","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.product_price))])]}}],null,!1,1676187007)}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"运费","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.postage_price))])]}}],null,!1,2147956495)}),e._v(" "),i("el-table-column",{attrs:{align:"center",prop:"product_num",label:"总数","min-width":"80"}}),e._v(" "),i("el-table-column",{attrs:{label:"退款数量",align:"center","min-width":"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-input-number",{staticStyle:{width:"100px"},attrs:{type:"number",min:1,max:t.row.max_num,"controls-position":"right"},on:{change:function(i){return e.limitNum(t.row)}},model:{value:t.row["refund_num"],callback:function(i){e.$set(t.row,"refund_num",i)},expression:"scope.row['refund_num']"}})]}}],null,!1,105020361)})],1)],1),e._v(" "),i("el-form",{staticStyle:{"margin-top":"20px"},attrs:{"label-width":"100px",size:"small"}},[i("el-form-item",{attrs:{label:"退款金额:",required:""}},[i("el-input-number",{staticClass:"selWidth",attrs:{min:0,max:e.maxRefundPrice,precision:2,placeholder:"请输入退款金额",size:"small"},model:{value:e.refund_price,callback:function(t){e.refund_price=t},expression:"refund_price"}})],1),e._v(" "),i("el-form-item",{attrs:{label:"退款原因",required:""}},[i("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择"},model:{value:e.refund_message,callback:function(t){e.refund_message=t},expression:"refund_message"}},e._l(e.reasonList,(function(e){return i("el-option",{key:e,attrs:{label:e,value:e}})})),1)],1),e._v(" "),i("el-form-item",{attrs:{label:"备注:"}},[i("el-input",{staticClass:"selWidth",attrs:{size:"small"},model:{value:e.mer_mark,callback:function(t){e.mer_mark=t},expression:"mer_mark"}})],1)],1)],1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{size:"small"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary",loading:e.btnloading,size:"small"},on:{click:e.submitForm}},[e._v("确定")])],1)]):e._e()],1)},V=[],z={name:"OrderCancellate",data:function(){return{dialogVisible:!1,loading:!0,btnloading:!1,code:"",order_id:"",ruleValidate:{refund_price:[{required:!0,message:"请输入退款金额",trigger:"blur"}],refund_message:[{required:!0,message:"请选择退款原因",trigger:"change"}]},refund_price:"",refund_message:"",mer_mark:"",reasonList:[],multipleSelection:[],ids:[],productList:[],maxRefundPrice:0}},methods:{submitForm:function(){var e=this;if(void 0==this.refund_price)return this.$message.warning("请输入退款金额!");if(!this.refund_message)return this.$message.warning("请选择退款原因!");if(!this.multipleSelection.length)return this.$message.warning("请选择商品!");var t={};this.multipleSelection.map((function(e){t[e.order_product_id]=e.refund_num}));var i={order_id:this.order_id,refund:t,refund_message:this.refund_message,refund_price:this.refund_price,mer_mark:this.mer_mark};this.btnloading=!0,Object(l["X"])(i).then((function(t){e.btnloading=!1,e.$message.success(t.message),e.dialogVisible=!1,e.$emit("refundSuccess")})).catch((function(t){var i=t.message;e.btnloading=!1,e.$message.error(i)}))},getRefundPrice:function(){var e=this,t={};this.multipleSelection.map((function(e){t[e.order_product_id]=e.refund_num})),Object(l["d"])({order_id:this.order_id,refund:t}).then((function(t){e.refund_price=t.data.totalRefundPrice})).catch((function(t){t.message;e.refund_price=0}))},getOrderDetails:function(e){var t=this;this.order_id=e,this.loading=!0,this.dialogVisible=!0,Object(l["v"])(e).then((function(e){t.getRefundMessage(),t.refund_message=e.data.refund_message,t.mer_mark=e.data.mer_mark,t.productList=e.data.product,t.productList.forEach((function(e,t){e.max_num=e.refund_num})),t.maxRefundPrice=Number(e.data.postage_price)+Number(e.data.total_refund_price),t.refund_price=0,t.loading=!1})).catch((function(e){var i=e.message;t.dialogVisible=!1,t.loading=!1,t.$message.error(i)}))},getRefundMessage:function(){var e=this;Object(l["u"])().then((function(t){e.reasonList=t.data,e.refund_message=t.data[0]})).catch((function(t){var i=t.message;e.$message.error(i)}))},handleSelectionChange:function(e){this.multipleSelection=e,this.getRefundPrice()},limitNum:function(e){e.refund_num>e.max_num?e.refund_num=e.max_num:e.refund_num<1&&(e.refund_num=1),this.getRefundPrice()}}},T=z,N=(i("1eaf"),Object(f["a"])(T,A,V,!1,null,"0afbcbed",null)),$=N.exports,B=i("0f56"),I=i("5f87"),j=i("bbcc"),R=i("83d6"),E=i("0b65"),P=i("add5"),q=i.n(P),M={components:{orderDetail:C,cardsData:B["a"],fileList:k["a"],deliveryRecord:S,orderCancellate:g,orderRefund:$},data:function(){return{fileUrl:j["a"].https+"/store/import/delivery",pickerOptions:E["a"],myHeaders:{"X-Token":Object(I["a"])()},orderId:0,tableData:{data:[],total:0},listLoading:!0,roterPre:R["roterPre"],tableFrom:{order_sn:this.$route.query.order_sn?this.$route.query.order_sn:"",group_order_sn:"",order_type:this.$route.query.order_type||"-1",keywords:"",store_name:"",delivery_id:"",status:this.$route.query.status||"",date:"",page:1,limit:20,type:this.$route.query.order_type||"1",username:"",filter_delivery:"",filter_product:"",pay_type:"",order_id:this.$route.query.id?this.$route.query.id:"",activity_type:""},activityList:[{value:0,label:"普通订单"},{value:1,label:"秒杀订单"},{value:2,label:"预售订单"},{value:3,label:"助力订单"},{value:4,label:"拼团订单"}],dliveryWayList:[{value:1,label:"快递订单"},{value:2,label:"配送订单"},{value:4,label:"核销订单"},{value:3,label:"虚拟发货"},{value:6,label:"自动发货"}],productTypeList:[{value:1,label:"实物商品"},{value:2,label:"虚拟商品"},{value:3,label:"卡密商品"}],orderChartType:{},timeVal:[],fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},ids:"",tableFromLog:{page:1,limit:10},tableDataLog:{data:[],total:0},LogLoading:!1,dialogVisible:!1,fileVisible:!1,editVisible:!1,sendVisible:!1,pictureVisible:!1,drawer:!1,cardLists:[],orderDatalist:null,headeNum:[],editId:"",formValidate:{total_price:"",pay_postage:"",pay_price:"",integral_price:"",coupon_price:""},deliveryList:[],eleTempsLst:[],productList:[],productNum:0,storeList:[],multipleSelection:[],shipment:{delivery_type:1,station_id:"",is_split:"0",split:[]},original:{delivery_name:"",delivery_id:""},isResend:!1,chkName:"",checkedPage:[],checkedIds:[],noChecked:[],allCheck:!1,isBatch:!1,delivery_name:"",isDump:!1,noLogistics:!1,orderType:0,activityType:0,rules:{delivery_type:[{required:!0,message:"请选择发送货方式",trigger:"change"}],station_id:[{required:!0,message:"请选择发货点",trigger:"change"}],delivery_name:[{required:!0,message:"请选择快递公司",trigger:"change"}],to_name:[{required:!0,message:"请输入送货人姓名",trigger:"blur"}],delivery_id:[{required:!0,message:"请输入快递单号",trigger:"blur"}],cargo_weight:[{required:!0,message:"请输入包裹重量",trigger:"blur"}],to_phone:[{required:!0,message:"请输入送货人手机号",trigger:"blur"},{pattern:/^1[3456789]\d{9}$/,message:"请输入正确的手机号",trigger:"blur"}],temp_id:[{required:!0,message:"请选择电子面单",trigger:"change"}],from_name:[{required:!0,message:"请输入寄件人姓名",trigger:"blur"}],from_tel:[{required:!0,message:"请输入寄件人电话",trigger:"blur"},{pattern:/^1(3|4|5|6|7|8|9)\d{9}$/,message:"请输入正确的联系方式",trigger:"blur"}],from_addr:[{required:!0,message:"请输入寄件人地址",trigger:"blur"}]}}},mounted:function(){this.$route.query.hasOwnProperty("order_sn")?this.tableFrom.order_sn=this.$route.query.order_sn:this.tableFrom.order_sn="",this.isOpenDump(),this.headerList(),this.getCardList(),this.getExpressLst(),this.getList(1),this.getHeaderList(),this.getStoreList()},methods:{searchReset:function(){this.timeVal=[],this.tableFrom.date="",this.$refs.searchForm.resetFields(),this.getList(1)},limitCount:function(e){e.stock>e.product_num&&(e.stock=e.product_num)},changeDrawer:function(e){this.drawer=e},closeDrawer:function(){this.drawer=!1},handleSelectionChange:function(e){this.multipleSelection=e;var t=[];this.multipleSelection.map((function(e){t.push({id:e.order_product_id,num:e.product_num})})),this.ids=t},isOpenDump:function(){var e=this;Object(c["N"])().then((function(t){e.isDump=t.data.crmeb_serve_dump,1==t.data.crmeb_serve_dump&&e.getEleTempData()})).catch((function(t){e.$message.error(t.message)}))},getExpressLst:function(){var e=this;Object(l["p"])().then((function(t){e.deliveryList=t.data})).catch((function(t){e.$message.error(t.message)}))},getTempsLst:function(e){var t=this;Object(l["o"])({com:e}).then((function(e){t.eleTempsLst=e.data.data}))},getEleTempData:function(){var e=this;Object(l["s"])().then((function(t){var i=t.data,r=e.shipment.delivery_type;e.shipment={from_name:i.mer_from_name,from_addr:i.mer_from_addr,from_tel:i.mer_from_tel,delivery_type:r,delivery_name:i.mer_from_com,temp_id:""},""!=i.mer_from_com&&e.getTempsLst(i.mer_from_com)})).catch((function(t){e.$message.error(t.message)}))},getStoreList:function(){var e=this;Object(l["r"])().then((function(t){e.storeList=t.data})).catch((function(t){e.$message.error(t.message)}))},changeSend:function(e){this.$refs["shipment"].clearValidate(),3==e&&(this.shipment.is_split="0",delete this.shipment.split)},getPicture:function(e){var t=this;this.shipment.temp_id?this.eleTempsLst.forEach((function(e,i){e["temp_id"]==t.shipment.temp_id&&(t.pictureVisible=!0,t.pictureUrl=e["pic"])})):this.$message.error("选择电子面单后才可以预览")},batchSend:function(){if(!this.allCheck&&0==this.checkedIds.length)return this.$message.warning("请先选择订单");this.isBatch=!0,this.sendVisible=!0,this.shipment.delivery_type=2,this.shipment.select_type=this.allCheck?"all":"select",this.allCheck?this.shipment.where=this.tableFrom:this.shipment.order_id=this.checkedIds},handleClose:function(){this.sendVisible=!1,this.$refs["shipment"].resetFields()},onHandle:function(e){this.chkName=this.chkName===e?"":e,this.changeType(!(""===this.chkName))},changeType:function(e){e?this.chkName||(this.chkName="dan"):(this.chkName="",this.allCheck=!1);var t=this.checkedPage.indexOf(this.tableFrom.page);"dan"===this.chkName?this.checkedPage.push(this.tableFrom.page):t>-1&&this.checkedPage.splice(t,1),this.syncCheckedId()},syncCheckedId:function(){var e=this,t=this.tableData.data.map((function(e){return e.order_id}));"duo"===this.chkName?(this.checkedIds=[],this.allCheck=!0):"dan"===this.chkName?(this.allCheck=!1,t.forEach((function(t){var i=e.checkedIds.indexOf(t);-1===i&&e.checkedIds.push(t)}))):t.forEach((function(t){var i=e.checkedIds.indexOf(t);i>-1&&e.checkedIds.splice(i,1)}))},changeOne:function(e,t){if(e)if("duo"===this.chkName){var i=this.noChecked.indexOf(t.order_id);i>-1&&this.noChecked.splice(i,1)}else{var r=this.checkedIds.indexOf(t.order_id);-1===r&&this.checkedIds.push(t.order_id)}else if("duo"===this.chkName){var a=this.noChecked.indexOf(t.order_id);-1===a&&this.noChecked.push(t.order_id)}else{var s=this.checkedIds.indexOf(t.order_id);s>-1&&this.checkedIds.splice(s,1)}},getHeaderList:function(){var e=this;Object(l["H"])().then((function(t){e.headeNum=t.data})).catch((function(t){e.$message.error(t.message)}))},orderFilter:function(e){var t=!1;return e.orderProduct.forEach((function(e){e.refund_num<e.product_num&&(t=!0)})),t},onRefundDetail:function(e){this.$router.push({path:"refund",query:{sn:e}})},onOrderRefund:function(e){this.$refs.orderRefund.getOrderDetails(e)},refundSuccess:function(){var e=this;setTimeout((function(){e.drawer=!1,e.getList()}),500)},addTdClass:function(e){if(!(e.row.status>0&&1==e.row.paid))return" ";for(var t=0;t<e.row.orderProduct.length;t++)if(e.row.orderProduct[t].refund_num>=0&&e.row.orderProduct[t].refund_num<e.row.orderProduct[t].product_num)return"row-bg"},onOrderDetails:function(e){this.orderId=e,this.$refs.orderDetail.getInfo(e),this.drawer=!0},exports:function(){var e=Object(n["a"])(Object(s["a"])().mark((function e(t){var i,r,a,n,l;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=JSON.parse(JSON.stringify(this.tableFrom)),r=[],i.page=1,i.ids=this.checkedIds.toString(),a=1,n={},l=0;case 6:if(!(l<a)){e.next=22;break}if(1!=t){e.next=13;break}return e.next=10,this.downOrderData(i);case 10:e.t0=e.sent,e.next=16;break;case 13:return e.next=15,this.downInvoiceData(i);case 15:e.t0=e.sent;case 16:n=e.t0,a=Math.ceil(n.count/i.limit),n.export.length&&(r=r.concat(n.export),i.page++);case 19:l++,e.next=6;break;case 22:return Object(o["a"])(n.header,n.title,r,n.foot,n.filename),e.abrupt("return");case 24:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}(),downOrderData:function(e){return new Promise((function(t,i){Object(l["n"])(e).then((function(e){return t(e.data)}))}))},downInvoiceData:function(e){return new Promise((function(t,i){Object(l["m"])(e).then((function(e){return t(e.data)}))}))},getDeliveryList:function(){this.$refs.deliveryList.getList()},handleSuccess:function(e){200===e.status?this.$message.success(e.message):this.$message.error(e.message)},downloadLogistics:function(){window.open(j["a"].https+"/excel/download/express?token="+Object(I["a"])())},orderCancellation:function(e){var t=this;t.$refs.orderCancellate.dialogVisible=!0,e?(t.$refs.orderCancellate.productDetails(e),t.$refs.orderCancellate.isColum=!0):(t.$refs.orderCancellate.isColum=!1,t.$refs.orderCancellate.resetData())},handleCancellation:function(e){var t=this;this.$confirm("确定核销此订单?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(l["D"])(e).then((function(e){t.$message.success(e.message),t.getList("")})).catch((function(e){t.$message.error(e.message),t.LogLoading=!1}))})).catch((function(){t.$message({type:"info",message:"已取消核销"})}))},onOrderLog:function(e){var t=this;this.dialogVisible=!0,this.LogLoading=!0,Object(l["J"])(e,this.tableFromLog).then((function(e){t.tableDataLog.data=e.data.list,t.tableDataLog.total=e.data.count,t.LogLoading=!1})).catch((function(e){t.$message.error(e.message),t.LogLoading=!1}))},pageChangeLog:function(e){this.tableFromLog.page=e,this.getList("")},handleSizeChangeLog:function(e){this.tableFromLog.limit=e,this.getList("")},printOrder:function(e){var t=this;Object(l["K"])(e).then((function(e){t.$message.success(e.message)})).catch((function(e){t.$message.error(e.message)}))},handleDelete:function(e,t){var i=this;1===e.is_del?this.$modalSure().then((function(){Object(l["E"])(e.order_id).then((function(e){var r=e.message;i.$message.success(r),i.tableData.data.splice(t,1)})).catch((function(e){var t=e.message;i.$message.error(t)}))})):this.$confirm("您选择的的订单存在用户未删除的订单,无法删除用户未删除的订单!","提示",{confirmButtonText:"确定",type:"error"})},onOrderMark:function(e){var t=this;this.$modalForm(Object(l["L"])(e)).then((function(){return t.getList("")}))},selectChange:function(e){this.timeVal=[],this.tableFrom.date=e,this.getCardList(),this.getList(1)},onchangeTime:function(e){this.timeVal=e,this.tableFrom.date=e?this.timeVal.join("-"):"",this.getCardList(),this.getList(1)},edit:function(e){var t=this;this.editId=e,this.editVisible=!0,Object(l["G"])(e).then((function(e){t.formValidate={pay_postage:e.data.pay_postage,total_price:e.data.total_price,integral_price:e.data.integral_price,coupon_price:(Number(e.data.coupon_price)+Number(e.data.svip_discount)).toFixed(2),pay_price:(Number(e.data.total_price)+Number(e.data.pay_postage)-Number(e.data.coupon_price)-Number(e.data.svip_discount)).toFixed(2)},t.loading=!1})).catch((function(e){var i=e.message;t.loading=!1,t.$message.error(i)}))},editConfirm:function(){var e=this;Object(l["M"])(this.editId,this.formValidate).then((function(t){e.editVisible=!1,e.$message.success(t.message),e.getList("")})).catch((function(t){var i=t.message;e.$message.error(i)}))},changePrice:function(){this.formValidate.pay_price=(this.formValidate.total_price+this.formValidate.pay_postage-this.formValidate.coupon_price).toFixed(2)},send:function(e,t){this.isBatch=!1,this.sendVisible=!0,this.isResend=!1,this.orderId=t,this.activityType=e.activity_type,this.orderType=e.is_virtual,this.shipment.delivery_type=1===this.orderType?3:1,e.orderProduct.forEach((function(e){e.stock_num=e.product_num})),this.productList=e.orderProduct,this.productNum=e.orderProduct&&e.orderProduct[0]&&e.orderProduct[0]["product_num"]||0,delete this.shipment.order_id,2==this.tableFrom.order_type&&(this.shipment.delivery_type=3)},sendReset:function(){this.shipment={delivery_type:1,delivery_name:"",delivery_id:"",from_name:"",from_addr:"",from_tel:"",temp_id:""}},reSend:function(e){var t=this;this.isBatch=!1,this.sendVisible=!0,this.orderId=e,this.isResend=!0,delete this.shipment.order_id,Object(l["G"])(e).then((function(e){var i=e.data;t.shipment.delivery_type=t.isDump||4!=i.delivery_type?Number(i.delivery_type):1,t.noLogistics=i.delivery_type,t.loading=!1,t.original={delivery_name:i.delivery_name,delivery_id:i.delivery_id},t.loading=!1})).catch((function(e){var i=e.message;t.loading=!1,t.$message.error(i)}))},submitForm:function(e){var t=this;if(2==this.shipment.delivery_type&&(this.shipment.delivery_name=this.shipment.to_name,this.shipment.delivery_id=this.shipment.to_phone),"0"!=this.shipment.is_split&&this.shipment.is_split&&2!=this.orderType){if(!this.multipleSelection.length)return this.$message.warning("请选择拆单商品!");var i=[];this.multipleSelection.map((function(e){i.push({id:e.order_product_id,num:e.product_num_input})})),this.ids=i,this.shipment.split=this.ids}this.$refs[e].validate((function(e){e&&(delete t.shipment.to_name,delete t.shipment.to_phone,console.log(t.shipment),t.isBatch?Object(l["a"])(t.shipment).then((function(e){t.sendVisible=!1,t.$message.success(e.message),t.getList(""),t.drawer&&t.$refs.orderDetail.getInfo(id),t.sendReset()})).catch((function(e){var i=e.message;t.$message.error(i)})):Object(l["F"])(t.orderId,t.shipment).then((function(e){t.sendVisible=!1,t.$message.success(e.message),t.getList(""),t.drawer&&t.$refs.orderDetail.getInfo(id),t.sendReset(),e.data.label&&t.printImg(e.data.label)})).catch((function(e){var i=e.message;t.$message.error(i)})))}))},printImg:function(e){q()({printable:e,type:"image",documentTitle:"快递信息",style:"img{\n width: 100%;\n height: 476px;\n }"})},getList:function(e){var t=this;this.listLoading=!0,this.tableFrom.page=e||this.tableFrom.page,Object(l["I"])(this.tableFrom).then((function(e){e.data.list.forEach((function(e){e.orderProduct.forEach((function(e){e.product_num_input=e.refund_num}))})),t.tableData.data=e.data.list,t.tableData.total=e.data.count,t.listLoading=!1})).catch((function(e){t.$message.error(e.message),t.listLoading=!1}))},getCardList:function(){var e=this;Object(l["b"])(this.tableFrom).then((function(t){e.cardLists=t.data})).catch((function(t){e.$message.error(t.message)}))},pageChange:function(e){this.tableFrom.page=e,this.getList("")},handleSizeChange:function(e){this.tableFrom.limit=e,this.getList("")},headerList:function(){var e=this;Object(l["c"])().then((function(t){e.orderChartType=t.data})).catch((function(t){e.$message.error(t.message)}))}}},W=M,Q=(i("3c37"),Object(f["a"])(W,r,a,!1,null,"85bf42c6",null));t["default"]=Q.exports},"6df3":function(e,t,i){},7740:function(e,t,i){"use strict";i("07e9")},b331:function(e,t,i){},bd9b:function(e,t){e.exports="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAKEUlEQVR4nO2de3AV1R3HP3uS8EhCkCSAQCLgRZ6RV7Hgo47hpVNgpp3+UZ2llpbOFIUqdWzR6UzpdOqMqFNHq4KMDzp6a/tHO50B2goIVqmCVV4KymMFTAiPJghXbohJ2O0fZwOX5Jy9e+/dzb0hfGYy9ybn7Hl8c3bPOb9zzm+NeDxOtohERTkwCRgFjHY/hwBlQCFQDDQD54Az7ucpYD/wmfu50zLt+k4vvIvRmQJGoqIQmAFMB6qB8YCRYbIOsAfYAmwG3rJMuzHDNH0TuoCRqBDALGABMA8oCjVDiANrgTXARsu07TAzC03ASFQUAz8BHgSGhZJJco4AzwAvWaZ9LowMAhcwEhW9gSXAL4HyQBNPn3rgSeAPlmmfDzLhQAWMRMXdwArgusASDZYvgGWWaf85qAQDETASFUOBVcBdKV9bAlWlDpG+MLwEhvVxKOsJRQVQXCDjnGuBeCs0NMGRrwwOx8A6C3u/NDh0Nq0ivwn81DLto2ldnUDGAkaiYj7wPFDiJ36vPKge4jCrEm671qGsV0bZ09AEW08YbKyBLccMmi74vjQGLLZM+/VM8k9bwEhU9EIK92M/8atKYf5IhzlDHQrz08oyKY2tsP6owesHDD457fuyV4H7LdNuSifPtASMRMUA4O/Azcni3jQAlo53mDbQSaN46bPtpMEzeww+OOUr+vvAdyzT9hc7gZQFjETFcGAjEPGKV1kMv57iMH1I5wrXns3HDH77oUFN8kGMBcyyTPtwKumnJGAkKsYAm4DBujj5AhaNc7hvnEOvvFSKEh5NF2DlXoNVew1avYfVdcBMy7Q/9Zu2bwEjUTECOV2q0MWpLIanb7WZlCujv3bsqoel/xHJWmMtUG2Z9iE/afoSMBIV/YH3gBG6ODMrHJ682aGkh59ss0esGX7xvsGmWs8p+CHgFsu0/5csPZEsQiQqeiDnllrx7h3lsPL23BcPoKQHrLzd4d5Rns/mEcDaSFT0TJZeUgGBF4CpqgADeGiCw/IpDiJTm0onIgxYPsXhoQmeIk5FDtO80/IKdAfJC3XhD090WFyV3V42ExZXOTw80bP8C10NtGgFdKdn2v+AeYPDonFdV7w27hvnYN7gWY/nXS2UeLXAF9FMz2ZWOCy/qeuL18bymxxmVWrrU4LUQolSQNeqcqcqrKIInrjZIa8LPfOSkWfAimkOFXpT752RqLhHFdBhGOOa3T9FYZIqEPCX2TYTyjIrcK6yqx7u3ihoUQ+2vwDGtF8uUE3rl6Cx591f5fgWL9YCO+ptjjc6ugKFToGAQYUGk8sFJQXJ408sl3V8Zo/y9roOqc0TiX+8rAW6ZvjDKCzJkRJYP8emwMfAJ9YM/6i5QHOWhGtPDwHfrszzNU5tsWHOeoEVUwY3AMMSlwfay/EjNGb4Ryc7vsQD2NFg54x4AM22LJMfCoSsq4YypEYXuSiJu3r2c9VV3xwgjaB+Od6Yez10XQplqh7iMHWANvghVyvg8hY4CxiuuuLB8akJkq1nnhdJrDAdeEBf52HA7LZfEgVcoIo9th+dbgzNBaYNdBjbTxu8oO2LgItDl3mqmPNHdj/x2viB3uAwNxIVRXCpBc5GsWOgdz7MHdp9BZw71KG3ev2mCPnIuyigcjnyjsEORT7GT1cqhflQPVjbgO6CSwJOV8WYobU9dx88NJgOYFy7+vwA4GT7UAPY9j2b8gzWbcv++DUXnOw+AvIMg4YfJrWLaqlvgml/FWhqMTAfmKwKGV5CRuIB9C8KaQG4EynvBdeXoJuZfEMAE1UhE8q6b+fRnvHlWi0mCDRrHaP0Y6Bux+hrtEEjBJrZx/A+YRWn6zFMr8X1As0i+aDCq7dwG4OLtFoMEkCpKqRv+h3XFYeHGaxUAL1VIcVdvwMNDA8tCgWgvMO78wykPR5aFOcjz2F0+p6Ckh4wpwKuKybtBaoLDnxxDtbXSit4NhDAV6qAeEu4Gc+pkD19Jqt7eYZMY15lcOVS4aHFOa2A51rDKo5kSICnRTyWIwMhrteiUStg2LfEsQBPV9SGfNjqrF6L0wJQbuGqi4e7cr6+Fg5/JZ9j6WI7Mo11NcGVS4WHFifykcuYHTiibJfBEWuGNz4PN4+g8NDCEsjNhB347MuwitP12H9GG3RIALtUIbsbrqDNLxmyu16rxR4B7FCFHI5JY2J3p6EJPlfbAgE+FO7ZiA63sQNsPX61FW49Yeis0Qct0z7VtiayWRVjU21IpepCbNL38Jvh0qLSP1Ux3q4zaAx5QJ3LNLbCljrtXfgvuCTgRuRJ78s43wprj3Tf23jdUYPz6gYUR2omBbRMOw6sU8V8/UD3FfC1/dq6r3M1u2xvzBpVzH1fyoN76ZALi3LpngzddtJgn34svKbtS6KAG5A+BjrwrHrHZlKq+mW/9d6YZhk86nwUqRWQIKDr3eL3qiu2n4J/6x+mWhaMzL6A6ZThnTqD7fqDr08negJpv+f0VeQ21g489pGR8r6/6kEGi8ZkT8RFYwyqB6WWf4sNv/tIe00D8HLiHy4T0N37e9km6othMXlkNFWWjhO8cItgan9Dt9MpUHrnw9T+BitvFSwd53NPcgIr9xq6XQgAT7R3n3L1mEMCuxvg+xtSO+bQ4V/kRnhElUKLDQ+8K7K2/hAmsWZZN4/H1KMql1LKNm6Z9htI1yAdqI3Dsm0G9hW07u4g6+Rh2d5gmfafVAFeD4lFSNcgHVOrMfjNf7PfwwbF8g8MNtRo6xNDaqFEK6Bl2keQJ3OURA9KHwRdnVV7DaIHPeuxxMsRhWc3ZZn2a7TrthN5apfB6n1dV8TV+wye3OVZ/ldcDbT46ecXA9tVAQ6wYqfB4zu1NrOcpK3cK3Z6ircdWXdPrjqdUOPb6USqbk/eRrroVFJZDM/eZjM+R8eJHzfAz7YmdXtyDLgjULcnbbiOd94EtJsp8gUsqZLuAPweTgybFlt2Fs99ktTxTg1wZyiOd9qIREUl0ho71iveiL7wq8kOt+vPWXQK79QZPLbDl5u8fcBdlmmntEyfrvOxUqQvmVuSxZ06QB7cy4bzsWf3eFpVEnkPmGeZtn+fby6ZuL/rCTyFx1gxkapSMEc6zA3Z/d26owbR1NzfPQc8bJn21+nkGYQDxu8CrwD6vewJ9M6H6UMcZlTAtwY5lGa4lfj01/DucYO3aqWnNs0ahoozwELLtP+WSf5BugB9EY2nD23mQKQvjC9zGHmNPNBSUeRwTU/oUyDN8a223F4Wa5afx+IGn8fgwBnY02BgnSWdMeibwCJ3tpURQTuhvQd4nNx2QvuIaywJhEAHGm7BRgPLkK6Hc4V6pIludJDiQbiOuPsg/W7lgiPuly3TDmXD3lVX8BmSrZcRzEC+jOBGgnkZwcdI75pvcaW9jMAL10gxCRhJx9dhFHGptcbdnwbkXLXtdRgHkK/DSDrpD4v/AyTig4w83FS9AAAAAElFTkSuQmCC"},ccfe:function(e,t,i){},d199:function(e,t,i){},dbcf:function(e,t,i){"use strict";i("b331")},ea8b:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAABSCAYAAADHLIObAAAAAXNSR0IArs4c6QAABGNJREFUeF7tnE2o3FQUx/9nQBEUUcE2qRRKC3UhtIu+lVR4YqEFF4JiaRdCEVRw0Un8WLiyb2VL8U3mlUIXQsVNxaK4tKC0ulKsIAMuXtHqxk6iIvixEGnnL3m+6Wcy92bmlMzLnGyG4Z77vzm/OUluzr1zBHaoEBAVFROBgVQKAgNpIJUIKMl4RWTQ4SEKtgmwDcAWpbGnXeYHAj0hemksh1wnOxJkuMg5tvAugEdcQg1v/04GONB/Rc6X+VkKMlzi0xzgw4YDquSetPBM/6B8VNSpFGTQ5c8gNlQaqenGgktpWx7yBpnfEyF4s+lcxvKPWCi6ZxZGZJDwFIB9Yw3U/E7vp5Hsv9nNYpAdLkOwtflMxvCQuJDG8rAfyIQcY4iZ6ZJGcksAll3aBnJEWBhIpWvGQBpIJQJKMhaRBlKJgJKMRaSBVCKgJLOWIvKch8/zHja3xWTqQRL4GFdwJHtVvnQRCDrcBOBAHcmV6QdJxFksiQvisD3scgeJ0mSrr05VuzpB/gHgLQAXQfx604nPD6PqMrHht1j6VRwLulwGsRXEAoAbbgnSwkYCm0E4lwqqjFkXyEwET/bb8k3RyYYJdxP4JG8T4HA/kjd8nVrf5RNCfLpiL3g+bcvJor7runy0BZzWSlTXBfLtNJLXyuA8sMR77xzgewAPrtqcA/G5CyYF2wHMC3BfbkvBrqwtn5X100xW1wOSeDyNZeRTOEwYE1h0wRvRfiaNZM+o/uExzvEKvp5gjKtdpxZkfoZhwp0AjvD/Jd97PB3uQZCUXdLXa6w/yrvlDvztqTvSbKpBajjo0giUEtYG0kC6Ys2v3SLSj5PTqtEgV1/18te9iQ/X7KCxIIOEzwL4YGKCQ4GSxfthc2NBhh0+R8F7WiAJJFkkcemkvMkPm6DLa1tjBhC0QAw/h0Ty746DwHIWS75DpPRobES64Gi3G0glogbSQOZpGXfSQomTU6axEbmaizwBQGMe+ROBfVkkX83cUztI+DKA485Q8jc4nUayd+ZArlviFhngqAD3+7MqtiRxIYvlJZv+TErSo39j75EevquaGEglnAbSQI6eR2qu7OVr2v+28NTvB+XPmXtqBwnzFFqeSlM5BsD2XyLpzR7IDq/uspiYpOB82pbXbfozMUm3gD1s3Iy8LAykFya3kYF0M/KyMJBemNxGaxokBS9kbXnH7ebttVhZ9hX8qDFKXVtWCv/frOFQFY1wkY+xhS+q9CmzrQek4NLlAeaq7sTVcPh6jSDh2Xw/pYZuPSBX3hLxLYkFAXpZLBc1nHFpbDrJu/75C5uF2EniRQA7XH1822sD6XuCa8XOQCr9UgbSQCoRUJKxiDSQSgSUZCwiDaQSASUZi0gDqURAScY/Iq2kVznyiiW9rMhcOcpKReas7GEZyCplD3MNK8RZQLJqIc5cwkrD3gpyrNKwKzCtWPGQ5vjFim/ILlv5bGdNDOcfgZSmXo2XMZBKP7GBNJBKBJRkLCKVQP4HUW2zcb4YanwAAAAASUVORK5CYII="},f8b7:function(e,t,i){"use strict";i.d(t,"I",(function(){return a})),i.d(t,"c",(function(){return s})),i.d(t,"b",(function(){return n})),i.d(t,"M",(function(){return l})),i.d(t,"F",(function(){return o})),i.d(t,"G",(function(){return c})),i.d(t,"q",(function(){return d})),i.d(t,"J",(function(){return u})),i.d(t,"L",(function(){return m})),i.d(t,"E",(function(){return p})),i.d(t,"K",(function(){return _})),i.d(t,"T",(function(){return v})),i.d(t,"R",(function(){return f})),i.d(t,"W",(function(){return h})),i.d(t,"V",(function(){return g})),i.d(t,"U",(function(){return b})),i.d(t,"Q",(function(){return y})),i.d(t,"e",(function(){return w})),i.d(t,"t",(function(){return C})),i.d(t,"S",(function(){return k})),i.d(t,"n",(function(){return L})),i.d(t,"m",(function(){return D})),i.d(t,"l",(function(){return x})),i.d(t,"k",(function(){return F})),i.d(t,"D",(function(){return O})),i.d(t,"x",(function(){return S})),i.d(t,"H",(function(){return A})),i.d(t,"Z",(function(){return V})),i.d(t,"ab",(function(){return z})),i.d(t,"Y",(function(){return T})),i.d(t,"B",(function(){return N})),i.d(t,"A",(function(){return $})),i.d(t,"y",(function(){return B})),i.d(t,"z",(function(){return I})),i.d(t,"C",(function(){return j})),i.d(t,"j",(function(){return R})),i.d(t,"h",(function(){return E})),i.d(t,"i",(function(){return P})),i.d(t,"P",(function(){return q})),i.d(t,"p",(function(){return M})),i.d(t,"o",(function(){return W})),i.d(t,"a",(function(){return Q})),i.d(t,"s",(function(){return G})),i.d(t,"w",(function(){return J})),i.d(t,"r",(function(){return H})),i.d(t,"g",(function(){return Y})),i.d(t,"f",(function(){return K})),i.d(t,"O",(function(){return U})),i.d(t,"N",(function(){return Z})),i.d(t,"v",(function(){return X})),i.d(t,"u",(function(){return ee})),i.d(t,"X",(function(){return te})),i.d(t,"d",(function(){return ie}));var r=i("0c6d");function a(e){return r["a"].get("store/order/lst",e)}function s(){return r["a"].get("store/order/chart")}function n(e){return r["a"].get("store/order/title",e)}function l(e,t){return r["a"].post("store/order/update/".concat(e),t)}function o(e,t){return r["a"].post("store/order/delivery/".concat(e),t)}function c(e){return r["a"].get("store/order/detail/".concat(e))}function d(e){return r["a"].get("store/order/children/".concat(e))}function u(e,t){return r["a"].get("store/order/log/".concat(e),t)}function m(e){return r["a"].get("store/order/remark/".concat(e,"/form"))}function p(e){return r["a"].post("store/order/delete/".concat(e))}function _(e){return r["a"].get("store/order/printer/".concat(e))}function v(e){return r["a"].get("store/refundorder/lst",e)}function f(e){return r["a"].get("store/refundorder/detail/".concat(e))}function h(e){return r["a"].get("store/refundorder/status/".concat(e,"/form"))}function g(e){return r["a"].get("store/refundorder/mark/".concat(e,"/form"))}function b(e){return r["a"].get("store/refundorder/log/".concat(e))}function y(e){return r["a"].get("store/refundorder/delete/".concat(e))}function w(e){return r["a"].post("store/refundorder/refund/".concat(e))}function C(e){return r["a"].get("store/order/express/".concat(e))}function k(e){return r["a"].get("store/refundorder/express/".concat(e))}function L(e){return r["a"].get("store/order/excel",e)}function D(e){return r["a"].get("store/order/delivery_export",e)}function x(e){return r["a"].get("excel/lst",e)}function F(e){return r["a"].get("excel/download/".concat(e))}function O(e){return r["a"].get("store/order/verify/".concat(e))}function S(e,t){return r["a"].post("store/order/verify/".concat(e),t)}function A(){return r["a"].get("store/order/filtter")}function V(){return r["a"].get("store/order/takechart")}function z(e){return r["a"].get("store/order/takelst",e)}function T(e){return r["a"].get("store/order/take_title",e)}function N(e){return r["a"].get("store/receipt/lst",e)}function $(e){return r["a"].get("store/receipt/set_recipt",e)}function B(e){return r["a"].post("store/receipt/save_recipt",e)}function I(e){return r["a"].get("store/receipt/detail/".concat(e))}function j(e,t){return r["a"].post("store/receipt/update/".concat(e),t)}function R(e){return r["a"].get("store/import/lst",e)}function E(e,t){return r["a"].get("store/import/detail/".concat(e),t)}function P(e,t){return r["a"].get("store/import/excel/".concat(e),t)}function q(e){return r["a"].get("store/refundorder/excel",e)}function M(){return r["a"].get("expr/options")}function W(e){return r["a"].get("expr/temps",e)}function Q(e){return r["a"].post("store/order/delivery_batch",e)}function G(){return r["a"].get("serve/config")}function J(){return r["a"].get("delivery/station/select")}function H(){return r["a"].get("delivery/station/options")}function Y(e){return r["a"].get("delivery/order/lst",e)}function K(e){return r["a"].get("delivery/order/cancel/".concat(e,"/form"))}function U(e){return r["a"].get("delivery/station/payLst",e)}function Z(e){return r["a"].get("delivery/station/code",e)}function X(e){return r["a"].get("store/refundorder/check/".concat(e))}function ee(){return r["a"].get("store/refundorder/refund_message")}function te(e){return r["a"].post("store/refundorder/create",e)}function ie(e){return r["a"].post("store/refundorder/compute",e)}}}]);