This commit is contained in:
		
							parent
							
								
									8801db44ae
								
							
						
					
					
						commit
						5fed0be5b2
					
				| 
						 | 
				
			
			@ -985,6 +985,12 @@ export default {
 | 
			
		|||
    // ********编码维修********
 | 
			
		||||
    // 编码维修弹窗保存
 | 
			
		||||
    async saveCodeDialog() {
 | 
			
		||||
      if (this.repairDeviceList.length > 0) {
 | 
			
		||||
        this.repairDeviceList.forEach((item) => {
 | 
			
		||||
          item.inRepairList = []
 | 
			
		||||
          item.outRepairList = []
 | 
			
		||||
        })
 | 
			
		||||
      }
 | 
			
		||||
      this.repairRowData.repairDeviceList = this.repairDeviceList;
 | 
			
		||||
      await  saveCodeList(this.repairRowData.repairDeviceList).then((response) => {
 | 
			
		||||
        if (response.code == 200) {
 | 
			
		||||
| 
						 | 
				
			
			@ -1574,6 +1580,8 @@ export default {
 | 
			
		|||
        console.log('this.formRight',this.formRight)
 | 
			
		||||
        this.innerRowData.repairDeviceList[0].numberScrapRepairPartList.push(this.formRight)
 | 
			
		||||
        this.innerRowData.repairDeviceList[0].repairType = 1;
 | 
			
		||||
        this.innerRowData.repairDeviceList[0].inRepairList = []
 | 
			
		||||
        this.innerRowData.repairDeviceList[0].outRepairList = []
 | 
			
		||||
        saveCodeList(this.innerRowData.repairDeviceList).then(async (response) => {
 | 
			
		||||
          if (response.code == 200) {
 | 
			
		||||
            this.$modal.msgSuccess("保存成功");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -129,6 +129,7 @@ export default {
 | 
			
		|||
            // 表头
 | 
			
		||||
            tableColumns: [
 | 
			
		||||
                { label: '下次检修时间', prop: 'nextCheckTime', width: '100' },
 | 
			
		||||
                { label: '物资类型', prop: 'materialType', showTooltip: true },
 | 
			
		||||
                { label: '机具类型', prop: 'typeName', showTooltip: true },
 | 
			
		||||
                { label: '规格型号', prop: 'typeModelName', showTooltip: true },
 | 
			
		||||
                { label: '设备编码', prop: 'maCode', showTooltip: true },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue