Your Name
2022-11-30 f0cd5a4fe3b366fa753b8da5e387673c30c4d0f7
1
(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-0f5a","chunk-169a"],{"+E6/":function(t,e,r){},"1Dvt":function(t,e,r){"use strict";r.d(e,"r",function(){return o}),r.d(e,"d",function(){return i}),r.d(e,"c",function(){return c}),r.d(e,"q",function(){return u}),r.d(e,"k",function(){return s}),r.d(e,"l",function(){return l}),r.d(e,"g",function(){return d}),r.d(e,"i",function(){return p}),r.d(e,"f",function(){return h}),r.d(e,"h",function(){return f}),r.d(e,"e",function(){return m}),r.d(e,"p",function(){return b}),r.d(e,"a",function(){return g}),r.d(e,"b",function(){return y}),r.d(e,"j",function(){return v}),r.d(e,"o",function(){return O}),r.d(e,"m",function(){return j}),r.d(e,"n",function(){return k});var n=r("X4fA"),a=r("t3Un");function o(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/info",method:"get",params:t||{}})}function i(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/enterpriseStaticStock",method:"get",params:t||{}})}function c(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/enterpriseSale",method:"get",params:t||{}})}function u(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/saleInfo",method:"get",params:t||{}})}function s(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/detail",method:"get",params:t||{}})}function l(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/enterprise-type-delivery",method:"post",data:t})}function d(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/export/enterprise-type-delivery",method:"post",data:t})}function p(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/city-type-delivery",method:"post",data:t})}function h(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/export/city-type-delivery",method:"post",data:t})}function f(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/city-type-entry",method:"post",data:t})}function m(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/export/city-type-entry",method:"post",data:t})}function b(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/refreshStock",method:"post",data:t})}function g(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/clearStock",method:"post",data:t})}function y(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/stock/clearStockByItem",method:"post",data:t})}function v(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/city-stock",method:"post",data:t})}function O(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/stock/history",method:"post",data:t})}function j(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/export/stock/history",method:"post",data:t})}function k(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/statistics/history/city-stock",method:"post",data:t})}},"5W5M":function(t,e,r){"use strict";r.d(e,"g",function(){return o}),r.d(e,"b",function(){return i}),r.d(e,"d",function(){return c}),r.d(e,"i",function(){return u}),r.d(e,"f",function(){return s}),r.d(e,"e",function(){return l}),r.d(e,"a",function(){return d}),r.d(e,"c",function(){return p}),r.d(e,"h",function(){return h});var n=r("t3Un"),a=r("X4fA");function o(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/dictionary-types",method:"get",params:t||{}})}function i(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/adddictionary-types",method:"post",data:t})}function c(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/deldictionary-types",method:"post",data:t})}function u(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/putdictionary-types",method:"post",data:t})}function s(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/dictionary-items",method:"get",params:t||{}})}function l(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/dictionaryAllItems",method:"get",params:t||{}})}function d(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/adddictionary-items",method:"post",data:t})}function p(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/deldictionary-items",method:"post",data:t})}function h(t){return Object(n.a)({headers:{Authorization:Object(a.a)()},url:"http://39.104.85.193:4105/putdictionary-items",method:"post",data:t})}},FDyV:function(t,e,r){"use strict";r.r(e);var n=r("QbLZ"),a=r.n(n),o=r("xMja"),i=r("7Qib"),c=r("8fCU"),u=r("1Dvt"),s=r("jJIE"),l=r.n(s),d=r("cOQF"),p=r("L2JU"),h=r("5W5M"),f={name:"stockInfo",components:{StockDetail:d.default},data:function(){return{pageSize:20,recordTotal:0,currentPage:1,pageTotal:0,tableKey:0,stockData:[],listLoading:!0,manufacturerTree:[],itemCode:"",queryForm:{name:"",manufacturer:"",directionCode:"",beginDate:"",endDate:"",type:"",secondaryType:""},typeOptions:[],secondaryOptions:[],owner:""}},computed:a()({},Object(p.b)(["userType","username","userId"])),created:function(){this.queryForm.beginDate=this.$route.query.beginDate,this.queryForm.endDate=this.$route.query.endDate},mounted:function(){var t=this;Object(o.g)().then(function(e){t.manufacturerTree=e.data}),this.getDictionaryItemLevelList(),this.getProductMajorCategory(),this.owner=this.$route.query.owner,this.getStockList(this.$route.query.owner)},methods:{getStockList:function(t){var e=this,r={};r.pageIndex=e.currentPage,r.pageSize=e.pageSize,r.sort=e.sort,r.order=e.order,null==t&&(t=l.a.get("userId")),r.owner=t;var n=l.a.get("userName"),a=l.a.get("name");for(var o in r.operator=a+"("+n+")",e.queryForm)void 0!=e.queryForm[o]&&""!=e.queryForm[o].toString()&&(r[o]=e.queryForm[o]);e.listLoading=!0,Object(u.r)(r).then(function(t){var r=t.data;if("200"===r.code){var n=r.result;e.recordTotal=n.totalCount,e.pageSize=n.pageSize,e.pageTotal=Object(i.a)(n.totalCount,n.pageSize),e.currentPage=n.pageIndex,e.stockData=n.result}else Object(c.a)({error:r.message,vm:e});e.listLoading=!1}).catch(function(t){e.listLoading=!1,Object(c.a)({error:t,vm:e})})},refreshHandle:function(){this.getStockList(this.owner)},queryHandle:function(){this.currentPage=1,this.getStockList(this.owner)},handleSizeChange:function(t){this.pageSize=t,this.currentPage=1,this.getStockList(this.owner)},handleCurrentChange:function(t){this.currentPage=t,this.getStockList(this.owner)},sortChange:function(t){this.sort=t.prop,this.order=t.order,this.getStockList(this.owner)},showDetail:function(t){this.$refs.stockDetail.open(t.directioncode,t.enterpriseNumber)},getProductSecondaryCategory:function(t){var e=this;this.secondaryOptions=[],this.queryForm.secondaryType="",Object(o.m)(t).then(function(t){e.secondaryOptions=t.data})},getDictionaryItemLevelList:function(){var t=this;if(!(t.levelOptions&&t.levelOptions.length>0)){var e={dictionaryType:"产品级别"};Object(h.e)(e).then(function(e){var r=e.data;200==r.code?t.levelOptions=r.result:Object(c.a)({error:r.message,vm:t})}).catch(function(e){Object(c.a)({error:e,vm:t})})}},getProductMajorCategory:function(){var t=this;Object(o.f)().then(function(e){t.typeOptions=e.data})},clearHandle:function(){var t=this,e=this.$refs.multipleTable.selection,r="",n=0;(null==e||e.length<1)&&Object(c.a)({error:"未选中产品信息",vm:this}),e.forEach(function(t){"总计"!==t.name&&(r+=t.directioncode,r+=",",n++)}),this.$confirm("此操作将永久清除选中的 "+n+" 种产品库存, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){var e={};e.owner=t.owner,e.directionCodes=r,Object(u.b)(e).then(function(e){var r=e.data;if("200"===r.code){r.result;t.$message({type:"success",message:"删除成功!"}),t.refreshHandle()}})}).catch(function(){t.$message({type:"info",message:"已取消删除"})})},exportAllHandle:function(){var t=this,e={},n=t.owner;e.pageIndex=t.currentPage,e.pageSize=t.pageSize,e.sort=t.sort,e.order=t.order,null==n&&(n=l.a.get("userId")),e.owner=n;var a=l.a.get("userName"),o=l.a.get("name");for(var i in e.operator=o+"("+a+")",t.queryForm)void 0!=t.queryForm[i]&&""!=t.queryForm[i].toString()&&(e[i]=t.queryForm[i]);Object(u.r)(e).then(function(e){var n=e.data;if("200"===n.code){var a=n.result.result;if(0==a.length)return void Object(c.a)({error:"当前没有数据",vm:t});Promise.all([r.e("chunk-0d49"),r.e("chunk-5aa0")]).then(r.bind(null,"S/jZ")).then(function(e){var r=t.formatJson(["name","directioncode","countNum","boxnumber","productType","secondaryType","specification","explosiveContent","createddate"],a);e.export_json_to_excel({header:["产品名称","产品编码","库存总数(箱)","每箱数量(挂、个)","产品大类","产品小类","规格","含药量","生产日期"],data:r,filename:"库存详情"})})}else Object(c.a)({error:n.message,vm:t})}).catch(function(e){Object(c.a)({error:e,vm:t})})},formatJson:function(t,e){return e.map(function(e){return t.map(function(t){return"createddate"===t?Object(i.f)(e[t],"{y}-{m}-{d}"):e[t]})})}}},m=(r("eObB"),r("KHd+")),b=Object(m.a)(f,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"container"},[r("el-breadcrumb",{staticStyle:{"padding-top":"10px","padding-bottom":"10px"}},[r("el-breadcrumb-item",{attrs:{to:{path:"/stock/enterprise"}}},[t._v("库存监管")]),t._v(" "),r("el-breadcrumb-item",[t._v("库存详情")])],1),t._v(" "),r("div",{staticClass:"filter-container"},[r("el-row",[r("el-input",{staticClass:"filter-item",staticStyle:{width:"30%",float:"left"},attrs:{placeholder:"产品名称"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.queryHandle(e):null}},model:{value:t.queryForm.name,callback:function(e){t.$set(t.queryForm,"name",e)},expression:"queryForm.name"}}),t._v(" "),r("el-select",{staticStyle:{float:"left","padding-left":"15px"},attrs:{filterable:"",placeholder:"请选择生产厂家"},model:{value:t.queryForm.manufacturer,callback:function(e){t.$set(t.queryForm,"manufacturer",e)},expression:"queryForm.manufacturer"}},t._l(t.manufacturerTree,function(t){return r("el-option",{key:t.attributes,attrs:{label:t.text,value:t.text}})})),t._v(" "),r("el-select",{staticStyle:{float:"left","margin-left":"10px"},attrs:{clearable:"",placeholder:"请选择产品大类"},on:{change:t.getProductSecondaryCategory},model:{value:t.queryForm.type,callback:function(e){t.$set(t.queryForm,"type",e)},expression:"queryForm.type"}},t._l(t.typeOptions,function(e){return r("el-option",{key:e.attributes,staticClass:"filter-item",attrs:{label:e.text,value:e.attributes}},[t._v(t._s(e.text)+"\n            ")])})),t._v(" "),r("el-select",{staticStyle:{float:"left","margin-left":"10px"},attrs:{clearable:"",placeholder:"请选择产品小类"},model:{value:t.queryForm.secondaryType,callback:function(e){t.$set(t.queryForm,"secondaryType",e)},expression:"queryForm.secondaryType"}},t._l(t.secondaryOptions,function(t){return r("el-option",{key:t.attributes,attrs:{label:t.text,value:t.attributes}})}))],1),t._v(" "),r("el-row",[r("el-input",{staticClass:"filter-item",staticStyle:{width:"30%",float:"left"},attrs:{placeholder:"流向码"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.queryHandle(e):null}},model:{value:t.queryForm.directionCode,callback:function(e){t.$set(t.queryForm,"directionCode",e)},expression:"queryForm.directionCode"}}),t._v(" "),r("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},attrs:{type:"primary",icon:"el-icon-refresh"},on:{click:t.refreshHandle}},[t._v("刷新\n      ")]),t._v(" "),r("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"15px"},attrs:{type:"primary",icon:"el-icon-download"},on:{click:t.exportAllHandle}},[t._v("导出\n      ")]),t._v(" "),r("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.queryHandle}}),t._v(" "),1===t.userType?r("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px","background-color":"#f56c6c"},attrs:{type:"danger",icon:"el-icon-delete"},on:{click:t.clearHandle}},[t._v("清空库存\n        ")]):t._e()],1)],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,ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.stockData,border:"",fit:"","highlight-current-row":""},on:{"sort-change":t.sortChange}},[r("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),r("el-table-column",{attrs:{type:"index",label:"序号",align:"center",width:"80"}}),t._v(" "),r("el-table-column",{attrs:{label:"产品名称",prop:"name",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("el-link",{attrs:{type:"primary"},on:{click:function(r){t.showDetail(e.row)}}},[t._v(t._s(e.row.name))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"产品编码",prop:"directionCode",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.directioncode))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"库存总数(箱)",prop:"directionCode",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.countNum))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"每箱数量(挂、个)",prop:"directionCode",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.boxnumber))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"产品大类",prop:"productType",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.productType))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"产品小类",prop:"secondaryType",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.secondaryType))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"规格",prop:"specification",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.specification))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"含药量",prop:"explosiveContent",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(e.row.explosiveContent))])]}}])}),t._v(" "),r("el-table-column",{attrs:{label:"生产日期",prop:"createdDate",align:"center",sortable:"custom"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(t._f("parseTime")(e.row.createddate,"{y}-{m}-{d}")))])]}}])})],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":[20,50,100,200],"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("StockDetail",{ref:"stockDetail",attrs:{itemCode:t.itemCode},on:{getinfo:t.getStockList}})],1)],1)},[],!1,null,"c0f55b2e",null);b.options.__file="stockInfo.vue";e.default=b.exports},X4DX:function(t,e,r){"use strict";var n=r("+E6/");r.n(n).a},cOQF:function(t,e,r){"use strict";r.r(e);var n=r("QbLZ"),a=r.n(n),o=r("1Dvt"),i=r("L2JU"),c=r("7Qib"),u=r("8fCU"),s={name:"stockDetail",data:function(){return{itemCode:"",enterpriseNumber:"",detailDialogVisible:!1,detailForm:{},detailData:[],listLoading:!0,pageSize:10,recordTotal:0,currentPage:1,pageTotal:0,tableKey:0,status:[{id:0,name:"已停用"},{id:1,name:"已启用"}],queryForm:{directionCode:""}}},computed:a()({},Object(i.b)(["userType","username"])),methods:{open:function(t,e){this.enterpriseNumber=e,this.itemCode=t,this.detailDialogVisible=!0,this.queryForm={directionCode:""},this.getDetailDataList()},queryHandle:function(){this.currentPage=1,this.getDetailDataList()},getDetailDataList:function(){var t={},e=this;for(var r in t.itemCode=e.itemCode,t.enterpriseNumber=e.enterpriseNumber,t.pageIndex=e.currentPage,t.pageSize=e.pageSize,t.sort=e.sort,t.order=e.order,e.queryForm)void 0!=e.queryForm[r]&&""!==e.queryForm[r].toString()&&(t[r]=e.queryForm[r]);Object(o.k)(t).then(function(t){var r=t.data;if("200"===r.code){var n=r.result;e.recordTotal=n.totalCount,e.pageSize=n.pageSize,e.pageTotal=Object(c.a)(n.totalCount,n.pageSize),e.currentPage=n.pageIndex,e.detailData=n.result}else Object(u.a)({error:r.message,vm:e});e.listLoading=!1}).catch(function(t){e.listLoading=!1,Object(u.a)({error:t,vm:e})})},handleSizeChange:function(t){this.pageSize=t,this.currentPage=1,this.getDetailDataList()},handleCurrentChange:function(t){this.currentPage=t,this.getDetailDataList()},sortChange:function(t){this.sort=t.prop,this.order=t.order,this.getDetailDataList()},exportAllHandle:function(){var t=this,e={};for(var n in e.itemCode=t.itemCode,e.enterpriseNumber=t.enterpriseNumber,e.pageIndex=1,e.pageSize=1e5,e.sort=t.sort,e.order=t.order,t.queryForm)void 0!=t.queryForm[n]&&""!==t.queryForm[n].toString()&&(e[n]=t.queryForm[n]);Object(o.k)(e).then(function(e){var n=e.data;if("200"===n.code){var a=n.result.result;if(0==a.length)return void Object(u.a)({error:"当前没有数据",vm:t});Promise.all([r.e("chunk-0d49"),r.e("chunk-5aa0")]).then(r.bind(null,"S/jZ")).then(function(e){var r=t.formatJson(["name","directioncode","createddate","modifieddate","modifiedby"],a);e.export_json_to_excel({header:["产品名称","流向码","创建时间","最近修改时间","最近修改人"],data:r,filename:"stockDetails"})})}else Object(u.a)({error:n.message,vm:t})}).catch(function(e){Object(u.a)({error:e,vm:t})})},formatJson:function(t,e){return e.map(function(e){return t.map(function(t){return"createddate"===t?Object(c.f)(e[t],"{y}-{m}-{d}"):e[t]})})}}},l=(r("X4DX"),r("KHd+")),d=Object(l.a)(s,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-dialog",{attrs:{visible:t.detailDialogVisible,"modal-append-to-body":!1,"close-on-click-modal":!1,width:"900px"},on:{"update:visible":function(e){t.detailDialogVisible=e}}},[r("div",{staticStyle:{"padding-bottom":"20px"}},[t._v("\n        流向码:\n        "),r("el-input",{staticClass:"filter-item",staticStyle:{width:"20%","padding-right":"15px"},attrs:{placeholder:"流向码"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.queryHandle(e):null}},model:{value:t.queryForm.directionCode,callback:function(e){t.$set(t.queryForm,"directionCode",e)},expression:"queryForm.directionCode"}}),t._v(" "),r("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.queryHandle}}),t._v(" "),r("el-button",{attrs:{type:"primary",plain:""},on:{click:t.exportAllHandle}},[t._v("导出商品详情")])],1),t._v(" "),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.detailData,border:"",fit:"","highlight-current-row":""}},[r("el-table-column",{attrs:{type:"index",label:"",align:"center",width:"60"}}),t._v(" "),r("el-table-column",{attrs:{label:"产品名称",prop:"name",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"流向码",prop:"directioncode",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"创建时间",prop:"createddate",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"最近修改时间",prop:"modifieddate",align:"center"}}),t._v(" "),r("el-table-column",{attrs:{label:"最近修改人",prop:"modifiedby",align:"center"}})],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}})],1)},[],!1,null,"c794207a",null);d.options.__file="stockDetail.vue";e.default=d.exports},eObB:function(t,e,r){"use strict";var n=r("mcuA");r.n(n).a},mcuA:function(t,e,r){},xMja:function(t,e,r){"use strict";r.d(e,"n",function(){return o}),r.d(e,"c",function(){return i}),r.d(e,"b",function(){return c}),r.d(e,"q",function(){return u}),r.d(e,"d",function(){return s}),r.d(e,"g",function(){return l}),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 f}),r.d(e,"r",function(){return m}),r.d(e,"e",function(){return b}),r.d(e,"f",function(){return g}),r.d(e,"m",function(){return y}),r.d(e,"h",function(){return v}),r.d(e,"o",function(){return O}),r.d(e,"i",function(){return j}),r.d(e,"l",function(){return k});var n=r("X4fA"),a=r("t3Un");function o(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/info",method:"get",params:t||{}})}function i(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/add",method:"post",data:t})}function c(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/addNew",method:"post",data:t})}function u(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/update",method:"post",data:t})}function s(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/delete",method:"post",data:t})}function l(){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/enterprise/manufacturerTree",method:"get"})}function d(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/setThreshold",method:"post",data:t})}function p(){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/getThreshold",method:"get"})}function h(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/categorise?name="+t,method:"get"})}function f(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/addCategory",method:"post",data:t})}function m(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/editCategory",method:"post",data:t})}function b(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/delCategory",method:"post",data:t})}function g(){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/majorTree",method:"get"})}function y(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/secondaryTree?major="+t,method:"get"})}function v(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/permitLevelTree?secondary="+t,method:"get"})}function O(t,e,r,o){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/info?name="+e+"&code="+r+"&type="+o,method:"get",params:t||{}})}function j(t){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/get?directionCode="+t,method:"get"})}function k(t,e){return Object(a.a)({headers:{Authorization:Object(n.a)()},url:"http://39.104.85.193:4105/product/gets?directionCode="+t+"&endCode="+e,method:"get"})}}}]);