Your Name
2022-11-30 f0cd5a4fe3b366fa753b8da5e387673c30c4d0f7
1
(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-65c0"],{DLQs:function(t,e,a){"use strict";a.r(e);var r=a("14Xm"),n=a.n(r),i=a("D3Ub"),o=a.n(i),l=a("S/i2"),u={name:"fireStatus",data:function(){return{tableKey:"",directionCode:"",listLoading:!1,fireStatusInBoxData:[],fireData:[],recordTotal:0,statusOptions:[{label:"全部",value:null},{label:"未入库",value:"未入库"},{label:"已入库",value:"已入库"},{label:"已售出",value:"已售出"}],filter:{pageIndex:1,pageSize:10,filter:{directioncode:"",status:null}}}},created:function(){this.fireStatusInBox()},watch:{},computed:{},methods:{fireStatusInBox:function(){var t=this;return o()(n.a.mark(function e(){var a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.fireData=[],t.listLoading=!0,null===t.filter.filter.directioncode||""===t.filter.filter.directioncode){e.next=7;break}return e.next=5,Object(l.f)(t.filter);case 5:"200"===(a=e.sent).data.code?(t.fireStatusInBoxData=a.data.result.result,t.fireData.push(a.data.result.extension)):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.fireStatusInBox()},handleSizeChange:function(t){this.fireStatusInBox()},handleCurrentChange:function(t){this.fireStatusInBox()},statusJudge:function(t){switch(t.status){case"已售出":return t.status;case"":return""===t.owner?"未入库":"已入库"}}}},c=(a("OZHX"),a("KHd+")),s=Object(c.a)(u,function(){var t=this,e=t.$createElement,a=t._self._c||e;return 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:""},model:{value:t.filter.filter.directioncode,callback:function(e){t.$set(t.filter.filter,"directioncode",e)},expression:"filter.filter.directioncode"}})],1),t._v(" "),a("el-select",{attrs:{clearable:"",placeholder:"状态"},model:{value:t.filter.filter.status,callback:function(e){t.$set(t.filter.filter,"status",e)},expression:"filter.filter.status"}},t._l(t.statusOptions,function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),t._v(" "),a("div",{staticClass:"basic_search",staticStyle:{"margin-right":"10px"}},[a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-search"},on:{click:function(e){t.search("查询","")}}},[t._v("查询")])],1)],1)]),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticClass:"table_content"},[a("div",[a("div",{directives:[{name:"show",rawName:"v-show",value:t.fireData.length>0,expression:"fireData.length > 0 "}]},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.fireData,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{label:"产品",prop:"name",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"类型",prop:"type",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"等级",prop:"level",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"箱含量",prop:"boxNumber",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"规格",prop:"specification",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"生产商",prop:"manufacturer",align:"center"}})],1)],1)]),t._v(" "),a("div",{staticStyle:{"margin-top":"20px"}},[a("el-table",{key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.fireStatusInBoxData,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:"19位码",prop:"directioncode",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"状态",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.statusJudge(e.row)))])]}}])})],1),t._v(" "),a("el-pagination",{directives:[{name:"show",rawName:"v-show",value:t.recordTotal>0,expression:"recordTotal>0"}],staticStyle:{float:"right"},attrs:{"current-page":this.filter.pageIndex,"page-sizes":[10,20,30,50],"page-size":this.filter.pageSize,total:t.recordTotal,layout:"total, sizes, prev, pager, next, jumper",background:""},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1),t._v(" "),a("br")])])},[],!1,null,"2950d0be",null);s.options.__file="box-detail.vue";e.default=s.exports},OZHX:function(t,e,a){"use strict";var r=a("rlPy");a.n(r).a},"S/i2":function(t,e,a){"use strict";a.d(e,"g",function(){return i}),a.d(e,"j",function(){return o}),a.d(e,"o",function(){return l}),a.d(e,"i",function(){return u}),a.d(e,"l",function(){return c}),a.d(e,"p",function(){return s}),a.d(e,"k",function(){return d}),a.d(e,"n",function(){return h}),a.d(e,"m",function(){return f}),a.d(e,"b",function(){return p}),a.d(e,"d",function(){return b}),a.d(e,"c",function(){return v}),a.d(e,"e",function(){return g}),a.d(e,"f",function(){return m}),a.d(e,"h",function(){return y}),a.d(e,"a",function(){return O});var r=a("X4fA"),n=a("t3Un");function i(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/flow/direction?directionCode="+t,method:"get"})}function o(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/entry/inbound-query",method:"post",data:t})}function l(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/entry/stock/inbound-query",method:"post",data:t})}function u(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/entry/inbound-detail",method:"post",data:t})}function c(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/delivery/outbound-query",method:"post",data:t})}function s(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/delivery/stock/outbound-query",method:"post",data:t})}function d(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/delivery/outbound-detail",method:"post",data:t})}function h(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/order/salenum-query",method:"post",data:t})}function f(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/order/salenum-detail",method:"post",data:t})}function p(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/entry/export/inbound",method:"post",data:t})}function b(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/delivery/export/outbound",method:"post",data:t})}function v(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/entry/export/inbound-detail?code="+t,method:"get"})}function g(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/delivery/export/outbound-detail?code="+t,method:"get"})}function m(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/flow/direction/fire-status",method:"post",data:t})}function y(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/enterprise-type-entry",method:"post",data:t})}function O(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/export/enterprise-type-entry",method:"post",data:t})}},rlPy:function(t,e,a){}}]);