|
|
|
@ -1362,6 +1362,8 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
// 提交(配送内容) |
|
|
|
|
async onSubmitOrder() { |
|
|
|
|
// console.log(this.reservationData,'表格参数'); |
|
|
|
|
// return |
|
|
|
|
try { |
|
|
|
|
this.loadingObj.submitBtnLoading = true; |
|
|
|
|
|
|
|
|
@ -1481,6 +1483,7 @@ export default {
|
|
|
|
|
} |
|
|
|
|
console.log('this.data------------>', this.data); |
|
|
|
|
if (!this.deliveryListId) { |
|
|
|
|
// this.reservationData.map(item=>item.id).join(',') |
|
|
|
|
data.reservationIds = this.reservationIds; |
|
|
|
|
data.reservationIds = this.reservationData.map(val => val.id).join(','); |
|
|
|
|
if (this.reservationData.length < 1) { |
|
|
|
@ -1490,7 +1493,7 @@ export default {
|
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log('>>>>>>>>>>>>', data); |
|
|
|
|
const res = await deliveryTask(data); |
|
|
|
|
|
|
|
|
|