|
|
@ -2688,7 +2688,16 @@ |
|
|
|
this.form.deliveryAddress = _address; |
|
|
|
this.form.deliveryAddress = _address; |
|
|
|
this.form.deliveryPhone = _phone; |
|
|
|
this.form.deliveryPhone = _phone; |
|
|
|
this.orderData = this.orderList; |
|
|
|
this.orderData = this.orderList; |
|
|
|
this.orderData = Array.from(new Set([this.orderData,...this.orderList])) |
|
|
|
|
|
|
|
|
|
|
|
let _arr = [this.orderData,...this.orderList] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 将数组内对象转为字符串 |
|
|
|
|
|
|
|
_arrJAONSTR = _arr.map(val => JSON.stringify(val)) |
|
|
|
|
|
|
|
// 对数组进行去重 |
|
|
|
|
|
|
|
_newSetArr = Array.from(new Set(_arrJAONSTR)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 将数组内对象还原 |
|
|
|
|
|
|
|
this.orderData = _newSetArr.map(val => JSON.parse(val)) |
|
|
|
|
|
|
|
|
|
|
|
//这里需要对选择的订单进行筛选 |
|
|
|
//这里需要对选择的订单进行筛选 |
|
|
|
// const info = []; |
|
|
|
// const info = []; |
|
|
|