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