|
|
@ -34,7 +34,8 @@ Component({ |
|
|
this.getLinkmanList() |
|
|
this.getLinkmanList() |
|
|
} else { |
|
|
} else { |
|
|
userApi.user_post("user/getDefaultContact", { |
|
|
userApi.user_post("user/getDefaultContact", { |
|
|
contactType: "CONSIGNEE" |
|
|
contactType: "CONSIGNEE", |
|
|
|
|
|
tm_flag: true, |
|
|
}).then(res => { |
|
|
}).then(res => { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
selectLinkman: res.data |
|
|
selectLinkman: res.data |
|
|
@ -162,7 +163,8 @@ Component({ |
|
|
userApi.user_post("user/getContactOrConsignee", { |
|
|
userApi.user_post("user/getContactOrConsignee", { |
|
|
contactType: "CONSIGNEE", |
|
|
contactType: "CONSIGNEE", |
|
|
offset: 0, |
|
|
offset: 0, |
|
|
limit: 1000 |
|
|
limit: 1000, |
|
|
|
|
|
tm_flag: true, |
|
|
}).then(res => { |
|
|
}).then(res => { |
|
|
let list = res.data; |
|
|
let list = res.data; |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
@ -251,7 +253,8 @@ Component({ |
|
|
commonApi.user_post("token/check").then(res => { |
|
|
commonApi.user_post("token/check").then(res => { |
|
|
if (res.code == 1) { |
|
|
if (res.code == 1) { |
|
|
userApi.user_post("user/getDefaultContact", { |
|
|
userApi.user_post("user/getDefaultContact", { |
|
|
contactType: "CONSIGNEE" |
|
|
contactType: "CONSIGNEE", |
|
|
|
|
|
tm_flag: true, |
|
|
}).then(res => { |
|
|
}).then(res => { |
|
|
console.log(res) |
|
|
console.log(res) |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
|