Commit 027a4f59 authored by youjie's avatar youjie

主账户

parent 207706d7
......@@ -175,7 +175,7 @@
@change="getCustomer(1)"
class="">
<el-option v-for='item in CustomerList'
:label='item.CustomerName+"("+item.ContactNumber+")"'
:label='item.CustomerName+"-"+item.Contact+"("+item.ContactNumber+")"'
:value='item.ID'
:key='item.ID'>
</el-option>
......@@ -398,16 +398,16 @@ export default {
this.dialogFormVisible = true
this.addType = 2
console.log(obj)
let list = obj.CustomerChildrenIds.split(',')
this.addMsg = {
...JSON.parse(JSON.stringify(obj)),
CustomerChildrenIds: obj.CllianceChildList.map(x=>{
return x.ID
}).join(','),
CustomerChildrenIdList: obj.CllianceChildList.map(x=>{
return x.ID
}),
CustomerChildrenIds: obj.CustomerChildrenIds,
CustomerChildrenIdList: [],
accountId: obj.ClientBankAccountId
}
list.forEach(item=>{
this.addMsg.CustomerChildrenIdList.push(Number(item))
})
},
ViewContract(item){
window.open(item.TravelAgency_SignAddress, '_blank');
......@@ -640,7 +640,7 @@ export default {
this.saveLoading = false
})
},
iniTAddMsg: function () {
iniTAddMsg() {
this.addMsg = {
Id: this.addMsg.Id,// 主账户信息(也就是customerId)
CustomerId: this.addMsg.CustomerId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment