yxk_pc_mdh/gyhl/static/js/463.3fd35632ee9257bf89ee.js

1 line
22 KiB
JavaScript
Raw Normal View History

2025-08-28 15:26:35 +08:00
webpackJsonp([463],{EVew:function(e,t){},tmcP:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("d7EF"),s=a.n(i),o=a("//Fk"),l=a.n(o),r=a("BO1k"),n=a.n(r),c=a("mvHQ"),u=a.n(c),p=a("Dd8w"),h=a.n(p),m=a("NYxO"),d=a("ysqt"),f=(a("t4zo"),a("uXZL"),a("3MlD")),g=a("FnMF"),b=a("OG67"),v=a("bzuE"),_=a("lbHh"),y=a.n(_),D={components:{btnInput:d.a,dialogChooseSingleUser:f.a,dialogChooseSingleSupplier:g.a,dialogChooseSingleParts:b.a},data:function(){return{totalAll:{},config:v.a,depOptions:[],selectDeptId:"",user_type:"",chooseSupplierVisible:!1,chooseMaterielVisible:!1,chooseUserVisible:!1,total:0,pageSizes:[10,20,50],search_data:{pageno:1,pagesize:10},time:"",formDataTime:"",auditSignList:[],companyList:[],createByList:[],formData:{createBy:"",createByName:""},showTableColumnsDefault:[{title:"退货日期",prop_:"outTime",select:!0},{title:"退货单号",prop_:"code",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"物料代码",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"退货数量",prop_:"backCount",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"仓库",prop_:"facName",select:!0},{title:"仓位",prop_:"locationName",select:!0},{title:"退货原因",prop_:"purposeName",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],showTableColumns:[{title:"退货日期",prop_:"outTime",select:!0},{title:"退货单号",prop_:"code",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"物料代码",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"退货数量",prop_:"backCount",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"仓库",prop_:"facName",select:!0},{title:"仓位",prop_:"locationName",select:!0},{title:"退货原因",prop_:"purposeName",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],showTableColumnsTemp:[],formTableData:[],tableData:[],btnDelDisabled:!0,btnOtherDisabled:!0,rowIds:[],advanceQueryDialogVisible:!1,dialogTitle:"",dialogLoading:!1,columnSetDialogVisible:!1,columnSetDialogTitle:"设置显示字段列表",pictLoading:!1,tableId:"purchase_outStock_table",userInfo:""}},created:function(){var e=this;document.onkeydown=function(t){"Enter"===t.key&&e.search()}},computed:h()({},Object(m.c)({})),mounted:function(){this.userInfo=JSON.parse(y.a.get("userInfo")),this.showTableColumns=JSON.parse(u()(this.showTableColumns)),this.showTableColumnsTemp=JSON.parse(u()(this.showTableColumns)),this.formData.createBy=this.userInfo.userId,this.formData.createByName=this.userInfo.name;var e=new Date;this.$set(this.formData,"createTime",e.getFullYear()+"-"+this.settime(e.getMonth()+1)+"-"+this.settime(e.getDate())),this.getList(),this.getTypeList(),this.getShowColumns(),this.initialize()},methods:{viewDetail:function(e){var t=e.queryId;this.$router.push({path:"/purchase/purchase_inStock_add",query:{id:t,t:Date.now()}})},initialize:function(){},getSummaries:function(e){var t=this,a=e.columns,i=e.data,s=[];return a.forEach(function(e,a){if(0!==a)if("backCount"===e.property||"count"==e.property||"amount"==e.property){var o=i.map(function(t){return Number(t[e.property