diff --git a/src/views/material/back/component/addReturn.vue b/src/views/material/back/component/addReturn.vue index d6c3a052..fb699be9 100644 --- a/src/views/material/back/component/addReturn.vue +++ b/src/views/material/back/component/addReturn.vue @@ -638,11 +638,12 @@ export default { }, mounted() { this.GetUnitData() - this.GetProData() if (this.backId) { //编辑 this.rowId = this.backId this.GetViewByApply() + } else { + this.GetProData() } // getInfo().then((res) => { // this.companyId = res.user.companyId @@ -816,7 +817,7 @@ export default { message: '当前工器具仍有班组在用,请核实退料单位', type: 'warning' }) - + } // 将新项添加到数组开头,实现倒序 this.equipmentList.unshift({ @@ -1218,7 +1219,7 @@ export default { }) } }) - + this.maCodeList = selection // console.log(selection) // this.queryParams.equipmentList = selection