Your Name
2022-11-30 f0cd5a4fe3b366fa753b8da5e387673c30c4d0f7
1
(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-4cd6","chunk-6e1d","chunk-e512"],{Amwt:function(t,e,a){"use strict";a.r(e);var i=a("14Xm"),r=a.n(i),n=a("D3Ub"),l=a.n(n),s=a("S/i2"),o=(a("7Qib"),{name:"addSelfExam",data:function(){return{dialogVisible:!1,tableKey:"",directionCode:"",listLoading:!1,directionCodeData:[]}},watch:{},methods:{openFlow:function(t){this.dialogVisible=!0,this.directionCode=t,this.getDirectionCodeDataList()},getDirectionCodeDataList:function(){var t=this;return l()(r.a.mark(function e(){var a;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.listLoading=!0,null===t.directionCode||""===t.directionCode){e.next=7;break}return e.next=5,Object(s.g)(t.directionCode);case 5:"200"===(a=e.sent).data.code?t.directionCodeData=a.data.result:t.$message({type:"warning",message:a.data.message});case 7:t.listLoading=!1;case 8:case"end":return e.stop()}},e,t)}))()},search:function(){this.getDirectionCodeDataList()}}}),c=(a("Rnmp"),a("KHd+")),d=Object(c.a)(o,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{visible:t.dialogVisible,"append-to-body":"","close-on-click-modal":!1,width:"60%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{staticClass:"app-container"},[a("div",{staticClass:"filter-container"},[a("div",{staticStyle:{display:"block"}},[a("div",{staticClass:"basic_search",staticStyle:{"padding-top":"10px"}},[a("span",[t._v("按流向码查:")]),t._v(" "),a("el-input",{staticStyle:{width:"300px"},attrs:{filterable:"",clearable:"",readonly:""},model:{value:t.directionCode,callback:function(e){t.directionCode=e},expression:"directionCode"}})],1)])]),t._v(" "),a("div",{staticClass:"table_content"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.directionCodeData,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{label:"序号",type:"index",align:"center",width:"60"}}),t._v(" "),a("el-table-column",{attrs:{label:"企业信息",prop:"content",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"流向码",prop:"directioncode",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"身份证号",prop:"idCardNumber",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"流向轨迹",prop:"detail",align:"center",width:"350"}}),t._v(" "),a("el-table-column",{attrs:{label:"创建时间",prop:"modifieddate",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"操作",prop:"typeName",align:"center"}})],1)],1)])])},[],!1,null,"b729b44a",null);d.options.__file="flow.vue";e.default=d.exports},Ep6u:function(t,e,a){},Q31b:function(t,e,a){"use strict";a.r(e);var i=a("14Xm"),r=a.n(i),n=a("D3Ub"),l=a.n(n),s=a("X4S0"),o=a("S/i2"),c=a("7Qib"),d={name:"index",data:function(){return{dialogVisible:!1,listLoading:!1,pageSize:10,recordTotal:0,currentPage:1,pageTotal:0,tableKey:0,dataList:[],typeList:[{id:1,name:"常规入库"},{id:2,name:"退货入库"}],listQuery:{pageSize:10,pageIndex:1,filter:{province:"",city:"",district:"",street:"",committee:"",starttime:"",endtime:"",enterprisename:"",transportcert:"",type:""}}}},components:{inStorageDetail:s.default},methods:{showInStorageDetail:function(t,e,a){this.dialogVisible=!0,this.listQuery.filter.starttime=t,this.listQuery.filter.endtime=e,this.listQuery.filter.enterprisename=a,this.listQuery.filter.type=1,this.listQuery.pageIndex=1,this.getList()},showQuitInStorageDetail:function(t,e,a){this.dialogVisible=!0,this.listQuery.filter.starttime=t,this.listQuery.filter.endtime=e,this.listQuery.filter.enterprisename=a,this.listQuery.filter.type=2,this.listQuery.pageIndex=1,this.getList()},getList:function(){var t=this;return l()(r.a.mark(function e(){var a;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.listLoading=!0,e.next=3,Object(o.o)(t.listQuery);case 3:"200"===(a=e.sent).data.code?(t.recordTotal=a.data.result.total,t.pageSize=a.data.result.size,t.pageTotal=Object(c.a)(a.data.result.total,a.data.result.size),t.currentPage=a.data.result.current,t.dataList=a.data.result.records):t.$message({type:"warning",message:a.data.message}),t.listLoading=!1;case 6:case"end":return e.stop()}},e,t)}))()},showStorageDetail:function(t){this.$refs.storage.openInStorageDetail(t,this.listQuery.filter.starttime,this.listQuery.filter.endtime)},handleSizeChange:function(t){this.listQuery.pageSize=t,this.getList()},handleCurrentChange:function(t){this.listQuery.pageIndex=t,this.getList()}}},u=(a("RDJe"),a("KHd+")),p=Object(u.a)(d,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-dialog",{attrs:{visible:t.dialogVisible,"append-to-body":"","close-on-click-modal":!1,width:"60%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{staticClass:"filter-container"},[a("div",{staticStyle:{display:"block"}},[a("div",{staticClass:"basic_search",staticStyle:{"padding-top":"10px"}},[a("span",[t._v("企业名称:")]),t._v(" "),a("el-input",{staticStyle:{width:"200px"},attrs:{filterable:"",clearable:"",readonly:""},model:{value:this.listQuery.filter.enterprisename,callback:function(e){t.$set(this.listQuery.filter,"enterprisename",e)},expression:"this.listQuery.filter.enterprisename"}})],1),t._v(" "),a("div",{staticClass:"basic_search",staticStyle:{"padding-top":"10px"}},[a("span",[t._v("开始时间:")]),t._v(" "),a("el-input",{staticStyle:{width:"200px"},attrs:{filterable:"",clearable:"",readonly:""},model:{value:this.listQuery.filter.starttime,callback:function(e){t.$set(this.listQuery.filter,"starttime",e)},expression:"this.listQuery.filter.starttime"}})],1),t._v(" "),a("div",{staticClass:"basic_search",staticStyle:{"padding-top":"10px"}},[a("span",[t._v("结束时间:")]),t._v(" "),a("el-input",{staticStyle:{width:"200px"},attrs:{filterable:"",clearable:"",readonly:""},model:{value:this.listQuery.filter.endtime,callback:function(e){t.$set(this.listQuery.filter,"endtime",e)},expression:"this.listQuery.filter.endtime"}})],1)])]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,ref:"table",staticStyle:{width:"100%"},attrs:{data:t.dataList,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{label:"序号",type:"index",align:"center",width:"60"}}),t._v(" "),a("el-table-column",{attrs:{label:"入库单号",prop:"code",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"入库企业",prop:"unit",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"创建时间",prop:"createddate",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"运输证号",prop:"transportcert",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"数量(箱)",prop:"boxnum",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"入库类型",prop:"type",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return t._l(t.typeList,function(i){return a("div",[i.id===e.row.type?a("div",[t._v("\n                            "+t._s(i.name)+"\n                        ")]):t._e()])})}}])}),t._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center",width:"180","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){t.showStorageDetail(e.row)}}},[t._v("查看")])]}}])})],1),t._v(" "),a("br"),t._v(" "),a("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(" "),a("br")],1),t._v(" "),a("in-storage-detail",{ref:"storage"})],1)},[],!1,null,"8c696d70",null);p.options.__file="index.vue";e.default=p.exports},RDJe:function(t,e,a){"use strict";var i=a("Ep6u");a.n(i).a},Rnmp:function(t,e,a){"use strict";var i=a("k6ZL");a.n(i).a},"S/i2":function(t,e,a){"use strict";a.d(e,"g",function(){return n}),a.d(e,"j",function(){return l}),a.d(e,"o",function(){return s}),a.d(e,"i",function(){return o}),a.d(e,"l",function(){return c}),a.d(e,"p",function(){return d}),a.d(e,"k",function(){return u}),a.d(e,"n",function(){return p}),a.d(e,"m",function(){return h}),a.d(e,"b",function(){return b}),a.d(e,"d",function(){return f}),a.d(e,"c",function(){return g}),a.d(e,"e",function(){return m}),a.d(e,"f",function(){return v}),a.d(e,"h",function(){return y}),a.d(e,"a",function(){return _});var i=a("X4fA"),r=a("t3Un");function n(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/flow/direction?directionCode="+t,method:"get"})}function l(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/entry/inbound-query",method:"post",data:t})}function s(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/entry/stock/inbound-query",method:"post",data:t})}function o(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/entry/inbound-detail",method:"post",data:t})}function c(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/delivery/outbound-query",method:"post",data:t})}function d(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/delivery/stock/outbound-query",method:"post",data:t})}function u(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/delivery/outbound-detail",method:"post",data:t})}function p(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/order/salenum-query",method:"post",data:t})}function h(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/order/salenum-detail",method:"post",data:t})}function b(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/entry/export/inbound",method:"post",data:t})}function f(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/delivery/export/outbound",method:"post",data:t})}function g(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/entry/export/inbound-detail?code="+t,method:"get"})}function m(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/delivery/export/outbound-detail?code="+t,method:"get"})}function v(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/flow/direction/fire-status",method:"post",data:t})}function y(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/statistics/enterprise-type-entry",method:"post",data:t})}function _(t){return Object(r.a)({headers:{Authorization:Object(i.a)()},url:"http://39.104.85.193:4105/statistics/export/enterprise-type-entry",method:"post",data:t})}},X4S0:function(t,e,a){"use strict";a.r(e);var i=a("14Xm"),r=a.n(i),n=a("D3Ub"),l=a.n(n),s=a("Amwt"),o=a("S/i2"),c=a("7Qib"),d={name:"index",data:function(){return{code:"",entryDate:"",num:"",tableKey:"",transportCert:"",listLoading:!1,pageSize:10,recordTotal:0,currentPage:1,pageTotal:0,personPurchaseDetailData:[],personPurchaseDetailVisible:!1,listQuery:{pageSize:10,pageIndex:1,filter:{code:"",enterprisename:"",starttime:"",endtime:""}}}},components:{flow:s.default},methods:{openInStorageDetail:function(t,e,a){this.personPurchaseDetailVisible=!0,this.listQuery.filter.code=t.code,this.listQuery.filter.enterprisename=t.unit,this.listQuery.filter.starttime=e,this.listQuery.filter.endtime=a,this.getInStorageDetailList()},getInStorageDetailList:function(){var t=this;return l()(r.a.mark(function e(){var a;return r.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.listLoading=!0,e.next=3,Object(o.i)(t.listQuery);case 3:"200"===(a=e.sent).data.code?(t.recordTotal=a.data.result.total,t.pageSize=a.data.result.size,t.pageTotal=Object(c.a)(a.data.result.total,a.data.result.size),t.currentPage=a.data.result.current,t.personPurchaseDetailData=a.data.result.records):t.$message({type:"warning",message:a.data.message}),t.listLoading=!1;case 6:case"end":return e.stop()}},e,t)}))()},showFlow:function(t){this.$refs.flow.openFlow(t)},handleSizeChange:function(t){this.listQuery.pageSize=t,this.getInStorageDetailList()},handleCurrentChange:function(t){this.listQuery.pageIndex=t,this.getInStorageDetailList()}}},u=(a("uHU2"),a("KHd+")),p=Object(u.a)(d,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{visible:t.personPurchaseDetailVisible,"close-on-click-modal":!1,width:"70%","append-to-body":!0},on:{"update:visible":function(e){t.personPurchaseDetailVisible=e}}},[a("div",{staticClass:"app-container"},[a("div",{staticClass:"filter-container"},[a("div",{staticStyle:{display:"block"}},[a("div",{staticClass:"basic_search",staticStyle:{"padding-top":"10px"}},[a("span",[t._v("单号:")]),t._v(" "),a("el-input",{staticStyle:{width:"200px"},attrs:{filterable:"",clearable:"",readonly:""},model:{value:this.listQuery.filter.code,callback:function(e){t.$set(this.listQuery.filter,"code",e)},expression:"this.listQuery.filter.code"}})],1),t._v(" "),a("div",{staticClass:"basic_search",staticStyle:{"padding-top":"10px"}},[a("span",[t._v("企业名称:")]),t._v(" "),a("el-input",{staticStyle:{width:"200px"},attrs:{filterable:"",clearable:"",readonly:""},model:{value:this.listQuery.filter.enterprisename,callback:function(e){t.$set(this.listQuery.filter,"enterprisename",e)},expression:"this.listQuery.filter.enterprisename"}})],1),t._v(" "),a("div",{staticClass:"basic_search",staticStyle:{"padding-top":"10px"}},[a("span",[t._v("开始时间:")]),t._v(" "),a("el-input",{staticStyle:{width:"200px"},attrs:{filterable:"",clearable:"",readonly:""},model:{value:this.listQuery.filter.starttime,callback:function(e){t.$set(this.listQuery.filter,"starttime",e)},expression:"this.listQuery.filter.starttime"}})],1),t._v(" "),a("div",{staticClass:"basic_search",staticStyle:{"padding-top":"10px"}},[a("span",[t._v("结束时间:")]),t._v(" "),a("el-input",{staticStyle:{width:"200px"},attrs:{filterable:"",clearable:"",readonly:""},model:{value:this.listQuery.filter.endtime,callback:function(e){t.$set(this.listQuery.filter,"endtime",e)},expression:"this.listQuery.filter.endtime"}})],1)])]),t._v(" "),a("div",{staticClass:"table_content"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.personPurchaseDetailData,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{label:"序号",type:"index",align:"center",width:"60"}}),t._v(" "),a("el-table-column",{attrs:{label:"产品名称",prop:"productname",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"产品包装码",prop:"directioncode",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticStyle:{color:"blue"},on:{click:function(a){t.showFlow(e.row.directioncode)}}},[t._v(t._s(e.row.directioncode))])]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"类型",prop:"type",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"规格",prop:"specification",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"含药量",prop:"explosivecontent",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"箱含量",prop:"boxnumber",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"入库数量",prop:"num",align:"center"}})],1),t._v(" "),a("br"),t._v(" "),a("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(" "),a("br")],1),t._v(" "),a("flow",{ref:"flow"})],1)])},[],!1,null,"6a146b44",null);p.options.__file="inStorageDetailMore.vue";e.default=p.exports},f4Q7:function(t,e,a){},k6ZL:function(t,e,a){},uHU2:function(t,e,a){"use strict";var i=a("f4Q7");a.n(i).a}}]);