|
|
@ -15,7 +15,7 @@ |
|
|
|
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> |
|
|
|
<view class=""> |
|
|
|
<comReturnRecord :dataContent="item" :index="index" @removeItem="removeItem(index,item)" |
|
|
|
:isShowFromLocation="false" |
|
|
|
:isShowFromLocation="true" |
|
|
|
@updateData="updateData" @removePack="removePack"> |
|
|
|
</comReturnRecord> |
|
|
|
</view> |
|
|
@ -215,6 +215,7 @@ |
|
|
|
let newDetail = this.createDetailInfo(label, pack); |
|
|
|
newDetail.toLocationCode = toLocation.code; |
|
|
|
newDetail.fromLocationCode = this.rawLocationCode; |
|
|
|
newDetail.locationCode = this.rawLocationCode; |
|
|
|
newDetail.toWarehouseCode = toLocation.warehouseCode; |
|
|
|
itemp.subList.push(newDetail); |
|
|
|
this.detailSource.push(itemp) |
|
|
@ -390,7 +391,6 @@ |
|
|
|
this.showErrorMessage("没有要提交的数据,请先扫描") |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
setFromPrecisionStrategParams() { |
|
|
@ -480,7 +480,7 @@ |
|
|
|
submitItem.productionlineCode = this.productionLineCode; |
|
|
|
submitItem.workStationCode = this.workStationCode; |
|
|
|
|
|
|
|
submitItem.qty = detail.handleQty!=0?detail.handleQty:detail.qty; |
|
|
|
submitItem.qty = detail.handleQty; |
|
|
|
subList.push(submitItem) |
|
|
|
} |
|
|
|
}) |
|
|
@ -533,6 +533,7 @@ |
|
|
|
showCommitSuccessMessage(hint) { |
|
|
|
this.$refs.comMessage.showSuccessMessage(hint, res => { |
|
|
|
this.clearData(); |
|
|
|
this.$refs.scanPopup.initData(); |
|
|
|
}) |
|
|
|
}, |
|
|
|
clearData() { |
|
|
|