|
@ -72,7 +72,8 @@ |
|
|
<view class="text_black">{{ item.recommendLocationCode }}</view> |
|
|
<view class="text_black">{{ item.recommendLocationCode }}</view> |
|
|
</uni-th> |
|
|
</uni-th> |
|
|
<uni-th width="120" align="center"> |
|
|
<uni-th width="120" align="center"> |
|
|
<view v-if="item.scaned" class="text_black">{{ item.handledFromLocationCode }} |
|
|
<view v-if="item.scaned" class="text_black"> |
|
|
|
|
|
{{ item.handledFromLocationCode }} |
|
|
</view> |
|
|
</view> |
|
|
</uni-th> |
|
|
</uni-th> |
|
|
</uni-tr> |
|
|
</uni-tr> |
|
@ -274,13 +275,30 @@ |
|
|
item.handledLot = that.balancesItem.lot; |
|
|
item.handledLot = that.balancesItem.lot; |
|
|
item.handledFromLocationArea = that.balancesItem.locationCode; |
|
|
item.handledFromLocationArea = that.balancesItem.locationCode; |
|
|
item.handledQty = that.balancesItem.qty; |
|
|
item.handledQty = that.balancesItem.qty; |
|
|
|
|
|
|
|
|
// "toLocationCode": "string", |
|
|
|
|
|
// "toLocationArea": "string", |
|
|
// ================================== |
|
|
// "toLocationGroup": "string", |
|
|
// item.recommendFromLocationCode = string; |
|
|
// "toLocationErpCode": "string", |
|
|
// item.recommendFromLocationArea = string; |
|
|
// "toWarehouseCode": "string", |
|
|
// item.recommendFromLocationGroup = string; |
|
|
// "onTheWayLocationCode": "string" |
|
|
// item.recommendFromLocationErpCode = string; |
|
|
|
|
|
// item.recommendFromWarehouseCode = string; |
|
|
|
|
|
// item.uom = string; |
|
|
|
|
|
// item.recommendQty = 0; |
|
|
|
|
|
// item.handledFromLocationCode = string; |
|
|
|
|
|
// item.handledFromLocationArea = string; |
|
|
|
|
|
// item.handledFromLocationGroup = string; |
|
|
|
|
|
// item.handledFromLocationErpCode = string; |
|
|
|
|
|
// item.handledFromWarehouseCode = string; |
|
|
|
|
|
// item.handledQty = that.balancesItem.qty; |
|
|
|
|
|
// item.toLocationCode = string; |
|
|
|
|
|
// item.toLocationArea = string; |
|
|
|
|
|
// item.toLocationGroup = string; |
|
|
|
|
|
// item.toLocationErpCode = string; |
|
|
|
|
|
// item.toWarehouseCode = string; |
|
|
|
|
|
// item.onTheWayLocationCode = string; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.getScanCount(); |
|
|
this.getScanCount(); |
|
|
this.closeScanPopup(); |
|
|
this.closeScanPopup(); |
|
|
that.$forceUpdate(); |
|
|
that.$forceUpdate(); |
|
@ -343,21 +361,20 @@ |
|
|
title: "提交中..." |
|
|
title: "提交中..." |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
that.datacontent.company = localStorage.company; |
|
|
|
|
|
let params = JSON.stringify(that.datacontent); |
|
|
let params = JSON.stringify(that.datacontent); |
|
|
console.log(params); |
|
|
console.log(params); |
|
|
finshDeliverJob(that.id, params) |
|
|
// finshDeliverJob(that.id, params) |
|
|
.then(res => { |
|
|
// .then(res => { |
|
|
uni.hideLoading(); |
|
|
// uni.hideLoading(); |
|
|
if (res != null) { |
|
|
// if (res != null) { |
|
|
that.showCommitSuccessMessage(); |
|
|
// that.showCommitSuccessMessage(); |
|
|
that.backJobList(1000); |
|
|
// that.backJobList(1000); |
|
|
} |
|
|
// } |
|
|
}) |
|
|
// }) |
|
|
.catch(err => { |
|
|
// .catch(err => { |
|
|
this.showMessage(err.message); |
|
|
// this.showMessage(err.message); |
|
|
uni.hideLoading(); |
|
|
// uni.hideLoading(); |
|
|
}); |
|
|
// }); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//返回任务列表页 |
|
|
//返回任务列表页 |
|
|