|
@@ -839,7 +839,15 @@ export default {
|
|
|
// return
|
|
|
// }
|
|
|
// }
|
|
|
- submitShipment({ submitListId: this.selectedRowKeys, type: '1' }).then(res => {
|
|
|
+ var grouyIdList = []
|
|
|
+ this.shipmentListData.map(item =>{
|
|
|
+ this.selectedRowKeys.map(e=>{
|
|
|
+ if(item.itemIds == e){
|
|
|
+ grouyIdList.push(item.groupId)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ submitShipment({ submitListId: this.selectedRowKeys, type: '1' ,grouyIdList:grouyIdList}).then(res => {
|
|
|
if (res.success) {
|
|
|
console.log('提交成功,单据状态改为【已提交】')
|
|
|
this.shipmentListData.submitStatus = '1'
|