@logwire/logwire-wms-pda-ui 1.2.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +117 -117
- package/dist/BlockInfo.1c8ece6a.mjs +47 -0
- package/dist/InboundQualityExecuteView.3c816a1e.mjs +23 -0
- package/dist/InboundQualityTaskListView.14185db1.mjs +23 -0
- package/dist/InboundReceiveAllocSkuExecuteView.ad248f9e.mjs +23 -0
- package/dist/InboundReceiveAllocSnExecuteView.c8a4abc8.mjs +23 -0
- package/dist/InboundReceiveAllocTabListView.9639b998.mjs +23 -0
- package/dist/InboundReceiveCaseExecuteView.3f937231.mjs +217 -0
- package/dist/InboundReceiveCaseScanView.a88b4178.mjs +83 -0
- package/dist/InboundReceiveLpnBatchExecuteView.6034a9e1.mjs +23 -0
- package/dist/InboundReceiveLpnExecuteView.d3116e23.mjs +23 -0
- package/dist/InboundReceiveLpnScanView.4db78898.mjs +23 -0
- package/dist/InboundReceiveRandomSkuExecuteView.1b6e0637.mjs +23 -0
- package/dist/InboundReceiveRandomSkuScanView.1821d2c4.mjs +23 -0
- package/dist/InboundReceiveRandomSkuSnExecuteView.2f3cfcea.mjs +23 -0
- package/dist/InboundReceiveSkuAdvanceView.a6b4568f.mjs +23 -0
- package/dist/InboundReceiveSkuDirectView.811bf351.mjs +23 -0
- package/dist/InboundReceiveSkuScanView.5e614e01.mjs +23 -0
- package/dist/LwInboundSortingAsnView.3e1106d7.mjs +23 -0
- package/dist/LwInboundSortingByContainerView.33299f9f.mjs +23 -0
- package/dist/LwInboundSortingByOrderView.2f8db636.mjs +23 -0
- package/dist/LwInboundSortingIndexView.c9ed07c1.mjs +23 -0
- package/dist/LwOutboundReprintBoxView.72539c87.mjs +180 -0
- package/dist/LwOutboundStockoutExecuteView.3fe57cee.mjs +76 -0
- package/dist/LwOutboundStockoutListView.d9a1e1bd.mjs +123 -0
- package/dist/MoveRandomWholeCaseView.c2742890.mjs +20 -0
- package/dist/MoveTaskWholeCaseDownView.5250c675.mjs +20 -0
- package/dist/MoveTaskWholeCaseUpView.824a2aee.mjs +20 -0
- package/dist/MoveTaskWholeIndexView.4de7edfc.mjs +20 -0
- package/dist/OutboundBlockBoxListView.dedc1292.mjs +83 -0
- package/dist/OutboundBlockExecuteView.db1ab452.mjs +166 -0
- package/dist/action.017a327c.mjs +26 -0
- package/dist/action.01da8ae9.mjs +26 -0
- package/dist/action.02bbb588.mjs +26 -0
- package/dist/action.034382ff.mjs +26 -0
- package/dist/action.04ee34d5.mjs +26 -0
- package/dist/action.0a1d10ad.mjs +26 -0
- package/dist/action.0cfc710c.mjs +26 -0
- package/dist/action.2baf8260.mjs +26 -0
- package/dist/action.4a3773c1.mjs +26 -0
- package/dist/action.4dc11c91.mjs +26 -0
- package/dist/action.54fe5fe2.mjs +26 -0
- package/dist/action.5aa67994.mjs +26 -0
- package/dist/action.5bb65cf2.mjs +22 -0
- package/dist/action.68f0c9ef.mjs +26 -0
- package/dist/action.6ba45e3b.mjs +26 -0
- package/dist/action.6be6f5d3.mjs +26 -0
- package/dist/action.7424605b.mjs +26 -0
- package/dist/action.88067120.mjs +26 -0
- package/dist/action.8e26827f.mjs +26 -0
- package/dist/action.8f655f2e.mjs +26 -0
- package/dist/action.8ffbd19f.mjs +26 -0
- package/dist/action.95aa8c94.mjs +26 -0
- package/dist/action.b0306402.mjs +26 -0
- package/dist/action.c1816f01.mjs +26 -0
- package/dist/action.ec9705f5.mjs +26 -0
- package/dist/action.eff389f9.mjs +26 -0
- package/dist/action.f03dbf79.mjs +26 -0
- package/dist/action.f8726b24.mjs +22 -0
- package/dist/add.2e5ce839.mjs +26 -0
- package/dist/addOrder.4f228676.mjs +26 -0
- package/dist/allCheck.c5c9395b.mjs +26 -0
- package/dist/aloneAction.43f83144.mjs +26 -0
- package/dist/boxAction.3d4eb6d9.mjs +26 -0
- package/dist/caseAction.74093bb0.mjs +26 -0
- package/dist/console.4232cad5.mjs +26 -0
- package/dist/consoleInfo.3eefa9b6.mjs +26 -0
- package/dist/content.44aa1b2c.mjs +26 -0
- package/dist/contentInfo.4b40e2e7.mjs +26 -0
- package/dist/customer.cc356336.mjs +26 -0
- package/dist/device.807dfeb7.mjs +26 -0
- package/dist/generate.72d6586b.mjs +26 -0
- package/dist/home.862fcd6d.mjs +22 -0
- package/dist/index.00779596.mjs +26 -0
- package/dist/index.11007dde.mjs +26 -0
- package/dist/index.1156af3a.mjs +26 -0
- package/dist/index.15f6f203.mjs +26 -0
- package/dist/index.1accff9d.mjs +26 -0
- package/dist/index.1fa9c485.mjs +26 -0
- package/dist/index.2186bd36.mjs +26 -0
- package/dist/index.22aef932.mjs +60561 -0
- package/dist/index.255f016c.mjs +26 -0
- package/dist/index.2833a061.mjs +26 -0
- package/dist/index.3330acfb.mjs +26 -0
- package/dist/index.3e28f529.mjs +26 -0
- package/dist/index.41e9615a.mjs +26 -0
- package/dist/index.5307f035.mjs +26 -0
- package/dist/index.53edfcba.mjs +22 -0
- package/dist/index.585c56c2.mjs +26 -0
- package/dist/index.5c3a5656.mjs +26 -0
- package/dist/index.5def9da7.mjs +26 -0
- package/dist/index.5ed3d1b8.mjs +26 -0
- package/dist/index.65987267.mjs +25 -0
- package/dist/index.68be1564.mjs +26 -0
- package/dist/index.69a0e492.mjs +58 -0
- package/dist/index.69c12a25.mjs +26 -0
- package/dist/index.6c35d72c.mjs +26 -0
- package/dist/index.6ce411ca.mjs +26 -0
- package/dist/index.88defcf5.mjs +26 -0
- package/dist/index.8fb5154c.mjs +26 -0
- package/dist/index.962f2cd9.mjs +45 -0
- package/dist/index.98d8e385.mjs +26 -0
- package/dist/index.9b2f3427.mjs +26 -0
- package/dist/index.9cc1b8cb.mjs +26 -0
- package/dist/index.a4868e2e.mjs +26 -0
- package/dist/index.af8fef71.mjs +26 -0
- package/dist/index.b13b9084.mjs +26 -0
- package/dist/index.b28a704f.mjs +26 -0
- package/dist/index.baeda2e1.mjs +26 -0
- package/dist/index.bc0f7742.mjs +26 -0
- package/dist/index.bcce7d7e.mjs +26 -0
- package/dist/index.bff4ac60.mjs +22 -0
- package/dist/index.c47c55d2.mjs +26 -0
- package/dist/index.c53a8678.mjs +22 -0
- package/dist/index.d1f6dd66.mjs +76 -0
- package/dist/index.db5c6017.mjs +26 -0
- package/dist/index.ddc65ec9.mjs +26 -0
- package/dist/index.de826989.mjs +38 -0
- package/dist/index.e751b3ad.mjs +26 -0
- package/dist/index.eccf6574.mjs +26 -0
- package/dist/index.es.js +5 -0
- package/dist/index.f35febce.mjs +26 -0
- package/dist/index.f82b4518.mjs +26 -0
- package/dist/index.fac867ec.mjs +26 -0
- package/dist/index.umd.js +24 -0
- package/dist/language.0238a2bb.mjs +26 -0
- package/dist/large.c0e2e5e2.mjs +26 -0
- package/dist/line.d6075059.mjs +26 -0
- package/dist/lpn.407d85bd.mjs +26 -0
- package/dist/lpnAction.53153261.mjs +26 -0
- package/dist/lpnAction.e02fa075.mjs +26 -0
- package/dist/lpnBatchAction.6616460e.mjs +26 -0
- package/dist/menuOne.01b2c0b4.mjs +38 -0
- package/dist/menuTwo.35fcbc35.mjs +36 -0
- package/dist/msg.3587e42c.mjs +26 -0
- package/dist/newBale.e62943b8.mjs +26 -0
- package/dist/newBale.fa567c88.mjs +26 -0
- package/dist/newLpn.2f06a7fb.mjs +26 -0
- package/dist/notAloneAction.12f5c1f0.mjs +26 -0
- package/dist/over.0897f137.mjs +26 -0
- package/dist/page.051e1c8c.mjs +26 -0
- package/dist/print.34afe6a8.mjs +26 -0
- package/dist/printLabel.efb743ab.mjs +26 -0
- package/dist/queryByLocationCode.5abdd79f.mjs +26 -0
- package/dist/queryBySkuCode.9b53e304.mjs +26 -0
- package/dist/sample.7c395c51.mjs +26 -0
- package/dist/search.49ecd7f6.mjs +26 -0
- package/dist/skuAction.8ed7a1c3.mjs +26 -0
- package/dist/skuCheck.279b82b0.mjs +26 -0
- package/dist/smallPage.dde66fc7.mjs +26 -0
- package/dist/sowAction.b1db1fc0.mjs +26 -0
- package/dist/style.css +1 -0
- package/dist/taskEntrance.7fe227a2.mjs +26 -0
- package/dist/timezone.6ced3ba0.mjs +26 -0
- package/dist/warehouse.94715780.mjs +26 -0
- package/package.json +57 -43
- package/src/api/common/Msg.js +34 -34
- package/src/api/common/Print.js +9 -1
- package/src/api/common/Task.js +16 -0
- package/src/api/common/UUID.js +2 -0
- package/src/api/common/User.js +15 -0
- package/src/api/common/barcode.js +165 -165
- package/src/api/common/common.js +72 -48
- package/src/api/inbound/index.js +3 -1
- package/src/api/inbound/printLabel.js +34 -0
- package/src/api/inbound/quality.js +1 -1
- package/src/api/inbound/receive.js +20 -0
- package/src/api/inbound/sorting.js +198 -0
- package/src/api/inner/check/action.js +32 -0
- package/src/api/inner/count/console.js +61 -0
- package/src/api/inner/dead/action.js +24 -24
- package/src/api/inner/dead/large.js +78 -78
- package/src/api/inner/dead/query.js +17 -0
- package/src/api/inner/dead/small.js +8 -0
- package/src/api/inner/disposeAbnormal/action.js +24 -0
- package/src/api/inner/materialApply/index.js +1 -1
- package/src/api/inner/move/quickMove.js +51 -0
- package/src/api/inner/move/taskMove.js +176 -19
- package/src/api/inner/quality/action.js +2 -2
- package/src/api/inner/quality/sample.js +9 -0
- package/src/api/inner/snCheck/snCheck.js +58 -0
- package/src/api/inventory/inventory.js +23 -0
- package/src/api/outbound/bale/aloneBale/action.js +123 -123
- package/src/api/outbound/bale/aloneBale/index.js +24 -24
- package/src/api/outbound/bale/baleChange/action.js +51 -51
- package/src/api/outbound/bale/baleChange/addCheck.js +33 -33
- package/src/api/outbound/bale/checkBale/action.js +141 -132
- package/src/api/outbound/bale/checkBale/index.js +52 -52
- package/src/api/outbound/bale/packTableConfig.js +25 -0
- package/src/api/outbound/handover/index.js +42 -33
- package/src/api/outbound/handover/lpn.js +33 -33
- package/src/api/outbound/handover/mixin.js +42 -42
- package/src/api/outbound/handover/pageBox.js +24 -24
- package/src/api/outbound/lpnPack/index.js +79 -0
- package/src/api/outbound/packCollect/index.js +24 -0
- package/src/api/outbound/pick/sow.js +9 -0
- package/src/api/outbound/pickMerge/index.js +9 -0
- package/src/api/outbound/reprint-box/index.js +9 -0
- package/src/api/outbound/sow/action.js +9 -0
- package/src/api/outbound/sow/index.js +18 -0
- package/src/api/outbound/sowCollect/index.js +24 -0
- package/src/api/outbound/summary/box.js +9 -0
- package/src/api/process/order.js +149 -0
- package/src/api/process/work_process.js +17 -0
- package/src/api/process/work_process_screen.js +27 -0
- package/src/api/process/work_table.js +120 -0
- package/src/api/receive/putaway.js +32 -1
- package/src/assets/css/changeVant.less +29 -29
- package/src/assets/css/global.less +468 -428
- package/src/assets/css/var.less +99 -99
- package/src/assets/css//345/205/250/345/261/200/346/240/267/345/274/217.md +1 -1
- package/src/assets/img/lwInputIcon/scanIcon.png +0 -0
- package/src/assets/img/lwLoginModel/captcha.png +0 -0
- package/src/assets/img/menu/packCollect.png +0 -0
- package/src/assets/img/menu/sorting.png +0 -0
- package/src/assets/img/menu/sowCollect.png +0 -0
- package/src/components/module/AbnormalInput/index.js +11 -11
- package/src/components/module/AbnormalInput/index.vue +322 -322
- package/src/components/module/AbnormalInput//345/274/202/345/270/270/350/276/223/345/205/245/346/250/241/345/235/227.md +1 -1
- package/src/components/module/InnerAbnormal/index.js +11 -11
- package/src/components/module/InnerAbnormal/index.vue +120 -120
- package/src/components/module/InnerAbnormal//345/234/250/345/272/223/345/274/202/345/270/270/346/250/241/345/235/227.md +1 -1
- package/src/components/module/Login/index.vue +84 -5
- package/src/components/module/Login//347/231/273/345/275/225/346/250/241/345/235/227.md +1 -1
- package/src/components/module/Lot/index.vue +205 -205
- package/src/components/module/Lot//346/211/271/346/254/241/345/261/236/346/200/247.md +4 -4
- package/src/components/module/LotLook/index.vue +93 -93
- package/src/components/module/LotLook//346/225/260/346/215/256/346/237/245/347/234/213.md +3 -3
- package/src/components/module/Menu//350/217/234/345/215/225/346/240/217.md +1 -1
- package/src/components/module/MsgItem/index.vue +124 -124
- package/src/components/module/MsgItem//346/266/210/346/201/257/345/210/227/350/241/250/345/217/212/345/210/206/351/241/265/346/250/241/345/235/227.md +1 -1
- package/src/components/module/OffLinePopup/index.js +12 -0
- package/src/components/module/OffLinePopup/index.vue +110 -0
- package/src/components/module/OffLinePopup//344/270/213/347/272/277/347/220/206/347/224/261/345/274/271/346/241/206.md +0 -0
- package/src/components/module/OnLine/index.vue +217 -195
- package/src/components/module/OnLine//344/270/212/344/270/213/347/272/277/347/256/241/347/220/206/346/250/241/345/235/227.md +1 -1
- package/src/components/module/ReceiveAbnormal/index.vue +956 -956
- package/src/components/module/ReceiveAbnormal//346/224/266/350/264/247/345/274/202/345/270/270/346/250/241/345/235/227.md +1 -1
- package/src/components/module/ScanDataList/index.vue +357 -333
- package/src/components/module/ScanDataList//346/211/253/346/217/217/346/225/260/346/215/256/345/261/225/347/244/272/345/217/212/345/210/240/351/231/244.md +2 -2
- package/src/components/module/SkuInfo/index.vue +68 -68
- package/src/components/module/SkuInfo//346/237/245/347/234/213/345/225/206/345/223/201/344/277/241/346/201/257.md +4 -4
- package/src/components/module/SnSearchSku/index.js +11 -0
- package/src/components/module/SnSearchSku/index.vue +150 -0
- package/src/components/module/SnSearchSku//351/200/232/350/277/207/345/272/217/345/210/227/345/217/267/346/220/234/347/264/242/345/225/206/345/223/201/345/217/267.md +2 -0
- package/src/components/module/SystemInfo/index.vue +229 -227
- package/src/components/module/SystemInfo//347/263/273/347/273/237/344/277/241/346/201/257/344/270/216/344/270/212/347/272/277/347/212/266/346/200/201/346/250/241/345/235/227.md +1 -1
- package/src/components/module/index.js +54 -48
- package/src/components/page/common/Device/index.vue +186 -186
- package/src/components/page/common/Language/index.vue +12 -7
- package/src/components/page/common/Login/index.vue +2 -2
- package/src/components/page/common/Msg/index.vue +8 -1
- package/src/components/page/common/My/index.vue +6 -5
- package/src/components/page/common/Print/index.vue +311 -311
- package/src/components/page/common/Task/components/itemContent.vue +74 -0
- package/src/components/page/common/Task/components/itemHeader.vue +61 -0
- package/src/components/page/common/Task/components/lookTaskContentPopup.vue +180 -0
- package/src/components/page/common/Task/components/overTaskPopup.vue +108 -0
- package/src/components/page/common/Task/components/taskItem.vue +87 -0
- package/src/components/page/common/Task/{index.js → index/index.js} +0 -0
- package/src/components/page/common/Task/{index.vue → index/index.vue} +80 -266
- package/src/components/page/common/Task/{ → index/}/344/273/273/345/212/241/351/241/265.md +0 -0
- package/src/components/page/common/Task/searchTask/index.js +11 -0
- package/src/components/page/common/Task/searchTask/index.vue +196 -0
- package/src/components/page/common/Task/searchTask//344/273/273/345/212/241/351/241/265/346/220/234/347/264/242.md +1 -0
- package/src/components/page/common/Timezone/index.js +11 -11
- package/src/components/page/common/Timezone/index.vue +85 -82
- package/src/components/page/common/Warehouse/index.vue +221 -221
- package/src/components/page/common/index.js +45 -42
- package/src/components/page/config/masterLocation/masterLocationConfig/action/index.vue +33 -20
- package/src/components/page/config/masterLocation/masterLocationConfig/index/index.vue +129 -112
- package/src/components/page/config/masterLocation/masterLocationQuery/action/queryBySkuCode.vue +1 -0
- package/src/components/page/config/newProject/action/index.vue +16 -24
- package/src/components/page/count/components/CountBoard.vue +6 -1
- package/src/components/page/count/components/RandomCount.vue +168 -154
- package/src/components/page/count/console/components/itemContent.vue +74 -0
- package/src/components/page/count/console/components/itemHeader.vue +61 -0
- package/src/components/page/count/console/components/lookTaskContentPopup.vue +180 -0
- package/src/components/page/count/console/components/overTaskPopup.vue +108 -0
- package/src/components/page/count/console/components/randomCountItem.vue +146 -0
- package/src/components/page/count/console/components/taskItem.vue +87 -0
- package/src/components/page/count/console/index/index.js +11 -0
- package/src/components/page/count/console/index/index.vue +922 -0
- package/src/components/page/count/console/index//347/233/230/347/202/271/346/216/247/345/210/266/345/217/260.md +0 -0
- package/src/components/page/count/index.js +4 -0
- package/src/components/page/count/inv/action/index.vue +64 -10
- package/src/components/page/count/inv/index/index.vue +13 -3
- package/src/components/page/count/loc/action/index.vue +561 -546
- package/src/components/page/count/loc/index/index.vue +8 -2
- package/src/components/page/count//347/233/230/347/202/271.md +0 -0
- package/src/components/page/inbound/components/AllocScanListItem.vue +14 -2
- package/src/components/page/inbound/components/AsnInfo.vue +17 -2
- package/src/components/page/inbound/components/AsnSkuInfo.vue +17 -2
- package/src/components/page/inbound/components/QualityCard.vue +552 -171
- package/src/components/page/inbound/components/SearchBar.vue +1 -1
- package/src/components/page/inbound/components/SkuReceiveInfo.vue +2 -2
- package/src/components/page/inbound/components/SnsList.vue +103 -103
- package/src/components/page/inbound/components/SortingAsnInfo.vue +243 -0
- package/src/components/page/inbound/components/SortingBoxInfo.vue +118 -0
- package/src/components/page/inbound/components/printLabelPopup.vue +353 -0
- package/src/components/page/inbound/index.js +10 -2
- package/src/components/page/inbound/receive/home/index.vue +29 -16
- package/src/components/page/inbound/receive/index/index.vue +101 -92
- package/src/components/page/inbound/receive/printLabel/index.js +10 -0
- package/src/components/page/inbound/receive/printLabel/index.vue +209 -0
- package/src/components/page/inbound/receive/printLabel//346/211/223/345/215/260/346/240/207/347/255/276.md +0 -0
- package/src/components/page/inbound/receive/quality/LwInboundQualityExecutePage.vue +457 -457
- package/src/components/page/inbound/receive/quality/LwInboundQualityTaskListPage.vue +195 -164
- package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSkuExecutePage.vue +598 -595
- package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSnExecutePage.vue +235 -233
- package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseExecutePage.vue +327 -312
- package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseScanPage.vue +92 -80
- package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnBatchExecutePage.vue +385 -386
- package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnExecutePage.vue +222 -216
- package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnScanPage.vue +80 -80
- package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuExecutePage.vue +345 -340
- package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuScanPage.vue +111 -111
- package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuSnExecutePage.vue +345 -340
- package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuAdvancePage.vue +373 -330
- package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuDirectPage.vue +467 -424
- package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuScanPage.vue +162 -161
- package/src/components/page/inbound/sorting/LwInboundSortingAsnPage.vue +81 -0
- package/src/components/page/inbound/sorting/LwInboundSortingByContainerPage.vue +588 -0
- package/src/components/page/inbound/sorting/LwInboundSortingByOrderPage.vue +548 -0
- package/src/components/page/inbound/sorting/LwInboundSortingIndexPage.vue +59 -0
- package/src/components/page/inbound/sorting/index.js +22 -0
- package/src/components/page/inbound/sorting//345/210/206/346/213/243.md +0 -0
- package/src/components/page/inbound/unload/action/index.js +11 -0
- package/src/components/page/inbound/unload/action/index.vue +557 -0
- package/src/components/page/inbound/unload/add/index.js +11 -0
- package/src/components/page/inbound/unload/add/index.vue +308 -0
- package/src/components/page/inbound/unload/index/index.js +11 -0
- package/src/components/page/inbound/unload/index/index.vue +159 -0
- package/src/components/page/inbound/unload/index.js +15 -0
- package/src/components/page/inbound/unload//345/215/270/350/264/247.md +0 -0
- package/src/components/page/index.js +41 -41
- package/src/components/page/inner/abnormalMove/index/index.vue +466 -466
- package/src/components/page/inner/borrow/action/index.vue +875 -831
- package/src/components/page/inner/borrow/index/index.vue +249 -249
- package/src/components/page/inner/caseQuickMove/index/index.js +11 -0
- package/src/components/page/inner/caseQuickMove/index/index.vue +431 -0
- package/src/components/page/inner/caseQuickMove//351/232/217/346/234/272/345/277/253/351/200/237/347/247/273/345/212/250-/346/225/264/347/256/261.md +0 -0
- package/src/components/page/inner/check/action/action.vue +867 -0
- package/src/components/page/inner/check/action/index.js +11 -0
- package/src/components/page/inner/dead/components/abnPopup.vue +83 -83
- package/src/components/page/inner/dead/components/bagItem.vue +110 -104
- package/src/components/page/inner/dead/components/boxListItem.vue +135 -135
- package/src/components/page/inner/dead/components/dataInfo.vue +94 -94
- package/src/components/page/inner/dead/components/lackPopup.vue +190 -190
- package/src/components/page/inner/dead/components/lpnListItem.vue +115 -115
- package/src/components/page/inner/dead/components/taskItem.vue +621 -570
- package/src/components/page/inner/dead/components/waitOverLpn.vue +74 -74
- package/src/components/page/inner/dead/large/index.vue +381 -376
- package/src/components/page/inner/dead/putaway/action/index.js +11 -11
- package/src/components/page/inner/dead/putaway/action/index.vue +131 -131
- package/src/components/page/inner/dead/putaway/components/collapseItem.vue +128 -128
- package/src/components/page/inner/dead/putaway/index/index.js +11 -11
- package/src/components/page/inner/dead/putaway/index/index.vue +63 -63
- package/src/components/page/inner/dead/query/action/action.vue +809 -0
- package/src/components/page/inner/dead/query/action/index.js +11 -0
- package/src/components/page/inner/dead/query/index/index.js +11 -0
- package/src/components/page/inner/dead/query/index/index.vue +130 -0
- package/src/components/page/inner/dead/small/index.js +11 -11
- package/src/components/page/inner/dead/small/index.vue +27 -13
- package/src/components/page/inner/dead/taskEntrance/index.js +11 -11
- package/src/components/page/inner/disposeAbnormal/action/index.vue +634 -524
- package/src/components/page/inner/disposeAbnormal/components/abnInfo/index.vue +5 -1
- package/src/components/page/inner/disposeAbnormal/components/disposePopup/index.vue +308 -229
- package/src/components/page/inner/disposeAbnormal/components/searchBar/index.vue +264 -264
- package/src/components/page/inner/disposeAbnormal/index/index.vue +248 -248
- package/src/components/page/inner/fragQuickMove/action/index.js +11 -0
- package/src/components/page/inner/fragQuickMove/action/index.vue +498 -0
- package/src/components/page/inner/fragQuickMove/index/index.js +11 -0
- package/src/components/page/inner/fragQuickMove/index/index.vue +222 -0
- package/src/components/page/inner/fragQuickMove//351/232/217/346/234/272/345/277/253/351/200/237/347/247/273/345/212/250-/351/233/266/346/225/243.md +0 -0
- package/src/components/page/inner/index.js +30 -2
- package/src/components/page/inner/lpnMove/action/index.vue +244 -243
- package/src/components/page/inner/lpnMove/index/index.vue +155 -155
- package/src/components/page/inner/materialApply/action/index.js +2 -2
- package/src/components/page/inner/materialApply/action/index.vue +555 -555
- package/src/components/page/inner/materialApply/generate/index.js +2 -2
- package/src/components/page/inner/materialApply/generate/index.vue +385 -385
- package/src/components/page/inner/movePutAway/index/index.vue +363 -363
- package/src/components/page/inner/quality/action/index.vue +713 -720
- package/src/components/page/inner/quality/components/lookData.vue +15 -10
- package/src/components/page/inner/quality/components/sampleInfo.vue +5 -5
- package/src/components/page/inner/quality/sample/index.vue +418 -426
- package/src/components/page/inner/randomMove/components/Down/index.vue +564 -507
- package/src/components/page/inner/randomMove/components/Up/index.vue +663 -587
- package/src/components/page/inner/randomMove/index/index.vue +123 -10
- package/src/components/page/inner/reportAbnormal/index/index.vue +251 -251
- package/src/components/page/inner/taskMove/index/index.vue +426 -49
- package/src/components/page/inner/taskMove/whole/MoveRandomWholeCase.vue +459 -0
- package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseDown.vue +328 -0
- package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseUp.vue +282 -0
- package/src/components/page/inner/taskMove/whole/MoveTaskWholeIndex.vue +519 -0
- package/src/components/page/inner/taskMove/whole/index.js +22 -0
- package/src/components/page/inventory/inventoryItem/index.vue +72 -0
- package/src/components/page/inventory/inventoryLotPage/index.vue +2 -1
- package/src/components/page/inventory/queryInventory/index/index.vue +368 -231
- package/src/components/page/inventory/queryInventory/page/index.vue +146 -9
- package/src/components/page/outbound/bale/aloneBale/action/index.vue +896 -779
- package/src/components/page/outbound/bale/aloneBale/index/index.vue +34 -5
- package/src/components/page/outbound/bale/aloneBale/newBale/index.vue +19 -0
- package/src/components/page/outbound/bale/baleChange/action/index.js +11 -11
- package/src/components/page/outbound/bale/baleChange/action/index.vue +604 -585
- package/src/components/page/outbound/bale/baleChange/index/index.js +11 -11
- package/src/components/page/outbound/bale/baleChange/skuCheck/index.js +11 -11
- package/src/components/page/outbound/bale/baleChange/skuCheck/index.vue +351 -351
- package/src/components/page/outbound/bale/checkBale/action/index.vue +1052 -941
- package/src/components/page/outbound/bale/checkBale/allCheck/index.vue +19 -3
- package/src/components/page/outbound/bale/checkBale/index/index.vue +41 -5
- package/src/components/page/outbound/bale/checkBale/newBale/index.vue +20 -3
- package/src/components/page/outbound/bale/components/checkPackConfig/index.vue +177 -0
- package/src/components/page/outbound/bale/components/checkPackConfig//345/275/223/345/211/215/346/215/206/345/214/205/345/217/260.md +0 -0
- package/src/components/page/outbound/bale/components/containerInfo/index.vue +242 -242
- package/src/components/page/outbound/bale/components/containerSkuQty//345/275/223/345/211/215/346/215/206/345/214/205/345/256/271/345/231/250/345/217/212/345/223/201/347/247/215/346/225/260.md +1 -1
- package/src/components/page/outbound/bale/components/delSku/index.vue +317 -317
- package/src/components/page/outbound/bale/components/partBlock/index.vue +201 -201
- package/src/components/page/outbound/bale/components/planCollapse/index.vue +392 -392
- package/src/components/page/outbound/bale/components/repeatCheck/index.vue +101 -101
- package/src/components/page/outbound/bale/components/storeInfo/index.vue +135 -135
- package/src/components/page/outbound/bale/components/storeInfoSkuList/index.vue +148 -128
- package/src/components/page/outbound/bale/components/suggestMaterial/index.vue +107 -0
- package/src/components/page/outbound/bale/components/suggestMaterial//346/216/250/350/215/220/345/214/205/346/235/220/346/212/230/345/217/240/346/240/217.md +0 -0
- package/src/components/page/outbound/bale/mixins.js +236 -212
- package/src/components/page/outbound/block/LwOutboundBlockExecutePage.vue +316 -316
- package/src/components/page/outbound/boxTransfer/action/index.js +11 -11
- package/src/components/page/outbound/boxTransfer/action/index.vue +214 -214
- package/src/components/page/outbound/boxTransfer/index/index.js +11 -11
- package/src/components/page/outbound/boxTransfer/index/index.vue +174 -174
- package/src/components/page/outbound/delivery/action/index.vue +784 -784
- package/src/components/page/outbound/delivery/addOrder/index.vue +281 -281
- package/src/components/page/outbound/delivery/components/boxItem/index.vue +154 -154
- package/src/components/page/outbound/delivery/components/soAndLpnItem/index.vue +199 -199
- package/src/components/page/outbound/delivery/index/index.vue +205 -205
- package/src/components/page/outbound/handover/components/boxInfo.vue +51 -51
- package/src/components/page/outbound/handover/components/boxNumList.vue +158 -158
- package/src/components/page/outbound/handover/components/collapseItem.vue +136 -136
- package/src/components/page/outbound/handover/components/pageBox.vue +524 -524
- package/src/components/page/outbound/handover/customer/index.js +11 -11
- package/src/components/page/outbound/handover/index/index.js +11 -11
- package/src/components/page/outbound/handover/index/index.vue +5 -2
- package/src/components/page/outbound/handover/line/index.js +11 -11
- package/src/components/page/outbound/handover/lpn/index.js +11 -11
- package/src/components/page/outbound/index.js +162 -152
- package/src/components/page/outbound/lpnPack/action/index.js +11 -11
- package/src/components/page/outbound/lpnPack/action/index.vue +437 -287
- package/src/components/page/outbound/lpnPack/components/boxItem.vue +90 -0
- package/src/components/page/outbound/lpnPack/components/lpnActionInfo.vue +132 -113
- package/src/components/page/outbound/lpnPack/components/lpnItem.vue +126 -126
- package/src/components/page/outbound/lpnPack/index/index.js +11 -11
- package/src/components/page/outbound/lpnPack/index/index.vue +304 -166
- package/src/components/page/outbound/lpnPack/newLpnPack/index.js +11 -11
- package/src/components/page/outbound/lpnPack/newLpnPack/index.vue +95 -80
- package/src/components/page/outbound/lpnPack/over/index.js +11 -11
- package/src/components/page/outbound/lpnPack/over/index.vue +114 -85
- package/src/components/page/outbound/packCollect/components/containerInfo.vue +108 -0
- package/src/components/page/outbound/packCollect/index/index.js +11 -0
- package/src/components/page/outbound/packCollect/index/index.vue +192 -0
- package/src/components/page/outbound/packCollect//351/233/206/350/264/247/346/215/206/345/214/205.md +0 -0
- package/src/components/page/outbound/pick/alone/index.vue +551 -504
- package/src/components/page/outbound/pick/box/index.vue +380 -371
- package/src/components/page/outbound/pick/components/dataLookAndChange/index.vue +709 -671
- package/src/components/page/outbound/pick/components/splitPutDown/index.vue +208 -208
- package/src/components/page/outbound/pick/index/index.vue +579 -622
- package/src/components/page/outbound/pick/lpn/index.vue +326 -321
- package/src/components/page/outbound/pick/mixin/all.js +98 -98
- package/src/components/page/outbound/pick/mixin/aloneAndNotAlone.js +132 -132
- package/src/components/page/outbound/pick/notAlone/index.vue +692 -533
- package/src/components/page/outbound/pick/sow/index.vue +1387 -1290
- package/src/components/page/outbound/pickContainer/action/index.js +11 -11
- package/src/components/page/outbound/pickContainer/index/index.js +11 -11
- package/src/components/page/outbound/pickMerge/content/index.vue +179 -170
- package/src/components/page/outbound/reprint-box/LwOutboundReprintBoxListPage.vue +115 -118
- package/src/components/page/outbound/reprint-box/collapseItem.vue +71 -0
- package/src/components/page/outbound/sow/action/index.vue +80 -29
- package/src/components/page/outbound/sow/components/sowLotItem/index.vue +142 -0
- package/src/components/page/outbound/sow/components/sowLotItem//346/222/255/347/247/215/346/211/271/346/254/241/344/277/241/346/201/257.md +0 -0
- package/src/components/page/outbound/sow/index/index.vue +399 -371
- package/src/components/page/outbound/sowCollect/index/index.js +11 -0
- package/src/components/page/outbound/sowCollect/index/index.vue +234 -0
- package/src/components/page/outbound/sowCollect//346/222/255/347/247/215/351/233/206/350/264/247.md +0 -0
- package/src/components/page/outbound/stockout/LwOutboundStockoutListPage.vue +103 -103
- package/src/components/page/outbound/summary/box/index/index.vue +648 -645
- package/src/components/page/outbound/summary/lpn/action/index.vue +254 -254
- package/src/components/page/outbound/summary/lpn/index/index.vue +5 -0
- package/src/components/page/process/index.js +25 -21
- package/src/components/page/process/prepare/index.js +11 -11
- package/src/components/page/process/prepare/index.vue +770 -841
- package/src/components/page/process/process/action/index.js +11 -11
- package/src/components/page/process/process/action/index.vue +56 -75
- package/src/components/page/process/process/components/FinishView.vue +299 -0
- package/src/components/page/process/process/components/craftCollapse.vue +91 -130
- package/src/components/page/process/process/components/dockInfo.vue +73 -79
- package/src/components/page/process/process/components/dockTaskInfo.vue +172 -192
- package/src/components/page/process/process/components/overCollapse.vue +385 -376
- package/src/components/page/process/process/components/rawCollapse.vue +82 -113
- package/src/components/page/process/process/components/stopPopup.vue +108 -90
- package/src/components/page/process/process/console/index.js +11 -11
- package/src/components/page/process/process/console/index.vue +149 -436
- package/src/components/page/process/process/content/index.js +11 -11
- package/src/components/page/process/process/content/index.vue +340 -367
- package/src/components/page/process/process/index/index.js +11 -11
- package/src/components/page/process/process/index/index.vue +71 -68
- package/src/components/page/process/screen/display/index.js +11 -0
- package/src/components/page/process/screen/display/index.vue +163 -0
- package/src/components/page/process/screen/index/index.js +11 -0
- package/src/components/page/process/screen/index/index.vue +76 -0
- package/src/components/page/receive/putaway/caseAction/index.vue +548 -542
- package/src/components/page/receive/putaway/components/CaseInfo/index.vue +6 -0
- package/src/components/page/receive/putaway/components/SkuInfo/index.vue +19 -3
- package/src/components/page/receive/putaway/components/SkuPutAwayInfo/index.vue +203 -203
- package/src/components/page/receive/putaway/components/TaskInfo/index.vue +61 -32
- package/src/components/page/receive/putaway/index/index.vue +585 -450
- package/src/components/page/receive/putaway/lpnAction/index.vue +362 -362
- package/src/components/page/receive/putaway/lpnBatchAction/index.js +11 -11
- package/src/components/page/receive/putaway/lpnBatchAction/index.vue +213 -213
- package/src/components/page/receive/putaway/skuAction/index.vue +989 -742
- package/src/components/page/receive/receipt/action/index.vue +276 -276
- package/src/components/page/receive/receipt/index/index.vue +132 -132
- package/src/components/ui/BottomBar/index.vue +102 -98
- package/src/components/ui/BottomBar//345/272/225/351/203/250/345/233/272/345/256/232/346/240/217.md +1 -1
- package/src/components/ui/BottomBarBtnHidden/index.vue +91 -91
- package/src/components/ui/BottomBarBtnHidden//345/272/225/351/203/250/346/214/211/351/222/256/346/240/217/351/232/220/350/227/217/345/244/232/344/275/231/346/214/211/351/222/256.md +1 -1
- package/src/components/ui/Button/index.vue +183 -183
- package/src/components/ui/Button//346/214/211/351/222/256.md +1 -1
- package/src/components/ui/CarPlate/index.vue +501 -495
- package/src/components/ui/Cell/index.vue +259 -259
- package/src/components/ui/Cell//345/215/225/345/205/203/346/240/274.md +1 -1
- package/src/components/ui/CellPopupCheckbox/index.js +11 -0
- package/src/components/ui/CellPopupCheckbox/index.vue +158 -0
- package/src/components/ui/CellPopupCheckbox//350/241/214/345/212/240/345/244/232/351/200/211/345/274/271/345/207/272/346/241/206.md +0 -0
- package/src/components/ui/CellPopupDate/index.vue +217 -212
- package/src/components/ui/CellPopupRadio/index.vue +136 -136
- package/src/components/ui/CellPopupSelect/index.js +11 -0
- package/src/components/ui/CellPopupSelect/index.vue +303 -0
- package/src/components/ui/CellPopupSelect//345/215/225/345/205/203/350/241/214/345/212/240/351/200/211/346/213/251/345/231/250.md +1 -0
- package/src/components/ui/CutCard/index.vue +0 -11
- package/src/components/ui/DataLookBg//346/225/260/346/215/256/347/234/213/346/235/277.md +1 -1
- package/src/components/ui/ErrorMsg//351/224/231/350/257/257/346/217/220/347/244/272/346/241/206.md +1 -1
- package/src/components/ui/Form//350/241/250/345/215/225.md +1 -1
- package/src/components/ui/ImgLook/index.vue +105 -105
- package/src/components/ui/ImgLook//345/233/276/347/211/207/346/237/245/347/234/213.md +1 -1
- package/src/components/ui/ImgUpload/imgUploadAxios.js +37 -37
- package/src/components/ui/ImgUpload/index.vue +120 -120
- package/src/components/ui/ImgUpload//345/233/276/347/211/207/344/270/212/344/274/240.md +1 -1
- package/src/components/ui/Input/index.vue +567 -581
- package/src/components/ui/Loading/index.js +49 -49
- package/src/components/ui/Loading//345/212/240/350/275/275/346/241/206.md +1 -1
- package/src/components/ui/MenuItem//350/217/234/345/215/225/351/241/271.md +1 -1
- package/src/components/ui/NavBar/index.vue +4 -4
- package/src/components/ui/NotData//347/251/272/346/225/260/346/215/256/347/212/266/346/200/201.md +1 -1
- package/src/components/ui/NoticeBar/index.js +88 -0
- package/src/components/ui/NoticeBar/index.vue +98 -0
- package/src/components/ui/NoticeBar//351/200/232/347/237/245/346/240/217.md +0 -0
- package/src/components/ui/Pages/index.vue +4 -4
- package/src/components/ui/Pages//345/210/206/351/241/265/351/241/265/347/240/201.md +1 -1
- package/src/components/ui/Pagination/index.js +11 -11
- package/src/components/ui/Pagination/index.vue +274 -274
- package/src/components/ui/Pagination//345/210/206/351/241/265V2.md +1 -1
- package/src/components/ui/Popup/index.vue +242 -242
- package/src/components/ui/Popup//345/274/271/345/207/272/345/261/202.md +1 -1
- package/src/components/ui/PopupCheckbox/index.vue +27 -6
- package/src/components/ui/PopupCheckbox//345/244/232/351/200/211/345/274/271/346/241/206.md +1 -1
- package/src/components/ui/PopupRadio//345/215/225/351/200/211/345/274/271/346/241/206.md +1 -1
- package/src/components/ui/TabBar/index.vue +1 -1
- package/src/components/ui/Table//350/241/250/346/240/274.md +1 -1
- package/src/components/ui/Tag/index.vue +11 -11
- package/src/components/ui/Tag//346/240/207/347/255/276.md +1 -1
- package/src/components/ui/TitleValueCell/index.vue +90 -88
- package/src/components/ui/TitleValueCell//346/240/207/351/242/230/345/200/274/350/241/214.md +2 -2
- package/src/components/ui/index.js +92 -87
- package/src/mixins/loginAndInit/index.js +31 -31
- package/src/router/index.js +895 -742
- package/src/router/menu.js +754 -638
- package/src/test/file/index.js +11 -11
- package/src/utils/ApiUtils.js +59 -59
- package/src/utils/AppBack.js +43 -43
- package/src/utils/AppPower.js +621 -76
- package/src/utils/Axios.js +30 -0
- package/src/utils/BarcodeResolve.js +5 -5
- package/src/utils/DateTime.js +234 -233
- package/src/utils/DeepCopy.js +61 -61
- package/src/utils/Dialog.js +16 -0
- package/src/utils/Dict.js +89 -73
- package/src/utils/GetImgSrc.js +54 -54
- package/src/utils/Language.js +87 -79
- package/src/utils/LocalStorage.js +66 -66
- package/src/utils/Permissions.js +65 -65
- package/src/utils/Print.js +232 -177
- package/src/utils/README.md +60 -60
- package/src/utils/ScanRule.js +39 -39
- package/src/utils/SetColor.js +57 -57
- package/src/utils/TabBar.js +31 -31
- package/src/utils/Timezone.js +183 -179
- package/src/utils/Tip.js +26 -26
- package/src/utils/UUID.js +33 -39
- package/src/utils/Warehouse.js +30 -30
- package/src/utils/index.js +4 -1
- package/src/utils/windowGlobalData.js +114 -114
- package/src/views/common/init/index.vue +145 -138
- package/src/views/common/my/timezone.vue +23 -23
- package/src/views/common/task/search.vue +23 -0
- package/src/views/count/console.vue +23 -0
- package/src/views/inbound/receive/printLabel.vue +23 -0
- package/src/views/inbound/sorting/LwInboundSortingAsnView.vue +16 -0
- package/src/views/inbound/sorting/LwInboundSortingByContainerView.vue +16 -0
- package/src/views/inbound/sorting/LwInboundSortingByOrderView.vue +16 -0
- package/src/views/inbound/sorting/LwInboundSortingIndexView.vue +16 -0
- package/src/views/inbound/unload/action.vue +23 -0
- package/src/views/inbound/unload/add.vue +23 -0
- package/src/views/inbound/unload/index.vue +23 -0
- package/src/views/inner/caseQuickMove/index.vue +23 -0
- package/src/views/inner/check/action.vue +23 -0
- package/src/views/inner/dead/large.vue +23 -23
- package/src/views/inner/dead/putaway/action.vue +23 -23
- package/src/views/inner/dead/putaway/index.vue +23 -23
- package/src/views/inner/dead/query/action.vue +23 -0
- package/src/views/inner/dead/query/index.vue +23 -0
- package/src/views/inner/dead/smallPage.vue +23 -23
- package/src/views/inner/dead/taskEntrance.vue +23 -23
- package/src/views/inner/fragQuickMove/action.vue +23 -0
- package/src/views/inner/fragQuickMove/index.vue +23 -0
- package/src/views/inner/materialApply/action.vue +2 -2
- package/src/views/inner/materialApply/generate.vue +2 -2
- package/src/views/inner/taskMove/whole/MoveRandomWholeCaseView.vue +3 -0
- package/src/views/inner/taskMove/whole/MoveTaskWholeCaseDownView.vue +3 -0
- package/src/views/inner/taskMove/whole/MoveTaskWholeCaseUpView.vue +3 -0
- package/src/views/inner/taskMove/whole/MoveTaskWholeIndexView.vue +3 -0
- package/src/views/outbound/baleChange/action.vue +23 -23
- package/src/views/outbound/baleChange/index.vue +23 -23
- package/src/views/outbound/baleChange/skuCheck.vue +23 -23
- package/src/views/outbound/boxTransfer/action.vue +23 -23
- package/src/views/outbound/boxTransfer/index.vue +23 -23
- package/src/views/outbound/handover/customer.vue +23 -23
- package/src/views/outbound/handover/index.vue +23 -23
- package/src/views/outbound/handover/line.vue +23 -23
- package/src/views/outbound/handover/lpn.vue +23 -23
- package/src/views/outbound/lpnPack/action.vue +23 -23
- package/src/views/outbound/lpnPack/index.vue +23 -23
- package/src/views/outbound/lpnPack/newLpn.vue +23 -23
- package/src/views/outbound/lpnPack/over.vue +23 -23
- package/src/views/outbound/packCollect/index.vue +23 -0
- package/src/views/outbound/pickContainer/action.vue +23 -23
- package/src/views/outbound/pickContainer/index.vue +23 -23
- package/src/views/outbound/sowCollect/index.vue +23 -0
- package/src/views/process/action/action.vue +23 -23
- package/src/views/process/action/index.vue +23 -23
- package/src/views/process/prepare/index.vue +23 -23
- package/src/views/process/screen/display/index.vue +23 -0
- package/src/views/process/screen/index/index.vue +23 -0
- package/src/views/receive/putaway/lpnBatchAction.vue +23 -23
- package/dist/logwire-wms-pda-ui.js +0 -7
- package/src/assets/img/lwInputIcon/keyboard.png +0 -0
- package/src/components/page/outbound/bale/components/containerInfo/img.png +0 -0
- package/src/components/page/outbound/bale/components/containerSkuQty/img.png +0 -0
- package/src/components/page/outbound/bale/components/storeInfo/img.png +0 -0
|
@@ -1,956 +1,956 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
收货异常
|
|
3
|
-
@author: 张文
|
|
4
|
-
@date: 2022-05-09
|
|
5
|
-
-->
|
|
6
|
-
<template>
|
|
7
|
-
<div>
|
|
8
|
-
|
|
9
|
-
<div v-if="show">
|
|
10
|
-
|
|
11
|
-
<!-- ERP单号 -->
|
|
12
|
-
<div class="lw-global-model-box lw-receive-abnormal-boss" v-if="!moreAsnDisabled">
|
|
13
|
-
|
|
14
|
-
<lw-input
|
|
15
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.order','订单号')"
|
|
16
|
-
v-model="abnormalInfo.orderNo"
|
|
17
|
-
input-align="right"
|
|
18
|
-
:required="!!asnNo"
|
|
19
|
-
:disabled="!!asnNo"
|
|
20
|
-
rule-prefix="receiveAbn"
|
|
21
|
-
rule-key="orderNo"
|
|
22
|
-
/>
|
|
23
|
-
|
|
24
|
-
<lw-input
|
|
25
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.erp','ERP单号')"
|
|
26
|
-
v-model="abnormalInfo.erpOrderNo"
|
|
27
|
-
input-align="right"
|
|
28
|
-
:disabled="!!asnData.extNo"
|
|
29
|
-
rule-prefix="receiveAbn"
|
|
30
|
-
rule-key="erpOrderNo"
|
|
31
|
-
/>
|
|
32
|
-
|
|
33
|
-
<lw-input
|
|
34
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.evidenceNo','凭证单号')"
|
|
35
|
-
v-model="abnormalInfo.evidenceNo"
|
|
36
|
-
input-align="right"
|
|
37
|
-
rule-prefix="receiveAbn"
|
|
38
|
-
rule-key="evidenceNo"
|
|
39
|
-
/>
|
|
40
|
-
|
|
41
|
-
<lw-input
|
|
42
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.supplierCode','供应商编码')"
|
|
43
|
-
v-model="abnormalInfo.supplierCode"
|
|
44
|
-
input-align="right"
|
|
45
|
-
:disabled="!!asnData.supplierCode"
|
|
46
|
-
/>
|
|
47
|
-
|
|
48
|
-
<lw-input
|
|
49
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.supplierName','供应商名称')"
|
|
50
|
-
v-model="abnormalInfo.supplierName"
|
|
51
|
-
input-align="right"
|
|
52
|
-
:disabled="!!asnData.supplierName"
|
|
53
|
-
/>
|
|
54
|
-
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
|
-
<!-- 更多单据信息 -->
|
|
58
|
-
<div class="lw-global-model-box lw-global-collapse-box" v-if="!moreInfoDisabled">
|
|
59
|
-
<van-collapse
|
|
60
|
-
v-model="moreInfoCollapse"
|
|
61
|
-
:border="false"
|
|
62
|
-
>
|
|
63
|
-
<van-collapse-item
|
|
64
|
-
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.more','更多单据信息')"
|
|
65
|
-
name="1"
|
|
66
|
-
>
|
|
67
|
-
|
|
68
|
-
<lw-input
|
|
69
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.carrierCode','承运商编号')"
|
|
70
|
-
v-model="abnormalInfo.carrierCode"
|
|
71
|
-
input-align="right"
|
|
72
|
-
/>
|
|
73
|
-
|
|
74
|
-
<lw-input
|
|
75
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.carrierName','承运商名称')"
|
|
76
|
-
v-model="abnormalInfo.carrierName"
|
|
77
|
-
input-align="right"
|
|
78
|
-
/>
|
|
79
|
-
|
|
80
|
-
<lw-input
|
|
81
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.plateNumber','车牌号')"
|
|
82
|
-
v-model="abnormalInfo.plateNumber"
|
|
83
|
-
input-align="right"
|
|
84
|
-
/>
|
|
85
|
-
|
|
86
|
-
<lw-input
|
|
87
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.extBizNo','业务单号1')"
|
|
88
|
-
v-model="abnormalInfo.extBizNo"
|
|
89
|
-
input-align="right"
|
|
90
|
-
rule-prefix="receiveAbn"
|
|
91
|
-
rule-key="extBizNo"
|
|
92
|
-
/>
|
|
93
|
-
|
|
94
|
-
<lw-input
|
|
95
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.extBizNo2','业务单号2')"
|
|
96
|
-
v-model="abnormalInfo.extBizNo2"
|
|
97
|
-
input-align="right"
|
|
98
|
-
rule-prefix="receiveAbn"
|
|
99
|
-
rule-key="extBizNo2"
|
|
100
|
-
/>
|
|
101
|
-
|
|
102
|
-
<lw-input
|
|
103
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.extBizNo3','业务单号3')"
|
|
104
|
-
v-model="abnormalInfo.extBizNo3"
|
|
105
|
-
input-align="right"
|
|
106
|
-
rule-prefix="receiveAbn"
|
|
107
|
-
rule-key="extBizNo3"
|
|
108
|
-
/>
|
|
109
|
-
|
|
110
|
-
<!-- <lw-input
|
|
111
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.wms','WMS单据号')"
|
|
112
|
-
v-model="abnormalInfo.bizOrderNo"
|
|
113
|
-
input-align="right"
|
|
114
|
-
:disabled="moreDisabled"
|
|
115
|
-
/>
|
|
116
|
-
|
|
117
|
-
<lw-input
|
|
118
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.wmsNum','WMS单据行号')"
|
|
119
|
-
v-model="abnormalInfo.bizOrderLineNo"
|
|
120
|
-
input-align="right"
|
|
121
|
-
:disabled="moreDisabled"
|
|
122
|
-
/>-->
|
|
123
|
-
|
|
124
|
-
</van-collapse-item>
|
|
125
|
-
</van-collapse>
|
|
126
|
-
</div>
|
|
127
|
-
|
|
128
|
-
<!-- 所属类型 -->
|
|
129
|
-
<div class="lw-global-model-box">
|
|
130
|
-
|
|
131
|
-
<!-- 所属类型 -->
|
|
132
|
-
<lw-cell
|
|
133
|
-
style="padding-top: 0"
|
|
134
|
-
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.type','所属类型')"
|
|
135
|
-
:value="belongType || $lwLanguage.get('wms_project.pda.module.receiveAbn.title', '收货')"
|
|
136
|
-
value-align="right"
|
|
137
|
-
:is-link="false"
|
|
138
|
-
/>
|
|
139
|
-
|
|
140
|
-
<!-- 作业环节 -->
|
|
141
|
-
<lw-cell-popup-radio
|
|
142
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.discoveryPoint','作业环节')"
|
|
143
|
-
v-model="abnormalType.discoveryPoint"
|
|
144
|
-
dict-key="abnormal_discovery_point_choice"
|
|
145
|
-
required
|
|
146
|
-
/>
|
|
147
|
-
|
|
148
|
-
<!-- 异常类型 -->
|
|
149
|
-
<lw-cell-popup-radio
|
|
150
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.abnType','异常类型')"
|
|
151
|
-
v-model="abnormalType.abnType"
|
|
152
|
-
dict-key="abnormal_type_choice"
|
|
153
|
-
required
|
|
154
|
-
@confirm="typeConfirm"
|
|
155
|
-
@clear="typeClear"
|
|
156
|
-
/>
|
|
157
|
-
|
|
158
|
-
<!-- 异常子类型 -->
|
|
159
|
-
<lw-cell-popup-radio
|
|
160
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.abnSubType','异常子类型')"
|
|
161
|
-
v-model="abnormalType.abnSubType"
|
|
162
|
-
:columns="subTypeList"
|
|
163
|
-
required
|
|
164
|
-
/>
|
|
165
|
-
|
|
166
|
-
<!-- 货主 -->
|
|
167
|
-
<lw-cell-popup-radio
|
|
168
|
-
style="padding-bottom: 0"
|
|
169
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.owner','货主')"
|
|
170
|
-
v-model="abnormalType.ownerId"
|
|
171
|
-
value-key="id"
|
|
172
|
-
label-key="name"
|
|
173
|
-
:columns="ownerList"
|
|
174
|
-
required
|
|
175
|
-
:disabled="!!asnData.ownerId"
|
|
176
|
-
/>
|
|
177
|
-
|
|
178
|
-
</div>
|
|
179
|
-
|
|
180
|
-
<!-- 增加商品信息按钮 -->
|
|
181
|
-
<div
|
|
182
|
-
v-if="showAddBtn"
|
|
183
|
-
class="lw-global-model-box lw-global-flex-between"
|
|
184
|
-
>
|
|
185
|
-
<div class="lw-global-value" style="font-size: 16px">
|
|
186
|
-
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.skuInfo','商品信息') }}
|
|
187
|
-
</div>
|
|
188
|
-
|
|
189
|
-
<van-icon
|
|
190
|
-
name="add-o"
|
|
191
|
-
size="24px"
|
|
192
|
-
color="#409eff"
|
|
193
|
-
@click="addSku"
|
|
194
|
-
/>
|
|
195
|
-
</div>
|
|
196
|
-
|
|
197
|
-
<!-- 商品信息录入模块 -->
|
|
198
|
-
<div
|
|
199
|
-
v-else
|
|
200
|
-
class="lw-global-model-box lw-global-row"
|
|
201
|
-
style="padding-bottom: 0"
|
|
202
|
-
>
|
|
203
|
-
|
|
204
|
-
<div class="lw-global-row-start lw-global-flex-between">
|
|
205
|
-
|
|
206
|
-
<div class="lw-global-value" style="font-size: 16px">
|
|
207
|
-
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.skuInfo','商品信息') }}
|
|
208
|
-
</div>
|
|
209
|
-
|
|
210
|
-
<lw-button
|
|
211
|
-
v-if="multiple"
|
|
212
|
-
mini
|
|
213
|
-
round
|
|
214
|
-
@click="saveSku"
|
|
215
|
-
>
|
|
216
|
-
<van-icon name="certificate" />
|
|
217
|
-
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.save','保存') }}
|
|
218
|
-
</lw-button>
|
|
219
|
-
|
|
220
|
-
</div>
|
|
221
|
-
|
|
222
|
-
<lw-input
|
|
223
|
-
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.sku','商品号')"
|
|
224
|
-
v-model="skuInfo.skuCode"
|
|
225
|
-
:get-focus.sync="skuInfoFocus.skuCode"
|
|
226
|
-
input-align="right"
|
|
227
|
-
required
|
|
228
|
-
:disabled="skuDisabled"
|
|
229
|
-
rule-prefix="receiveAbn"
|
|
230
|
-
rule-key="sku"
|
|
231
|
-
@confirm="skuCodeConfirm()"
|
|
232
|
-
>
|
|
233
|
-
<template #button>
|
|
234
|
-
<lw-button
|
|
235
|
-
v-if="!skuDisabled"
|
|
236
|
-
type="last"
|
|
237
|
-
round
|
|
238
|
-
mini
|
|
239
|
-
@click="skuCodeConfirm()"
|
|
240
|
-
>
|
|
241
|
-
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.confirm','确认') }}
|
|
242
|
-
</lw-button>
|
|
243
|
-
</template>
|
|
244
|
-
</lw-input>
|
|
245
|
-
|
|
246
|
-
<lw-cell
|
|
247
|
-
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.skuName','商品名称')"
|
|
248
|
-
:value="skuInfo.sku.skuName"
|
|
249
|
-
value-align="right"
|
|
250
|
-
:is-link="false"
|
|
251
|
-
/>
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
<!-- 批次组件信息 -->
|
|
255
|
-
<lw-lot-module
|
|
256
|
-
v-if="lot.show"
|
|
257
|
-
ref="lot"
|
|
258
|
-
:query="lot.query"
|
|
259
|
-
:must-required="false"
|
|
260
|
-
/>
|
|
261
|
-
|
|
262
|
-
<!-- 待处理量 -->
|
|
263
|
-
<div class="lw-global-row lw-global-flex-between" v-if="qty>-1">
|
|
264
|
-
<div class="lw-global-title">
|
|
265
|
-
{{ $lwLanguage.get('wms_project.pda.module.inboundAbn.wait','待处理量') }}
|
|
266
|
-
</div>
|
|
267
|
-
|
|
268
|
-
<div class="lw-global-value-bold" style="color: #D50000">{{ qty }}</div>
|
|
269
|
-
</div>
|
|
270
|
-
|
|
271
|
-
<lw-input
|
|
272
|
-
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.anbQty','异常数量')"
|
|
273
|
-
v-model="skuInfo.abnQty"
|
|
274
|
-
:get-focus.sync="skuInfoFocus.qty"
|
|
275
|
-
type="digit"
|
|
276
|
-
input-align="right"
|
|
277
|
-
required
|
|
278
|
-
/>
|
|
279
|
-
|
|
280
|
-
<lw-input
|
|
281
|
-
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.abnLocal','异常库位')"
|
|
282
|
-
v-model="skuInfo.abnLocationCode"
|
|
283
|
-
:get-focus.sync="skuInfoFocus.abnormalLocationCode"
|
|
284
|
-
input-align="right"
|
|
285
|
-
required
|
|
286
|
-
rule-prefix="receiveAbn"
|
|
287
|
-
rule-key="location"
|
|
288
|
-
/>
|
|
289
|
-
|
|
290
|
-
<lw-input
|
|
291
|
-
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.lpn','托盘号')"
|
|
292
|
-
v-model="skuInfo.abnLpn"
|
|
293
|
-
input-align="right"
|
|
294
|
-
rule-prefix="receiveAbn"
|
|
295
|
-
rule-key="lpn"
|
|
296
|
-
/>
|
|
297
|
-
|
|
298
|
-
<lw-input
|
|
299
|
-
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.originalLocal','原库位')"
|
|
300
|
-
v-if="originalLocationCode"
|
|
301
|
-
v-model="skuInfo.originalLocationCode"
|
|
302
|
-
input-align="right"
|
|
303
|
-
rule-prefix="receiveAbn"
|
|
304
|
-
rule-key="location"
|
|
305
|
-
/>
|
|
306
|
-
|
|
307
|
-
<lw-input
|
|
308
|
-
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.originalLpn','原托盘号')"
|
|
309
|
-
v-if="originalLpn"
|
|
310
|
-
v-model="skuInfo.originalLpn"
|
|
311
|
-
input-align="right"
|
|
312
|
-
rule-prefix="receiveAbn"
|
|
313
|
-
rule-key="lpn"
|
|
314
|
-
/>
|
|
315
|
-
|
|
316
|
-
<lw-input
|
|
317
|
-
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.originalCaseNum','原箱号')"
|
|
318
|
-
v-if="originalCaseNum"
|
|
319
|
-
v-model="skuInfo.originalCaseNum"
|
|
320
|
-
input-align="right"
|
|
321
|
-
/>
|
|
322
|
-
|
|
323
|
-
<!-- 处理方式 -->
|
|
324
|
-
<lw-cell-popup-radio
|
|
325
|
-
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.handleMethod','处理方式')"
|
|
326
|
-
v-model="skuInfo.handleMethod"
|
|
327
|
-
dict-key="abnormal_handle_method_choice"
|
|
328
|
-
/>
|
|
329
|
-
|
|
330
|
-
<lw-input
|
|
331
|
-
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.remark','备注')"
|
|
332
|
-
v-model="skuInfo.abnRemark"
|
|
333
|
-
type="textarea"
|
|
334
|
-
input-align="right"
|
|
335
|
-
:rows="4"
|
|
336
|
-
/>
|
|
337
|
-
|
|
338
|
-
<!-- 图片 -->
|
|
339
|
-
<div class="lw-global-title" style="padding: 8px 0">
|
|
340
|
-
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.img','图片') }}
|
|
341
|
-
</div>
|
|
342
|
-
<lw-img-upload v-model="skuInfo.imagesArr"/>
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
</div>
|
|
346
|
-
|
|
347
|
-
<!-- 已经录入了的商品信息 -->
|
|
348
|
-
<div
|
|
349
|
-
class="lw-global-model-box lw-global-flex-between"
|
|
350
|
-
v-for="(i,k) in skuList"
|
|
351
|
-
:key="k"
|
|
352
|
-
>
|
|
353
|
-
<div
|
|
354
|
-
style="flex: 1"
|
|
355
|
-
class="lw-global-flex-between"
|
|
356
|
-
>
|
|
357
|
-
<div style="flex: 1">
|
|
358
|
-
<div class="lw-global-value">{{ i.skuCode }}</div>
|
|
359
|
-
<div class="lw-global-title">{{ i.sku.skuName }}</div>
|
|
360
|
-
</div>
|
|
361
|
-
|
|
362
|
-
<div style="width: 56px;flex-shrink: 0;text-align: center">
|
|
363
|
-
<div class="lw-global-value-bold" style="color: #D50000;">{{ i.abnQty }}</div>
|
|
364
|
-
<div class="lw-global-title">
|
|
365
|
-
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.abnQty','异常量') }}
|
|
366
|
-
</div>
|
|
367
|
-
</div>
|
|
368
|
-
</div>
|
|
369
|
-
|
|
370
|
-
<van-icon
|
|
371
|
-
style="width: 24px;flex-shrink: 0;margin-left: 5px"
|
|
372
|
-
name="close"
|
|
373
|
-
size="24px"
|
|
374
|
-
color="#D50000"
|
|
375
|
-
@click="delSku(k)"
|
|
376
|
-
/>
|
|
377
|
-
</div>
|
|
378
|
-
|
|
379
|
-
</div>
|
|
380
|
-
|
|
381
|
-
<lw-not-data
|
|
382
|
-
v-else
|
|
383
|
-
:content="$lwLanguage.get('wms_project.pda.module.receiveAbn.error','基础数据异常')"
|
|
384
|
-
/>
|
|
385
|
-
|
|
386
|
-
<lw-bottom-bar v-if="showBottomBar">
|
|
387
|
-
<lw-button @click="confirm">
|
|
388
|
-
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.submit','确认上报') }}
|
|
389
|
-
</lw-button>
|
|
390
|
-
</lw-bottom-bar>
|
|
391
|
-
</div>
|
|
392
|
-
</template>
|
|
393
|
-
|
|
394
|
-
<script>
|
|
395
|
-
|
|
396
|
-
import {
|
|
397
|
-
wmsMobileFoundAsn,
|
|
398
|
-
wmsMobileFoundAsnLineSku,
|
|
399
|
-
wmsMobileSubmitAbnormalReceive
|
|
400
|
-
} from "../../../api/receive/abnormal";
|
|
401
|
-
|
|
402
|
-
export default {
|
|
403
|
-
name: "lwReceiveAbnormalModule",
|
|
404
|
-
props:{
|
|
405
|
-
// 订单号
|
|
406
|
-
asnNo: String,
|
|
407
|
-
|
|
408
|
-
// 所属类型
|
|
409
|
-
belongType: String,
|
|
410
|
-
|
|
411
|
-
// 是否允许多条保存
|
|
412
|
-
multiple:{
|
|
413
|
-
type: Boolean,
|
|
414
|
-
default: true
|
|
415
|
-
},
|
|
416
|
-
|
|
417
|
-
// 商品信息是否禁用
|
|
418
|
-
skuDisabled:{
|
|
419
|
-
type: Boolean,
|
|
420
|
-
default: false
|
|
421
|
-
},
|
|
422
|
-
moreInfoDisabled:{
|
|
423
|
-
type: Boolean,
|
|
424
|
-
default: false
|
|
425
|
-
},
|
|
426
|
-
moreAsnDisabled:{
|
|
427
|
-
type: Boolean,
|
|
428
|
-
default: false
|
|
429
|
-
},
|
|
430
|
-
|
|
431
|
-
// 商品号
|
|
432
|
-
skuCode: String,
|
|
433
|
-
ownerId: String ,
|
|
434
|
-
qty:{
|
|
435
|
-
type: Number,
|
|
436
|
-
default: -1
|
|
437
|
-
},
|
|
438
|
-
originalLocationCode:{
|
|
439
|
-
type: Boolean,
|
|
440
|
-
default: false
|
|
441
|
-
},
|
|
442
|
-
originalLpn:{
|
|
443
|
-
type: Boolean,
|
|
444
|
-
default: true
|
|
445
|
-
},
|
|
446
|
-
originalCaseNum:{
|
|
447
|
-
type: Boolean,
|
|
448
|
-
default: true
|
|
449
|
-
},
|
|
450
|
-
|
|
451
|
-
// 是否显示底部导航栏模块
|
|
452
|
-
showBottomBar:{
|
|
453
|
-
type: Boolean,
|
|
454
|
-
default: true
|
|
455
|
-
}
|
|
456
|
-
},
|
|
457
|
-
/*computed:{
|
|
458
|
-
moreDisabled(){
|
|
459
|
-
return !!Object.keys(this.asnData).length
|
|
460
|
-
}
|
|
461
|
-
},*/
|
|
462
|
-
data() {
|
|
463
|
-
return {
|
|
464
|
-
// 是否显示异常模块
|
|
465
|
-
show: false,
|
|
466
|
-
|
|
467
|
-
// 订单信息
|
|
468
|
-
asnData:{},
|
|
469
|
-
|
|
470
|
-
// 更多信息展开项
|
|
471
|
-
moreInfoCollapse:[],
|
|
472
|
-
|
|
473
|
-
// 异常子类型的选择项目
|
|
474
|
-
subTypeList:[],
|
|
475
|
-
|
|
476
|
-
// 货主的选择项目
|
|
477
|
-
ownerList:[],
|
|
478
|
-
|
|
479
|
-
// 更多信息
|
|
480
|
-
abnormalInfo:{
|
|
481
|
-
// ERP单号
|
|
482
|
-
erpOrderNo:'',
|
|
483
|
-
// 凭证号
|
|
484
|
-
evidenceNo:'',
|
|
485
|
-
// 订单号
|
|
486
|
-
orderNo:'',
|
|
487
|
-
// 供应商编码
|
|
488
|
-
supplierCode:'',
|
|
489
|
-
// 供应商名称
|
|
490
|
-
supplierName:'',
|
|
491
|
-
// 承运商编码
|
|
492
|
-
carrierCode:'',
|
|
493
|
-
// 承运商名称
|
|
494
|
-
carrierName:'',
|
|
495
|
-
// 车牌号
|
|
496
|
-
plateNumber:'',
|
|
497
|
-
// 外部业务单号
|
|
498
|
-
extBizNo:'',
|
|
499
|
-
// 外部业务单号2
|
|
500
|
-
extBizNo2:'',
|
|
501
|
-
// 外部业务单号3
|
|
502
|
-
extBizNo3:'',
|
|
503
|
-
|
|
504
|
-
/*// WMS 单据号
|
|
505
|
-
bizOrderNo:'',
|
|
506
|
-
// WMS 单据行号
|
|
507
|
-
bizOrderLineNo:'',*/
|
|
508
|
-
},
|
|
509
|
-
|
|
510
|
-
// 异常类型
|
|
511
|
-
abnormalType:{
|
|
512
|
-
// 所属类型
|
|
513
|
-
belongType:'RECEIVE',
|
|
514
|
-
// 作业环节
|
|
515
|
-
discoveryPoint:'',
|
|
516
|
-
// 异常类型
|
|
517
|
-
abnType:'',
|
|
518
|
-
// 异常子类型
|
|
519
|
-
abnSubType:'',
|
|
520
|
-
// 货主id
|
|
521
|
-
ownerId:'',
|
|
522
|
-
},
|
|
523
|
-
|
|
524
|
-
// 商品信息
|
|
525
|
-
skuInfo:{
|
|
526
|
-
skuCode:'',
|
|
527
|
-
// 当前扫描商品得到的商品基础信息
|
|
528
|
-
sku:{
|
|
529
|
-
skuName:''
|
|
530
|
-
},
|
|
531
|
-
abnQty:'',
|
|
532
|
-
abnLocationCode:'',
|
|
533
|
-
abnLpn:'',
|
|
534
|
-
originalLocationCode:'',
|
|
535
|
-
originalLpn:'',
|
|
536
|
-
originalCaseNum:'',
|
|
537
|
-
handleMethod:'',
|
|
538
|
-
remark:'',
|
|
539
|
-
imagesArr:[],
|
|
540
|
-
},
|
|
541
|
-
|
|
542
|
-
// 商品信息获取焦点
|
|
543
|
-
skuInfoFocus:{
|
|
544
|
-
skuCode: false,
|
|
545
|
-
qty: false,
|
|
546
|
-
abnormalLocationCode: false,
|
|
547
|
-
},
|
|
548
|
-
|
|
549
|
-
// 批次组件
|
|
550
|
-
lot: {
|
|
551
|
-
show: false,
|
|
552
|
-
query: {}
|
|
553
|
-
},
|
|
554
|
-
|
|
555
|
-
// 是否显示增加按钮
|
|
556
|
-
showAddBtn: false,
|
|
557
|
-
|
|
558
|
-
// 用于储存多条商品信息
|
|
559
|
-
skuList:[],
|
|
560
|
-
|
|
561
|
-
}
|
|
562
|
-
},
|
|
563
|
-
watch:{
|
|
564
|
-
'skuInfo.skuCode':{
|
|
565
|
-
handler(n){
|
|
566
|
-
// 如果商品信息为空就清除批次数据、商品数据
|
|
567
|
-
if (!n){
|
|
568
|
-
this.skuInfo.sku = {}
|
|
569
|
-
this.lot.show = false
|
|
570
|
-
this.lot.query = {}
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
},
|
|
575
|
-
mounted() {
|
|
576
|
-
this.init()
|
|
577
|
-
},
|
|
578
|
-
methods: {
|
|
579
|
-
// 初始化
|
|
580
|
-
async init(){
|
|
581
|
-
try{
|
|
582
|
-
|
|
583
|
-
// 获取货主信息
|
|
584
|
-
this.ownerList = await this.$lwApi.common.getOwnerList()
|
|
585
|
-
if(this.asnNo){
|
|
586
|
-
const asnData = await wmsMobileFoundAsn({
|
|
587
|
-
asnNo: this.asnNo
|
|
588
|
-
})
|
|
589
|
-
this.asnData = asnData || {}
|
|
590
|
-
} else {
|
|
591
|
-
this.asnData = {}
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
this.skuInfo.skuCode = this.skuCode || ''
|
|
595
|
-
|
|
596
|
-
this.abnormalInfo.orderNo = this.asnData.asnNo || this.asnNo
|
|
597
|
-
this.abnormalInfo.extNo = this.asnData.erpOrderNo || ''
|
|
598
|
-
this.abnormalInfo.supplierCode = this.asnData.supplierCode || ''
|
|
599
|
-
this.abnormalInfo.supplierName = this.asnData.supplierName || ''
|
|
600
|
-
this.abnormalInfo.carrierCode = this.asnData.carrierCode || ''
|
|
601
|
-
this.abnormalInfo.carrierName = this.asnData.carrierName || ''
|
|
602
|
-
this.abnormalInfo.carrierPlateNum = this.asnData.plateNumber || ''
|
|
603
|
-
this.abnormalType.ownerId = this.asnData.ownerId || this.ownerId || ''
|
|
604
|
-
/*this.abnormalInfo.bizOrderNo = this.asnData.bizOrderNo || ''
|
|
605
|
-
this.abnormalInfo.bizOrderLineNo = this.asnData.bizOrderLineNo || ''*/
|
|
606
|
-
|
|
607
|
-
// 是否存在商品数据,如果存在就获取商品信息
|
|
608
|
-
if(this.skuInfo.skuCode){
|
|
609
|
-
await this.skuCodeConfirm(true)
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
this.show = true
|
|
613
|
-
|
|
614
|
-
}catch (err){
|
|
615
|
-
console.error('收货异常模块初始化失败:', err)
|
|
616
|
-
}
|
|
617
|
-
},
|
|
618
|
-
// 异常类型确认
|
|
619
|
-
typeConfirm({value}){
|
|
620
|
-
|
|
621
|
-
// 判断异常类型是否变化,变化了就要改子类型的值
|
|
622
|
-
if (!value || value !== this.abnormalType.abnSubType.split('_')[0]){
|
|
623
|
-
this.abnormalType.abnSubType = ''
|
|
624
|
-
const subType = this.$lwDict.get('abnormal_sub_type_choice')
|
|
625
|
-
this.subTypeList = subType.filter(item=>item.value.split('_')[0] === value)
|
|
626
|
-
}
|
|
627
|
-
},
|
|
628
|
-
// 异常类型清空
|
|
629
|
-
typeClear(){
|
|
630
|
-
this.abnormalType.abnSubType = ''
|
|
631
|
-
this.subTypeList = []
|
|
632
|
-
},
|
|
633
|
-
|
|
634
|
-
// 商品号确认
|
|
635
|
-
async skuCodeConfirm(first = false){
|
|
636
|
-
|
|
637
|
-
if (!this.skuInfo.skuCode){
|
|
638
|
-
this.skuInfoFocus.skuCode = true
|
|
639
|
-
this.$lwShowErrorMsg(
|
|
640
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.skuNull','商品号不能为空')
|
|
641
|
-
)
|
|
642
|
-
this.skuInfo.skuCode = ''
|
|
643
|
-
return
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
if (!this.abnormalType.ownerId){
|
|
647
|
-
this.$lwShowErrorMsg(
|
|
648
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.selectWoner','请选择货主')
|
|
649
|
-
)
|
|
650
|
-
return
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
let query = {
|
|
654
|
-
skuCode: this.skuInfo.skuCode
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
console.log(this.asnData)
|
|
658
|
-
console.log(this.abnormalType)
|
|
659
|
-
|
|
660
|
-
if (this.asnData.ownerId){
|
|
661
|
-
query.asnId = this.asnData.id
|
|
662
|
-
}else {
|
|
663
|
-
query.ownerId = this.abnormalType.ownerId
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
console.log(query)
|
|
667
|
-
|
|
668
|
-
const res = await wmsMobileFoundAsnLineSku(query)
|
|
669
|
-
|
|
670
|
-
this.skuInfo.sku = {
|
|
671
|
-
...res,
|
|
672
|
-
skuCode: res.sku.code,
|
|
673
|
-
skuName: res.sku.name,
|
|
674
|
-
skuOwner: res.sku.ownerId,
|
|
675
|
-
skuId: res.sku.id,
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
this.lot.query = {
|
|
679
|
-
type:1,
|
|
680
|
-
lotType:'inventory',
|
|
681
|
-
lotRuleId:'',
|
|
682
|
-
editable:true,
|
|
683
|
-
needHandleRequire:true,
|
|
684
|
-
ownerId:this.skuInfo.sku.ownerId,
|
|
685
|
-
skuId:this.skuInfo.sku.skuId,
|
|
686
|
-
header: this.asnData.map,
|
|
687
|
-
line: this.skuInfo.sku.map,
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
this.lot.show = true
|
|
691
|
-
!first ? this.skuInfoFocus.qty = true : ''
|
|
692
|
-
},
|
|
693
|
-
|
|
694
|
-
// 储存单条异常信息
|
|
695
|
-
formatAbnSkuData(){
|
|
696
|
-
let skuData = this.$lwDeepCopy(this.skuInfo)
|
|
697
|
-
|
|
698
|
-
if (this.lot.show){
|
|
699
|
-
const {success, data} = this.$refs.lot.getData()
|
|
700
|
-
|
|
701
|
-
if (!success) return;
|
|
702
|
-
|
|
703
|
-
skuData.lotAttributes = data
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
return {
|
|
707
|
-
...skuData,
|
|
708
|
-
skuId: skuData.sku.sku.id,
|
|
709
|
-
abnImg: this.skuInfo.imagesArr.join('|')
|
|
710
|
-
}
|
|
711
|
-
},
|
|
712
|
-
|
|
713
|
-
// 保存商品信息按钮
|
|
714
|
-
saveSku(){
|
|
715
|
-
// 校验作业环节
|
|
716
|
-
if (!this.abnormalType.discoveryPoint){
|
|
717
|
-
this.$lwShowErrorMsg(
|
|
718
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.discoveryPointNull','作业环节不能为空')
|
|
719
|
-
)
|
|
720
|
-
return false
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
// 校验异常类型
|
|
724
|
-
if (!this.abnormalType.abnType){
|
|
725
|
-
this.$lwShowErrorMsg(
|
|
726
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.abnTypeNull','异常类型不能为空')
|
|
727
|
-
)
|
|
728
|
-
return false
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
// 异常子类型
|
|
732
|
-
if (!this.abnormalType.abnSubType){
|
|
733
|
-
this.$lwShowErrorMsg(
|
|
734
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.abnSubTypeNull','异常子类型不能为空')
|
|
735
|
-
)
|
|
736
|
-
return false
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
// 货主
|
|
740
|
-
if (!this.abnormalType.ownerId){
|
|
741
|
-
this.$lwShowErrorMsg(
|
|
742
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.ownerNull','货主不能为空')
|
|
743
|
-
)
|
|
744
|
-
return false
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
// 校验是否输入商品
|
|
748
|
-
if (!this.skuInfo.skuCode){
|
|
749
|
-
|
|
750
|
-
this.skuInfoFocus.skuCode = true
|
|
751
|
-
this.$lwShowErrorMsg(
|
|
752
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.skuInfoNull','商品信息不能为空')
|
|
753
|
-
)
|
|
754
|
-
return false
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
// 校验商品信息是否被修改
|
|
758
|
-
if (this.skuInfo.skuCode !== this.skuInfo.sku.skuCode){
|
|
759
|
-
this.skuInfoFocus.skuCode = true
|
|
760
|
-
this.$lwShowErrorMsg(
|
|
761
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.skuError','当前输入商品与已获取的商品信息不一致!请点击商品输入框的确认按钮,重新获取当前输入的商品信息!')
|
|
762
|
-
)
|
|
763
|
-
return false
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
// 校验当前商品货主是否符合已选货主
|
|
767
|
-
if (this.skuInfo.sku.skuOwner !== this.abnormalType.ownerId){
|
|
768
|
-
this.skuInfoFocus.skuCode = true
|
|
769
|
-
this.$lwShowErrorMsg(
|
|
770
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.ownerError','所选货主与当前商品所属货主不一致')
|
|
771
|
-
)
|
|
772
|
-
return false
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
// 校验是否输入异常量
|
|
776
|
-
if (!this.skuInfo.abnQty){
|
|
777
|
-
|
|
778
|
-
this.skuInfoFocus.qty = true
|
|
779
|
-
this.$lwShowErrorMsg(
|
|
780
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.qtyNull','异常量不能为空且应当时大于0的整数')
|
|
781
|
-
)
|
|
782
|
-
return false
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
const num = Number(this.skuInfo.abnQty || 0)
|
|
786
|
-
if (
|
|
787
|
-
this.abnormalType.abnType !== 'ORDER' &&
|
|
788
|
-
this.abnormalType.abnSubType !== 'QTY_MORE' &&
|
|
789
|
-
!this.multiple && this.qty>-1 &&
|
|
790
|
-
num > this.qty
|
|
791
|
-
){
|
|
792
|
-
this.skuInfoFocus.qty = true
|
|
793
|
-
this.$lwShowErrorMsg(
|
|
794
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.skuMore','异常量不能大于待处理量')
|
|
795
|
-
)
|
|
796
|
-
this.skuInfo.abnQty = ''
|
|
797
|
-
return false
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
// 校验是否输入异常库位
|
|
801
|
-
if (!this.skuInfo.abnLocationCode){
|
|
802
|
-
|
|
803
|
-
this.skuInfoFocus.abnormalLocationCode = true
|
|
804
|
-
this.$lwShowErrorMsg(
|
|
805
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.localNull','异常库位不能为空')
|
|
806
|
-
)
|
|
807
|
-
return false
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
// 是否是多条保存
|
|
811
|
-
if (this.multiple){
|
|
812
|
-
|
|
813
|
-
this.skuList.push(this.formatAbnSkuData())
|
|
814
|
-
|
|
815
|
-
// 让所有输入框失去焦点
|
|
816
|
-
for (let i in this.skuInfoFocus){
|
|
817
|
-
this.skuInfoFocus[i] = false
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
// 清空商品信息数据
|
|
821
|
-
for (let i in this.skuInfo){
|
|
822
|
-
if(i === 'sku'){
|
|
823
|
-
this.skuInfo[i] = {}
|
|
824
|
-
continue
|
|
825
|
-
}
|
|
826
|
-
if(i === 'imagesArr'){
|
|
827
|
-
this.skuInfo[i] = []
|
|
828
|
-
continue
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
this.skuInfo[i] = ''
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
this.showAddBtn = true
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
return true
|
|
838
|
-
},
|
|
839
|
-
|
|
840
|
-
// 增加商品信息按钮被点击
|
|
841
|
-
addSku(){
|
|
842
|
-
this.showAddBtn = false
|
|
843
|
-
this.skuInfoFocus.skuCode = true
|
|
844
|
-
},
|
|
845
|
-
|
|
846
|
-
// 删除商品按钮被点击
|
|
847
|
-
delSku(index){
|
|
848
|
-
this.$lwDialog.confirm({
|
|
849
|
-
title: this.$lwLanguage.get('wms_project.pda.module.receiveAbn.warning','警告'),
|
|
850
|
-
message: this.$lwLanguage.get('wms_project.pda.module.receiveAbn.del','确认删除该商品?')
|
|
851
|
-
}).then(()=>{
|
|
852
|
-
this.skuList.splice(index, 1)
|
|
853
|
-
}).catch(()=>{})
|
|
854
|
-
},
|
|
855
|
-
|
|
856
|
-
// 获取当前异常模块的数据
|
|
857
|
-
getAbnormalData(){
|
|
858
|
-
// 校验是否允许多条保存
|
|
859
|
-
if (this.multiple){
|
|
860
|
-
|
|
861
|
-
// 多条保存是否有数据
|
|
862
|
-
if (this.skuList.length){
|
|
863
|
-
return {
|
|
864
|
-
success: true,
|
|
865
|
-
data: this.skuList
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
// 没有数据就报错
|
|
870
|
-
this.$lwShowErrorMsg(
|
|
871
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.skuListNull','没有保存任何商品信息,请先点击商品信息的保存按钮,保存录入的信息')
|
|
872
|
-
)
|
|
873
|
-
return {
|
|
874
|
-
success: false,
|
|
875
|
-
data: []
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
// 如果是单条数据就触发保存按钮
|
|
880
|
-
if (this.saveSku()){
|
|
881
|
-
return {
|
|
882
|
-
success: true,
|
|
883
|
-
data: [this.formatAbnSkuData()]
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
// 否则报错
|
|
888
|
-
return {
|
|
889
|
-
success: false,
|
|
890
|
-
data: []
|
|
891
|
-
}
|
|
892
|
-
},
|
|
893
|
-
|
|
894
|
-
getAllAbnormalData(){
|
|
895
|
-
const {success, data} = this.getAbnormalData()
|
|
896
|
-
|
|
897
|
-
if (!success) {
|
|
898
|
-
return {
|
|
899
|
-
success: false,
|
|
900
|
-
data: []
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
return {
|
|
905
|
-
success: true,
|
|
906
|
-
data: {
|
|
907
|
-
order: this.abnormalInfo,
|
|
908
|
-
lines: data,
|
|
909
|
-
...this.abnormalType,
|
|
910
|
-
asnId: this.asnData.id
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
},
|
|
914
|
-
|
|
915
|
-
// 确认上报
|
|
916
|
-
confirm(){
|
|
917
|
-
const {success, data} = this.getAbnormalData()
|
|
918
|
-
|
|
919
|
-
if (!success) return
|
|
920
|
-
|
|
921
|
-
wmsMobileSubmitAbnormalReceive({
|
|
922
|
-
order: this.abnormalInfo,
|
|
923
|
-
lines: data,
|
|
924
|
-
...this.abnormalType,
|
|
925
|
-
asnId: this.asnData.id
|
|
926
|
-
}).then(()=>{
|
|
927
|
-
this.$lwToast.success(
|
|
928
|
-
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.abnSuccess','异常上报成功')
|
|
929
|
-
)
|
|
930
|
-
|
|
931
|
-
this.$emit('success')
|
|
932
|
-
})
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
</script>
|
|
937
|
-
|
|
938
|
-
<style scoped lang="less">
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
.lw-receive-abnormal-boss{
|
|
942
|
-
|
|
943
|
-
>.lw-input-box{
|
|
944
|
-
|
|
945
|
-
&:first-child{
|
|
946
|
-
padding-top: 0;
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
&:last-child{
|
|
950
|
-
padding-bottom: 0;
|
|
951
|
-
border-bottom: none;
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
收货异常
|
|
3
|
+
@author: 张文
|
|
4
|
+
@date: 2022-05-09
|
|
5
|
+
-->
|
|
6
|
+
<template>
|
|
7
|
+
<div>
|
|
8
|
+
|
|
9
|
+
<div v-if="show">
|
|
10
|
+
|
|
11
|
+
<!-- ERP单号 -->
|
|
12
|
+
<div class="lw-global-model-box lw-receive-abnormal-boss" v-if="!moreAsnDisabled">
|
|
13
|
+
|
|
14
|
+
<lw-input
|
|
15
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.order','订单号')"
|
|
16
|
+
v-model="abnormalInfo.orderNo"
|
|
17
|
+
input-align="right"
|
|
18
|
+
:required="!!asnNo"
|
|
19
|
+
:disabled="!!asnNo"
|
|
20
|
+
rule-prefix="receiveAbn"
|
|
21
|
+
rule-key="orderNo"
|
|
22
|
+
/>
|
|
23
|
+
|
|
24
|
+
<lw-input
|
|
25
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.erp','ERP单号')"
|
|
26
|
+
v-model="abnormalInfo.erpOrderNo"
|
|
27
|
+
input-align="right"
|
|
28
|
+
:disabled="!!asnData.extNo"
|
|
29
|
+
rule-prefix="receiveAbn"
|
|
30
|
+
rule-key="erpOrderNo"
|
|
31
|
+
/>
|
|
32
|
+
|
|
33
|
+
<lw-input
|
|
34
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.evidenceNo','凭证单号')"
|
|
35
|
+
v-model="abnormalInfo.evidenceNo"
|
|
36
|
+
input-align="right"
|
|
37
|
+
rule-prefix="receiveAbn"
|
|
38
|
+
rule-key="evidenceNo"
|
|
39
|
+
/>
|
|
40
|
+
|
|
41
|
+
<lw-input
|
|
42
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.supplierCode','供应商编码')"
|
|
43
|
+
v-model="abnormalInfo.supplierCode"
|
|
44
|
+
input-align="right"
|
|
45
|
+
:disabled="!!asnData.supplierCode"
|
|
46
|
+
/>
|
|
47
|
+
|
|
48
|
+
<lw-input
|
|
49
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.supplierName','供应商名称')"
|
|
50
|
+
v-model="abnormalInfo.supplierName"
|
|
51
|
+
input-align="right"
|
|
52
|
+
:disabled="!!asnData.supplierName"
|
|
53
|
+
/>
|
|
54
|
+
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<!-- 更多单据信息 -->
|
|
58
|
+
<div class="lw-global-model-box lw-global-collapse-box" v-if="!moreInfoDisabled">
|
|
59
|
+
<van-collapse
|
|
60
|
+
v-model="moreInfoCollapse"
|
|
61
|
+
:border="false"
|
|
62
|
+
>
|
|
63
|
+
<van-collapse-item
|
|
64
|
+
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.more','更多单据信息')"
|
|
65
|
+
name="1"
|
|
66
|
+
>
|
|
67
|
+
|
|
68
|
+
<lw-input
|
|
69
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.carrierCode','承运商编号')"
|
|
70
|
+
v-model="abnormalInfo.carrierCode"
|
|
71
|
+
input-align="right"
|
|
72
|
+
/>
|
|
73
|
+
|
|
74
|
+
<lw-input
|
|
75
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.carrierName','承运商名称')"
|
|
76
|
+
v-model="abnormalInfo.carrierName"
|
|
77
|
+
input-align="right"
|
|
78
|
+
/>
|
|
79
|
+
|
|
80
|
+
<lw-input
|
|
81
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.plateNumber','车牌号')"
|
|
82
|
+
v-model="abnormalInfo.plateNumber"
|
|
83
|
+
input-align="right"
|
|
84
|
+
/>
|
|
85
|
+
|
|
86
|
+
<lw-input
|
|
87
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.extBizNo','业务单号1')"
|
|
88
|
+
v-model="abnormalInfo.extBizNo"
|
|
89
|
+
input-align="right"
|
|
90
|
+
rule-prefix="receiveAbn"
|
|
91
|
+
rule-key="extBizNo"
|
|
92
|
+
/>
|
|
93
|
+
|
|
94
|
+
<lw-input
|
|
95
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.extBizNo2','业务单号2')"
|
|
96
|
+
v-model="abnormalInfo.extBizNo2"
|
|
97
|
+
input-align="right"
|
|
98
|
+
rule-prefix="receiveAbn"
|
|
99
|
+
rule-key="extBizNo2"
|
|
100
|
+
/>
|
|
101
|
+
|
|
102
|
+
<lw-input
|
|
103
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.extBizNo3','业务单号3')"
|
|
104
|
+
v-model="abnormalInfo.extBizNo3"
|
|
105
|
+
input-align="right"
|
|
106
|
+
rule-prefix="receiveAbn"
|
|
107
|
+
rule-key="extBizNo3"
|
|
108
|
+
/>
|
|
109
|
+
|
|
110
|
+
<!-- <lw-input
|
|
111
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.wms','WMS单据号')"
|
|
112
|
+
v-model="abnormalInfo.bizOrderNo"
|
|
113
|
+
input-align="right"
|
|
114
|
+
:disabled="moreDisabled"
|
|
115
|
+
/>
|
|
116
|
+
|
|
117
|
+
<lw-input
|
|
118
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.wmsNum','WMS单据行号')"
|
|
119
|
+
v-model="abnormalInfo.bizOrderLineNo"
|
|
120
|
+
input-align="right"
|
|
121
|
+
:disabled="moreDisabled"
|
|
122
|
+
/>-->
|
|
123
|
+
|
|
124
|
+
</van-collapse-item>
|
|
125
|
+
</van-collapse>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
<!-- 所属类型 -->
|
|
129
|
+
<div class="lw-global-model-box">
|
|
130
|
+
|
|
131
|
+
<!-- 所属类型 -->
|
|
132
|
+
<lw-cell
|
|
133
|
+
style="padding-top: 0"
|
|
134
|
+
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.type','所属类型')"
|
|
135
|
+
:value="belongType || $lwLanguage.get('wms_project.pda.module.receiveAbn.title', '收货')"
|
|
136
|
+
value-align="right"
|
|
137
|
+
:is-link="false"
|
|
138
|
+
/>
|
|
139
|
+
|
|
140
|
+
<!-- 作业环节 -->
|
|
141
|
+
<lw-cell-popup-radio
|
|
142
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.discoveryPoint','作业环节')"
|
|
143
|
+
v-model="abnormalType.discoveryPoint"
|
|
144
|
+
dict-key="abnormal_discovery_point_choice"
|
|
145
|
+
required
|
|
146
|
+
/>
|
|
147
|
+
|
|
148
|
+
<!-- 异常类型 -->
|
|
149
|
+
<lw-cell-popup-radio
|
|
150
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.abnType','异常类型')"
|
|
151
|
+
v-model="abnormalType.abnType"
|
|
152
|
+
dict-key="abnormal_type_choice"
|
|
153
|
+
required
|
|
154
|
+
@confirm="typeConfirm"
|
|
155
|
+
@clear="typeClear"
|
|
156
|
+
/>
|
|
157
|
+
|
|
158
|
+
<!-- 异常子类型 -->
|
|
159
|
+
<lw-cell-popup-radio
|
|
160
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.abnSubType','异常子类型')"
|
|
161
|
+
v-model="abnormalType.abnSubType"
|
|
162
|
+
:columns="subTypeList"
|
|
163
|
+
required
|
|
164
|
+
/>
|
|
165
|
+
|
|
166
|
+
<!-- 货主 -->
|
|
167
|
+
<lw-cell-popup-radio
|
|
168
|
+
style="padding-bottom: 0"
|
|
169
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.owner','货主')"
|
|
170
|
+
v-model="abnormalType.ownerId"
|
|
171
|
+
value-key="id"
|
|
172
|
+
label-key="name"
|
|
173
|
+
:columns="ownerList"
|
|
174
|
+
required
|
|
175
|
+
:disabled="!!asnData.ownerId"
|
|
176
|
+
/>
|
|
177
|
+
|
|
178
|
+
</div>
|
|
179
|
+
|
|
180
|
+
<!-- 增加商品信息按钮 -->
|
|
181
|
+
<div
|
|
182
|
+
v-if="showAddBtn"
|
|
183
|
+
class="lw-global-model-box lw-global-flex-between"
|
|
184
|
+
>
|
|
185
|
+
<div class="lw-global-value" style="font-size: 16px">
|
|
186
|
+
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.skuInfo','商品信息') }}
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
<van-icon
|
|
190
|
+
name="add-o"
|
|
191
|
+
size="24px"
|
|
192
|
+
color="#409eff"
|
|
193
|
+
@click="addSku"
|
|
194
|
+
/>
|
|
195
|
+
</div>
|
|
196
|
+
|
|
197
|
+
<!-- 商品信息录入模块 -->
|
|
198
|
+
<div
|
|
199
|
+
v-else
|
|
200
|
+
class="lw-global-model-box lw-global-row"
|
|
201
|
+
style="padding-bottom: 0"
|
|
202
|
+
>
|
|
203
|
+
|
|
204
|
+
<div class="lw-global-row-start lw-global-flex-between">
|
|
205
|
+
|
|
206
|
+
<div class="lw-global-value" style="font-size: 16px">
|
|
207
|
+
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.skuInfo','商品信息') }}
|
|
208
|
+
</div>
|
|
209
|
+
|
|
210
|
+
<lw-button
|
|
211
|
+
v-if="multiple"
|
|
212
|
+
mini
|
|
213
|
+
round
|
|
214
|
+
@click="saveSku"
|
|
215
|
+
>
|
|
216
|
+
<van-icon name="certificate" />
|
|
217
|
+
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.save','保存') }}
|
|
218
|
+
</lw-button>
|
|
219
|
+
|
|
220
|
+
</div>
|
|
221
|
+
|
|
222
|
+
<lw-input
|
|
223
|
+
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.sku','商品号')"
|
|
224
|
+
v-model="skuInfo.skuCode"
|
|
225
|
+
:get-focus.sync="skuInfoFocus.skuCode"
|
|
226
|
+
input-align="right"
|
|
227
|
+
required
|
|
228
|
+
:disabled="skuDisabled"
|
|
229
|
+
rule-prefix="receiveAbn"
|
|
230
|
+
rule-key="sku"
|
|
231
|
+
@confirm="skuCodeConfirm()"
|
|
232
|
+
>
|
|
233
|
+
<template #button>
|
|
234
|
+
<lw-button
|
|
235
|
+
v-if="!skuDisabled"
|
|
236
|
+
type="last"
|
|
237
|
+
round
|
|
238
|
+
mini
|
|
239
|
+
@click="skuCodeConfirm()"
|
|
240
|
+
>
|
|
241
|
+
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.confirm','确认') }}
|
|
242
|
+
</lw-button>
|
|
243
|
+
</template>
|
|
244
|
+
</lw-input>
|
|
245
|
+
|
|
246
|
+
<lw-cell
|
|
247
|
+
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.skuName','商品名称')"
|
|
248
|
+
:value="skuInfo.sku.skuName"
|
|
249
|
+
value-align="right"
|
|
250
|
+
:is-link="false"
|
|
251
|
+
/>
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
<!-- 批次组件信息 -->
|
|
255
|
+
<lw-lot-module
|
|
256
|
+
v-if="lot.show"
|
|
257
|
+
ref="lot"
|
|
258
|
+
:query="lot.query"
|
|
259
|
+
:must-required="false"
|
|
260
|
+
/>
|
|
261
|
+
|
|
262
|
+
<!-- 待处理量 -->
|
|
263
|
+
<div class="lw-global-row lw-global-flex-between" v-if="qty>-1">
|
|
264
|
+
<div class="lw-global-title">
|
|
265
|
+
{{ $lwLanguage.get('wms_project.pda.module.inboundAbn.wait','待处理量') }}
|
|
266
|
+
</div>
|
|
267
|
+
|
|
268
|
+
<div class="lw-global-value-bold" style="color: #D50000">{{ qty }}</div>
|
|
269
|
+
</div>
|
|
270
|
+
|
|
271
|
+
<lw-input
|
|
272
|
+
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.anbQty','异常数量')"
|
|
273
|
+
v-model="skuInfo.abnQty"
|
|
274
|
+
:get-focus.sync="skuInfoFocus.qty"
|
|
275
|
+
type="digit"
|
|
276
|
+
input-align="right"
|
|
277
|
+
required
|
|
278
|
+
/>
|
|
279
|
+
|
|
280
|
+
<lw-input
|
|
281
|
+
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.abnLocal','异常库位')"
|
|
282
|
+
v-model="skuInfo.abnLocationCode"
|
|
283
|
+
:get-focus.sync="skuInfoFocus.abnormalLocationCode"
|
|
284
|
+
input-align="right"
|
|
285
|
+
required
|
|
286
|
+
rule-prefix="receiveAbn"
|
|
287
|
+
rule-key="location"
|
|
288
|
+
/>
|
|
289
|
+
|
|
290
|
+
<lw-input
|
|
291
|
+
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.lpn','托盘号')"
|
|
292
|
+
v-model="skuInfo.abnLpn"
|
|
293
|
+
input-align="right"
|
|
294
|
+
rule-prefix="receiveAbn"
|
|
295
|
+
rule-key="lpn"
|
|
296
|
+
/>
|
|
297
|
+
|
|
298
|
+
<lw-input
|
|
299
|
+
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.originalLocal','原库位')"
|
|
300
|
+
v-if="originalLocationCode"
|
|
301
|
+
v-model="skuInfo.originalLocationCode"
|
|
302
|
+
input-align="right"
|
|
303
|
+
rule-prefix="receiveAbn"
|
|
304
|
+
rule-key="location"
|
|
305
|
+
/>
|
|
306
|
+
|
|
307
|
+
<lw-input
|
|
308
|
+
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.originalLpn','原托盘号')"
|
|
309
|
+
v-if="originalLpn"
|
|
310
|
+
v-model="skuInfo.originalLpn"
|
|
311
|
+
input-align="right"
|
|
312
|
+
rule-prefix="receiveAbn"
|
|
313
|
+
rule-key="lpn"
|
|
314
|
+
/>
|
|
315
|
+
|
|
316
|
+
<lw-input
|
|
317
|
+
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.originalCaseNum','原箱号')"
|
|
318
|
+
v-if="originalCaseNum"
|
|
319
|
+
v-model="skuInfo.originalCaseNum"
|
|
320
|
+
input-align="right"
|
|
321
|
+
/>
|
|
322
|
+
|
|
323
|
+
<!-- 处理方式 -->
|
|
324
|
+
<lw-cell-popup-radio
|
|
325
|
+
:title="this.$lwLanguage.get('wms_project.pda.module.receiveAbn.handleMethod','处理方式')"
|
|
326
|
+
v-model="skuInfo.handleMethod"
|
|
327
|
+
dict-key="abnormal_handle_method_choice"
|
|
328
|
+
/>
|
|
329
|
+
|
|
330
|
+
<lw-input
|
|
331
|
+
:title="$lwLanguage.get('wms_project.pda.module.receiveAbn.remark','备注')"
|
|
332
|
+
v-model="skuInfo.abnRemark"
|
|
333
|
+
type="textarea"
|
|
334
|
+
input-align="right"
|
|
335
|
+
:rows="4"
|
|
336
|
+
/>
|
|
337
|
+
|
|
338
|
+
<!-- 图片 -->
|
|
339
|
+
<div class="lw-global-title" style="padding: 8px 0">
|
|
340
|
+
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.img','图片') }}
|
|
341
|
+
</div>
|
|
342
|
+
<lw-img-upload v-model="skuInfo.imagesArr"/>
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
</div>
|
|
346
|
+
|
|
347
|
+
<!-- 已经录入了的商品信息 -->
|
|
348
|
+
<div
|
|
349
|
+
class="lw-global-model-box lw-global-flex-between"
|
|
350
|
+
v-for="(i,k) in skuList"
|
|
351
|
+
:key="k"
|
|
352
|
+
>
|
|
353
|
+
<div
|
|
354
|
+
style="flex: 1"
|
|
355
|
+
class="lw-global-flex-between"
|
|
356
|
+
>
|
|
357
|
+
<div style="flex: 1">
|
|
358
|
+
<div class="lw-global-value">{{ i.skuCode }}</div>
|
|
359
|
+
<div class="lw-global-title">{{ i.sku.skuName }}</div>
|
|
360
|
+
</div>
|
|
361
|
+
|
|
362
|
+
<div style="width: 56px;flex-shrink: 0;text-align: center">
|
|
363
|
+
<div class="lw-global-value-bold" style="color: #D50000;">{{ i.abnQty }}</div>
|
|
364
|
+
<div class="lw-global-title">
|
|
365
|
+
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.abnQty','异常量') }}
|
|
366
|
+
</div>
|
|
367
|
+
</div>
|
|
368
|
+
</div>
|
|
369
|
+
|
|
370
|
+
<van-icon
|
|
371
|
+
style="width: 24px;flex-shrink: 0;margin-left: 5px"
|
|
372
|
+
name="close"
|
|
373
|
+
size="24px"
|
|
374
|
+
color="#D50000"
|
|
375
|
+
@click="delSku(k)"
|
|
376
|
+
/>
|
|
377
|
+
</div>
|
|
378
|
+
|
|
379
|
+
</div>
|
|
380
|
+
|
|
381
|
+
<lw-not-data
|
|
382
|
+
v-else
|
|
383
|
+
:content="$lwLanguage.get('wms_project.pda.module.receiveAbn.error','基础数据异常')"
|
|
384
|
+
/>
|
|
385
|
+
|
|
386
|
+
<lw-bottom-bar v-if="showBottomBar">
|
|
387
|
+
<lw-button @click="confirm">
|
|
388
|
+
{{ $lwLanguage.get('wms_project.pda.module.receiveAbn.submit','确认上报') }}
|
|
389
|
+
</lw-button>
|
|
390
|
+
</lw-bottom-bar>
|
|
391
|
+
</div>
|
|
392
|
+
</template>
|
|
393
|
+
|
|
394
|
+
<script>
|
|
395
|
+
|
|
396
|
+
import {
|
|
397
|
+
wmsMobileFoundAsn,
|
|
398
|
+
wmsMobileFoundAsnLineSku,
|
|
399
|
+
wmsMobileSubmitAbnormalReceive
|
|
400
|
+
} from "../../../api/receive/abnormal";
|
|
401
|
+
|
|
402
|
+
export default {
|
|
403
|
+
name: "lwReceiveAbnormalModule",
|
|
404
|
+
props:{
|
|
405
|
+
// 订单号
|
|
406
|
+
asnNo: String,
|
|
407
|
+
|
|
408
|
+
// 所属类型
|
|
409
|
+
belongType: String,
|
|
410
|
+
|
|
411
|
+
// 是否允许多条保存
|
|
412
|
+
multiple:{
|
|
413
|
+
type: Boolean,
|
|
414
|
+
default: true
|
|
415
|
+
},
|
|
416
|
+
|
|
417
|
+
// 商品信息是否禁用
|
|
418
|
+
skuDisabled:{
|
|
419
|
+
type: Boolean,
|
|
420
|
+
default: false
|
|
421
|
+
},
|
|
422
|
+
moreInfoDisabled:{
|
|
423
|
+
type: Boolean,
|
|
424
|
+
default: false
|
|
425
|
+
},
|
|
426
|
+
moreAsnDisabled:{
|
|
427
|
+
type: Boolean,
|
|
428
|
+
default: false
|
|
429
|
+
},
|
|
430
|
+
|
|
431
|
+
// 商品号
|
|
432
|
+
skuCode: String,
|
|
433
|
+
ownerId: String ,
|
|
434
|
+
qty:{
|
|
435
|
+
type: Number,
|
|
436
|
+
default: -1
|
|
437
|
+
},
|
|
438
|
+
originalLocationCode:{
|
|
439
|
+
type: Boolean,
|
|
440
|
+
default: false
|
|
441
|
+
},
|
|
442
|
+
originalLpn:{
|
|
443
|
+
type: Boolean,
|
|
444
|
+
default: true
|
|
445
|
+
},
|
|
446
|
+
originalCaseNum:{
|
|
447
|
+
type: Boolean,
|
|
448
|
+
default: true
|
|
449
|
+
},
|
|
450
|
+
|
|
451
|
+
// 是否显示底部导航栏模块
|
|
452
|
+
showBottomBar:{
|
|
453
|
+
type: Boolean,
|
|
454
|
+
default: true
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
/*computed:{
|
|
458
|
+
moreDisabled(){
|
|
459
|
+
return !!Object.keys(this.asnData).length
|
|
460
|
+
}
|
|
461
|
+
},*/
|
|
462
|
+
data() {
|
|
463
|
+
return {
|
|
464
|
+
// 是否显示异常模块
|
|
465
|
+
show: false,
|
|
466
|
+
|
|
467
|
+
// 订单信息
|
|
468
|
+
asnData:{},
|
|
469
|
+
|
|
470
|
+
// 更多信息展开项
|
|
471
|
+
moreInfoCollapse:[],
|
|
472
|
+
|
|
473
|
+
// 异常子类型的选择项目
|
|
474
|
+
subTypeList:[],
|
|
475
|
+
|
|
476
|
+
// 货主的选择项目
|
|
477
|
+
ownerList:[],
|
|
478
|
+
|
|
479
|
+
// 更多信息
|
|
480
|
+
abnormalInfo:{
|
|
481
|
+
// ERP单号
|
|
482
|
+
erpOrderNo:'',
|
|
483
|
+
// 凭证号
|
|
484
|
+
evidenceNo:'',
|
|
485
|
+
// 订单号
|
|
486
|
+
orderNo:'',
|
|
487
|
+
// 供应商编码
|
|
488
|
+
supplierCode:'',
|
|
489
|
+
// 供应商名称
|
|
490
|
+
supplierName:'',
|
|
491
|
+
// 承运商编码
|
|
492
|
+
carrierCode:'',
|
|
493
|
+
// 承运商名称
|
|
494
|
+
carrierName:'',
|
|
495
|
+
// 车牌号
|
|
496
|
+
plateNumber:'',
|
|
497
|
+
// 外部业务单号
|
|
498
|
+
extBizNo:'',
|
|
499
|
+
// 外部业务单号2
|
|
500
|
+
extBizNo2:'',
|
|
501
|
+
// 外部业务单号3
|
|
502
|
+
extBizNo3:'',
|
|
503
|
+
|
|
504
|
+
/*// WMS 单据号
|
|
505
|
+
bizOrderNo:'',
|
|
506
|
+
// WMS 单据行号
|
|
507
|
+
bizOrderLineNo:'',*/
|
|
508
|
+
},
|
|
509
|
+
|
|
510
|
+
// 异常类型
|
|
511
|
+
abnormalType:{
|
|
512
|
+
// 所属类型
|
|
513
|
+
belongType:'RECEIVE',
|
|
514
|
+
// 作业环节
|
|
515
|
+
discoveryPoint:'',
|
|
516
|
+
// 异常类型
|
|
517
|
+
abnType:'',
|
|
518
|
+
// 异常子类型
|
|
519
|
+
abnSubType:'',
|
|
520
|
+
// 货主id
|
|
521
|
+
ownerId:'',
|
|
522
|
+
},
|
|
523
|
+
|
|
524
|
+
// 商品信息
|
|
525
|
+
skuInfo:{
|
|
526
|
+
skuCode:'',
|
|
527
|
+
// 当前扫描商品得到的商品基础信息
|
|
528
|
+
sku:{
|
|
529
|
+
skuName:''
|
|
530
|
+
},
|
|
531
|
+
abnQty:'',
|
|
532
|
+
abnLocationCode:'',
|
|
533
|
+
abnLpn:'',
|
|
534
|
+
originalLocationCode:'',
|
|
535
|
+
originalLpn:'',
|
|
536
|
+
originalCaseNum:'',
|
|
537
|
+
handleMethod:'',
|
|
538
|
+
remark:'',
|
|
539
|
+
imagesArr:[],
|
|
540
|
+
},
|
|
541
|
+
|
|
542
|
+
// 商品信息获取焦点
|
|
543
|
+
skuInfoFocus:{
|
|
544
|
+
skuCode: false,
|
|
545
|
+
qty: false,
|
|
546
|
+
abnormalLocationCode: false,
|
|
547
|
+
},
|
|
548
|
+
|
|
549
|
+
// 批次组件
|
|
550
|
+
lot: {
|
|
551
|
+
show: false,
|
|
552
|
+
query: {}
|
|
553
|
+
},
|
|
554
|
+
|
|
555
|
+
// 是否显示增加按钮
|
|
556
|
+
showAddBtn: false,
|
|
557
|
+
|
|
558
|
+
// 用于储存多条商品信息
|
|
559
|
+
skuList:[],
|
|
560
|
+
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
watch:{
|
|
564
|
+
'skuInfo.skuCode':{
|
|
565
|
+
handler(n){
|
|
566
|
+
// 如果商品信息为空就清除批次数据、商品数据
|
|
567
|
+
if (!n){
|
|
568
|
+
this.skuInfo.sku = {}
|
|
569
|
+
this.lot.show = false
|
|
570
|
+
this.lot.query = {}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
mounted() {
|
|
576
|
+
this.init()
|
|
577
|
+
},
|
|
578
|
+
methods: {
|
|
579
|
+
// 初始化
|
|
580
|
+
async init(){
|
|
581
|
+
try{
|
|
582
|
+
|
|
583
|
+
// 获取货主信息
|
|
584
|
+
this.ownerList = await this.$lwApi.common.getOwnerList()
|
|
585
|
+
if(this.asnNo){
|
|
586
|
+
const asnData = await wmsMobileFoundAsn({
|
|
587
|
+
asnNo: this.asnNo
|
|
588
|
+
})
|
|
589
|
+
this.asnData = asnData || {}
|
|
590
|
+
} else {
|
|
591
|
+
this.asnData = {}
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
this.skuInfo.skuCode = this.skuCode || ''
|
|
595
|
+
|
|
596
|
+
this.abnormalInfo.orderNo = this.asnData.asnNo || this.asnNo
|
|
597
|
+
this.abnormalInfo.extNo = this.asnData.erpOrderNo || ''
|
|
598
|
+
this.abnormalInfo.supplierCode = this.asnData.supplierCode || ''
|
|
599
|
+
this.abnormalInfo.supplierName = this.asnData.supplierName || ''
|
|
600
|
+
this.abnormalInfo.carrierCode = this.asnData.carrierCode || ''
|
|
601
|
+
this.abnormalInfo.carrierName = this.asnData.carrierName || ''
|
|
602
|
+
this.abnormalInfo.carrierPlateNum = this.asnData.plateNumber || ''
|
|
603
|
+
this.abnormalType.ownerId = this.asnData.ownerId || this.ownerId || ''
|
|
604
|
+
/*this.abnormalInfo.bizOrderNo = this.asnData.bizOrderNo || ''
|
|
605
|
+
this.abnormalInfo.bizOrderLineNo = this.asnData.bizOrderLineNo || ''*/
|
|
606
|
+
|
|
607
|
+
// 是否存在商品数据,如果存在就获取商品信息
|
|
608
|
+
if(this.skuInfo.skuCode){
|
|
609
|
+
await this.skuCodeConfirm(true)
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
this.show = true
|
|
613
|
+
|
|
614
|
+
}catch (err){
|
|
615
|
+
console.error('收货异常模块初始化失败:', err)
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
// 异常类型确认
|
|
619
|
+
typeConfirm({value}){
|
|
620
|
+
|
|
621
|
+
// 判断异常类型是否变化,变化了就要改子类型的值
|
|
622
|
+
if (!value || value !== this.abnormalType.abnSubType.split('_')[0]){
|
|
623
|
+
this.abnormalType.abnSubType = ''
|
|
624
|
+
const subType = this.$lwDict.get('abnormal_sub_type_choice')
|
|
625
|
+
this.subTypeList = subType.filter(item=>item.value.split('_')[0] === value)
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
// 异常类型清空
|
|
629
|
+
typeClear(){
|
|
630
|
+
this.abnormalType.abnSubType = ''
|
|
631
|
+
this.subTypeList = []
|
|
632
|
+
},
|
|
633
|
+
|
|
634
|
+
// 商品号确认
|
|
635
|
+
async skuCodeConfirm(first = false){
|
|
636
|
+
|
|
637
|
+
if (!this.skuInfo.skuCode){
|
|
638
|
+
this.skuInfoFocus.skuCode = true
|
|
639
|
+
this.$lwShowErrorMsg(
|
|
640
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.skuNull','商品号不能为空')
|
|
641
|
+
)
|
|
642
|
+
this.skuInfo.skuCode = ''
|
|
643
|
+
return
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
if (!this.abnormalType.ownerId){
|
|
647
|
+
this.$lwShowErrorMsg(
|
|
648
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.selectWoner','请选择货主')
|
|
649
|
+
)
|
|
650
|
+
return
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
let query = {
|
|
654
|
+
skuCode: this.skuInfo.skuCode
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
console.log(this.asnData)
|
|
658
|
+
console.log(this.abnormalType)
|
|
659
|
+
|
|
660
|
+
if (this.asnData.ownerId){
|
|
661
|
+
query.asnId = this.asnData.id
|
|
662
|
+
}else {
|
|
663
|
+
query.ownerId = this.abnormalType.ownerId
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
console.log(query)
|
|
667
|
+
|
|
668
|
+
const res = await wmsMobileFoundAsnLineSku(query)
|
|
669
|
+
|
|
670
|
+
this.skuInfo.sku = {
|
|
671
|
+
...res,
|
|
672
|
+
skuCode: res.sku.code,
|
|
673
|
+
skuName: res.sku.name,
|
|
674
|
+
skuOwner: res.sku.ownerId,
|
|
675
|
+
skuId: res.sku.id,
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
this.lot.query = {
|
|
679
|
+
type:1,
|
|
680
|
+
lotType:'inventory',
|
|
681
|
+
lotRuleId:'',
|
|
682
|
+
editable:true,
|
|
683
|
+
needHandleRequire:true,
|
|
684
|
+
ownerId:this.skuInfo.sku.ownerId,
|
|
685
|
+
skuId:this.skuInfo.sku.skuId,
|
|
686
|
+
header: this.asnData.map,
|
|
687
|
+
line: this.skuInfo.sku.map,
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
this.lot.show = true
|
|
691
|
+
!first ? this.skuInfoFocus.qty = true : ''
|
|
692
|
+
},
|
|
693
|
+
|
|
694
|
+
// 储存单条异常信息
|
|
695
|
+
formatAbnSkuData(){
|
|
696
|
+
let skuData = this.$lwDeepCopy(this.skuInfo)
|
|
697
|
+
|
|
698
|
+
if (this.lot.show){
|
|
699
|
+
const {success, data} = this.$refs.lot.getData()
|
|
700
|
+
|
|
701
|
+
if (!success) return;
|
|
702
|
+
|
|
703
|
+
skuData.lotAttributes = data
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
return {
|
|
707
|
+
...skuData,
|
|
708
|
+
skuId: skuData.sku.sku.id,
|
|
709
|
+
abnImg: this.skuInfo.imagesArr.join('|')
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
|
|
713
|
+
// 保存商品信息按钮
|
|
714
|
+
saveSku(){
|
|
715
|
+
// 校验作业环节
|
|
716
|
+
if (!this.abnormalType.discoveryPoint){
|
|
717
|
+
this.$lwShowErrorMsg(
|
|
718
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.discoveryPointNull','作业环节不能为空')
|
|
719
|
+
)
|
|
720
|
+
return false
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
// 校验异常类型
|
|
724
|
+
if (!this.abnormalType.abnType){
|
|
725
|
+
this.$lwShowErrorMsg(
|
|
726
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.abnTypeNull','异常类型不能为空')
|
|
727
|
+
)
|
|
728
|
+
return false
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
// 异常子类型
|
|
732
|
+
if (!this.abnormalType.abnSubType){
|
|
733
|
+
this.$lwShowErrorMsg(
|
|
734
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.abnSubTypeNull','异常子类型不能为空')
|
|
735
|
+
)
|
|
736
|
+
return false
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
// 货主
|
|
740
|
+
if (!this.abnormalType.ownerId){
|
|
741
|
+
this.$lwShowErrorMsg(
|
|
742
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.ownerNull','货主不能为空')
|
|
743
|
+
)
|
|
744
|
+
return false
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
// 校验是否输入商品
|
|
748
|
+
if (!this.skuInfo.skuCode){
|
|
749
|
+
|
|
750
|
+
this.skuInfoFocus.skuCode = true
|
|
751
|
+
this.$lwShowErrorMsg(
|
|
752
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.skuInfoNull','商品信息不能为空')
|
|
753
|
+
)
|
|
754
|
+
return false
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
// 校验商品信息是否被修改
|
|
758
|
+
if (this.skuInfo.skuCode !== this.skuInfo.sku.skuCode){
|
|
759
|
+
this.skuInfoFocus.skuCode = true
|
|
760
|
+
this.$lwShowErrorMsg(
|
|
761
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.skuError','当前输入商品与已获取的商品信息不一致!请点击商品输入框的确认按钮,重新获取当前输入的商品信息!')
|
|
762
|
+
)
|
|
763
|
+
return false
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
// 校验当前商品货主是否符合已选货主
|
|
767
|
+
if (this.skuInfo.sku.skuOwner !== this.abnormalType.ownerId){
|
|
768
|
+
this.skuInfoFocus.skuCode = true
|
|
769
|
+
this.$lwShowErrorMsg(
|
|
770
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.ownerError','所选货主与当前商品所属货主不一致')
|
|
771
|
+
)
|
|
772
|
+
return false
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
// 校验是否输入异常量
|
|
776
|
+
if (!this.skuInfo.abnQty){
|
|
777
|
+
|
|
778
|
+
this.skuInfoFocus.qty = true
|
|
779
|
+
this.$lwShowErrorMsg(
|
|
780
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.qtyNull','异常量不能为空且应当时大于0的整数')
|
|
781
|
+
)
|
|
782
|
+
return false
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
const num = Number(this.skuInfo.abnQty || 0)
|
|
786
|
+
if (
|
|
787
|
+
this.abnormalType.abnType !== 'ORDER' &&
|
|
788
|
+
this.abnormalType.abnSubType !== 'QTY_MORE' &&
|
|
789
|
+
!this.multiple && this.qty>-1 &&
|
|
790
|
+
num > this.qty
|
|
791
|
+
){
|
|
792
|
+
this.skuInfoFocus.qty = true
|
|
793
|
+
this.$lwShowErrorMsg(
|
|
794
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.skuMore','异常量不能大于待处理量')
|
|
795
|
+
)
|
|
796
|
+
this.skuInfo.abnQty = ''
|
|
797
|
+
return false
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
// 校验是否输入异常库位
|
|
801
|
+
if (!this.skuInfo.abnLocationCode){
|
|
802
|
+
|
|
803
|
+
this.skuInfoFocus.abnormalLocationCode = true
|
|
804
|
+
this.$lwShowErrorMsg(
|
|
805
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.localNull','异常库位不能为空')
|
|
806
|
+
)
|
|
807
|
+
return false
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
// 是否是多条保存
|
|
811
|
+
if (this.multiple){
|
|
812
|
+
|
|
813
|
+
this.skuList.push(this.formatAbnSkuData())
|
|
814
|
+
|
|
815
|
+
// 让所有输入框失去焦点
|
|
816
|
+
for (let i in this.skuInfoFocus){
|
|
817
|
+
this.skuInfoFocus[i] = false
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
// 清空商品信息数据
|
|
821
|
+
for (let i in this.skuInfo){
|
|
822
|
+
if(i === 'sku'){
|
|
823
|
+
this.skuInfo[i] = {}
|
|
824
|
+
continue
|
|
825
|
+
}
|
|
826
|
+
if(i === 'imagesArr'){
|
|
827
|
+
this.skuInfo[i] = []
|
|
828
|
+
continue
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
this.skuInfo[i] = ''
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
this.showAddBtn = true
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
return true
|
|
838
|
+
},
|
|
839
|
+
|
|
840
|
+
// 增加商品信息按钮被点击
|
|
841
|
+
addSku(){
|
|
842
|
+
this.showAddBtn = false
|
|
843
|
+
this.skuInfoFocus.skuCode = true
|
|
844
|
+
},
|
|
845
|
+
|
|
846
|
+
// 删除商品按钮被点击
|
|
847
|
+
delSku(index){
|
|
848
|
+
this.$lwDialog.confirm({
|
|
849
|
+
title: this.$lwLanguage.get('wms_project.pda.module.receiveAbn.warning','警告'),
|
|
850
|
+
message: this.$lwLanguage.get('wms_project.pda.module.receiveAbn.del','确认删除该商品?')
|
|
851
|
+
}).then(()=>{
|
|
852
|
+
this.skuList.splice(index, 1)
|
|
853
|
+
}).catch(()=>{})
|
|
854
|
+
},
|
|
855
|
+
|
|
856
|
+
// 获取当前异常模块的数据
|
|
857
|
+
getAbnormalData(){
|
|
858
|
+
// 校验是否允许多条保存
|
|
859
|
+
if (this.multiple){
|
|
860
|
+
|
|
861
|
+
// 多条保存是否有数据
|
|
862
|
+
if (this.skuList.length){
|
|
863
|
+
return {
|
|
864
|
+
success: true,
|
|
865
|
+
data: this.skuList
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
// 没有数据就报错
|
|
870
|
+
this.$lwShowErrorMsg(
|
|
871
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.skuListNull','没有保存任何商品信息,请先点击商品信息的保存按钮,保存录入的信息')
|
|
872
|
+
)
|
|
873
|
+
return {
|
|
874
|
+
success: false,
|
|
875
|
+
data: []
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
// 如果是单条数据就触发保存按钮
|
|
880
|
+
if (this.saveSku()){
|
|
881
|
+
return {
|
|
882
|
+
success: true,
|
|
883
|
+
data: [this.formatAbnSkuData()]
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
// 否则报错
|
|
888
|
+
return {
|
|
889
|
+
success: false,
|
|
890
|
+
data: []
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
|
|
894
|
+
getAllAbnormalData(){
|
|
895
|
+
const {success, data} = this.getAbnormalData()
|
|
896
|
+
|
|
897
|
+
if (!success) {
|
|
898
|
+
return {
|
|
899
|
+
success: false,
|
|
900
|
+
data: []
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
return {
|
|
905
|
+
success: true,
|
|
906
|
+
data: {
|
|
907
|
+
order: this.abnormalInfo,
|
|
908
|
+
lines: data,
|
|
909
|
+
...this.abnormalType,
|
|
910
|
+
asnId: this.asnData.id
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
|
|
915
|
+
// 确认上报
|
|
916
|
+
confirm(){
|
|
917
|
+
const {success, data} = this.getAbnormalData()
|
|
918
|
+
|
|
919
|
+
if (!success) return
|
|
920
|
+
|
|
921
|
+
wmsMobileSubmitAbnormalReceive({
|
|
922
|
+
order: this.abnormalInfo,
|
|
923
|
+
lines: data,
|
|
924
|
+
...this.abnormalType,
|
|
925
|
+
asnId: this.asnData.id
|
|
926
|
+
}).then(()=>{
|
|
927
|
+
this.$lwToast.success(
|
|
928
|
+
this.$lwLanguage.get('wms_project.pda.module.receiveAbn.abnSuccess','异常上报成功')
|
|
929
|
+
)
|
|
930
|
+
|
|
931
|
+
this.$emit('success')
|
|
932
|
+
})
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
</script>
|
|
937
|
+
|
|
938
|
+
<style scoped lang="less">
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
.lw-receive-abnormal-boss{
|
|
942
|
+
|
|
943
|
+
>.lw-input-box{
|
|
944
|
+
|
|
945
|
+
&:first-child{
|
|
946
|
+
padding-top: 0;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
&:last-child{
|
|
950
|
+
padding-bottom: 0;
|
|
951
|
+
border-bottom: none;
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
</style>
|