diff --git a/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue b/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue index 781ea09..0e83fa6 100644 --- a/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue +++ b/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue @@ -202,6 +202,7 @@ export default { } this.$refs[ref][0]?.updateDataSourceByRowIndex(idx,{subTargetSolutionCode: length==1?snList:snList[idx],...expDate}); }); + Promise.resolve(); } } } @@ -210,9 +211,9 @@ export default { }, async handleUpdateCode() { - this.assignNumbersToTableData("paralleConfigs"); - this.assignNumbersToTableData("ladderConfigs"); - this.$nextTick(() => { + Promise.all([this.assignNumbersToTableData("ladderConfigs"),this.assignNumbersToTableData("paralleConfigs") + ]).then(()=>{ + console.log("nextTick") //通知后端保存数据 const params = { type: "fieldChanged",