|
|
@ -124,6 +124,7 @@ export default { |
|
|
|
location: '', |
|
|
|
userSid: '', |
|
|
|
buyerOrgSid: '', |
|
|
|
orgPath: '', |
|
|
|
vinNoList: [] |
|
|
|
}, |
|
|
|
total: 0 |
|
|
@ -146,20 +147,6 @@ export default { |
|
|
|
this.carColor_list = resp.data |
|
|
|
} |
|
|
|
}) |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
brandDown({ useOrg: res.data }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.carbrand_list = resp.data |
|
|
|
} |
|
|
|
}) |
|
|
|
fetchByUseOrgSid({ sid: res.data }).then((respsone) => { |
|
|
|
if (respsone.success) { |
|
|
|
this.location_list = respsone.data |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
this.getList() |
|
|
|
}, |
|
|
|
indexMethod(index) { |
|
|
@ -174,7 +161,7 @@ export default { |
|
|
|
// 查询列表信息 |
|
|
|
getList() { |
|
|
|
this.listLoading = true |
|
|
|
this.listQuery.params.userSid = window.sessionStorage.getItem('userSid') |
|
|
|
// this.listQuery.params.userSid = window.sessionStorage.getItem('userSid') |
|
|
|
req.vehiclePurchaseList(this.listQuery).then((response) => { |
|
|
|
this.listLoading = false |
|
|
|
if (response.success) { |
|
|
@ -219,7 +206,7 @@ export default { |
|
|
|
}) |
|
|
|
this.sids = aa |
|
|
|
}, |
|
|
|
showData(value, buyerOrgSid, brandSid) { |
|
|
|
showData(value, buyerOrgSid, brandSid, orgPath) { |
|
|
|
const aa = [] |
|
|
|
if (value.length > 0) { |
|
|
|
for (var i = 0; i < value.length; i++) { |
|
|
@ -234,6 +221,21 @@ export default { |
|
|
|
this.listQuery.size = 5 |
|
|
|
this.listQuery.params.buyerOrgSid = buyerOrgSid |
|
|
|
this.listQuery.params.brandSid = brandSid |
|
|
|
this.listQuery.params.orgPath = orgPath |
|
|
|
getOrgSidByPath({ orgPath: orgPath }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
brandDown({ useOrg: res.data }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.carbrand_list = resp.data |
|
|
|
} |
|
|
|
}) |
|
|
|
fetchByUseOrgSid({ sid: res.data }).then((respsone) => { |
|
|
|
if (respsone.success) { |
|
|
|
this.location_list = respsone.data |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
this.init() |
|
|
|
}, |
|
|
|
// 添加修改返回 |
|
|
|