From 9a6c29e422974d6716dd9d97439ed61bd1aa9165 Mon Sep 17 00:00:00 2001 From: zyn Date: Fri, 9 Dec 2022 11:18:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86=E8=A7=A3=E8=AF=BB=E6=B5=81?= =?UTF-8?q?=E7=A8=8B-=E8=B5=B7=E8=8D=89=E7=95=8C=E9=9D=A2-=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzjd/step1.vue | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue index f2b91511b..f92c3a402 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue @@ -786,7 +786,8 @@ export default { }) }, saveUserInfo2 () { - if (this.PLmodalType === 1) { + // 确定按钮 + if (this.PLmodalType === 1) { // 单个编辑 const row = JSON.parse(JSON.stringify(this.itemList[this.PLmodalIndex])) row.technicalRequir = this.plForm.technicalRequir row.changePoint = this.plForm.changePoint @@ -800,13 +801,13 @@ export default { for (let a = 0; a < this.itemList.length; a++) { for (let b = 0; b < this.zrIdList.length; b++) { if (this.itemList[a].id === this.zrIdList[b]) { - this.itemList[a].technicalRequir = this.plForm.technicalRequir - this.itemList[a].changePoint = this.plForm.changePoint - this.itemList[a].newData = this.plForm.newData - this.itemList[a].onlineData = this.plForm.onlineData - this.itemList[a].applyArctic = this.plForm.applyArctic - this.itemList[a].zrUserId = this.plForm.zrUserId - this.itemList[a].zrUserName = this.plForm.zrUserName + this.itemList[a].technicalRequir = this.plForm.technicalRequir === '' ? this.itemList[a].technicalRequir : this.plForm.technicalRequir + this.itemList[a].changePoint = this.plForm.changePoint === '' ? this.itemList[a].changePoint : this.plForm.changePoint + this.itemList[a].newData = this.plForm.newData === '' ? this.itemList[a].newData : this.plForm.newData + this.itemList[a].onlineData = this.plForm.onlineData === '' ? this.itemList[a].onlineData : this.plForm.onlineData + this.itemList[a].applyArctic = this.plForm.applyArctic.length===0 ? this.itemList[a].applyArctic : this.plForm.applyArctic + this.itemList[a].zrUserId = this.plForm.zrUserId === '' ? this.itemList[a].zrUserId : this.plForm.zrUserId + this.itemList[a].zrUserName = this.plForm.zrUserName === '' ? this.itemList[a].zrUserName : this.plForm.zrUserName } } }