Browse Source

上架模块fromInventoryStatus

hella_online_20240829
wangyufei 5 months ago
parent
commit
9baefe421a
  1. 2
      src/mycomponents/package/packageCard.vue
  2. 2
      src/mycomponents/recommend/recommend.vue
  3. 4
      src/mycomponents/scan/winScanPackAndLocation.vue
  4. 1
      src/pages/productPutaway/job/productPutawayDetail.vue
  5. 2
      src/pages/productPutaway/record/productPutawayRecord.vue
  6. 2
      src/pages/productReceipt/job/fgProductReceiptDetail.vue
  7. 3
      src/pages/putaway/job/putawayDetail.vue
  8. 3
      src/pages/putaway/record/putawayRecord.vue

2
src/mycomponents/package/packageCard.vue

@ -19,7 +19,7 @@
<recommend-qty v-if="dataContent.handleQty==null || dataContent.handleQty==undefined" :dataContent="dataContent" <recommend-qty v-if="dataContent.handleQty==null || dataContent.handleQty==undefined" :dataContent="dataContent"
:isShowStdPack="false" :isShowStatus="isShowStatus"></recommend-qty> :isShowStdPack="false" :isShowStatus="isShowStatus"></recommend-qty>
<compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)" <compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)"
:handleQty="Number(dataContent.handleQty)" :isShowStdPack="false"> :handleQty="Number(dataContent.handleQty)" :isShowStdPack="false" :isShowStatus="isShowStatus">
</compare-qty> </compare-qty>
<view class="uni-flex uni-row center" style="vertical-align:center ;" v-if="isDevlement()"> <view class="uni-flex uni-row center" style="vertical-align:center ;" v-if="isDevlement()">

2
src/mycomponents/recommend/recommend.vue

@ -18,7 +18,7 @@
<recommend-qty v-if="detail.handleQty==null || detail.handleQty==undefined" :dataContent="detail" <recommend-qty v-if="detail.handleQty==null || detail.handleQty==undefined" :dataContent="detail"
:isShowStdPack="false" :isShowStatus="isShowStatus"></recommend-qty> :isShowStdPack="false" :isShowStatus="isShowStatus"></recommend-qty>
<compare-qty v-else :dataContent="detail" :recommendQty="Number(detail.qty)" <compare-qty v-else :dataContent="detail" :recommendQty="Number(detail.qty)"
:handleQty="Number(detail.handleQty)" :isShowStdPack="false"> :handleQty="Number(detail.handleQty)" :isShowStdPack="false" :isShowStatus="isShowStatus">
</compare-qty> </compare-qty>
<view class="uni-flex uni-row center" style="vertical-align:center ;" v-if="isDevlement()"> <view class="uni-flex uni-row center" style="vertical-align:center ;" v-if="isDevlement()">

4
src/mycomponents/scan/winScanPackAndLocation.vue

@ -284,7 +284,11 @@
if (this.allowNullBalance) { if (this.allowNullBalance) {
this.allowNoneBalance(datas); this.allowNoneBalance(datas);
} else if (this.noShowBalanceMessage) { } else if (this.noShowBalanceMessage) {
if(Array.isArray(datas)){
this.countCallBack(datas[0]);
}else{
this.countCallBack(datas); this.countCallBack(datas);
}
} else { } else {
this.mustHavaBalance(datas); this.mustHavaBalance(datas);
} }

1
src/pages/productPutaway/job/productPutawayDetail.vue

@ -346,6 +346,7 @@
itemDetail.handleQty = Number(result.balance.qty) itemDetail.handleQty = Number(result.balance.qty)
itemDetail.balance = result.balance; itemDetail.balance = result.balance;
itemDetail.toInventoryStatus = result.balance.inventoryStatus; itemDetail.toInventoryStatus = result.balance.inventoryStatus;
itemDetail.fromInventoryStatus = result.balance.inventoryStatus;
itemDetail.balance.balanceQty = Number(result.balance.qty) itemDetail.balance.balanceQty = Number(result.balance.qty)
itemDetail.balance.packQty = Number(result.package.packQty) itemDetail.balance.packQty = Number(result.package.packQty)
itemDetail.balance.packUnit = result.package.packUnit itemDetail.balance.packUnit = result.package.packUnit

2
src/pages/productPutaway/record/productPutawayRecord.vue

@ -153,6 +153,7 @@
if (item == undefined) { if (item == undefined) {
var itemp = createItemInfo(balance, pack); var itemp = createItemInfo(balance, pack);
let newDetail = createDetailInfo(balance, pack); // let newDetail = createDetailInfo(balance, pack); //
newDetail.fromInventoryStatus = balance.inventoryStatus;
itemp.subList.push(newDetail); itemp.subList.push(newDetail);
this.detailSource.push(itemp) this.detailSource.push(itemp)
} else { } else {
@ -166,6 +167,7 @@
}) })
if (detail == undefined) { if (detail == undefined) {
let newDetail = createDetailInfo(balance, pack); let newDetail = createDetailInfo(balance, pack);
newDetail.fromInventoryStatus = balance.inventoryStatus;
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {

2
src/pages/productReceipt/job/fgProductReceiptDetail.vue

@ -381,6 +381,8 @@
barcodeString: item.barcodeString, // barcodeString: item.barcodeString, //
itemCode: item.itemCode || '', // itemCode: item.itemCode || '', //
itemName: item.itemName || '', // itemName: item.itemName || '', //
packName: item.packName || '', //
itemType: item.itemType || '', //
itemDesc1: item.itemDesc1 || '', // itemDesc1: item.itemDesc1 || '', //
relateNumber: item.relateNumber || '', //relateNumber relateNumber: item.relateNumber || '', //relateNumber
batch: item.batch || '', // batch: item.batch || '', //

3
src/pages/putaway/job/putawayDetail.vue

@ -345,6 +345,9 @@
scanedLength++; scanedLength++;
} }
}) })
//
itemDetail.fromInventoryStatus = result.balance.inventoryStatus;
if (itemDetail.scaned && scanedLength == itemDetail.packList.length) { if (itemDetail.scaned && scanedLength == itemDetail.packList.length) {
this.showMessage("箱码【" + packingNumber + "】已经扫描") this.showMessage("箱码【" + packingNumber + "】已经扫描")
} else { } else {

3
src/pages/putaway/record/putawayRecord.vue

@ -172,6 +172,7 @@
newDetail.poLine=poLine; newDetail.poLine=poLine;
newDetail.poNumber=poNumber; newDetail.poNumber=poNumber;
newDetail.supplierCode=supplierCode; newDetail.supplierCode=supplierCode;
newDetail.fromInventoryStatus = balance.inventoryStatus;
itemp.subList.push(newDetail); itemp.subList.push(newDetail);
this.detailSource.push(itemp) this.detailSource.push(itemp)
@ -195,6 +196,8 @@
newDetail.poLine=poLine; newDetail.poLine=poLine;
newDetail.poNumber=poNumber; newDetail.poNumber=poNumber;
newDetail.supplierCode=supplierCode; newDetail.supplierCode=supplierCode;
newDetail.fromInventoryStatus = balance.inventoryStatus;
item.subList.push(newDetail); item.subList.push(newDetail);
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);
}); });

Loading…
Cancel
Save