(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-3130","chunk-5b08","chunk-9193"],{"/sDw":function(t,e,r){"use strict";r.d(e,"c",function(){return i}),r.d(e,"a",function(){return o}),r.d(e,"d",function(){return c}),r.d(e,"b",function(){return s});var a=r("t3Un"),n=r("X4fA");function i(t,e,r){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/enterprise/document?id="+e+"&type="+r,method:"get",params:t||{}})}function o(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/enterprise/adddocument",method:"post",data:t})}function c(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/enterprise/putdocument",method:"post",data:t})}function s(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/enterprise/deldocument?id="+t,method:"post"})}},"2iYP":function(t,e,r){"use strict";r.d(e,"c",function(){return i}),r.d(e,"a",function(){return o}),r.d(e,"d",function(){return c}),r.d(e,"b",function(){return s});var a=r("t3Un"),n=r("X4fA");function i(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/transport/personList",method:"post",data:t})}function o(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/transport/addperson",method:"post",data:t})}function c(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/transport/putperson",method:"post",data:t})}function s(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/transport/delperson?id="+t,method:"post"})}},A3Fo:function(t,e,r){},CC1o:function(t,e,r){"use strict";r.d(e,"c",function(){return i}),r.d(e,"a",function(){return o}),r.d(e,"d",function(){return c}),r.d(e,"b",function(){return s});var a=r("t3Un"),n=r("X4fA");function i(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/transport/certList",method:"post",data:t})}function o(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/transport/addcert",method:"post",data:t})}function c(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/transport/putcert",method:"post",data:t})}function s(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/transport/delcert?id="+t,method:"post"})}},Mcbo:function(t,e,r){"use strict";var a=r("pEXj");r.n(a).a},Na1v:function(t,e,r){"use strict";r.d(e,"c",function(){return i}),r.d(e,"e",function(){return o}),r.d(e,"h",function(){return c}),r.d(e,"y",function(){return s}),r.d(e,"j",function(){return l}),r.d(e,"x",function(){return u}),r.d(e,"f",function(){return d}),r.d(e,"t",function(){return p}),r.d(e,"k",function(){return h}),r.d(e,"d",function(){return m}),r.d(e,"q",function(){return f}),r.d(e,"l",function(){return b}),r.d(e,"g",function(){return v}),r.d(e,"a",function(){return g}),r.d(e,"o",function(){return _}),r.d(e,"i",function(){return j}),r.d(e,"r",function(){return y}),r.d(e,"n",function(){return O}),r.d(e,"w",function(){return x}),r.d(e,"u",function(){return z}),r.d(e,"v",function(){return C}),r.d(e,"s",function(){return P}),r.d(e,"p",function(){return w}),r.d(e,"m",function(){return A}),r.d(e,"b",function(){return k}),r.d(e,"z",function(){return F});var a=r("X4fA"),n=r("t3Un");function i(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/getApply",method:"get",params:t||{}})}function o(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/getConfirm",method:"get",params:t||{}})}function c(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/addApply",method:"post",data:t})}function s(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/putApply",method:"post",data:t})}function l(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/delApply",method:"post",data:t})}function u(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/submitApply",method:"post",data:t})}function d(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/confirmProduct",method:"post",data:t})}function p(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/rejectProduct",method:"post",data:t})}function h(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/exportRFID",method:"post",data:t})}function m(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/batchBarCode",method:"post",data:t})}function f(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/printBarCode",method:"post",data:t})}function b(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/replenishBox?code="+t,method:"get"})}function v(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/contractUnitList",method:"post",data:t})}function g(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/addContractUnit",method:"post",data:t})}function _(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/contractUnit",method:"post",data:t})}function j(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/delContractUnit",method:"post",params:t})}function y(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/zplPrint",method:"post",data:t})}function O(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/replenishBoxPrint",method:"post",data:t})}function x(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/replenishInnerPrint",method:"post",data:t})}function z(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/replenishBoxBatch",method:"post",data:t})}function C(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/replenishBoxBatchPrint",method:"post",data:t})}function P(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/produce",method:"post",data:t})}function w(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/getControlParams",method:"get",params:t||{}})}function A(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/getOwnSelectType?type="+t,method:"get"})}function k(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/addControlParams",method:"post",data:t})}function F(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/contract/updateControlParams",method:"post",data:t})}},SWCH:function(t,e,r){},WHHl:function(t,e,r){"use strict";r.r(e);var a=r("14Xm"),n=r.n(a),i=r("gDS+"),o=r.n(i),c=r("D3Ub"),s=r.n(c),l=r("k57G"),u=r("hjPX"),d=r("mt9p"),p=r("CC1o"),h=r("Na1v"),m=r("X4fA"),f=(r("/sDw"),{name:"CarrierLicense",data:function(){return{title:"",tableKey:"",recordTotal:0,currentPage:1,pageSize:10,isMod:!1,transportPerson:[],fileList:[],transportProduct:[],actionUrlPrefixx:"http://39.104.85.193:4105",headers:{Authorization:Object(m.a)()},dataForm:{id:0,code:"",contractcode:"",receivercompanyname:"",receiveraddress:"",receiverprincipalname:"",receiverprincipalphone:"",carnumber:"",processtime:"",transportPerson:[],transportProduct:[],file:[]},ruleForm:{},typeList:[{id:1,name:"出口"},{id:2,name:"购买"},{id:3,name:"本单位运输"}],contractList:[],carrierLicenseVisible:!1}},components:{driverSelectForm:d.default,addProduct:u.default},created:function(){this.getConfirmList()},methods:{showCarrierLicense:function(t,e){this.title=t,this.carrierLicenseVisible=!0,"新增"===this.title?(this.isMod=!1,this.dataForm={id:0,code:"",contractcode:"",receivercompanyname:"",receiveraddress:"",receiverprincipalname:"",receiverprincipalphone:"",carnumber:"",processtime:"",transportPerson:[],transportProduct:[],file:[]},this.transportPerson=[],this.transportProduct=[]):(this.isMod=!0,this.dataForm=e,this.transportPerson=e.transportPerson,this.transportProduct=e.transportProduct)},submitCarrier:function(){var t=this;return s()(n.a.mark(function e(){var r,a,i,c,s,l;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(a in t.dataForm.transportPerson=o()(t.transportPerson),t.dataForm.transportProduct=o()(t.transportProduct),r=new FormData,0===t.$refs.upload.files.length&&(t.dataForm.imgids=[]),t.dataForm)void 0!=t.dataForm[a]&&""!=t.dataForm[a].toString()&&r.append(a,t.dataForm[a]);if((i=t.$refs.upload.files)&&i.length>0)for(c=0;c0&&this.transportPerson.forEach(function(r){r.personid===t.id&&(e=!0)}),e||this.transportPerson.push({personid:t.id,type:t.type,personname:t.name,personidentify:t.identify,number:t.certificate,validtime:t.validtime,phone:t.phone})},deleteDriver:function(t){this.transportPerson.splice(t,1)},addProduct:function(){this.$refs.product.selectProduct()},achieveProduct:function(t){this.transportProduct.length>0&&this.transportProduct.forEach(function(e){for(var r=0;r0)for(var n=0;n0,expression:"recordTotal>0"}],staticStyle:{float:"right"},attrs:{"current-page":t.currentPage,"page-sizes":[10,20,30,50],"page-size":t.pageSize,total:t.recordTotal,layout:"total, sizes, prev, pager, next, jumper",background:""},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}),t._v(" "),r("br")],1),t._v(" "),r("div",{staticStyle:{"margin-top":"40px"},attrs:{align:"right"}},[r("el-button",{on:{click:function(e){t.productFormVisible=!1}}},[t._v("取消")]),t._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:function(e){t.giveProduct()}}},[t._v("选择")])],1)])])},[],!1,null,"f85c3af6",null);d.options.__file="addProduct.vue";e.default=d.exports},k57G:function(t,e,r){"use strict";function a(){return"http://39.104.85.193:4105/upload/"}r.d(e,"a",function(){return a})},lEeK:function(t,e,r){"use strict";var a=r("SWCH");r.n(a).a},mt9p:function(t,e,r){"use strict";r.r(e);var a=r("14Xm"),n=r.n(a),i=r("D3Ub"),o=r.n(i),c=r("7Qib"),s=r("2iYP"),l={name:"carrier",data:function(){return{tableKey:0,listLoading:!1,pageSize:10,recordTotal:0,currentPage:1,pageTotal:0,listQuery:{filter:{name:"",belongname:""},pageIndex:1,pageSize:10},searchContent:"",carrierList:[],driverSelectFormVisible:!1}},created:function(){this.getDriverData()},methods:{selectDriver:function(){this.driverSelectFormVisible=!0},getDriverData:function(){var t=this;return o()(n.a.mark(function e(){var r;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.listLoading=!0,e.next=3,Object(s.c)(t.listQuery);case 3:"200"===(r=e.sent).data.code&&(t.recordTotal=r.data.result.total,t.pageSize=r.data.result.size,t.pageTotal=Object(c.a)(r.data.result.total,r.data.result.size),t.currentPage=r.data.result.current,t.carrierList=r.data.result.records),t.listLoading=!1;case 6:case"end":return e.stop()}},e,t)}))()},giveDriver:function(t){this.$emit("getinfo",t),this.driverSelectFormVisible=!1},searchData:function(){this.getDriverData()},handleSizeChange:function(t){this.pageSize=t,this.currentPage=1,this.getDriverData()},handleCurrentChange:function(t){this.currentPage=t,this.getDriverData()}}},u=(r("ZjCf"),r("KHd+")),d=Object(u.a)(l,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-dialog",{attrs:{visible:t.driverSelectFormVisible,"append-to-body":"","close-on-click-modal":!1,width:"70%"},on:{"update:visible":function(e){t.driverSelectFormVisible=e}}},[r("div",{staticClass:"app-container"},[r("div",{staticClass:"filter-container"},[r("div",{staticClass:"carrier_search"},[r("span",[t._v("按隶属承运人查:")]),t._v(" "),r("el-input",{staticClass:"carrier_search_input",model:{value:t.listQuery.filter.companyname,callback:function(e){t.$set(t.listQuery.filter,"companyname",e)},expression:"listQuery.filter.companyname"}})],1),t._v(" "),r("div",{staticClass:"carrier_search"},[r("span",[t._v("按姓名查:")]),t._v(" "),r("el-input",{staticClass:"carrier_search_input",model:{value:t.listQuery.filter.name,callback:function(e){t.$set(t.listQuery.filter,"name",e)},expression:"listQuery.filter.name"}})],1),t._v(" "),r("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:function(e){t.searchData()}}},[t._v("查询")])],1),t._v(" "),r("div",{staticClass:"table_content"},[r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.carrierList,border:"",fit:"","highlight-current-row":""}},[r("el-table-column",{attrs:{label:"序号",type:"index",align:"center",width:"60"}}),t._v(" "),r("el-table-column",{attrs:{label:"单位名称",prop:"belongname",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"类型",prop:"type",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"姓名",prop:"name",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"身份证",prop:"identify",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"资格证",prop:"certificate",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"证件有效期",prop:"validtime",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"操作",align:"center",width:"180","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("el-button",{attrs:{type:"text"},on:{click:function(r){t.giveDriver(e.row)}}},[t._v("选择")])]}}])})],1),t._v(" "),r("br"),t._v(" "),r("el-pagination",{directives:[{name:"show",rawName:"v-show",value:t.recordTotal>0,expression:"recordTotal>0"}],staticStyle:{float:"right"},attrs:{"current-page":t.currentPage,"page-sizes":[10,20,30,50],"page-size":t.pageSize,total:t.recordTotal,layout:"total, sizes, prev, pager, next, jumper",background:""},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}),t._v(" "),r("br")],1)])])},[],!1,null,"76888d0f",null);d.options.__file="driverSelectForm.vue";e.default=d.exports},pEXj:function(t,e,r){},xMja:function(t,e,r){"use strict";r.d(e,"n",function(){return i}),r.d(e,"c",function(){return o}),r.d(e,"b",function(){return c}),r.d(e,"q",function(){return s}),r.d(e,"d",function(){return l}),r.d(e,"g",function(){return u}),r.d(e,"p",function(){return d}),r.d(e,"k",function(){return p}),r.d(e,"j",function(){return h}),r.d(e,"a",function(){return m}),r.d(e,"r",function(){return f}),r.d(e,"e",function(){return b}),r.d(e,"f",function(){return v}),r.d(e,"m",function(){return g}),r.d(e,"h",function(){return _}),r.d(e,"o",function(){return j}),r.d(e,"i",function(){return y}),r.d(e,"l",function(){return O});var a=r("X4fA"),n=r("t3Un");function i(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/info",method:"get",params:t||{}})}function o(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/add",method:"post",data:t})}function c(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/addNew",method:"post",data:t})}function s(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/update",method:"post",data:t})}function l(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/delete",method:"post",data:t})}function u(){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/enterprise/manufacturerTree",method:"get"})}function d(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/setThreshold",method:"post",data:t})}function p(){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/getThreshold",method:"get"})}function h(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/categorise?name="+t,method:"get"})}function m(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/addCategory",method:"post",data:t})}function f(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/editCategory",method:"post",data:t})}function b(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/delCategory",method:"post",data:t})}function v(){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/majorTree",method:"get"})}function g(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/secondaryTree?major="+t,method:"get"})}function _(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/permitLevelTree?secondary="+t,method:"get"})}function j(t,e,r,i){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/info?name="+e+"&code="+r+"&type="+i,method:"get",params:t||{}})}function y(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/get?directionCode="+t,method:"get"})}function O(t,e){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/product/gets?directionCode="+t+"&endCode="+e,method:"get"})}}}]);