Browse Source

项目修改调整

sangwenwei 6 months ago
parent
commit
bc75aa2e6c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/jy/project/ProjectEdit.vue

+ 2 - 2
src/views/jy/project/ProjectEdit.vue

@@ -472,7 +472,7 @@
 					} else {
 						_this.inputForm.clientList.forEach((client, index) => {
 							if (_this.inputForm.customerNo === client.no) {
-								_this.$refs.contactTable.remove(client)
+								_this.$refs.clientTable.remove(client)
 								_this.inputForm.clientList.splice(index, 1)
 							}
 						})
@@ -502,7 +502,7 @@
 				}
 				wait().then(() => {
 					if (_num === 0) {
-						this.inputForm.clientList.push({ name: row.linkmanList[0].name,id: row.linkmanList[0].id})
+						this.inputForm.clientList.push({ clientName: row.linkmanList[0].name,id: row.linkmanList[0].id,linkPhone:row.linkmanList[0].linkPhone,linkMobile:row.linkmanList[0].linkMobile,position:row.linkmanList[0].position})
 						this.$refs.clientTable.insertAt({name: row.linkmanList[0].name,id: row.linkmanList[0].id,linkPhone:row.linkmanList[0].linkPhone,linkMobile:row.linkmanList[0].linkMobile,position:row.linkmanList[0].position})
 						this.clientTableKey = Math.random()
 					}