WangHan
2025-04-03 a1b85ef72062ca80db35546e4216dd564f3e0f57
1
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-352751a5","chunk-4beb77b6","chunk-115cef7f","chunk-40ef04d7","chunk-92e5b0d0"],{"221f":function(t,e,n){"use strict";n("d157")},"271c":function(t,e,n){"use strict";n.r(e);var a=n("6f7e"),r=n("2f62"),o=n("ac29"),i=n("dee4");function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return(e=d(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t){var e=f(t,"string");return"symbol"==s(e)?e:e+""}function f(t,e){if("object"!=s(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,e||"default");if("object"!=s(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}e["default"]={data:function(){return{loading:!1,list:[],items:[],filterFrom:{},editSetting:{title:"",id:"",orgId:"",show:!1},uploadPageSetting:{title:"上传页面",id:"",orgId:"",show:!1},detailSetting:{title:"详情",id:"",show:!1},pageNum:1,pageSize:10,total:0}},computed:u(u({},Object(r["b"])(["userInfo"])),{},{clientHeight:function(){return document.documentElement.clientHeight}}),created:function(){},filters:{formatTime:function(t){return t?a["LongToDateTime"](t):"-"}},methods:{handleExport:function(t,e,n){var a=this,r=this.$loading({lock:!0,text:"导出中,请稍候...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});o[t](n).then((function(t){console.log(t),Object(i["a"])(t),a.$message.success("导出成功!"),r.close()})).catch((function(){r.close()}))},handleAdd:function(){this.editSetting.id=null,this.editSetting.info=null,this.editSetting.title="新增",this.editSetting.show=!0},handleEdit:function(t){this.editSetting.id=t.id,this.editSetting.info=null,this.editSetting.title="编辑",this.editSetting.show=!0},handleDetail:function(t){this.detailSetting.id=t.id,this.detailSetting.title="详情",this.detailSetting.show=!0},handleUploadPage:function(t){this.uploadPageSetting.id=t.id,this.uploadPageSetting.title="导入",this.uploadPageSetting.show=!0},handleSizeChange:function(t){this.pageSize=t,this.search({pageNum:1})},handleCurrentChange:function(t){this.pageNum=t,this.search()},search:function(t){t&&(this.pageNum=t),this.fetchData()},refreshData:function(){this.pageNum=1,this.pageSize=10,this.search()},fifterForm:function(t){this.filterFrom=Object.assign(this.filterFrom,t),this.search(1)}}}},"2c4d":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"g",(function(){return i})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return l}));var a=n("b775");function r(t){return Object(a["a"])({url:"/pc/fin/warehouse/ledger/getListExport",responseType:"blob",method:"post",params:t})}function o(t){return Object(a["a"])({url:"/pc/warehouse/warningConfig/add",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/pc/warehouse/warningConfig/upd",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/pc/warehouse/warningConfig/getById",method:"get",params:t})}function c(t){return Object(a["a"])({url:"/pc/warehouse/warningConfig/del",method:"delete",data:t})}function u(t){return Object(a["a"])({url:"/pc/warehouse/warning/getList",method:"get",params:t})}function l(t){return Object(a["a"])({url:"/pc/warehouse/warning/getWarningTypeNum",method:"get",params:t})}},"5cdc":function(t,e,n){"use strict";n("798c")},"5fd4":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o}));var a=n("b775");function r(t){return Object(a["a"])({url:"/pc/warehouse/homeStatistics/getGoodsNumPrice",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/pc/warehouse/homeStatistics/getGoodsNumByMonth",method:"get",params:t})}},"6f7e":function(t,e,n){"use strict";function a(t){if(null==t||void 0==t||""==t||"null"==t||"undefined"==t)return!0;var e=t.toString().replace(/\s/g,"").replace(/-/g,"").replace(/:/g,"");return e}function r(t){return("00"+t).substr(t.length)}function o(t){if(null==t||void 0==t||""==t||"null"==t||"undefined"==t)return!0;var e=t.toString(),n=e.slice(0,4),a=e.slice(4,6),r=e.slice(6,8),o=e.slice(8,10),i=e.slice(10,12),s=e.slice(12,14),c=n+"-"+a+"-"+r+" "+o+":"+i+":"+s;return c}function i(t){if(null==t||void 0==t||""==t||"null"==t||"undefined"==t)return!0;var e=t.toString(),n=e.slice(0,4),a=e.slice(4,6),r=e.slice(6,8),o=n+"-"+a+"-"+r;return o}function s(t,e){try{t instanceof Date||(t=new Date(t)),void 0!=e&&""!=e||(e="yyyy-MM-dd hh:mm:ss"),/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var n={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(var a in n)if(new RegExp("(".concat(a,")")).test(e)){var o=n[a]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?o:r(o))}return e}catch(i){return"-"}}function c(){var t=new Date,e=t.getFullYear(),n=(t.getMonth()+1).toString().padStart(2,"0"),a=t.getDate().toString().padStart(2,"0"),r=t.getHours().toString().padStart(2,"0"),o=t.getMinutes().toString().padStart(2,"0"),i=t.getSeconds().toString().padStart(2,"0");return"".concat(e,"-").concat(n,"-").concat(a," ").concat(r,":").concat(o,":").concat(i)}function u(){var t=new Date,e=t.getFullYear(),n=(t.getMonth()+1).toString().padStart(2,"0"),a=t.getDate().toString().padStart(2,"0");return"".concat(e,"-").concat(n,"-").concat(a)}function l(t){if(t){t instanceof Date||(t=new Date(t.replace(/-/g,"/")));var e=t.getTime(),n=6e4,a=60*n,r=24*a,o=7*r,i=30*r,s=(new Date).getTime(),c=s-e;if(!(c<0)){var u=c/n,l=c/a,d=c/r,f=c/o,p=c/i,m="";if(p>=1&&p<=3)m=" "+parseInt(p)+"月前";else if(f>=1&&f<=3)m=" "+parseInt(f)+"周前";else if(d>=1&&d<=6)m=" "+parseInt(d)+"天前";else if(l>=1&&l<=23)m=" "+parseInt(l)+"小时前";else if(u>=1&&u<=59)m=" "+parseInt(u)+"分钟前";else if(c>=0&&c<=n)m="刚刚";else{var h=new Date;h.setTime(e);var g=h.getFullYear(),v=h.getMonth()+1<10?"0"+(h.getMonth()+1):h.getMonth()+1,b=h.getDate()<10?"0"+h.getDate():h.getDate();h.getHours()<10?h.getHours():h.getHours(),h.getMinutes()<10?h.getMinutes():h.getMinutes(),h.getSeconds()<10?h.getSeconds():h.getSeconds();m=g+"-"+v+"-"+b}return m}}}n.r(e),n.d(e,"DateToLong",(function(){return a})),n.d(e,"LongToDateTime",(function(){return o})),n.d(e,"LongToDate",(function(){return i})),n.d(e,"formatDate",(function(){return s})),n.d(e,"formattedDate",(function(){return c})),n.d(e,"formattedDateDuan",(function(){return u})),n.d(e,"timeago",(function(){return l}))},7297:function(t,e,n){},"73f6":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{width:"100%"}},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticClass:"font-18 font-bold"},[t._v("类别数量统计")])]),t._v(" "),n("div",{staticStyle:{height:"300px"},attrs:{id:"LBSLTJ"}})])],1)},r=[],o=n("313e"),i={name:"LBSLTJ",props:{num:{type:Object,default:{aTotalNum:0,aTotalPrice:0,bTotalNum:0,bTotalPrice:0,cTotalNum:0,cTotalPrice:0,tenantId:0,totalNum:0,totalPrice:0,xiaFaNum:0,zhanYouPercent:0}}},watch:{num:function(){this.options.series[0].data=[{value:parseFloat(this.num.aTotalNum),name:"A类"},{value:parseFloat(this.num.bTotalNum),name:"B类"},{value:parseFloat(this.num.cTotalNum),name:"C类"}],this.myChart.setOption(this.options)}},data:function(){return{myChart:null,options:{}}},mounted:function(){this.getCenterLine()},methods:{getCenterLine:function(){var t=this,e=document.getElementById("LBSLTJ");this.myChart=o["init"](e),window.addEventListener("resize",(function(){t.changeWidth()})),this.options={color:["#1877FF","#5EDEA5","#F7BE12","#55C6E1","#ED653B"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{orient:"vertical",right:0,top:60,bottom:20},series:[{name:"类别数量统计",type:"pie",minAngle:2,avoidLabelOverlap:!0,itemStyle:{normal:{label:{show:!0,formatter:function(t){return t.name+"\n "+t.percent.toFixed(1)+"%"}},labelLine:{show:!0,length:.01}}},data:[{value:parseFloat(this.num.aTotalNum),name:"A类"},{value:parseFloat(this.num.bTotalNum),name:"B类"},{value:parseFloat(this.num.cTotalNum),name:"C类"}]}]},this.options&&this.myChart.setOption(this.options)},changeWidth:function(){this.myChart.resize()}}},s=i,c=(n("221f"),n("2877")),u=Object(c["a"])(s,a,r,!1,null,"4c400f86",null);e["default"]=u.exports},"798c":function(t,e,n){},8638:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{width:"100%"}},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticClass:"font-18 font-bold"},[t._v("类别金额统计")])]),t._v(" "),n("div",{staticStyle:{height:"300px"},attrs:{id:"LBJETJ"}})])],1)},r=[],o=n("313e"),i={name:"LBJETJ",props:{num:{type:Object,default:{aTotalNum:0,aTotalPrice:0,bTotalNum:0,bTotalPrice:0,cTotalNum:0,cTotalPrice:0,tenantId:0,totalNum:0,totalPrice:0,xiaFaNum:0,zhanYouPercent:0}}},watch:{num:function(){this.options.series[0].data=[{value:parseFloat(this.num.aTotalPrice),name:"A类"},{value:parseFloat(this.num.bTotalPrice),name:"B类"},{value:parseFloat(this.num.cTotalPrice),name:"C类"}],this.myChart.setOption(this.options)}},data:function(){return{myChart:null,options:{}}},mounted:function(){this.getCenterLine()},methods:{getCenterLine:function(){var t=this,e=document.getElementById("LBJETJ");this.myChart=o["init"](e),window.addEventListener("resize",(function(){t.changeWidth()})),this.options={color:["#1877FF","#5EDEA5","#F7BE12","#55C6E1","#ED653B"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{orient:"vertical",right:0,top:60,bottom:20},series:[{name:"类别金额统计",type:"pie",minAngle:2,avoidLabelOverlap:!0,itemStyle:{normal:{label:{show:!0,formatter:function(t){return t.name+"\n "+t.percent.toFixed(1)+"%"}},labelLine:{show:!0,length:.01}}},data:[{value:parseFloat(this.num.aTotalPrice),name:"A类"},{value:parseFloat(this.num.bTotalPrice),name:"B类"},{value:parseFloat(this.num.cTotalPrice),name:"C类"}]}]},this.options&&this.myChart.setOption(this.options)},changeWidth:function(){this.myChart.resize()}}},s=i,c=(n("e3f8"),n("2877")),u=Object(c["a"])(s,a,r,!1,null,"3829bd99",null);e["default"]=u.exports},9406:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"content"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:12}},[n("el-card",{attrs:{shadow:"never"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticClass:"font-18 font-bold"},[t._v("调拨待办")])]),t._v(" "),n("div",{staticClass:"f-r f-r-between m-b-10"},[n("el-radio-group",{attrs:{size:"mini"},on:{change:t.changeAudit},model:{value:t.waitType,callback:function(e){t.waitType=e},expression:"waitType"}},[n("el-radio-button",{attrs:{label:"0"}},[t._v("待出库")]),t._v(" "),n("el-radio-button",{attrs:{label:"1"}},[t._v("待入库")])],1),t._v(" "),n("div",{staticClass:"to-more",on:{click:function(e){return t.nav("/stock/transfer/transferissue")}}},[t._v("查看更多 >")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.waitLoading,expression:"waitLoading"}],staticClass:"top-tb",attrs:{data:t.waitWorkData,height:"220","show-header":!1,size:"medium"}},[n("el-table-column",{attrs:{prop:"businessFormCode",align:"center",width:"130"}}),t._v(" "),n("el-table-column",{attrs:{prop:"inWarehouseName",align:"left","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:a.inWarehouseName,placement:"top-start"}},[n("div",{staticClass:"font-14 color-333",staticStyle:{width:"100%","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"}},[t._v("\n                  "+t._s(a.inWarehouseName)+"\n                ")])])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"operatorName",align:"center",width:"80"}}),t._v(" "),n("el-table-column",{attrs:{prop:"createTime",align:"center",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{staticClass:"font-14 color-333"},[t._v(t._s(t.formattTime(e.row.createTime)))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"date",label:"操作",fixed:"right",align:"center",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{staticStyle:{padding:"4px 15px"},attrs:{size:"mini",type:"primary"},nativeOn:{click:function(n){return n.preventDefault(),t.aduitThis(e.row)}}},[t._v("处理")])]}}])}),t._v(" "),n("el-empty",{attrs:{slot:"empty",description:"暂无数据"},slot:"empty"})],1)],1)],1),t._v(" "),n("el-col",{attrs:{span:12}},[n("el-card",{attrs:{shadow:"never"}},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticClass:"font-18 font-bold"},[t._v("预警通知")])]),t._v(" "),n("div",{staticClass:"f-r f-r-between m-b-10"},[n("el-radio-group",{attrs:{size:"mini"},on:{change:t.changeEarlyWarning},model:{value:t.earlyWarningType,callback:function(e){t.earlyWarningType=e},expression:"earlyWarningType"}},[n("el-radio-button",{attrs:{label:""}},[t._v("全部")]),t._v(" "),n("el-radio-button",{attrs:{label:"2"}},[t._v("缺货 "),t.warningTypeNum.lowNum?n("span",[t._v("("+t._s(t.warningTypeNum.lowNum)+")")]):t._e()]),t._v(" "),n("el-radio-button",{attrs:{label:"1"}},[t._v("超出 "),t.warningTypeNum.upNum?n("span",[t._v("("+t._s(t.warningTypeNum.upNum)+")")]):t._e()])],1),t._v(" "),n("div",{staticClass:"to-more",on:{click:function(e){return t.nav("/stock/ledger/alertQuery")}}},[t._v("查看更多 >")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.earlyLoading,expression:"earlyLoading"}],staticClass:"top-tb",attrs:{data:t.earlyWarningData,height:"220","show-header":!1,size:"medium"}},[n("el-table-column",{attrs:{prop:"baseGoodsTemplateName",align:"left","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:a.baseGoodsTemplateName,placement:"top-start"}},[n("div",{staticClass:"font-14 color-333",staticStyle:{width:"100%","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"}},[t._v("\n                  "+t._s(a.baseGoodsTemplateName)+"\n                ")])])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"baseGoodsModelsName",align:"left","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:a.baseGoodsModelsName,placement:"top-start"}},[n("div",{staticClass:"font-14 color-333",staticStyle:{width:"100%","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"}},[t._v("\n                  "+t._s(a.baseGoodsModelsName)+"\n                ")])])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"surplus",align:"left","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",{staticClass:"font-14 color-333"},[t._v("剩余"+t._s(a.warehouseCount)+t._s(a.unit))])]}}])}),t._v(" "),n("el-table-column",{attrs:{prop:"warningTime",align:"center",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",{staticClass:"font-14 color-333"},[t._v(t._s(t.formattTime(a.warningTime)))])]}}])}),t._v(" "),n("el-empty",{attrs:{slot:"empty",description:"暂无数据"},slot:"empty"})],1)],1)],1)],1),t._v(" "),n("div",{staticClass:"f-r f-r-between total-list"},[n("div",{staticClass:"total-item"},[n("div",{staticClass:"font-14 color-666"},[t._v("物品数量")]),t._v(" "),n("div",{staticClass:"font-14 color-333",staticStyle:{"margin-top":"6px"}},[n("span",{staticClass:"total-num"},[t._v(t._s(t.goodsNumPrice.totalNum))])])]),t._v(" "),n("div",{staticClass:"total-item"},[n("div",{staticClass:"font-14 color-666"},[t._v("资产总金额")]),t._v(" "),n("div",{staticClass:"font-14 color-333",staticStyle:{"margin-top":"6px"}},[n("span",{staticClass:"total-num"},[t._v(t._s(t.goodsNumPrice.totalPrice))]),t._v("万元\n      ")])]),t._v(" "),n("div",{staticClass:"total-item"},[n("div",{staticClass:"font-14 color-666"},[t._v("物品占用率")]),t._v(" "),n("div",{staticClass:"font-14 color-333",staticStyle:{"margin-top":"6px"}},[n("span",{staticClass:"total-num"},[t._v(t._s(t.goodsNumPrice.zhanYouPercent)+"%")])])]),t._v(" "),n("div",{staticClass:"total-item"},[n("div",{staticClass:"font-14 color-666"},[t._v("A类物品数量")]),t._v(" "),n("div",{staticClass:"font-14 color-333",staticStyle:{"margin-top":"6px"}},[n("span",{staticClass:"total-num"},[t._v(t._s(t.goodsNumPrice.aTotalNum))])])]),t._v(" "),n("div",{staticClass:"total-item"},[n("div",{staticClass:"font-14 color-666"},[t._v("B类物品数量")]),t._v(" "),n("div",{staticClass:"font-14 color-333",staticStyle:{"margin-top":"6px"}},[n("span",{staticClass:"total-num"},[t._v(t._s(t.goodsNumPrice.bTotalNum))])])])]),t._v(" "),n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:12}},[n("LBSLTJ",{attrs:{num:t.goodsNumPrice}})],1),t._v(" "),n("el-col",{attrs:{span:12}},[n("LBJETJ",{attrs:{num:t.goodsNumPrice}})],1)],1),t._v(" "),n("XYZC")],1)},r=[],o=n("271c"),i=n("5fd4"),s=n("6f7e"),c=n("a083"),u=n("2c4d");function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){p(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function p(t,e,n){return(e=m(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function m(t){var e=h(t,"string");return"symbol"==l(e)?e:e+""}function h(t,e){if("object"!=l(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,e||"default");if("object"!=l(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var g=n("9c807"),v={};g.keys().forEach((function(t){var e=g(t);v[t.replace(/^\.\/(.*)\.\w+$/,"$1")]=e.default}));var b={name:"Dashboard",components:f({},v),mixins:[o["default"]],data:function(){return{earlyLoading:!1,waitLoading:!1,goodsNumPrice:{aTotalNum:0,aTotalPrice:0,bTotalNum:0,bTotalPrice:0,cTotalNum:0,cTotalPrice:0,tenantId:0,totalNum:0,totalPrice:0,xiaFaNum:0,zhanYouPercent:0},waitType:"0",waitWorkData:[],earlyWarningType:"",warningTypeNum:{lowNum:0,totalNum:0,upNum:0},earlyWarningData:[]}},created:function(){var t=this;this.getAuditList(),this.getWarningList(),Object(i["b"])().then((function(e){e&&(t.goodsNumPrice=e)}))},methods:{formattTime:function(t){return Object(s["LongToDateTime"])(t)},changeAudit:function(t){var e=this;this.waitType=t,this.$nextTick((function(){e.getAuditList()}))},getAuditList:function(){var t=this;this.waitLoading=!0,this.waitWorkData=[];var e={pageNum:1,pageSize:5};"0"===this.waitType?(e.outAgencyId=this.userInfo.tenantId,e.states=0):(e.inAgencyId=this.userInfo.tenantId,e.states=1),Object(c["g"])(e).then((function(e){t.waitLoading=!1,t.waitWorkData=e.datas})).catch((function(){t.waitLoading=!1}))},aduitThis:function(t){"0"===this.waitType?this.handleOutput(t):this.handleIncome(t)},handleIncome:function(t){var e=this;this.$confirm("您确定 单号:".concat(t.businessFormCode,"  接收入库吗?"),"接收入库",{beforeClose:function(n,a,r){"confirm"==n?(a.confirmButtonLoading=!0,a.confirmButtonText="执行中...",Object(c["c"])({id:t.id}).then((function(t){e.$message.success("接收入库成功!"),r(),a.confirmButtonLoading=!1,e.search(1)})).catch((function(){r()}))):r()}})},handleOutput:function(t){var e=this;this.$confirm("您确定 单号:".concat(t.businessFormCode,"  调拨出库吗?"),"调拨出库",{beforeClose:function(n,a,r){"confirm"==n?(a.confirmButtonLoading=!0,a.confirmButtonText="执行中...",Object(c["h"])({id:t.id}).then((function(t){e.$message.success("调拨出库成功!"),r(),a.confirmButtonLoading=!1,e.search(1)})).catch((function(){r()}))):r()}})},changeEarlyWarning:function(t){var e=this;this.earlyWarningType=t,this.$nextTick((function(){e.getWarningList()}))},getWarningList:function(){var t=this;this.earlyLoading=!0,this.earlyWarningData=[],Object(u["c"])().then((function(e){t.warningTypeNum=e,Object(u["b"])({warningType:t.earlyWarningType,pageNum:1,pageSize:5}).then((function(e){t.earlyLoading=!1,t.earlyWarningData=e.datas})).catch((function(){t.waitLoading=!1}))}))},nav:function(t){this.$router.push(t)}}},y=b,w=(n("5cdc"),n("2877")),S=Object(w["a"])(y,a,r,!1,null,"6e15921a",null);e["default"]=S.exports},9794:function(t,e,n){"use strict";n("e686")},"9c807":function(t,e,n){var a={"./LBJETJ.vue":"8638","./LBSLTJ.vue":"73f6","./XYZC.vue":"d472"};function r(t){var e=o(t);return n(e)}function o(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}r.keys=function(){return Object.keys(a)},r.resolve=o,t.exports=r,r.id="9c807"},a083:function(t,e,n){"use strict";n.d(e,"d",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"g",(function(){return i})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return c})),n.d(e,"e",(function(){return u})),n.d(e,"h",(function(){return l})),n.d(e,"c",(function(){return d})),n.d(e,"i",(function(){return f})),n.d(e,"k",(function(){return p})),n.d(e,"j",(function(){return m}));var a=n("b775");function r(t){return Object(a["a"])({url:"/pc/l/wh/form/transfer/add",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/pc/l/wh/form/transfer/import",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/pc/l/wh/form/transfer/list",method:"get",params:t})}function s(t){return Object(a["a"])({url:"/pc/fin/sys/tenant/get/parent/tenant",method:"get",params:t})}function c(t){return Object(a["a"])({url:"/pc/base/goods/template/query/warehouse/goods",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/pc/l/wh/form/transfer/detail",method:"get",params:t})}function l(t){return Object(a["a"])({url:"/pc/l/wh/form/transfer/output",method:"post",params:t})}function d(t){return Object(a["a"])({url:"/pc/l/wh/form/transfer/income",method:"post",params:t})}function f(t){return Object(a["a"])({url:"/pc/l/wh/form/transfer/updStatus",method:"post",params:t})}function p(t){return Object(a["a"])({url:"/pc/l/wh/form/transfer/use/record",method:"get",params:t})}function m(t){return Object(a["a"])({url:"/pc/l/wh/form/transfer/useInfo/update",method:"POST",data:t})}},ac29:function(t,e,n){"use strict";n.r(e),n.d(e,"outputExport",(function(){return r})),n.d(e,"procureExport",(function(){return o})),n.d(e,"transferExport",(function(){return i})),n.d(e,"inventoryExport",(function(){return s})),n.d(e,"scrappedExport",(function(){return c})),n.d(e,"deptScrappedExport",(function(){return u}));var a=n("b775");function r(t){return Object(a["a"])({url:"/pc/l/wh/form/output/list/export",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/pc/whForm/procure/list/export",method:"get",params:t})}function i(t){return Object(a["a"])({url:"/pc/l/wh/form/transfer/list/export",method:"get",params:t})}function s(t){return Object(a["a"])({url:"/pc/l/wh/form/inventory/list/export",method:"get",params:t})}function c(t){return Object(a["a"])({url:"/pc/l/wh/form/scrapped/list/export",method:"get",params:t})}function u(t){return Object(a["a"])({url:"/pc/l/wh/form/scrapped/deptList/export",method:"get",params:t})}},d157:function(t,e,n){},d472:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{width:"100%"}},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",{staticClass:"font-18 font-bold"},[t._v("资产增长/报废统计图(数量)")])]),t._v(" "),n("div",{attrs:{id:"ZCZZ"}})])],1)},r=[],o=n("5fd4"),i=n("313e"),s={name:"XYZC",props:{activeId:{type:String,default:""}},data:function(){return{myChart:null,options:{}}},mounted:function(){this.getCenterLine()},methods:{getCenterLine:function(){var t=this,e=document.getElementById("ZCZZ");this.myChart=i["init"](e),window.addEventListener("resize",(function(){t.changeWidth()})),this.options={color:["#5BE1FD","#FFD15C"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["资产增长","资产报废"]},toolbox:{show:!1},grid:{left:"30",right:"30",bottom:"30px"},xAxis:[{type:"category",axisTick:{show:!1},data:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]}],yAxis:[{type:"value"}],series:[{name:"资产增长",type:"line",barGap:0,smooth:!0,emphasis:{focus:"series"},data:[],lineStyle:{width:2,color:"#5BE1FD"},areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(91, 225, 253, .6)"},{offset:1,color:"rgba(91, 225, 253, 0)"}],global:!1}}},{name:"资产报废",type:"line",smooth:!0,emphasis:{focus:"series"},data:[],lineStyle:{width:2,color:"#FFD15C"},areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"rgba(255, 209, 92, .6)"},{offset:1,color:"rgba(255, 209, 92, 0)"}],global:!1}}}]},this.options&&this.myChart.setOption(this.options),Object(o["a"])().then((function(e){var n=[],a=[];e.map((function(t){n.push(t.addTotalNum),a.push(t.reduceTotalNum)})),t.options.series[0].data=n,t.options.series[1].data=a,t.myChart.setOption(t.options)}))},changeWidth:function(){this.myChart.resize()}}},c=s,u=(n("9794"),n("2877")),l=Object(u["a"])(c,a,r,!1,null,"8d597238",null);e["default"]=l.exports},e3f8:function(t,e,n){"use strict";n("7297")},e686:function(t,e,n){}}]);