1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
|
webpackJsonp([362],{"9yll":function(e,t){},q9GX:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("BO1k"),s=a.n(o),i=a("mvHQ"),l=a.n(i),r=a("ysqt"),n=a("GKmE"),c=a("bzuE"),u=a("o4dX"),p=a("G9gL"),h=a("S4un"),m=a("OG67"),d={components:{btnInput:r.a,dialogChooseSingleUsers:u.a,dialogChooseSingleDevice:p.a,dialogChooseSingleProcess:h.a,dialogChooseSingleParts:m.a},name:"material_collect_list",data:function(){return{advanceQueryDialogVisible:!1,formData:{},total:0,pageSizes:[10,20,50],search_data:{pageno:1,pagesize:10},btnDelDisabled:!0,btnOtherDisabled:!0,rowIds:[],totalCollectMaterialCount:0,totalMateriaCountSupport:0,tableData:[],totalPlanCount:0,config:c.a,chooseUserVisible:!1,chooseDevicesVisible:!1,chooseProcessVisible:!1,chooseMaterielVisible:!1,columnSetDialogVisible:!1,columnSetDialogTitle:"设置显示字段列表",tableId:"jobShop_material_collect_table",pictLoading:!1,showTableColumnsDefault:[{title:"采集时间",prop_:"createTime",select:!0},{title:"生产人员",prop_:"operatorName",select:!0},{title:"生产部门",prop_:"deptName",select:!0},{title:"加工设备",prop_:"deviceName",select:!0},{title:"汇报工序",prop_:"processName",select:!0},{title:"用料代码",prop_:"collectSerialNo",select:!0},{title:"用料名称",prop_:"collectMateriaName",select:!0},{title:"规格型号",prop_:"collectSpecification",select:!0},{title:"主计量单位",prop_:"collectUnitName",select:!0},{title:"主单位数量",prop_:"collectMaterialCount",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"辅单位数量",prop_:"materiaCountSupport",select:!0},{title:"批次号",prop_:"batch",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"工序计划单号",prop_:"planCode",select:!0},{title:"产品代码",prop_:"serialNo",select:!0},{title:"产品名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"计量单位",prop_:"unitName",select:!0},{title:"计划数量",prop_:"planCount",select:!0}],showTableColumns:[{title:"采集时间",prop_:"createTime",select:!0},{title:"生产人员",prop_:"operatorName",select:!0},{title:"生产部门",prop_:"deptName",select:!0},{title:"加工设备",prop_:"deviceName",select:!0},{title:"汇报工序",prop_:"processName",select:!0},{title:"用料代码",prop_:"collectSerialNo",select:!0},{title:"用料名称",prop_:"collectMateriaName",select:!0},{title:"规格型号",prop_:"collectSpecification",select:!0},{title:"主计量单位",prop_:"collectUnitName",select:!0},{title:"主单位数量",prop_:"collectMaterialCount",select:!0},{title:"辅助单位",prop_:"supportUomName",select:!0},{title:"辅单位数量",prop_:"materiaCountSupport",select:!0},{title:"批次号",prop_:"batch",select:!0},{title:"供应商",prop_:"supplierName",select:!0},{title:"工序计划单号",prop_:"planCode",select:!0},{title:"产品代码",prop_:"serialNo",select:!0},{title:"产品名称",prop_:"materielName",select:!0},{title:"规格型号",prop_:"specification",select:!0},{title:"计量单位",prop_:"unitName",select:!0},{title:"计划数量",prop_:"planCount",select:!0}],showTableColumnsTemp:[],formTableData:[]}},created:function(){this.initData(),this.getList();var e=this;document.onkeydown=function(t){"Enter"===t.key&&e.search()}},mounted:function(){this.showTableColumns=JSON.parse(l()(this.showTableColumns)),this.showTableColumnsTemp=JSON.parse(l()(this.showTableColumns)),this.getShowColumns()},methods:{showColumnSetDialog:function(){this.columnSetDialogVisible=!0,this.showTableColumnsTemp=JSON.parse(l()(this.showTableColumns))},toUp:function(e){if(0==e.$index)return!1;for(var t=void 0,a=0;a<this.showTableColumns.length;a++)this.showTableColumns[a].prop_==e.row.prop_&&(t=a);var o=this.showTableColumns[t];this.showTableColumns[t]=this.showTableColumns[t-1],this.showTableColumns[t-1]=o,this.$forceUpdate()},toDown:function(e){if(e.$index==this.showTableColumns.length-1)return!1;for(var t=void 0,a=0;a<this.showTableColumns.length;a++)this.showTableColumns[a].prop_==e.row.prop_&&(t=a);var
|