(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-180c2caa"],{"094a":function(e,t,r){"use strict";var a=r("8ed7"),s=r.n(a);s.a},"1a84":function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("Modal",{staticClass:"order_box",attrs:{scrollable:"",title:"订单发送货",closable:!1,width:"1000"},on:{"on-visible-change":e.changeModal},model:{value:e.modals,callback:function(t){e.modals=t},expression:"modals"}},[e.modals?r("Form",{ref:"formItem",attrs:{model:e.formItem,"label-width":100},nativeOn:{submit:function(e){e.preventDefault()}}},[r("FormItem",{attrs:{label:"选择类型:"}},[r("RadioGroup",{on:{"on-change":e.changeRadio},model:{value:e.formItem.type,callback:function(t){e.$set(e.formItem,"type",t)},expression:"formItem.type"}},[e.productType?e._e():r("Radio",{attrs:{label:"1"}},[e._v("发货")]),!e.productType&&e.sheetInfo.city_delivery_status?r("Radio",{attrs:{label:"2"}},[e._v("送货")]):e._e(),r("Radio",{attrs:{label:"3"}},[e._v("无需配送")])],1)],1),1==e.formItem.type?r("FormItem",{directives:[{name:"show",rawName:"v-show",value:e.export_open,expression:"export_open"}],attrs:{label:"发货类型:"}},[r("RadioGroup",{on:{"on-change":e.changeExpress},model:{value:e.formItem.express_record_type,callback:function(t){e.$set(e.formItem,"express_record_type",t)},expression:"formItem.express_record_type"}},[r("Radio",{attrs:{label:"1"}},[e._v("手动填写")]),r("Radio",{attrs:{label:"2"}},[e._v("电子面单打印")])],1)],1):e._e(),r("div",[1==e.formItem.type?r("FormItem",{attrs:{label:"快递公司:"}},[r("Select",{staticClass:"input-add",attrs:{filterable:"",placeholder:"请选择快递公司"},on:{"on-change":e.expressChange},model:{value:e.formItem.delivery_name,callback:function(t){e.$set(e.formItem,"delivery_name",t)},expression:"formItem.delivery_name"}},e._l(e.express,(function(t,a){return r("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.value)+"\n\t\t\t\t\t")])})),1)],1):e._e(),"1"===e.formItem.express_record_type&&1==e.formItem.type?r("FormItem",{attrs:{label:"快递单号:"}},[r("Input",{staticClass:"input-add",attrs:{placeholder:"请输入快递单号"},model:{value:e.formItem.delivery_id,callback:function(t){e.$set(e.formItem,"delivery_id",t)},expression:"formItem.delivery_id"}}),"顺丰速运"==e.formItem.delivery_name?r("div",{staticClass:"trips"},[r("p",[e._v("顺丰请输入单号 :收件人或寄件人手机号后四位,")]),r("p",[e._v("例如:SF000000000000:3941")])]):e._e()],1):e._e(),"2"===e.formItem.express_record_type?[r("FormItem",{staticClass:"express_temp_id",attrs:{label:"电子面单:"}},[r("Select",{staticClass:"input-add",attrs:{placeholder:"请选择电子面单"},on:{"on-change":e.expressTempChange},model:{value:e.formItem.express_temp_id,callback:function(t){e.$set(e.formItem,"express_temp_id",t)},expression:"formItem.express_temp_id"}},e._l(e.expressTemp,(function(t,a){return r("Option",{key:a,attrs:{value:t.temp_id}},[e._v(e._s(t.title)+"\n\t\t\t\t\t\t")])})),1),e.formItem.express_temp_id?r("Button",{attrs:{type:"text"},on:{click:e.preview}},[e._v("预览")]):e._e()],1),r("FormItem",{attrs:{label:"寄件人姓名:"}},[r("Input",{staticClass:"input-add",attrs:{placeholder:"请输入寄件人姓名"},model:{value:e.formItem.to_name,callback:function(t){e.$set(e.formItem,"to_name",t)},expression:"formItem.to_name"}})],1),r("FormItem",{attrs:{label:"寄件人电话:"}},[r("Input",{staticClass:"input-add",attrs:{placeholder:"请输入寄件人电话"},model:{value:e.formItem.to_tel,callback:function(t){e.$set(e.formItem,"to_tel",t)},expression:"formItem.to_tel"}})],1),r("FormItem",{attrs:{label:"寄件人地址:"}},[r("Input",{staticClass:"input-add",attrs:{placeholder:"请输入寄件人地址"},model:{value:e.formItem.to_addr,callback:function(t){e.$set(e.formItem,"to_addr",t)},expression:"formItem.to_addr"}})],1)]:e._e()],2),r("div",{directives:[{name:"show",rawName:"v-show",value:"2"===e.formItem.type,expression:"formItem.type === '2'"}]},[r("FormItem",{attrs:{label:"配送类型:"}},[r("RadioGroup",{model:{value:e.formItem.delivery_type,callback:function(t){e.$set(e.formItem,"delivery_type",t)},expression:"formItem.delivery_type"}},[e.sheetInfo.self_delivery_status?r("Radio",{attrs:{label:1}},[e._v("商家配送")]):e._e(),e.sheetInfo.dada_delivery_status||e.sheetInfo.uu_delivery_status?r("Radio",{attrs:{label:2}},[e._v("第三方配送")]):e._e()],1)],1),1===e.formItem.delivery_type?r("FormItem",{attrs:{label:"送货人:",required:""}},[r("Select",{staticClass:"input-add",attrs:{placeholder:"请选择送货人"},on:{"on-change":e.shDeliveryChange},model:{value:e.formItem.sh_delivery,callback:function(t){e.$set(e.formItem,"sh_delivery",t)},expression:"formItem.sh_delivery"}},e._l(e.deliveryList,(function(t,a){return r("Option",{key:a,attrs:{value:t.id}},[e._v("\n\t\t\t\t\t\t"+e._s(t.wx_name)+"("+e._s(t.phone)+")")])})),1)],1):e._e(),2===e.formItem.delivery_type?r("div",[r("FormItem",{attrs:{label:"配送平台:"}},[r("RadioGroup",{model:{value:e.formItem.station_type,callback:function(t){e.$set(e.formItem,"station_type",t)},expression:"formItem.station_type"}},[e.sheetInfo.dada_delivery_status?r("Radio",{attrs:{label:1}},[e._v("达达")]):e._e(),e.sheetInfo.uu_delivery_status?r("Radio",{attrs:{label:2}},[e._v("uu跑腿")]):e._e()],1)],1),r("FormItem",{attrs:{label:"包裹重量:",required:""}},[r("InputNumber",{staticClass:"input-add",attrs:{min:0},model:{value:e.formItem.cargo_weight,callback:function(t){e.$set(e.formItem,"cargo_weight",t)},expression:"formItem.cargo_weight"}}),r("span",{staticStyle:{"margin-left":"10px"}},[e._v("kg")])],1),r("FormItem",{attrs:{label:"配送备注:"}},[r("Input",{staticClass:"input-add",attrs:{type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"配送备注"},model:{value:e.formItem.remark,callback:function(t){e.$set(e.formItem,"remark",t)},expression:"formItem.remark"}})],1),r("FormItem",{attrs:{label:"备注:"}},[r("Input",{staticClass:"input-add",attrs:{type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"备注"},model:{value:e.formItem.mark,callback:function(t){e.$set(e.formItem,"mark",t)},expression:"formItem.mark"}})],1)],1):e._e()],1),r("div",{directives:[{name:"show",rawName:"v-show",value:"3"===e.formItem.type,expression:"formItem.type === '3'"}]},[r("FormItem",{attrs:{label:"备注:"}},[r("Input",{staticClass:"input-add",attrs:{type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:"备注"},model:{value:e.formItem.fictitious_content,callback:function(t){e.$set(e.formItem,"fictitious_content",t)},expression:"formItem.fictitious_content"}})],1)],1),e.splitOrder>1&&"3"!==e.formItem.type?r("div",[r("FormItem",{attrs:{label:"分单发货:"}},[r("i-switch",{attrs:{size:"large",disabled:8===e.orderStatus},on:{"on-change":e.changeSplitStatus},model:{value:e.splitSwitch,callback:function(t){e.splitSwitch=t},expression:"splitSwitch"}},[r("span",{attrs:{slot:"open"},slot:"open"},[e._v("开启")]),r("span",{attrs:{slot:"close"},slot:"close"},[e._v("关闭")])]),r("div",{staticClass:"trips"},[r("p",[e._v("\n\t\t\t\t\t\t可选择表格中的商品单独发货,发货后会生成新的订单且不能撤回,请谨慎操作!\n\t\t\t\t\t")])]),e.splitSwitch&&e.manyFormValidate.length?r("Table",{attrs:{data:e.manyFormValidate,columns:e.header,border:""},on:{"on-selection-change":e.selectOne},scopedSlots:e._u([{key:"image",fn:function(t){var a=t.row;t.index;return[r("div",{staticClass:"product-data"},[r("img",{staticClass:"image",attrs:{src:a.cart_info.productInfo.image}}),r("div",{staticClass:"name line2"},[e._v("\n\t\t\t\t\t\t\t\t"+e._s(a.cart_info.productInfo.store_name)+"\n\t\t\t\t\t\t\t")])])]}},{key:"value",fn:function(t){var a=t.row;t.index;return[r("div",[e._v(e._s(a.cart_info.productInfo.attrInfo.suk))])]}},{key:"sellPrice",fn:function(t){var a=t.row;t.index;return[r("div",[e._v(e._s(a.cart_info.productInfo.attrInfo?a.cart_info.productInfo.attrInfo.price:a.cart_info.productInfo.price))])]}},{key:"price",fn:function(t){var a=t.row;t.index;return[r("div",[e._v(e._s(a.cart_info.truePrice))])]}}],null,!1,2985513488)}):e._e()],1)],1):e._e()],1):e._e(),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("Button",{on:{click:e.cancel}},[e._v("取消")]),r("Button",{attrs:{type:"primary"},on:{click:e.putSend}},[e._v("提交")])],1),r("div",{directives:[{name:"viewer",rawName:"v-viewer"},{name:"show",rawName:"v-show",value:e.temp,expression:"temp"}],ref:"viewer"},[r("img",{staticStyle:{display:"none"},attrs:{src:e.temp.pic}})])],1)},s=[],n=r("a34a"),i=r.n(n),o=r("2f62"),c=r("f8b7");function l(e,t,r,a,s,n,i){try{var o=e[n](i),c=o.value}catch(l){return void r(l)}o.done?t(c):Promise.resolve(c).then(a,s)}function m(e){return function(){var t=this,r=arguments;return new Promise((function(a,s){var n=e.apply(t,r);function i(e){l(n,a,s,i,o,"next",e)}function o(e){l(n,a,s,i,o,"throw",e)}i(void 0)}))}}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function d(e){for(var t=1;t