(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-75cb5b24"],{"1a84":function(e,t,r){"use strict";var n=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,n){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,n){return r("Option",{key:n,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,n){return r("Option",{key:n,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 n=t.row;t.index;return[r("div",{staticClass:"product-data"},[r("img",{staticClass:"image",attrs:{src:n.cart_info.productInfo.image}}),r("div",{staticClass:"name line2"},[e._v("\n\t\t\t\t\t\t\t\t"+e._s(n.cart_info.productInfo.store_name)+"\n\t\t\t\t\t\t\t")])])]}},{key:"value",fn:function(t){var n=t.row;t.index;return[r("div",[e._v(e._s(n.cart_info.productInfo.attrInfo.suk))])]}},{key:"sellPrice",fn:function(t){var n=t.row;t.index;return[r("div",[e._v(e._s(n.cart_info.productInfo.attrInfo?n.cart_info.productInfo.attrInfo.price:n.cart_info.productInfo.price))])]}},{key:"price",fn:function(t){var n=t.row;t.index;return[r("div",[e._v(e._s(n.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)},a=[],i=r("a34a"),o=r.n(i),s=r("add5"),l=r.n(s),c=r("2f62"),d=r("f8b7");function u(e,t,r,n,a,i,o){try{var s=e[i](o),l=s.value}catch(c){return void r(c)}s.done?t(l):Promise.resolve(l).then(n,a)}function m(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){u(i,n,a,o,s,"next",e)}function s(e){u(i,n,a,o,s,"throw",e)}o(void 0)}))}}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:window;return!!e.chrome},isSafari:function(){return Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||-1!==navigator.userAgent.toLowerCase().indexOf("safari")},isIOSChrome:function(){return-1!==navigator.userAgent.toLowerCase().indexOf("crios")}};t["default"]=n},"./src/js/functions.js": /*!*****************************!*\ !*** ./src/js/functions.js ***! \*****************************/ /*! exports provided: addWrapper, capitalizePrint, collectStyles, addHeader, cleanUp, isRawHTML */function(e,t,r){"use strict";r.r(t),r.d(t,"addWrapper",(function(){return o})),r.d(t,"capitalizePrint",(function(){return s})),r.d(t,"collectStyles",(function(){return l})),r.d(t,"addHeader",(function(){return d})),r.d(t,"cleanUp",(function(){return u})),r.d(t,"isRawHTML",(function(){return m}));var n=r(/*! ./modal */"./src/js/modal.js"),a=r(/*! ./browser */"./src/js/browser.js");function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){var r="font-family:"+t.font+" !important; font-size: "+t.font_size+" !important; width:100%;";return'
'+e+"
"}function s(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){for(var r=document.defaultView||window,n="",a=r.getComputedStyle(e,""),i=0;i]*>(.*?)");return t.test(e)}},"./src/js/html.js": /*!************************!*\ !*** ./src/js/html.js ***! \************************/ /*! exports provided: default */function(e,t,r){"use strict";r.r(t);var n=r(/*! ./functions */"./src/js/functions.js"),a=r(/*! ./print */"./src/js/print.js");function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){for(var r=e.cloneNode(),a=Array.prototype.slice.call(e.childNodes),i=0;i"+e.documentTitle+"",e.css&&(Array.isArray(e.css)||(e.css=[e.css]),e.css.forEach((function(e){p.srcdoc+=''}))),p.srcdoc+=""),e.type){case"pdf":if(n["default"].isIE())try{console.info("Print.js doesn't support PDF printing in Internet Explorer.");var f=window.open(e.fallbackPrintable,"_blank");f.focus(),e.onIncompatibleBrowser()}catch(h){e.onError(h)}finally{e.showModal&&a["default"].close(),e.onLoadingEnd&&e.onLoadingEnd()}else i["default"].print(e,p);break;case"image":l["default"].print(e,p);break;case"html":o["default"].print(e,p);break;case"raw-html":s["default"].print(e,p);break;case"json":c["default"].print(e,p);break}}}},"./src/js/json.js": /*!************************!*\ !*** ./src/js/json.js ***! \************************/ /*! exports provided: default */function(e,t,r){"use strict";r.r(t);var n=r(/*! ./functions */"./src/js/functions.js"),a=r(/*! ./print */"./src/js/print.js");function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e){var t=e.printable,r=e.properties,a='';e.repeatTableHeader&&(a+=""),a+="";for(var i=0;i'+Object(n["capitalizePrint"])(r[i].displayName)+"";a+="",e.repeatTableHeader&&(a+=""),a+="";for(var o=0;o";for(var s=0;s1)for(var d=0;d'+l+""}a+=""}return a+="
",a}t["default"]={print:function(e,t){if("object"!==i(e.printable))throw new Error("Invalid javascript data object (JSON).");if("boolean"!==typeof e.repeatTableHeader)throw new Error("Invalid value for repeatTableHeader attribute (JSON).");if(!e.properties||!Array.isArray(e.properties))throw new Error("Invalid properties array for your JSON data.");e.properties=e.properties.map((function(t){return{field:"object"===i(t)?t.field:t,displayName:"object"===i(t)?t.displayName:t,columnSize:"object"===i(t)&&t.columnSize?t.columnSize+";":100/e.properties.length+"%;"}})),e.printableElement=document.createElement("div"),e.header&&Object(n["addHeader"])(e.printableElement,e),e.printableElement.innerHTML+=o(e),a["default"].send(e,t)}}},"./src/js/modal.js": /*!*************************!*\ !*** ./src/js/modal.js ***! \*************************/ /*! exports provided: default */function(e,t,r){"use strict";r.r(t);var n={show:function(e){var t="font-family:sans-serif; display:table; text-align:center; font-weight:300; font-size:30px; left:0; top:0;position:fixed; z-index: 9990;color: #0460B5; width: 100%; height: 100%; background-color:rgba(255,255,255,.9);transition: opacity .3s ease;",r=document.createElement("div");r.setAttribute("style",t),r.setAttribute("id","printJS-Modal");var a=document.createElement("div");a.setAttribute("style","display:table-cell; vertical-align:middle; padding-bottom:100px;");var i=document.createElement("div");i.setAttribute("class","printClose"),i.setAttribute("id","printClose"),a.appendChild(i);var o=document.createElement("span");o.setAttribute("class","printSpinner"),a.appendChild(o);var s=document.createTextNode(e.modalMessage);a.appendChild(s),r.appendChild(a),document.getElementsByTagName("body")[0].appendChild(r),document.getElementById("printClose").addEventListener("click",(function(){n.close()}))},close:function(){var e=document.getElementById("printJS-Modal");e&&e.parentNode.removeChild(e)}};t["default"]=n},"./src/js/pdf.js": /*!***********************!*\ !*** ./src/js/pdf.js ***! \***********************/ /*! exports provided: default */function(e,t,r){"use strict";r.r(t);var n=r(/*! ./print */"./src/js/print.js"),a=r(/*! ./functions */"./src/js/functions.js");function i(e,t,r){var a=new window.Blob([r],{type:"application/pdf"});a=window.URL.createObjectURL(a),t.setAttribute("src",a),n["default"].send(e,t)}t["default"]={print:function(e,t){if(e.base64){var r=Uint8Array.from(atob(e.printable),(function(e){return e.charCodeAt(0)}));i(e,t,r)}else{e.printable=/^(blob|http|\/\/)/i.test(e.printable)?e.printable:window.location.origin+("/"!==e.printable.charAt(0)?"/"+e.printable:e.printable);var n=new window.XMLHttpRequest;n.responseType="arraybuffer",n.addEventListener("error",(function(){Object(a["cleanUp"])(e),e.onError(n.statusText,n)})),n.addEventListener("load",(function(){if(-1===[200,201].indexOf(n.status))return Object(a["cleanUp"])(e),void e.onError(n.statusText,n);i(e,t,n.response)})),n.open("GET",e.printable,!0),n.send()}}}},"./src/js/print.js": /*!*************************!*\ !*** ./src/js/print.js ***! \*************************/ /*! exports provided: default */function(e,t,r){"use strict";r.r(t);var n=r(/*! ./browser */"./src/js/browser.js"),a=r(/*! ./functions */"./src/js/functions.js"),i={send:function(e,t){document.getElementsByTagName("body")[0].appendChild(t);var r=document.getElementById(e.frameId);r.onload=function(){if("pdf"!==e.type){var t=r.contentWindow||r.contentDocument;if(t.document&&(t=t.document),t.body.appendChild(e.printableElement),"pdf"!==e.type&&e.style){var a=document.createElement("style");a.innerHTML=e.style,t.head.appendChild(a)}var i=t.getElementsByTagName("img");i.length>0?s(Array.from(i)).then((function(){return o(r,e)})):o(r,e)}else n["default"].isFirefox()?setTimeout((function(){return o(r,e)}),1e3):o(r,e)}}};function o(e,t){try{if(e.focus(),n["default"].isEdge()||n["default"].isIE())try{e.contentWindow.document.execCommand("print",!1,null)}catch(r){e.contentWindow.print()}else e.contentWindow.print()}catch(i){t.onError(i)}finally{n["default"].isFirefox()&&(e.style.visibility="hidden",e.style.left="-1px"),Object(a["cleanUp"])(t)}}function s(e){var t=e.map((function(e){if(e.src&&e.src!==window.location.href)return l(e)}));return Promise.all(t)}function l(e){return new Promise((function(t){var r=function r(){e&&"undefined"!==typeof e.naturalWidth&&0!==e.naturalWidth&&e.complete?t():setTimeout(r,500)};r()}))}t["default"]=i},"./src/js/raw-html.js": /*!****************************!*\ !*** ./src/js/raw-html.js ***! \****************************/ /*! exports provided: default */function(e,t,r){"use strict";r.r(t);var n=r(/*! ./print */"./src/js/print.js");t["default"]={print:function(e,t){e.printableElement=document.createElement("div"),e.printableElement.setAttribute("style","width:100%"),e.printableElement.innerHTML=e.printable,n["default"].send(e,t)}}},"./src/sass/index.scss": /*!*****************************!*\ !*** ./src/sass/index.scss ***! \*****************************/ /*! no static exports found */function(e,t,r){},0: /*!****************************!*\ !*** multi ./src/index.js ***! \****************************/ /*! no static exports found */function(e,t,r){e.exports=r(/*! ./src/index.js */"./src/index.js")}})["default"]}))},c24f:function(e,t,r){"use strict";r.d(t,"r",(function(){return a})),r.d(t,"k",(function(){return i})),r.d(t,"l",(function(){return o})),r.d(t,"a",(function(){return s})),r.d(t,"q",(function(){return l})),r.d(t,"j",(function(){return c})),r.d(t,"m",(function(){return d})),r.d(t,"u",(function(){return u})),r.d(t,"d",(function(){return m})),r.d(t,"f",(function(){return p})),r.d(t,"c",(function(){return f})),r.d(t,"e",(function(){return h})),r.d(t,"p",(function(){return b})),r.d(t,"n",(function(){return y})),r.d(t,"t",(function(){return v})),r.d(t,"o",(function(){return _})),r.d(t,"s",(function(){return g})),r.d(t,"g",(function(){return w})),r.d(t,"i",(function(){return I})),r.d(t,"b",(function(){return x})),r.d(t,"h",(function(){return j}));var n=r("b6bd");function a(){return Object(n["a"])({url:"user/user_label_cate",method:"get"})}function i(){return Object(n["a"])({url:"user/user_label_cate/create",method:"get"})}function o(e){return Object(n["a"])({url:"user/user_label_cate/".concat(e,"/edit"),method:"get"})}function s(e){return Object(n["a"])({url:"user/user_label",method:"get",params:e})}function l(){return Object(n["a"])({url:"user/user_label/create",method:"get"})}function c(e){return Object(n["a"])({url:"user/user_label/".concat(e,"/edit"),method:"get"})}function d(e){return Object(n["a"])({url:"user/user",method:"get",params:e})}function u(e){return Object(n["a"])({url:"user/search",method:"get",params:e})}function m(e){return Object(n["a"])({url:"user/label/".concat(e),method:"get"})}function p(e,t){return Object(n["a"])({url:"user/label/".concat(e),method:"post",data:t})}function f(e){return Object(n["a"])({url:"user/user/".concat(e),method:"get"})}function h(e){return Object(n["a"])({url:"user/one_info/".concat(e.id),method:"get",params:e.datas})}function b(e){return Object(n["a"])({url:"user/set_label",method:"post",data:e})}function y(){return Object(n["a"])({url:"user/recharge/meal",method:"get"})}function v(){return Object(n["a"])({url:"user/member/ship",method:"get"})}function _(e){return Object(n["a"])({url:"user/recharge",method:"post",data:e})}function g(e){return Object(n["a"])({url:"/user/member",method:"post",data:e})}function w(e){return Object(n["a"])({url:"staff/binding/user",method:"post",data:e})}function I(e){return Object(n["a"])({url:"updatePwd",method:"PUT",data:e})}function x(e,t){return Object(n["a"])({url:"check_order_status/".concat(e),method:"post",data:t})}function j(){return Object(n["a"])({url:"staff/staff_info",method:"get"})}},da49:function(e,t,r){"use strict";var n=r("82be"),a=r.n(n);a.a}}]);