diff --git a/src/views/material/repair/repairManage/component/edit.vue b/src/views/material/repair/repairManage/component/edit.vue index 7a13b87a..4e672e1e 100644 --- a/src/views/material/repair/repairManage/component/edit.vue +++ b/src/views/material/repair/repairManage/component/edit.vue @@ -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("保存成功"); diff --git a/src/views/warning-analysis/engineering-in-use/index.vue b/src/views/warning-analysis/engineering-in-use/index.vue index 8c4fc283..eeeae3be 100644 --- a/src/views/warning-analysis/engineering-in-use/index.vue +++ b/src/views/warning-analysis/engineering-in-use/index.vue @@ -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 },