修改bug
This commit is contained in:
tczjx58520 2019-09-18 17:57:09 +08:00
parent f661a10039
commit 8c7ff0a48e

View file

@ -449,7 +449,7 @@ export default {
let name = []
// id
let id = []
id = [...row.expiredRemindPersonId.split(',')]
id = row.expiredRemindPersonId.split(',')
name = row.remindPerson.split(',')
for (let i = 0; i < name.length - 1; i++) {
const temp = {}
@ -474,10 +474,10 @@ export default {
if (valid) {
const stringid = []
for (const i in this.remindpersonname) {
stringid.push(this.remindpersonname[i].id)
stringid.push(this.remindpersonname[i].personId)
}
console.log(stringid)
this.contractForm.remindpersonid = stringid.join(',')
this.contractForm.expiredRemindPersonId = stringid.join(',')
console.log('上传', this.contractForm.remindpersonid)
updatecontract(this.contractForm).then(res => {
if (res.data.ret === 200) {