|
@ -663,7 +663,8 @@ export default { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
handleDemandChange(val) { |
|
|
handleDemandChange(val) { |
|
|
console.log('val', val) |
|
|
console.log('val', val, this.selectDemandUser) |
|
|
|
|
|
this.selectDemandUser = val.label |
|
|
this.form.demandUserName = val.demandUserName |
|
|
this.form.demandUserName = val.demandUserName |
|
|
this.form.demandUserMobile = val.demandUserMobile |
|
|
this.form.demandUserMobile = val.demandUserMobile |
|
|
this.form.demandUserId = val.demandUserId |
|
|
this.form.demandUserId = val.demandUserId |
|
@ -727,7 +728,7 @@ export default { |
|
|
this.disabled = disabled |
|
|
this.disabled = disabled |
|
|
} |
|
|
} |
|
|
if (addType == 'look') { |
|
|
if (addType == 'look') { |
|
|
this.finishServiceTime = [row.serviceStartTime, row.serviceEndTime] |
|
|
this.finishServiceTime = row.serviceStartTime && [row.serviceStartTime, row.serviceEndTime] || '' |
|
|
} |
|
|
} |
|
|
if (addType == 'appoint' && row.serviceType) { |
|
|
if (addType == 'appoint' && row.serviceType) { |
|
|
await this.getServiceuserList(row.serviceType) |
|
|
await this.getServiceuserList(row.serviceType) |
|
@ -738,7 +739,7 @@ export default { |
|
|
if (item.value === row.categoryCode) this.form.categoryCode = [row.categoryCode] |
|
|
if (item.value === row.categoryCode) this.form.categoryCode = [row.categoryCode] |
|
|
}) |
|
|
}) |
|
|
this.demandUserList.forEach(item => { |
|
|
this.demandUserList.forEach(item => { |
|
|
if (item.demandUserId == row.demandUserId) this.selectDemandUser = item |
|
|
if (item.demandUserId == row.demandUserId) this.selectDemandUser = item.label |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|