yxk_pc_mdh/gyhl/static/js/303.81dba799f43bff213fd2.js

1 line
25 KiB
JavaScript
Raw Normal View History

2025-08-28 15:26:35 +08:00
webpackJsonp([303],{HJul:function(t,e){},aHqZ:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("d7EF"),i=a.n(o),s=a("//Fk"),r=a.n(s),l=a("BO1k"),n=a.n(l),c=a("mvHQ"),u=a.n(c),p=a("Dd8w"),m=a.n(p),h=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,dialogChooseSingleUser1:f.a},data:function(){return{totalAll:{},config:v.a,depOptions:[],selectDeptId:"",user_type:"",chooseSupplierVisible:!1,chooseMaterielVisible:!1,chooseUserVisible:!1,chooseUserVisible1:!1,total:0,pageSizes:[10,20,50],search_data:{pageno:1,pagesize:10},time:"",formDataTime:"",auditSignList:[],outboundTypeList:[],companyList:[],createByList:[],formData:{createBy:"",createByName:""},showTableColumnsDefault:[{title:"发料日期",prop_:"outTime",select:!0},{title:"单据编号",prop_:"code",select:!0},{title:"发料人",prop_:"operatorName",select:!0},{title:"物料代码",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"发出数量",prop_:"outCount",select:!0},{title:"核销数量(主单位)",prop_:"chargeOffCount",select:!0},{title:"核销数量(辅助单位)",prop_:"chargeOffCountSupport",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",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_:"operatorName",select:!0},{title:"物料代码",prop_:"materielSerialNo",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"主计量单位",prop_:"unitUomName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"发出数量",prop_:"outCount",select:!0},{title:"核销数量(主单位)",prop_:"chargeOffCount",select:!0},{title:"核销数量(辅助单位)",prop_:"chargeOffCountSupport",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",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:"outsourcing_outStock_table",userInfo:""}},created:function(){var t=this;document.onkeydown=function(e){"Enter"===e.key&&t.search()}},computed:m()({},Object(h.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 t=new Date;this.$set(this.formData,"createTime",t.getFullYear()+"-"+this.settime(t.getMonth()+1)+"-"+this.settime(t.getDate())),this.getList(),this.getTypeList(),this.getShowColumns(),this.initialize()},methods:{viewDetail:fun