Browse Source

修改已经在列表中为重复扫描

lijuncheng0816
lijuncheng 4 months ago
parent
commit
0bf35b1c5b
  1. 4
      src/manifest.json
  2. 2
      src/pages/customerReturn/record/returnRecord.vue
  3. 2
      src/pages/customerReturn/request/customerReturnRequestCreate.vue
  4. 2
      src/pages/deliver/record/deliverRecord.vue
  5. 2
      src/pages/inventoryMove/coms/comMove.vue
  6. 2
      src/pages/inventoryMove/coms/comMoveRecord.vue
  7. 2
      src/pages/issue/record/directIssue.vue
  8. 2
      src/pages/issue/record/directIssue1.vue
  9. 5
      src/pages/issue/record/directIssue2.vue
  10. 2
      src/pages/issue/record/issueRecord.vue
  11. 2
      src/pages/package/record/mergePackageRecord.vue
  12. 2
      src/pages/package/record/overPackageRecord.vue
  13. 2
      src/pages/package/record/splitPackageRecord.vue
  14. 2
      src/pages/productPutaway/record/productPutawayRecord.vue
  15. 2
      src/pages/productPutaway/request/putawayRequestCreate.vue
  16. 2
      src/pages/productReceipt/record/productReceiptRecord.vue
  17. 2
      src/pages/productRecycle/record/productRecycleRecord.vue
  18. 2
      src/pages/productionReceipt/record/productionReceiptRecord.vue
  19. 2
      src/pages/productionReturn/coms/comReturn.vue
  20. 2
      src/pages/productionReturn/record/returnToHold.vue
  21. 2
      src/pages/productionReturn/record/returnToStore.vue
  22. 2
      src/pages/purchaseReturn/record/returnRecord.vue
  23. 2
      src/pages/purchaseReturn/request/returnRequestCreate.vue
  24. 2
      src/pages/putaway/record/putawayRecord.vue
  25. 2
      src/pages/putaway/record/putawayRecord_bat.vue
  26. 2
      src/pages/putaway/request/putawayRequestCreate.vue
  27. 2
      src/pages/repleinsh/record/directRepleinshRecord.vue
  28. 2
      src/pages/repleinsh/record/repleinshRecord.vue
  29. 2
      src/pages/scrap/record/scrapRecord.vue
  30. 2
      src/pages/scrap/request/scrapRequestCreate.vue
  31. 2
      src/pages/transfer/coms/comTransferRecord.vue
  32. 2
      src/pages/transfer/record/deliverRecord.vue
  33. 2
      src/pages/transfer/record/receiptRecord.vue
  34. 2
      src/pages/unPlanned/record/issueRecord.vue
  35. 2
      src/pages/unPlanned/request/issueRequestCreate.vue

4
src/manifest.json

@ -3,8 +3,8 @@
"package" : "uni.UNI43932FE", "package" : "uni.UNI43932FE",
"appid" : "__UNI__C9CF4BF", "appid" : "__UNI__C9CF4BF",
"description" : "", "description" : "",
"versionName" : "1.0.51", "versionName" : "1.0.52",
"versionCode" : 51, "versionCode" : 52,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

2
src/pages/customerReturn/record/returnRecord.vue

@ -168,7 +168,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/customerReturn/request/customerReturnRequestCreate.vue

@ -193,7 +193,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/deliver/record/deliverRecord.vue

@ -192,7 +192,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/inventoryMove/coms/comMove.vue

@ -228,7 +228,7 @@
newDetail.toInventoryStatus = this.toInventoryStatus newDetail.toInventoryStatus = this.toInventoryStatus
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
this.showErrorMessage(balance.packingNumber + "已经在列表中") this.showErrorMessage(balance.packingNumber + "重复扫描")
} }
} }
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);

2
src/pages/inventoryMove/coms/comMoveRecord.vue

@ -282,7 +282,7 @@
newDetail.fromLocationCode = result.fromLocationCode newDetail.fromLocationCode = result.fromLocationCode
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
this.showErrorMessage(balance.packingNumber + "已经在列表中") this.showErrorMessage(balance.packingNumber + "重复扫描")
} }
} }
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);

2
src/pages/issue/record/directIssue.vue

@ -248,7 +248,7 @@
this.scanPopupGetFocus() this.scanPopupGetFocus()
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + detail.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + detail.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/issue/record/directIssue1.vue

@ -206,7 +206,7 @@
var itemDetail = item.subList.find(r => r.packingNumber == balance.packingNumber && r.batch == var itemDetail = item.subList.find(r => r.packingNumber == balance.packingNumber && r.batch ==
balance.batch); balance.batch);
if (itemDetail != undefined) { if (itemDetail != undefined) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
// calcTreeHandleQty(this.detailSource); // calcTreeHandleQty(this.detailSource);

5
src/pages/issue/record/directIssue2.vue

@ -353,8 +353,7 @@
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + detail.packingNumber + "]批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + detail.packingNumber + "]批次[" + balance.batch + "]重复扫描 }
}
} }
} }
}, },
@ -401,7 +400,7 @@
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/issue/record/issueRecord.vue

@ -304,7 +304,7 @@
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + detail.packingNumber + "]批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + detail.packingNumber + "]批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/package/record/mergePackageRecord.vue

@ -168,7 +168,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/package/record/overPackageRecord.vue

@ -309,7 +309,7 @@
this.scanPopupGetFocus() this.scanPopupGetFocus()
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + detail.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + detail.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/package/record/splitPackageRecord.vue

@ -219,7 +219,7 @@
this.closeScanPopup() this.closeScanPopup()
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + detail.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + detail.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

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

@ -182,7 +182,7 @@
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch +
"]已经在列表中") "]重复扫描")
} }
} }
} }

2
src/pages/productPutaway/request/putawayRequestCreate.vue

@ -206,7 +206,7 @@
// }); // });
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/productReceipt/record/productReceiptRecord.vue

@ -170,7 +170,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + label.packingNumber + "批次[" + label.batch + "]已经在列表中") this.showErrorMessage("箱码[" + label.packingNumber + "批次[" + label.batch + "]重复扫描")
} }
} }
} }

2
src/pages/productRecycle/record/productRecycleRecord.vue

@ -204,7 +204,7 @@
let newDetail = createDetailInfo(balance, pack); let newDetail = createDetailInfo(balance, pack);
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
this.showErrorMessage('箱码[' + balance.packingNumber + "]已经在列表中") this.showErrorMessage('箱码[' + balance.packingNumber + "]重复扫描")
} }
} }
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);

2
src/pages/productionReceipt/record/productionReceiptRecord.vue

@ -155,7 +155,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/productionReturn/coms/comReturn.vue

@ -199,7 +199,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + label.packingNumber + "批次[" + label.batch + "]已经在列表中") this.showErrorMessage("箱码[" + label.packingNumber + "批次[" + label.batch + "]重复扫描")
} }
} }
} }

2
src/pages/productionReturn/record/returnToHold.vue

@ -237,7 +237,7 @@
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + label.packingNumber + "批次[" + label.batch + "]已经在列表中") this.showErrorMessage("箱码[" + label.packingNumber + "批次[" + label.batch + "]重复扫描")
} }
} }
} }

2
src/pages/productionReturn/record/returnToStore.vue

@ -250,7 +250,7 @@
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + label.packingNumber + "批次[" + label.batch + "]已经在列表中") this.showErrorMessage("箱码[" + label.packingNumber + "批次[" + label.batch + "]重复扫描")
} }
} }
} }

2
src/pages/purchaseReturn/record/returnRecord.vue

@ -207,7 +207,7 @@
let newDetail = createDetailInfo(balance, pack); let newDetail = createDetailInfo(balance, pack);
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
this.showErrorMessage('箱码[' + balance.packingNumber + "]已经在列表中") this.showErrorMessage('箱码[' + balance.packingNumber + "]重复扫描")
} }
} }
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);

2
src/pages/purchaseReturn/request/returnRequestCreate.vue

@ -174,7 +174,7 @@
let newDetail = createDetailInfo(balance, pack); let newDetail = createDetailInfo(balance, pack);
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
this.showErrorMessage('箱码[' + balance.packingNumber + "]已经在列表中") this.showErrorMessage('箱码[' + balance.packingNumber + "]重复扫描")
} }
} }
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);

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

@ -205,7 +205,7 @@
}); });
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/putaway/record/putawayRecord_bat.vue

@ -188,7 +188,7 @@
var itemDetail = item.subList.find(r => r.packingNumber == balance.packingNumber && r.batch == var itemDetail = item.subList.find(r => r.packingNumber == balance.packingNumber && r.batch ==
balance.batch); balance.batch);
if(itemDetail!=undefined){ if(itemDetail!=undefined){
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
// calcTreeHandleQty(this.detailSource); // calcTreeHandleQty(this.detailSource);

2
src/pages/putaway/request/putawayRequestCreate.vue

@ -201,7 +201,7 @@
// }); // });
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/repleinsh/record/directRepleinshRecord.vue

@ -273,7 +273,7 @@
this.scanPopupGetFocus() this.scanPopupGetFocus()
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + detail.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + detail.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/repleinsh/record/repleinshRecord.vue

@ -341,7 +341,7 @@
this.scanPopupGetFocus() this.scanPopupGetFocus()
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + detail.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + detail.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/scrap/record/scrapRecord.vue

@ -166,7 +166,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/scrap/request/scrapRequestCreate.vue

@ -173,7 +173,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/transfer/coms/comTransferRecord.vue

@ -170,7 +170,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/transfer/record/deliverRecord.vue

@ -160,7 +160,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/transfer/record/receiptRecord.vue

@ -149,7 +149,7 @@
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {
this.showErrorMessage("箱码[" + label.packingNumber + "批次[" + balance.batch + "]已经在列表中") this.showErrorMessage("箱码[" + label.packingNumber + "批次[" + balance.batch + "]重复扫描")
} }
} }
} }

2
src/pages/unPlanned/record/issueRecord.vue

@ -169,7 +169,7 @@
let newDetail = createDetailInfo(balance, pack); let newDetail = createDetailInfo(balance, pack);
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
this.showErrorMessage(result.packingNumber + "已经在列表中") this.showErrorMessage(result.packingNumber + "重复扫描")
} }
} }
this.calcHandleQty(); this.calcHandleQty();

2
src/pages/unPlanned/request/issueRequestCreate.vue

@ -181,7 +181,7 @@
let newDetail = createDetailInfo(balance, pack); let newDetail = createDetailInfo(balance, pack);
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
this.showErrorMessage(result.packingNumber + "已经在列表中") this.showErrorMessage(result.packingNumber + "重复扫描")
} }
} }
this.calcHandleQty(); this.calcHandleQty();

Loading…
Cancel
Save