(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-f9557db2","chunk-9e9dd6a0","chunk-482cb3ce","chunk-15caf0ce","chunk-8a90d99e","chunk-25ffc4de"],{"018a":function(e,t,a){},"01bd":function(e,t,a){"use strict";a("018a")},"03ed":function(e,t,a){"use strict";a("6057")},"04c0":function(e,t,a){"use strict";a("efa6")},"0ee5":function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return n}));var r=[{id:"1",label:"备库单"},{id:"2",label:"系统商品"},{id:"3",label:"招标反馈"}],n=[{id:"1",label:"库存品"},{id:"2",label:"系统商品"},{id:"3",label:"招标反馈"}]},"0ff4":function(e,t,a){},"119d":function(e,t,a){"use strict";a("be28")},"18a5":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=a("5530"),i=(a("96cf"),a("f5ed")),s=a("9f53"),o=a("9927"),l=a("50fe"),c=a("0ee5"),u=a("2036"),d=a("2f62");i={name:"sellOutOrderDetail",mixins:[i.a,s.a],components:{wantDeliver:u.default},computed:Object(n.a)(Object(n.a)({},Object(d.b)(["business_companyNo"])),{},{maxNo:function(){return this.business_companyNo}}),watch:{maxNo:function(e,t){var a=this;this.$notify({title:"供应商已发生变化",dangerouslyUseHTMLString:!0,message:"5秒后,跳转至发货申请列表页!"}),setTimeout((function(){a.routeReGoto("/sellOutOrder/index",{})}),5e3)}},data:function(){return{xs_order_type_options:c.b,statusOptions:l.c,showColumns:l.b,activeTabs:"1",activeNames:["0","1","2","3","4"],status:"",sitem:null,newTime:"",loading:!1,queryId:""}},mounted:function(){this.queryId=this.$route.query.id,this.initData()},methods:{getNewTime:function(){this.newTime=(new Date).valueOf()},initData:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.returnCode="",e.returnCode_type="",t.next=4,o.a.detail({outCode:e.queryId});case 4:return a=t.sent,t.next=7,e.useResHandle(a);case 7:a=t.sent,r=a.code,n=a.data,a.message,0===r&&(e.sitem=n,r=e.sitem,n=r.status,r.id,e.status=n,e.getNewTime());case 12:case"end":return t.stop()}}),t)})))()}}},s=a("2877"),u=Object(s.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticClass:"sellOutOrderDetail pagePadding"},[t("el-tabs",{model:{value:e.activeTabs,callback:function(t){e.activeTabs=t},expression:"activeTabs"}},[t("el-tab-pane",{attrs:{label:"业务详情",name:"1"}},[t("el-collapse",{staticStyle:{margin:"-18px 0 0 0"},model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[t("el-collapse-item",{attrs:{title:"发货申请单详情",name:"1"}},[""!==e.newTime?t("show-data-table",{attrs:{newTime:e.newTime,sitem:e.sitem,columns:e.showColumns}},[t("template",{slot:"status"},[t("el-tag",{attrs:{size:"mini",type:"0"==e.sitem.status?"warning":""},domProps:{textContent:e._s((e.statusOptions.find((function(t){return t.value==e.sitem.status}))||{}).label||"--")}})],1),t("template",{slot:"order_type"},[t("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.xs_order_type_options.find((function(t){return t.id==e.sitem.order_type}))||{}).label||"--")}})],1)],2):e._e()],1),t("el-collapse-item",{attrs:{title:"商品信息",name:"2"}},[""!==e.newTime?t("show-goods-data-table",{attrs:{newTime:e.newTime,type:e.sitem.order_type,skucode:e.sitem.skuCode,spucode:e.sitem.good_code}}):e._e()],1),"1"===e.status?t("el-collapse-item",{attrs:{title:"库管发货",name:"3"}},[""!==e.newTime?t("want-deliver",{attrs:{newTime:e.newTime,sitem:e.sitem},on:{refresh:e.initData}}):e._e()],1):e._e()],1)],1)],1)],1)}),[],!1,null,null,null);t.default=u.exports},"1db4":function(e,t,a){"use strict";a.r(t);var r=[function(){var e=this.$createElement;e=this._self._c||e;return e("div",{staticClass:"pic-404"},[e("img",{staticClass:"pic-404__parent",attrs:{src:a("a36b"),alt:"404"}}),e("img",{staticClass:"pic-404__child left",attrs:{src:a("26fc"),alt:"404"}}),e("img",{staticClass:"pic-404__child mid",attrs:{src:a("26fc"),alt:"404"}}),e("img",{staticClass:"pic-404__child right",attrs:{src:a("26fc"),alt:"404"}})])}],n={name:"Page404",computed:{message:function(){return"访问的页面不存在..."}},methods:{goto:function(){window.vm.$router.push({path:"/welcome/dashboard"})}}},i=(a("e894"),a("2877"));i=Object(i.a)(n,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{staticClass:"wscn-http404-container"},[t("div",{staticClass:"wscn-http404"},[e._m(0),t("div",{staticClass:"bullshit"},[t("div",{staticClass:"bullshit__oops"},[e._v("哎呀!")]),t("div",{staticClass:"bullshit__headline"},[e._v(e._s(e.message))]),t("div",{staticClass:"bullshit__info"},[e._v(" 请检查您输入的网址是否正确,或单击下面的按钮返回主页. ")]),t("el-button",{attrs:{type:"primary",round:""},on:{click:function(t){return e.goto()}}},[e._v("回到首页")])],1)])])}),r,!1,null,"82eac96e",null);t.default=i.exports},"1df8":function(e,t,a){},"1dfc":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=a("ade3"),i=a("5530"),s=(a("96cf"),a("7db0"),a("d3b7"),a("a9e3"),a("f5ed")),o=a("9f53"),l=a("401e"),c=a("4e06"),u=a("2f62"),d=a("5fb4");s={name:"recovery",mixins:[s.a,o.a],components:{showData:d.default},computed:Object(i.a)(Object(i.a)({},Object(u.b)(["tablebtnSize","searchSize","size","business_companyNo"])),{},{powers:function(){var e=this.$store.getters.btnList.find((function(e){return"recovery"==e.menu_route}))||{};e=(null!==e?e:{}).action;return null!=e?e:[]},maxNo:function(){return this.business_companyNo}}),watch:{maxNo:function(e,t){this.restSearch()}},data:function(){var e={loading:!1,showModel:!1,isDetail:!1,modelId:0,parmValue:{infoNo:"",bidNo:"",is_own:"1",company_name:"",page:1,size:15},tableData:[]};return Object(n.a)(e,"tableData",[]),Object(n.a)(e,"table",{stripe:!0,border:!0,_defaultHeader_:["setcol"]}),Object(n.a)(e,"pageInfo",{size:15,curr:1,total:0}),Object(n.a)(e,"columns",c.a),e},mounted:function(){this.searchList()},methods:{restSearch:function(){this.parmValue={infoNo:"",bidNo:"",is_own:"1",company_name:"",page:1,size:15},this.pageInfo={size:15,curr:1,total:0},this.searchList()},searchList:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,l.a.list(e.parmValue);case 3:return a=t.sent,t.next=6,e.useResHandle(a,!0);case 6:a=t.sent,r=a.code,n=a.data,a.message,0===r?(r=n.list,n=n.count,e.tableData=r,e.pageInfo.total=Number(n)):(e.tableData=[],e.pageInfo.total=0),e.loading=!1;case 12:case"end":return t.stop()}}),t)})))()}}},a("119d"),o=a("2877"),d=Object(o.a)(s,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"recovery pagePadding"},[a("ex-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{table:e.table,data:e.tableData,columns:e.columns,page:e.pageInfo,size:e.size},on:{"page-curr-change":e.handlePageChange,"page-size-change":e.handleSizeChange,"screen-reset":function(t){e.pageInfo.curr=1,e.parmValue.page=1,e.searchList()},"screen-submit":function(t){e.pageInfo.curr=1,e.parmValue.page=1,e.searchList()}},scopedSlots:e._u([{key:"table-header",fn:function(t){return[a("div",{staticStyle:{width:"100%"}},[a("el-row",{staticStyle:{padding:"0 0 0 80px"}},[a("el-col",{staticStyle:{width:"300px"},attrs:{span:6}},[a("el-input",{attrs:{clearable:"",placeholder:"任务单号",maxlength:"40",size:e.searchSize},on:{blur:function(t){e.pageInfo.curr=1,e.parmValue.page=1,e.searchList()}},model:{value:e.parmValue.infoNo,callback:function(t){e.$set(e.parmValue,"infoNo",t)},expression:"parmValue.infoNo"}})],1),a("el-col",{staticStyle:{width:"300px",padding:"0 0 0 10px"},attrs:{span:6}},[a("el-input",{attrs:{clearable:"",placeholder:"反馈编号",maxlength:"40",size:e.searchSize},on:{blur:function(t){e.pageInfo.curr=1,e.parmValue.page=1,e.searchList()}},model:{value:e.parmValue.bidNo,callback:function(t){e.$set(e.parmValue,"bidNo",t)},expression:"parmValue.bidNo"}})],1),a("el-col",{staticStyle:{width:"66px",float:"right"},attrs:{span:4}},[a("el-button",{staticClass:"fr",attrs:{type:"warning",size:e.searchSize},on:{click:e.restSearch}},[e._v(" 重置 ")])],1),a("el-col",{staticStyle:{width:"66px",float:"right"},attrs:{span:3}},[a("el-button",{staticStyle:{float:"right","margin-left":"5px"},attrs:{size:e.searchSize,type:"primary"},on:{click:e.searchList}},[e._v(" 刷新 ")])],1)],1)],1)]}},{key:"good_name",fn:function(t){return t=t.scope,[a("span",[e._v(e._s(t.row.good_name))]),e._l(t.row.specinfo,(function(t,r){return a("span",{key:t.spec_id+r},[e._v(" "+e._s(0===r?"__":"--")+e._s(t.spec_name)+"["+e._s(t.spec_value_name)+"] ")])}))]}},{key:"can",fn:function(t){return t=t.scope,e._l(t.row.can,(function(t,r){return a("span",{key:t.id+r},[e._v(" "+e._s(0===r?"":"_")+e._s(t.name)+" ")])}))}},{key:"operation",fn:function(t){var r=t.scope;return[a("el-tooltip",{attrs:{effect:"dark",content:"详情",placement:"top"}},[a("i",{staticClass:"el-icon-view tb-icon",on:{click:function(t){e.modelId=r.row.bidNo,e.showModel=!0}}})])]}}])}),a("show-data",{attrs:{showModel:e.showModel,bidNo:e.modelId},on:{cancel:function(t){e.showModel=!1}}})],1)}),[],!1,null,"4539ba3c",null);t.default=d.exports},2017:function(e,t,a){"use strict";a("cafe")},"2023c":function(e,t,a){"use strict";a("205b")},2036:function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=(a("a434"),a("d3b7"),a("25f0"),a("159b"),a("99af"),a("e9c4"),a("96cf"),a("9927")),i=a("9f53"),s=a("61f7");i={name:"wsmInOrderAdd",props:["id","sitem","newTime"],mixins:[i.a],data:function(){function e(e,t,a){e.required&&""===t?a(new Error("不能为空!")):a()}function t(e,t,a){e=e.required;var r=t.length;e?""===t?a(new Error("物流单号不能为空!")):r<9||20")})),r+="",this.$notify({title:t,dangerouslyUseHTMLString:!0,message:r})},restSearch:function(){this.sselect="创建时间",this.select="1",this.input="",this.wsm_code=[],this.wsm_supplierNo=[],this.timeOBJ={start:"",end:""},this.parmValue={bk_code:"",wsm_in_code:"",cgdNo:"",apply_name:"",good_name:"",good_code:"",status:"",wsm_code:"",start:"",end:"",last_start:"",last_end:"",orderCode:"",company_name:"",page:1,size:15},this.pageInfo={size:15,curr:1,total:0},this.searchList()},handleClick:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(t.sselect=e,t.parmValue.start="创建时间"===e?t.timeOBJ.start:"",t.parmValue.end="创建时间"===e?t.timeOBJ.end:"",t.parmValue.last_start="创建时间"!==e?t.timeOBJ.start:"",t.parmValue.last_end="创建时间"!==e?t.timeOBJ.end:"",""!==t.timeOBJ.start&&""===t.timeOBJ.end||""===t.timeOBJ.start&&""!==t.timeOBJ.end){a.next=10;break}return t.parmValue.page=1,t.pageInfo.curr=1,a.next=10,t.searchList();case 10:case"end":return a.stop()}}),a)})))()},searchList:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.loading)return t.abrupt("return");t.next=2;break;case 2:if(""!==e.timeOBJ.start&&""===e.timeOBJ.end||""===e.timeOBJ.start&&""!==e.timeOBJ.end)return e.$message.warning("时间区间不完整!"),t.abrupt("return");t.next=5;break;case 5:return e.loading=!0,e.parmValue.cgdNo="1"===e.select?e.input:"",e.parmValue.good_code="4"===e.select?e.input:"",e.parmValue.good_name="5"===e.select?e.input:"",t.next=12,c.a.list(e.parmValue);case 12:return a=t.sent,t.next=15,e.useResHandle(a);case 15:a=t.sent,r=a.code,n=a.data,0===r?(r=n.list,n=n.count,e.tableData=r,e.pageInfo.total=Number(n)):(e.tableData=[],e.pageInfo.total=0),e.loading=!1;case 20:case"end":return t.stop()}}),t)})))()},handleTime:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function a(){var r;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t.timeOBJ.start=null!=(r=null==e?void 0:e.startTime)?r:"",t.timeOBJ.end=null!=(r=null==e?void 0:e.endTime)?r:"",a.next=4,t.handleClick(t.sselect);case 4:case"end":return a.stop()}}),a)})))()}}},a("03ed"),o=a("2877"),i=Object(o.a)(s,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"purchaseOrder pagePadding"},[a("ex-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{table:e.table,data:e.tableData,columns:e.columns,page:e.pageInfo,size:e.size},on:{"page-curr-change":e.handlePageChange,"page-size-change":e.handleSizeChange,"screen-reset":function(t){e.pageInfo.curr=1,e.parmValue.page=1,e.searchList()},"screen-submit":function(t){e.pageInfo.curr=1,e.parmValue.page=1,e.searchList()},selection:e.selection_change},scopedSlots:e._u([{key:"table-header",fn:function(t){return[a("div",{staticStyle:{width:"100%"}},[a("el-row",{staticStyle:{padding:"0 0 0 80px"}},[a("el-col",{staticStyle:{width:"150px"},attrs:{span:4}},[a("el-select",{staticStyle:{width:"100%"},attrs:{size:e.searchSize,filterable:"",clearable:"",placeholder:"销售订单状态"},on:{change:function(t){e.pageInfo.curr=1,e.parmValue.page=1,e.searchList()}},model:{value:e.parmValue.status,callback:function(t){e.$set(e.parmValue,"status",t)},expression:"parmValue.status"}},e._l(e.statusOptions,(function(e){return a("el-option",{key:"status"+e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-col",{staticStyle:{width:"110px",padding:"0 0 0 10px"},attrs:{span:4}},[a("el-dropdown",{attrs:{size:e.searchSize},on:{command:function(t){return e.handleClick(t)}}},[a("el-button",{staticStyle:{width:"100px"},attrs:{size:e.searchSize}},[e._v(" "+e._s(e.sselect)+" "),a("i",{staticClass:"el-icon-arrow-down el-icon--right",attrs:{size:e.searchSize}})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.options,(function(t){return a("el-dropdown-item",{key:t,attrs:{command:t}},[e._v(e._s(t))])})),1)],1)],1),a("el-col",{staticStyle:{width:"303px",padding:"0 0 0 10px"},attrs:{span:4}},[a("period-date-picker",{attrs:{type:1,width:"135px",size:e.searchSize,start:e.timeOBJ.start,end:e.timeOBJ.end},on:{timeReturned:e.handleTime}})],1),a("el-col",{staticStyle:{width:"66px",float:"right"},attrs:{span:3}},[a("el-button",{staticStyle:{float:"right","margin-left":"5px"},attrs:{size:e.searchSize,type:"primary"},on:{click:e.searchList}},[e._v(" 刷新 ")])],1),a("el-col",{staticStyle:{width:"66px",float:"right"},attrs:{span:4}},[a("el-button",{staticClass:"fr",attrs:{type:"warning",size:e.searchSize},on:{click:e.restSearch}},[e._v(" 重置 ")])],1)],1),a("el-row",{staticStyle:{padding:"10px 0 0 0"}},[a("el-col",{staticStyle:{width:"500px",padding:"0 0 0 0px"},attrs:{span:6}},[a("el-input",{staticClass:"input-with-select",attrs:{clearable:"",placeholder:"关键字",maxlength:"40",size:e.searchSize},on:{blur:function(t){e.pageInfo.curr=1,e.parmValue.page=1,e.searchList()}},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}},[a("el-select",{staticStyle:{width:"125px"},attrs:{slot:"prepend",placeholder:"关键字类型"},on:{change:function(t){e.pageInfo.curr=1,e.parmValue.page=1,e.searchList()}},slot:"prepend",model:{value:e.select,callback:function(t){e.select=t},expression:"select"}},[a("el-option",{attrs:{label:"销售订单编号",value:"1"}}),a("el-option",{attrs:{label:"商品编号",value:"4"}}),a("el-option",{attrs:{label:"商品名称",value:"5"}})],1)],1)],1),a("el-col",{staticStyle:{width:"90px",float:"right"},attrs:{span:4}},[a("el-button",{staticClass:"fr",staticStyle:{"margin-left":"30px"},attrs:{type:"primary",size:e.searchSize},on:{click:e.download}},[e._v(" 批量导出 ")])],1),a("el-col",{staticStyle:{width:"90px",float:"right"},attrs:{span:4}},[a("el-button",{staticClass:"fr",attrs:{type:"primary",size:e.searchSize},on:{click:e.statusConfirmIn}},[e._v(" 批量入库 ")])],1),a("el-col",{staticStyle:{width:"90px",float:"right"},attrs:{span:4}},[a("el-button",{staticClass:"fr",attrs:{type:"primary",size:e.searchSize},on:{click:e.statusConfirm}},[e._v(" 批量确认 ")])],1)],1)],1)]}},{key:"good_name",fn:function(t){return t=t.scope,[a("span",[e._v(e._s(t.row.good_name))]),e._l(t.row.speclist,(function(t,r){return a("span",{key:t.spec_id+r},[e._v(" "+e._s(0===r?"__":"--")+e._s(t.spec_name)+"["+e._s(t.spec_value)+"] ")])}))]}},{key:"status",fn:function(t){var r=t.scope;return[a("el-tag",{attrs:{size:e.tablebtnSize},domProps:{textContent:e._s((e.statusOptions.find((function(e){return e.value==r.row.status}))||{}).label||"--")}})]}},{key:"order_id",fn:function(t){var r=t.scope;return[a("el-tag",{attrs:{size:e.tablebtnSize},domProps:{textContent:e._s((e.cg_order_type_options.find((function(e){return e.id==r.row.order_type}))||{}).label||"--")}})]}},{key:"operation",fn:function(t){var r=t.scope;return[a("el-tooltip",{attrs:{effect:"dark",content:"详情",placement:"top"}},[a("i",{staticClass:"el-icon-view tb-icon",on:{click:function(t){return e.getRouter("/purchaseOrder/pDetail",r.row.cgdNo)}}})])]}}])})],1)}),[],!1,null,"142fde78",null);t.default=i.exports},"5fb4":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=(a("96cf"),a("4e06")),i=a("9f53"),s=a("401e");i={name:"showData",props:["showModel","bidNo"],mixins:[i.a],data:function(){return{newTime:"",loading:!0,showModelThis:this.showModel,sitem:"",options1:n.c,options2:n.d,options3:n.e,options4:n.f,options5:n.g,options6:n.h,options7:n.i,options8:n.j,options9:n.k,costColumns:n.b}},watch:{showModel:function(e){(this.showModelThis=e)&&this.initData()},showModelThis:function(e){e||this.$emit("cancel")}},methods:{initData:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,s.a.good_detail({bidNo:e.bidNo});case 3:return a=t.sent,t.next=6,e.useResHandle(a,!0);case 6:a=t.sent,r=a.code,n=a.data,a.message,0===r&&(e.sitem=n,e.loading=!1);case 11:case"end":return t.stop()}}),t)})))()}}},a=a("2877"),a=Object(a.a)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{title:"采返商品详情",center:!0,align:"left",top:"8vh",width:"1040px","close-on-click-modal":!1,visible:e.showModelThis,"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.8)","append-to-body":""},on:{close:function(t){e.showModelThis=!1},"update:visible":function(t){e.showModelThis=t}}},[a("show-data-table",{staticStyle:{margin:"-20px 0 0 0"},attrs:{sitem:e.sitem,columns:e.costColumns,border:!0}},[a("template",{slot:"supplierName"},[a("span",[e._v(e._s(e.sitem.supplierName))]),a("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[a("ul",[a("li",[a("span",[e._v("供应商编号:")]),a("span",[e._v(e._s(e.sitem.supplierNo))])])]),a("i",{staticClass:"el-icon-warning-outline fr",attrs:{slot:"reference"},slot:"reference"})])],1),a("template",{slot:"good_name"},[a("span",[e._v(e._s(e.sitem.good_name))]),e._l(e.sitem.specinfo,(function(t,r){return a("span",{key:t.spec_id+r},[a("span",0!==r?[e._v("-")]:[e._v("_")]),a("span",[e._v(e._s(t.spec_name)+"["+e._s(t.spec_value_name)+"]")])])})),a("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[a("ul",[a("li",[a("span",[e._v("商品编号:")]),a("span",[e._v(e._s(e.sitem.spuCode))])])]),a("i",{staticClass:"el-icon-warning-outline fr",attrs:{slot:"reference"},slot:"reference"})])],2),a("template",{slot:"cat"},e._l(e.sitem.cat_info,(function(t,r){return a("span",{key:t.id+r},[e._v(" "+e._s(0===r?"":"_")+e._s(t.name)+" ")])})),0),a("template",{slot:"send_way"},[a("span",[e._v(e._s("1"===e.sitem.send_way?"供应商包邮":"公司自提"))])]),a("template",{slot:"good_type"},[a("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options1.find((function(t){return t.id==e.sitem.good_type}))||{}).name||"--")}}),"1"===e.sitem.good_type?a("span",{staticStyle:{padding:"0 0 0 5px"}},[e._v(e._s(e.sitem.moq)+"起订/工期"+e._s(e.sitem.customized)+"天")]):e._e()],1),a("template",{slot:"pay_way"},[a("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options9.find((function(t){return t.id==e.sitem.pay_way}))||{}).name||"--")}})],1),a("template",{slot:"supply_area"},[a("el-tag",{attrs:{size:"mini"},domProps:{textContent:e._s((e.options6.find((function(t){return t.id==e.sitem.supply_area}))||{}).name||"--")}})],1),a("template",{slot:"noble"},[e.sitem.noble_name?a("span",[e._v(e._s(e.sitem.noble_weight||"0")+"g-"+e._s(e.sitem.noble_name)+"-"+e._s(e.sitem.gold_price||"0")+"元/g-"+e._s("0"===e.sitem.is_gold_price?"不":"")+"启用实时金价-"+e._s("1"===e.sitem.is_diff?"有":"无")+"工差-"+e._s(e.sitem.config)+"-"+e._s(e.sitem.other_config))]):a("span",[e._v("--")])]),a("template",{slot:"good_img"},e._l(e.sitem.good_img,(function(e,t){return a("img",{directives:[{name:"viewer",rawName:"v-viewer"}],key:e+t,staticClass:"fl",staticStyle:{width:"23px",height:"23px",margin:"0 5px 0 0"},attrs:{src:e,alt:""}})})),0)],2)],1)}),[],!1,null,null,null);t.default=a.exports},6057:function(e,t,a){},"60bd":function(e,t,a){"use strict";a("4533")},"62f7":function(e,t,a){"use strict";a("69324")},"639a":function(e,t,a){"use strict";a("4a64")},69324:function(e,t,a){},"6e6b":function(e,t,a){},"6f15":function(e,t,a){"use strict";a.r(t);var r=a("1da1"),n=a("5530"),i=(a("96cf"),a("e9c4"),a("d3b7"),a("159b"),a("a9e3"),a("b0c0"),a("f5ed")),s=a("9f53"),o=a("2f62"),l=a("5daa"),c=a("9927"),u=a("50fe"),d=a("0ee5");i={name:"sellOutOrder",mixins:[i.a,s.a],computed:Object(n.a)(Object(n.a)({},Object(o.b)(["tablebtnSize","searchSize","size","business_companyNo"])),{},{maxNo:function(){return this.business_companyNo}}),watch:{maxNo:function(e,t){this.restSearch()}},data:function(){return{select:"cgdNo",s_input:"",customerCode:[],fileUrl:l.a.baseURL,options:["申请时间","发货时间"],sselect:"申请时间",changeList:[],sitem:null,statusOptions:[{id:"0",label:"待发货"},{id:"1",label:"待库管发货"},{id:"2",label:"已发货待收货"},{id:"3",label:"已收货"},{id:"4",label:"已全部退货"}],loading:!1,isDetail:!1,timeOBJ:{start:"",end:""},modelId:0,parmValue:{order_type:"",orderCode:"",apply_name:"",cgdNo:"",start:"",end:"",start_sendtime:"",end_sendtime:"",companyNo:"",good_code:"",good_name:"",outCode:"",status:"",company_name:"",page:1,size:15},tableData:[],table:{stripe:!0,border:!0,_defaultHeader_:["setcol"]},pageInfo:{size:15,curr:1,total:0},columns:u.a,xs_order_type_options:d.b}},mounted:function(){var e,t=this.$route.query.back;t?(this.parmValue=JSON.parse(t),e=(t=this.parmValue).page,t=t.size,0|\{|\}|\[|\]|\[|\]|\:|\:|\.|\^|\$|\!|\~|\`|\|/g,","):e})})),t.tableData.push(r)}))}catch(e){}this.loading=!1}},cancel:function(){this.tableData=[]},validateCode:function(e){e=e.split(",");var t=!0;return e.forEach((function(e){var a=e.length,r=!0;""===e?r=!1:9<=a&&a<=20?r=!!Object(c.h)(e)||!!Object(c.b)(e):t=!1,r||(t=!1)})),t},submit:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var a,r,n,s,o,l,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.loading){t.next=41;break}if(e.loading=!0,0===e.tableData.length)return e.$message.warning("导入数据不能为空"),e.loading=!1,t.abrupt("return");t.next=6;break;case 6:if(r=[],n=a=!0,e.tableData.forEach((function(t,i){""!==t.value25&&""!==t.value27&&""!==t.value28&&""!==t.value29&&""!==t.value30||(a=!1);var s={outCode:t.value25,post_name:t.value27,post_code:t.value28,post_fee:t.value29,remark:t.value30};e.validateCode(t.value28)||(n=!1),r.push(s)})),a){t.next=12;break}return e.$notify.warning({title:"以下单号不能为空!",message:"发货申请单号/发货申请单物流公司/发货申请单物流单号/发货申请单物流费用/发货申请单备注"}),e.loading=!1,t.abrupt("return");case 12:if(n){t.next=16;break}return e.$notify.warning({title:"部分物流单号不符合规则!",message:e.code_msg}),e.loading=!1,t.abrupt("return");case 16:return s={list:JSON.parse(JSON.stringify(r))},t.next=20,i.a.saleoutbatch(s);case 20:return s=t.sent,t.next=23,e.useResHandle(s,!0);case 23:if(c=t.sent,o=c.code,l=c.data,c=c.message,e.loading=!1,0===o)return e.$notify.success({title:"导入成功!",message:""}),e.tableData=[],t.next=33,e.routeReGoto("sellOutOrder",{});t.next=35;break;case 33:t.next=41;break;case 35:if(100<=o&&o<=104)return t.next=38,e.logout();t.next=40;break;case 38:t.next=41;break;case 40:1003==o?e.showal(l,c,""):1005==o||1011==o?e.showal(l,c,"outCode"):e.$message.warning(c);case 41:case"end":return t.stop()}}),t)})))()},showal:function(e,t,a){var r="",this.$notify({title:t,dangerouslyUseHTMLString:!0,message:r})}}},a("509a"),n=a("2877"),u=Object(n.a)(s,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"orderImport pagePadding"},[e.tableData&&0=)"}}),a("el-table-column",{attrs:{prop:"nake_fee",label:"成本单价"}}),a("el-table-column",{attrs:{prop:"cost_fee",label:"工艺费"}}),a("el-table-column",{attrs:{prop:"delivery_fee",label:"物流费"}}),a("el-table-column",{attrs:{prop:"cert_fee",label:"证书费"}}),a("el-table-column",{attrs:{prop:"mark_fee",label:"加标费"}}),a("el-table-column",{attrs:{prop:"package_fee",label:"包装费"}}),a("el-table-column",{attrs:{prop:"other_fee",label:"其他费用"}}),a("el-table-column",{attrs:{prop:"nake_total",label:"成本合计"}}),"add"===e.type||"editCoin"===e.type||"edit"===e.type?a("el-table-column",{attrs:{fixed:"right",width:"80px"},scopedSlots:e._u([{key:"header",fn:function(t){return[a("span",[e._v("操作")]),a("el-tooltip",{attrs:{effect:"dark",content:"添加阶梯",placement:"top"}},[a("i",{staticClass:"el-icon-circle-plus-outline tb-icon fr",on:{click:function(t){return e.openCostEdit(-1,{})}}})])]}},{key:"default",fn:function(t){return[a("el-tooltip",{attrs:{effect:"dark",content:"修改",placement:"top"}},[a("i",{staticClass:"el-icon-edit tb-icon",on:{click:function(a){return e.openCostEdit(t.$index,t.row)}}})]),a("el-tooltip",{attrs:{effect:"dark",content:"删除",placement:"top"}},[a("i",{staticClass:"el-icon-delete tb-icon",on:{click:function(a){return e.openCostEditDelete(t.$index)}}})])]}}],null,!1,2856051856)}):e._e()],1)],1)],1),a("cost-form-add-edit",{attrs:{index:e.costmodelIndex,"show-model":e.costshowModel,sitem:e.costsitem},on:{refresh:e.costrefreshEdit,cancel:function(t){e.costshowModel=!1}}})],1),"editBase"===e.type||"add"===e.type||"editCoin"===e.type||"edit"===e.type?a("el-col",{staticStyle:{"text-align":"right",padding:"15px 0 15px 0","border-top":"1px solid #dcdfe6"},attrs:{span:24}},[a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:e.submitForm}},[e._v("保 存 ")])],1):e._e()],1)],1)}),[],!1,null,"19563bdf",null);t.default=u.exports},f15d:function(e,t,a){"use strict";a("a810")},f1d7:function(e,t,a){"use strict";var r=a("1b69"),n="abutment/";t.a={add:function(e,t){return Object(r.a)(n+"add",e,"post",t)},list:function(e,t){return Object(r.a)(n+"getOrderList",e,"post",t)},delete:function(e,t){return Object(r.a)(n+"delete",e,"post",t)},detail:function(e,t){return Object(r.a)(n+"getOrderInfo",e,"post",t)},status:function(e,t){return Object(r.a)(n+"changeOrderStatus",e,"post",t)},addOrderIn:function(e,t){return Object(r.a)(n+"addOrderIn",e,"post",t)},resultlist:function(e,t){return Object(r.a)(n+"resultlist",e,"post",t)},orderincheck:function(e,t){return Object(r.a)(n+"orderincheck",e,"post",t)},orderinreturn:function(e,t){return Object(r.a)(n+"orderinreturn",e,"post",t)},orderinstatus:function(e,t){return Object(r.a)(n+"orderinstatus",e,"post",t)},re_detail:function(e,t){return Object(r.a)(n+"goodzxinfo",e,"post",t)},cost_detail:function(e,t){return Object(r.a)(n+"goodupinfo",e,"post",t)},cove_detail:function(e,t){return Object(r.a)(n+"getGoodZxInfoByNotZixun",e,"post",t)},exportCgdList:function(e,t){return Object(r.a)(n+"exportCgdList",e,"post",t)}}},f538:function(e,t,a){},f5ed:function(e,t,a){"use strict";var r=a("1da1");a("d3b7"),a("3ca3"),a("ddb0"),a("2b3d"),a("9861"),a("96cf"),t.a={methods:{handlePageChange:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t.parmValue.page=e,t.pageInfo.curr=e,a.next=4,t.searchList();case 4:case"end":return a.stop()}}),a)})))()},handleSizeChange:function(e){var t=this;return Object(r.a)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t.parmValue.page=1,t.pageInfo.curr=1,t.pageInfo.size=e,t.parmValue.size=e,a.next=6,t.searchList();case 6:case"end":return a.stop()}}),a)})))()},pageHttpDownload:function(e,t,a,n){var i=this;return Object(r.a)(regeneratorRuntime.mark((function s(){return regeneratorRuntime.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,new Promise(function(){var s=Object(r.a)(regeneratorRuntime.mark((function r(s,o){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:axios({method:"post",url:e,responseType:"blob",data:t,headers:{Accept:a}}).then((function(e){e=null!=e?e:{};var t=e.status;e=e.data;200==t?(i.pageDownload(e,a,n),s({code:0})):s({code:-1})})).catch((function(){s({code:-2})}));case 1:case"end":return r.stop()}}),r)})));return function(e,t){return s.apply(this,arguments)}}());case 2:return s.abrupt("return",s.sent);case 3:case"end":return s.stop()}}),s)})))()},pageDownload:function(e,t,a){e=window.URL.createObjectURL(new Blob([e],{type:t})),t=document.createElement("a"),t.style.display="none",t.href=e,t.setAttribute("download",a),document.body.appendChild(t),t.click(),t.remove(),window.URL.revokeObjectURL(e)}}}},f8b2:function(e,t,a){e.exports=a.p+"static/img/loading.190c78aa.gif"},f96f:function(e,t,a){"use strict";a("1df8")},feca:function(e,t,a){var r={"./dashboard/index.vue":"9406","./error-page/404.vue":"1db4","./goodsCost/components/baseForm.vue":"f064","./goodsCost/components/baseFormAddEdit.vue":"bb5b","./goodsCost/components/costFormAddEdit.vue":"753f","./goodsCost/detail.vue":"e735a","./goodsCost/index.vue":"46d1","./loadingPage/index.vue":"7e10","./login/forget-password.vue":"43b9","./login/index.vue":"9ed6","./person-infor/change-password.vue":"a9ad","./person-infor/my-message.vue":"2cc2","./purchaseOrder/detail.vue":"ec54","./purchaseOrder/index.vue":"5f9b","./recovery/index.vue":"1dfc","./recovery/showData.vue":"5fb4","./redirect/index.vue":"ef3c","./sellOutOrder/detail.vue":"18a5","./sellOutOrder/index.vue":"6f15","./sellOutOrder/want-deliver.vue":"2036","./sendOutOrder/index.vue":"a984","./workbench/components/baseForm.vue":"2c5d","./workbench/components/baseFormAddEdit.vue":"d5c6","./workbench/detail.vue":"27ee","./workbench/index.vue":"29e5","./workbench/ladderPrice.vue":"d635"};function n(e){return e=i(e),a(e)}function i(e){if(a.o(r,e))return r[e];throw(e=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",e}n.keys=function(){return Object.keys(r)},n.resolve=i,(e.exports=n).id="feca"}}]);