|
@@ -1067,8 +1067,16 @@ export default {
|
|
|
cancelSubmit(record) {
|
|
|
console.log('取消订单id:', record.id)
|
|
|
this.$nextTick(() => {
|
|
|
+ var grouyIdList = []
|
|
|
this.loading = true
|
|
|
- cancelSubmitShipment({ submitListId: this.selectedRowKeys, type: '2' }).then(res => {
|
|
|
+ this.shipmentListData.map(item =>{
|
|
|
+ this.selectedRowKeys.map(e=>{
|
|
|
+ if(item.itemIds == e){
|
|
|
+ grouyIdList.push(item.groupId)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ cancelSubmitShipment({ submitListId: this.selectedRowKeys, type: '2',grouyIdList:grouyIdList }).then(res => {
|
|
|
this.loading = false
|
|
|
if (res.success) {
|
|
|
// this.shipmentListData.submitStatus = '0'
|