Commit fcb9b3f1 authored by youjie's avatar youjie

no message

parent 53e9fb32
...@@ -1876,11 +1876,15 @@ ...@@ -1876,11 +1876,15 @@
}, err => {}) }, err => {})
}, },
getSigningCustomerId(){ getSigningCustomerId(){
if(!this.msg.SigningCustomerId){
this.ContractCustomer = null
}
this.CustomerIdList.forEach(item=>{ this.CustomerIdList.forEach(item=>{
if(item.customerId==this.msg.SigningCustomerId){ if(item.customerId==this.msg.SigningCustomerId){
this.ContractCustomer = item this.ContractCustomer = item
} }
}) })
}, },
getCustomerIdList() {this.apipost( getCustomerIdList() {this.apipost(
"app_today_visit_GetMySigningCustomerList", "app_today_visit_GetMySigningCustomerList",
...@@ -1888,7 +1892,6 @@ ...@@ -1888,7 +1892,6 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.CustomerIdList = res.data.data; this.CustomerIdList = res.data.data;
console.log(this.CustomerIdList,'------')
} else { } else {
this.loading = false; this.loading = false;
this.$message.error(res.data.message); this.$message.error(res.data.message);
......
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