1 line
23 KiB
JavaScript
1 line
23 KiB
JavaScript
|
webpackJsonp([270],{Hy3H: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"),p=a.n(c),u=a("Dd8w"),h=a.n(u),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={name:"purchase_apply_index",components:{btnInput:d.a,dialogChooseSingleUser:f.a,dialogChooseSingleSupplier:g.a,dialogChooseSingleParts:b.a},data:function(){return{totalAll:{},userInfo:"",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_:"inOutTime",select:!0},{title:"单据编号",prop_:"inheadCode",select:!0},{title:"采购方式",prop_:"purchaseType",select:!0},{title:"供应商",prop_:"sourceCompanyName",select:!0},{title:"物料代码",prop_:"serialno",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"主计量单位",prop_:"unitName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"入库数量",prop_:"inCount",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"采购费用(元)",prop_:"expense",select:!0},{title:"仓库",prop_:"warehouseName",select:!0},{title:"仓位",prop_:"warehLocationName",select:!0},{title:"入库员",prop_:"operatorName",select:!0},{title:"审核状态",prop_:"auditSignName",select:!0},{title:"源单类型",prop_:"sourceTypeName",select:!0},{title:"源单单号",prop_:"sourceCode",select:!0}],showTableColumns:[{title:"入库日期",prop_:"inOutTime",select:!0},{title:"单据编号",prop_:"inheadCode",select:!0},{title:"采购方式",prop_:"purchaseType",select:!0},{title:"供应商",prop_:"sourceCompanyName",select:!0},{title:"物料代码",prop_:"serialno",select:!0},{title:"物料名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"批号",prop_:"batch",select:!0},{title:"主计量单位",prop_:"unitName",select:!0},{title:"主单位数量",prop_:"count",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"入库数量",prop_:"inCount",select:!0},{title:"单价(元)",prop_:"unitPrice",select:!0},{title:"金额(元)",prop_:"amount",select:!0},{title:"采购费用(元)",prop_:"expense",select:!0},{title:"仓库",prop_:"warehouseName",select:!0},{title:"仓位",prop_:"warehLocationName",select:!0},{title:"入库员",prop_:"operatorName",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_inStock_table"}},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(p()(this.showTableColumns)),this.showTableColumnsTemp=JSON.parse(p()(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_notice_add",query:{id:t,t:Date.now()}})},i
|