|
@@ -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()
|
|
|
}
|