|
@@ -178,10 +178,17 @@ export default {
|
|
},
|
|
},
|
|
// 关联经销商
|
|
// 关联经销商
|
|
handleAddDealer (list) {
|
|
handleAddDealer (list) {
|
|
|
|
+ const newList = list.map(item => {
|
|
|
|
+ return {
|
|
|
|
+ dealerSn: item.dealerSn,
|
|
|
|
+ dealerName: item.dealerName,
|
|
|
|
+ dealerLevel: item.dealerLevel
|
|
|
|
+ }
|
|
|
|
+ })
|
|
this.spinning = true
|
|
this.spinning = true
|
|
const params = {
|
|
const params = {
|
|
serviceCenterSn: this.$route.params.sn,
|
|
serviceCenterSn: this.$route.params.sn,
|
|
- dealerList: list
|
|
|
|
|
|
+ dealerList: newList
|
|
}
|
|
}
|
|
serviceCenterBinding(params).then(res => {
|
|
serviceCenterBinding(params).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|