@logwire/logwire-wms-pda-ui 3.4.0 → 3.5.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/dist/{InboundQualityExecuteView.f1400c4d.mjs → InboundQualityExecuteView.8dc52c18.mjs} +1 -1
- package/dist/{InboundQualityTaskListView.f9ba1a95.mjs → InboundQualityTaskListView.be1d9513.mjs} +1 -1
- package/dist/{InboundReceiveAllocSkuExecuteView.9bfc004f.mjs → InboundReceiveAllocSkuExecuteView.c83e37da.mjs} +1 -1
- package/dist/{InboundReceiveAllocSnExecuteView.1daba8c3.mjs → InboundReceiveAllocSnExecuteView.3caf1015.mjs} +1 -1
- package/dist/{InboundReceiveAllocTabListView.da56a792.mjs → InboundReceiveAllocTabListView.aa9dbe9d.mjs} +1 -1
- package/dist/{InboundReceiveCaseExecuteView.d1901855.mjs → InboundReceiveCaseExecuteView.02ef5125.mjs} +1 -1
- package/dist/{InboundReceiveCaseScanView.0d1cb2a3.mjs → InboundReceiveCaseScanView.d949fd41.mjs} +1 -1
- package/dist/{InboundReceiveLpnBatchExecuteView.9fc9bdf9.mjs → InboundReceiveLpnBatchExecuteView.76425211.mjs} +1 -1
- package/dist/{InboundReceiveLpnExecuteView.9491c105.mjs → InboundReceiveLpnExecuteView.d88697c6.mjs} +1 -1
- package/dist/{InboundReceiveLpnScanView.403b7958.mjs → InboundReceiveLpnScanView.0dd03d06.mjs} +1 -1
- package/dist/{InboundReceiveRandomSkuExecuteView.e63222e4.mjs → InboundReceiveRandomSkuExecuteView.1db664c3.mjs} +1 -1
- package/dist/{InboundReceiveRandomSkuScanView.0fb14b83.mjs → InboundReceiveRandomSkuScanView.58c00148.mjs} +1 -1
- package/dist/{InboundReceiveRandomSkuSnExecuteView.bcd187dd.mjs → InboundReceiveRandomSkuSnExecuteView.2eb9dac9.mjs} +1 -1
- package/dist/{InboundReceiveSkuAdvanceView.b3d0639b.mjs → InboundReceiveSkuAdvanceView.f196236a.mjs} +1 -1
- package/dist/{InboundReceiveSkuDirectView.1f9b8395.mjs → InboundReceiveSkuDirectView.014f0326.mjs} +1 -1
- package/dist/{InboundReceiveSkuScanView.b05bcddc.mjs → InboundReceiveSkuScanView.4702f13a.mjs} +1 -1
- package/dist/{LwInboundSortingAsnView.8607c7eb.mjs → LwInboundSortingAsnView.0b353510.mjs} +1 -1
- package/dist/{LwInboundSortingByContainerView.173fb981.mjs → LwInboundSortingByContainerView.e154b1cc.mjs} +1 -1
- package/dist/{LwInboundSortingByOrderView.f29a9605.mjs → LwInboundSortingByOrderView.786ce048.mjs} +1 -1
- package/dist/{LwInboundSortingIndexView.1f6aa228.mjs → LwInboundSortingIndexView.2b89a4a5.mjs} +1 -1
- package/dist/{LwOutboundReprintBoxView.e6a44541.mjs → LwOutboundReprintBoxView.6601d332.mjs} +1 -1
- package/dist/{LwOutboundStockoutExecuteView.7559a4eb.mjs → LwOutboundStockoutExecuteView.b433f826.mjs} +1 -1
- package/dist/{LwOutboundStockoutListView.03c3a969.mjs → LwOutboundStockoutListView.975002cf.mjs} +1 -1
- package/dist/{MoveRandomWholeCaseView.cbc6931e.mjs → MoveRandomWholeCaseView.ce4586fe.mjs} +1 -1
- package/dist/{MoveTaskWholeCaseDownView.1fedec4f.mjs → MoveTaskWholeCaseDownView.2ef589be.mjs} +1 -1
- package/dist/{MoveTaskWholeCaseUpView.6d00c96b.mjs → MoveTaskWholeCaseUpView.f49ee35c.mjs} +1 -1
- package/dist/{MoveTaskWholeIndexView.5e9afbb7.mjs → MoveTaskWholeIndexView.e83f209a.mjs} +1 -1
- package/dist/{OutboundBlockBoxListView.ff040548.mjs → OutboundBlockBoxListView.7b6c0e26.mjs} +1 -1
- package/dist/{OutboundBlockExecuteView.b06fac44.mjs → OutboundBlockExecuteView.a355f884.mjs} +1 -1
- package/dist/{action.5b15af32.mjs → action.0b3e310e.mjs} +1 -1
- package/dist/{action.3676afc7.mjs → action.0d10a12f.mjs} +1 -1
- package/dist/action.0f04110f.mjs +26 -0
- package/dist/{action.7d3d51c9.mjs → action.106a7954.mjs} +1 -1
- package/dist/{action.fbf5e293.mjs → action.1536ee9a.mjs} +1 -1
- package/dist/{action.13799f6f.mjs → action.2b0a6202.mjs} +1 -1
- package/dist/{action.e58786ab.mjs → action.2ce47d1e.mjs} +2 -2
- package/dist/{action.9464b82a.mjs → action.2ec21582.mjs} +1 -1
- package/dist/{action.eaa40642.mjs → action.30d4f35c.mjs} +1 -1
- package/dist/{action.e3c4d020.mjs → action.3332adcb.mjs} +1 -1
- package/dist/{action.edd190ca.mjs → action.36feb8f2.mjs} +1 -1
- package/dist/{action.3e3bd701.mjs → action.39dc2b8b.mjs} +1 -1
- package/dist/{action.16ae457a.mjs → action.40f61b49.mjs} +1 -1
- package/dist/{action.d1c7e7d7.mjs → action.43af27e4.mjs} +1 -1
- package/dist/{action.cb3e7310.mjs → action.4449e030.mjs} +1 -1
- package/dist/{action.cb6e36a2.mjs → action.45b66043.mjs} +1 -1
- package/dist/{action.b2d44627.mjs → action.4a63cba5.mjs} +1 -1
- package/dist/{action.38ef91ee.mjs → action.54bb7293.mjs} +1 -1
- package/dist/{action.1b5c711f.mjs → action.58caa8ee.mjs} +1 -1
- package/dist/{action.a388abb2.mjs → action.608c7e5f.mjs} +1 -1
- package/dist/{action.fec4f8fb.mjs → action.709664af.mjs} +1 -1
- package/dist/{action.6460d91d.mjs → action.71ed3fad.mjs} +1 -1
- package/dist/{action.1254a4ee.mjs → action.74875263.mjs} +1 -1
- package/dist/{action.676bf4e1.mjs → action.7729b7d4.mjs} +1 -1
- package/dist/{action.7396e4a9.mjs → action.779401f2.mjs} +1 -1
- package/dist/{action.db48ec27.mjs → action.77ca3062.mjs} +1 -1
- package/dist/{action.eb42516c.mjs → action.7a6b95fc.mjs} +1 -1
- package/dist/{action.3b56c6c5.mjs → action.84cdbfb5.mjs} +1 -1
- package/dist/{action.5a952cba.mjs → action.8c47d3b2.mjs} +1 -1
- package/dist/{action.d48db92b.mjs → action.8d89d454.mjs} +1 -1
- package/dist/action.931f1f38.mjs +26 -0
- package/dist/{action.00dbbf7e.mjs → action.98f491f2.mjs} +1 -1
- package/dist/{action.1cddde86.mjs → action.9a7ebc27.mjs} +1 -1
- package/dist/{action.eec74b4b.mjs → action.9c6b3a00.mjs} +1 -1
- package/dist/action.9eb9da32.mjs +26 -0
- package/dist/{action.a255b4aa.mjs → action.aa95b56d.mjs} +1 -1
- package/dist/{action.b4fd975d.mjs → action.b1253a19.mjs} +1 -1
- package/dist/{action.b5ebe934.mjs → action.b23489af.mjs} +2 -2
- package/dist/{action.ae936f3f.mjs → action.b56143a1.mjs} +1 -1
- package/dist/{action.ea120e4f.mjs → action.b6cfe00e.mjs} +1 -1
- package/dist/{action.6e61a202.mjs → action.dfada995.mjs} +1 -1
- package/dist/{action.0db5e2d3.mjs → action.ebbaf20c.mjs} +1 -1
- package/dist/{action.ad76d2ac.mjs → action.ec137dd8.mjs} +1 -1
- package/dist/{action.c1abde68.mjs → action.edaa501d.mjs} +1 -1
- package/dist/{action.1f194d78.mjs → action.ee0e8b1f.mjs} +1 -1
- package/dist/{action.16a80b6d.mjs → action.ee9f9dad.mjs} +1 -1
- package/dist/{action.2d4e277e.mjs → action.ef23dfda.mjs} +1 -1
- package/dist/{action.fccfce24.mjs → action.fe8372ae.mjs} +1 -1
- package/dist/{add.3fd115fb.mjs → add.22e4bebe.mjs} +1 -1
- package/dist/{addEdit.458fa1d4.mjs → addEdit.65fef702.mjs} +1 -1
- package/dist/{addOrder.8069e1f3.mjs → addOrder.7a9e19c0.mjs} +1 -1
- package/dist/{allCheck.eebc0079.mjs → allCheck.28e21813.mjs} +1 -1
- package/dist/{aloneAction.97e48425.mjs → aloneAction.a768cce3.mjs} +1 -1
- package/dist/{box.e5b279d3.mjs → box.63e0de94.mjs} +1 -1
- package/dist/{boxAction.0cc493b1.mjs → boxAction.cdd8a9d4.mjs} +1 -1
- package/dist/{caseAction.7426d8f2.mjs → caseAction.ed5413f4.mjs} +1 -1
- package/dist/{console.959b8cb2.mjs → console.1d1facc6.mjs} +7 -7
- package/dist/{consoleInfo.b34c5622.mjs → consoleInfo.c5f534e9.mjs} +1 -1
- package/dist/{containerAction.55d871e0.mjs → containerAction.f966d345.mjs} +1 -1
- package/dist/{content.ada0061c.mjs → content.1e1c6b64.mjs} +1 -1
- package/dist/{content.275a6abb.mjs → content.33dde95b.mjs} +1 -1
- package/dist/{content.3e5b7290.mjs → content.df9b1645.mjs} +1 -1
- package/dist/content.e6d47338.mjs +26 -0
- package/dist/{contentInfo.abeec653.mjs → contentInfo.cb586e86.mjs} +1 -1
- package/dist/{countContent.6d8ec568.mjs → countContent.4c5327e1.mjs} +1 -1
- package/dist/{createEditOrder.a7c90d9d.mjs → createEditOrder.97ec324b.mjs} +1 -1
- package/dist/{createOrder.bb7dda76.mjs → createOrder.29ac9f2d.mjs} +1 -1
- package/dist/{createOrder.5d3a9032.mjs → createOrder.e38e814b.mjs} +1 -1
- package/dist/{customer.f61a0748.mjs → customer.25a3bc99.mjs} +1 -1
- package/dist/{device.9f2ee01f.mjs → device.fba3daff.mjs} +1 -1
- package/dist/{generate.724b094c.mjs → generate.583b5e0c.mjs} +1 -1
- package/dist/{home.a95a1e2c.mjs → home.c1ea45c2.mjs} +1 -1
- package/dist/{index.0446b071.mjs → index.033cbaff.mjs} +1 -1
- package/dist/{index.c765862e.mjs → index.04a986a2.mjs} +1 -1
- package/dist/index.04ea5b46.mjs +26 -0
- package/dist/{index.86182edf.mjs → index.091fe3a7.mjs} +1 -1
- package/dist/index.0978c1e4.mjs +26 -0
- package/dist/{index.81f0b8e4.mjs → index.0bf6b5ec.mjs} +1 -1
- package/dist/{index.c5bcf85e.mjs → index.0c704ac4.mjs} +1 -1
- package/dist/index.0dcbafb7.mjs +26 -0
- package/dist/index.0e4dc58e.mjs +26 -0
- package/dist/{index.31651473.mjs → index.102a5f12.mjs} +1 -1
- package/dist/{index.4c6bc70f.mjs → index.12b10880.mjs} +1 -1
- package/dist/{index.cba46cc0.mjs → index.1594eaad.mjs} +1 -1
- package/dist/{index.8de554db.mjs → index.1ce8bf4e.mjs} +1 -1
- package/dist/index.238b98ef.mjs +26 -0
- package/dist/{index.64a2e012.mjs → index.271b44af.mjs} +1 -1
- package/dist/{index.bc6467e3.mjs → index.28256c64.mjs} +1 -1
- package/dist/{index.743486ad.mjs → index.333a861b.mjs} +1 -1
- package/dist/{index.5870bb1c.mjs → index.34bb823f.mjs} +1 -1
- package/dist/{index.87290b1e.mjs → index.35483326.mjs} +2 -2
- package/dist/{index.3a4e2212.mjs → index.35bda2ce.mjs} +1 -1
- package/dist/{index.7826314e.mjs → index.3d2e6f83.mjs} +1 -1
- package/dist/{index.aea87646.mjs → index.41cc869b.mjs} +4 -4
- package/dist/index.4294d1d1.mjs +121 -0
- package/dist/{index.3fa726a5.mjs → index.46d4b9d0.mjs} +1 -1
- package/dist/{index.afe72749.mjs → index.4a0facb7.mjs} +1 -1
- package/dist/{index.3e439caa.mjs → index.4f29934b.mjs} +1 -1
- package/dist/{index.8c09d362.mjs → index.5bcf0a37.mjs} +1 -1
- package/dist/index.5edcc11e.mjs +26 -0
- package/dist/{index.6d7d1a76.mjs → index.5f648cc9.mjs} +1 -1
- package/dist/{index.fa34d55c.mjs → index.6ed23269.mjs} +1 -1
- package/dist/{index.2a874ca9.mjs → index.6f36b2a0.mjs} +1 -1
- package/dist/{index.f7dbec0a.mjs → index.72bce7d7.mjs} +1 -1
- package/dist/{index.53b3e4bd.mjs → index.76d07a7e.mjs} +1 -1
- package/dist/index.78b3ce46.mjs +26 -0
- package/dist/{index.03e099d0.mjs → index.7959b2a9.mjs} +1 -1
- package/dist/{index.2d5b9bee.mjs → index.7f1c54fc.mjs} +1 -1
- package/dist/{index.17f8c2ad.mjs → index.7fb5db35.mjs} +1 -1
- package/dist/{index.42632046.mjs → index.823a2d7f.mjs} +1 -1
- package/dist/{index.6b82a7be.mjs → index.82568717.mjs} +1 -1
- package/dist/{index.33b346b3.mjs → index.82828d17.mjs} +1 -1
- package/dist/{index.51db2ec8.mjs → index.8690c1c1.mjs} +1 -1
- package/dist/{index.242e174c.mjs → index.87de54b1.mjs} +1 -1
- package/dist/{index.aec607bd.mjs → index.89d00ebf.mjs} +1 -1
- package/dist/{index.ab6eb2cf.mjs → index.8d076322.mjs} +1 -1
- package/dist/{index.e9d550b0.mjs → index.8e21de7e.mjs} +1 -1
- package/dist/{index.6a8f6d04.mjs → index.8e33e058.mjs} +1 -1
- package/dist/{index.89638388.mjs → index.8fa82299.mjs} +1 -1
- package/dist/{index.cd44c47c.mjs → index.8fe75485.mjs} +1 -1
- package/dist/index.92cd81e8.mjs +26 -0
- package/dist/{index.e9db6c0e.mjs → index.94c5b593.mjs} +1 -1
- package/dist/index.95220fdb.mjs +22 -0
- package/dist/{index.85186d04.mjs → index.952f55f9.mjs} +1 -1
- package/dist/{index.192a691a.mjs → index.a2ac2817.mjs} +1 -1
- package/dist/{index.c83ef89a.mjs → index.a448dbee.mjs} +1 -1
- package/dist/{index.77c3c6f2.mjs → index.a7cc050a.mjs} +1 -1
- package/dist/index.a96f61e4.mjs +26 -0
- package/dist/{index.4e036802.mjs → index.a9e99942.mjs} +1 -1
- package/dist/{index.57555e6a.mjs → index.ae01c34b.mjs} +1 -1
- package/dist/{index.c71e2b1b.mjs → index.af49542f.mjs} +1 -1
- package/dist/{index.1e41d98d.mjs → index.b71cc462.mjs} +1 -1
- package/dist/{index.c71a63d8.mjs → index.ba393fc0.mjs} +1 -1
- package/dist/{index.2f617f6f.mjs → index.bc3eb1b2.mjs} +1 -1
- package/dist/{index.45d8bb45.mjs → index.bca0c3c2.mjs} +1 -1
- package/dist/{index.4a7277b4.mjs → index.be9ad673.mjs} +1 -1
- package/dist/{index.c7323da4.mjs → index.c8456897.mjs} +1 -1
- package/dist/{index.e220ce43.mjs → index.c8f0ffe3.mjs} +1 -1
- package/dist/{index.fc30ca1d.mjs → index.cac7596a.mjs} +1 -1
- package/dist/{index.e0d174fb.mjs → index.cb6ec1f0.mjs} +1 -1
- package/dist/{index.b127376f.mjs → index.ce7f7299.mjs} +1 -1
- package/dist/{index.75a6718e.mjs → index.d023ac3c.mjs} +1 -1
- package/dist/{index.99854c0f.mjs → index.d356f45b.mjs} +24797 -17833
- package/dist/{index.816aa554.mjs → index.d37a74c2.mjs} +1 -1
- package/dist/{index.03ceb7df.mjs → index.d4d69f42.mjs} +1 -1
- package/dist/{index.b5f17c4a.mjs → index.dac3db55.mjs} +1 -1
- package/dist/{index.df238343.mjs → index.dd1934d8.mjs} +1 -1
- package/dist/{index.d408cae5.mjs → index.dfb6a927.mjs} +1 -1
- package/dist/{index.92327481.mjs → index.e16f9d89.mjs} +1 -1
- package/dist/{index.fca00a77.mjs → index.e2752a26.mjs} +1 -1
- package/dist/{index.b2470973.mjs → index.e3d89832.mjs} +1 -1
- package/dist/{index.66b25c2a.mjs → index.ebbce4ca.mjs} +1 -1
- package/dist/{index.4ce91094.mjs → index.ec5567e5.mjs} +1 -1
- package/dist/{index.5ff99b23.mjs → index.ed999328.mjs} +3 -2
- package/dist/{index.25814d2f.mjs → index.efc16e32.mjs} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{index.aca3e365.mjs → index.f0ed46fa.mjs} +1 -1
- package/dist/{index.195dda6e.mjs → index.f347234b.mjs} +1 -1
- package/dist/{index.a02213a9.mjs → index.f39df3b2.mjs} +1 -1
- package/dist/{index.757600bb.mjs → index.f8f6b642.mjs} +1 -1
- package/dist/{index.495b0917.mjs → index.fb32112b.mjs} +1 -1
- package/dist/{index.9fcb7f93.mjs → index.ff041816.mjs} +1 -1
- package/dist/index.umd.js +14 -14
- package/dist/{language.f4148eff.mjs → language.26b0f614.mjs} +1 -1
- package/dist/{large.ca89e385.mjs → large.75055d2f.mjs} +1 -1
- package/dist/{line.117089ec.mjs → line.d6c185ab.mjs} +1 -1
- package/dist/{list.a188c503.mjs → list.2fb9728e.mjs} +1 -1
- package/dist/locContent.10e2410a.mjs +26 -0
- package/dist/look.00cd186f.mjs +26 -0
- package/dist/{look.a8fc2db3.mjs → look.d6b7a700.mjs} +1 -1
- package/dist/{lpn.0bfbbe17.mjs → lpn.63a9539b.mjs} +1 -1
- package/dist/{lpn.244e47ac.mjs → lpn.c3068026.mjs} +1 -1
- package/dist/{lpnAction.c1bbd446.mjs → lpnAction.5786efe5.mjs} +1 -1
- package/dist/{lpnAction.ff333ed4.mjs → lpnAction.f515bcb3.mjs} +1 -1
- package/dist/{lpnBatchAction.f7a9df7a.mjs → lpnBatchAction.c64c460f.mjs} +1 -1
- package/dist/{menuOne.eb78309c.mjs → menuOne.fd6d29ba.mjs} +1 -1
- package/dist/{menuTwo.7d1a1aab.mjs → menuTwo.25ab697e.mjs} +1 -1
- package/dist/{move.24e3c623.mjs → move.087e4635.mjs} +1 -1
- package/dist/{msg.c28717a3.mjs → msg.ccc0cfca.mjs} +1 -1
- package/dist/{myTaskGroup.5b6a8b8a.mjs → myTaskGroup.e0cc4165.mjs} +1 -1
- package/dist/{myTaskGroupContent.f23e370f.mjs → myTaskGroupContent.4b09fdd1.mjs} +1 -1
- package/dist/{newBale.0c02acc7.mjs → newBale.3f0d234b.mjs} +1 -1
- package/dist/{newBale.4096fa86.mjs → newBale.5f083cba.mjs} +1 -1
- package/dist/{newLpn.f7ac92b5.mjs → newLpn.3da8b7ca.mjs} +1 -1
- package/dist/{notAloneAction.b7c20877.mjs → notAloneAction.baac96b3.mjs} +1 -1
- package/dist/{orderAction.81e1e8fa.mjs → orderAction.e8d36844.mjs} +1 -1
- package/dist/{orderInfo.b01530be.mjs → orderInfo.9bdde083.mjs} +1 -1
- package/dist/{orderInfo.db0cf04d.mjs → orderInfo.e48b7e7f.mjs} +1 -1
- package/dist/{over.e2166381.mjs → over.650e473e.mjs} +1 -1
- package/dist/{page.f0e1e6db.mjs → page.cdcfe7be.mjs} +1 -1
- package/dist/{print.6cbd014b.mjs → print.f1ebf8a3.mjs} +1 -1
- package/dist/{printLabel.bbace1e7.mjs → printLabel.9cbddfaa.mjs} +1 -1
- package/dist/{queryByLocationCode.c135ef00.mjs → queryByLocationCode.15340e4a.mjs} +1 -1
- package/dist/{queryBySkuCode.547b6c2e.mjs → queryBySkuCode.e40b55a1.mjs} +1 -1
- package/dist/{sample.2c2b6724.mjs → sample.f52bb1f8.mjs} +1 -1
- package/dist/{scan.98b485c4.mjs → scan.81c05612.mjs} +1 -1
- package/dist/{search.af87d8be.mjs → search.c1145bdd.mjs} +1 -1
- package/dist/{selectType.5a3cbfec.mjs → selectType.f3481ebc.mjs} +1 -1
- package/dist/{sku.08bdcc86.mjs → sku.f3dc6a20.mjs} +1 -1
- package/dist/{skuAction.9b36b769.mjs → skuAction.077bc503.mjs} +1 -1
- package/dist/{skuCheck.a874059a.mjs → skuCheck.ea182fbb.mjs} +1 -1
- package/dist/skuContent.51c8a2d1.mjs +26 -0
- package/dist/skuLocContent.ba296b9c.mjs +26 -0
- package/dist/{smallPage.16fd5bee.mjs → smallPage.dff8cde8.mjs} +1 -1
- package/dist/{sowAction.ba5b53c7.mjs → sowAction.359f3d64.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{task.49829f72.mjs → task.2af9dfa9.mjs} +1 -1
- package/dist/{task.785bad5e.mjs → task.3bd46d1b.mjs} +1 -1
- package/dist/{taskContent.110d5c0b.mjs → taskContent.98261335.mjs} +1 -1
- package/dist/{taskEntrance.9077df61.mjs → taskEntrance.be1984c2.mjs} +1 -1
- package/dist/{taskGroup.90c61bb1.mjs → taskGroup.50baae81.mjs} +1 -1
- package/dist/{taskGroupContent.e6438d8b.mjs → taskGroupContent.fa4e1df6.mjs} +1 -1
- package/dist/{timezone.7ed0cd41.mjs → timezone.e2d0316b.mjs} +1 -1
- package/dist/{warehouse.290ea85c.mjs → warehouse.9597d9bb.mjs} +1 -1
- package/package.json +11 -11
- package/src/api/Common.js +117 -0
- package/src/api/barcode.js +1 -1
- package/src/assets/css/global.less +14 -8
- package/src/assets/img/menu/dataAnalysis/dataAnalysis.png +0 -0
- package/src/assets/img/menu/inner/lotTransfer.png +0 -0
- package/src/assets/img/menu/outbound/orderCheck.png +0 -0
- package/src/assets/img/menu/outbound/orderPick.png +0 -0
- package/src/assets/img/menu/outbound/orderPickOutbound.png +0 -0
- package/src/assets/img/menu/production/bom.png +0 -0
- package/src/assets/img/menu/production/production.png +0 -0
- package/src/assets/img/menu/production/recerveMaterial.png +0 -0
- package/src/assets/img/menu/receive/mixture.png +0 -0
- package/src/assets/img/menu/robot/pocAuto.png +0 -0
- package/src/assets/img/menu/robot/robot.png +0 -0
- package/src/assets/img/menu/task.png +0 -0
- package/src/assets/img/menu/taskFinish.png +0 -0
- package/src/components/BottomBarBtnHidden/index.vue +4 -2
- package/src/components/Button/index.vue +13 -0
- package/src/components/CalendarPopup/index.js +11 -0
- package/src/components/CalendarPopup/index.vue +239 -0
- package/src/components/CarPlate/index.vue +2 -2
- package/src/components/Cell/index.vue +3 -3
- package/src/components/CellPopupDate/index.vue +8 -1
- package/src/components/CellPopupRadio/index.vue +10 -6
- package/src/components/CodeNameQtyRow/index.js +11 -0
- package/src/components/CodeNameQtyRow/index.vue +139 -0
- package/src/components/DataLookBg/index.vue +43 -5
- package/src/components/ErrorMsg/index.vue +10 -15
- package/src/components/ImgLook/index.vue +14 -2
- package/src/components/Input/index.vue +65 -61
- package/src/components/LabelValueGroup/cellTag.vue +81 -0
- package/src/components/LabelValueGroup/index.vue +70 -18
- package/src/components/Loading/index.vue +13 -5
- package/src/components/NoticeBar/index.vue +9 -9
- package/src/components/Pagination/index.vue +86 -64
- package/src/components/TitleValueCell/index.vue +77 -25
- package/src/components/index.js +6 -0
- package/src/mixins/loginAndInit/index.js +2 -2
- package/src/router/index.js +5 -98
- package/src/router/menu.js +75 -31
- package/src/test/file/index.vue +5 -1
- package/src/utils/BarcodeResolve.js +237 -91
- package/src/utils/DateTime.js +11 -10
- package/src/utils/Dialog.js +5 -10
- package/src/utils/GetImgSrc.js +1 -1
- package/src/utils/LocalStaff.js +52 -0
- package/src/utils/Print.js +16 -6
- package/src/utils/ProjectCustomRender.js +71 -0
- package/src/utils/SystemConfig.js +93 -0
- package/src/utils/Timezone.js +21 -1
- package/src/utils/Toast.js +11 -5
- package/src/utils/Utils.js +138 -22
- package/src/utils/index.js +6 -0
- package/src/views/automate/api/pocAutomate.js +27 -0
- package/src/views/automate/menu.js +33 -0
- package/src/views/automate/router.js +15 -0
- package/src/views/automate/views/pocAutomate/components/collapseBox.vue +101 -0
- package/src/views/automate/views/pocAutomate/index.js +12 -0
- package/src/views/automate/views/pocAutomate/index.vue +69 -0
- package/src/views/common/api/taskFinish.js +34 -0
- package/src/views/common/menu.js +43 -0
- package/src/views/common/module/Menu/index.vue +33 -22
- package/src/views/common/module/MuchDataSelectPopup/index.js +11 -0
- package/src/views/common/module/MuchDataSelectPopup/index.vue +290 -0
- package/src/views/common/module/OnLine/index.vue +1 -0
- package/src/views/common/module/SearchSelectPopup/index.js +11 -0
- package/src/views/common/module/SearchSelectPopup/index.vue +303 -0
- package/src/views/common/module/SystemInfo/index.vue +46 -26
- package/src/views/common/module/UserSelectPopup/index.vue +1 -1
- package/src/views/common/module/index.js +6 -0
- package/src/views/common/page/Login/index.vue +12 -3
- package/src/views/common/page/My/index.vue +1 -0
- package/src/views/common/page/Print/index.vue +1 -1
- package/src/views/common/page/Task/components/itemHeader.vue +28 -9
- package/src/views/common/page/Task/components/lookTaskContentPopup.vue +25 -6
- package/src/views/common/page/Task/components/taskItem.vue +46 -22
- package/src/views/common/page/Task/index/index.vue +49 -150
- package/src/views/common/page/TaskConsole/index.vue +11 -30
- package/src/views/common/page/TaskFinish/index.js +12 -0
- package/src/views/common/page/TaskFinish/index.vue +295 -0
- package/src/views/common/page/TaskFinish//345/267/262/345/256/214/346/210/220/347/232/204/344/273/273/345/212/241.md +0 -0
- package/src/views/common/page/index.js +3 -0
- package/src/views/common/router.js +116 -0
- package/src/views/common/views/init/index.vue +1 -0
- package/src/views/common/views/taskFinish/index.vue +23 -0
- package/src/views/vin/page/quality/register/index.vue +7 -22
- package/src/views/vin/page/receive/noOrder/index.vue +12 -71
- package/src/views/vin/page/receive/scanCar/action.vue +18 -12
- package/src/views/wms/api/components.js +25 -0
- package/src/views/wms/api/config/masterLocation/masterLocationConfig/action.js +12 -6
- package/src/views/wms/api/config/masterLocation/masterLocationQuery/action.js +18 -2
- package/src/views/wms/api/config/newProject/action.js +0 -10
- package/src/views/wms/api/container/repairRegister.js +13 -4
- package/src/views/wms/api/dataAnalysis/index.js +16 -0
- package/src/views/wms/api/inbound/printLabel.js +4 -4
- package/src/views/wms/api/inbound/quality.js +9 -10
- package/src/views/wms/api/inbound/receive.js +61 -42
- package/src/views/wms/api/inbound/unload.js +30 -21
- package/src/views/wms/api/inner/borrow/index.js +2 -2
- package/src/views/wms/api/inner/count/console.js +0 -9
- package/src/views/wms/api/inner/count/index.js +27 -2
- package/src/views/wms/api/inner/dead/query.js +25 -7
- package/src/views/wms/api/inner/lotTransfer.js +52 -0
- package/src/views/wms/api/inner/quality/action.js +11 -2
- package/src/views/wms/api/inner/reportAbnormal/index.js +0 -9
- package/src/views/wms/api/inventory/inventory.js +0 -7
- package/src/views/wms/api/outbound/assignLpnPick.js +21 -5
- package/src/views/wms/api/outbound/bale/checkBale/index.js +4 -4
- package/src/views/wms/api/outbound/delivery/action.js +26 -17
- package/src/views/wms/api/outbound/delivery/addOrder.js +0 -16
- package/src/views/wms/api/outbound/handover/index.js +12 -12
- package/src/views/wms/api/outbound/handover/mixin.js +1 -1
- package/src/views/wms/api/outbound/orderCheck.js +70 -0
- package/src/views/wms/api/outbound/orderPick.js +15 -0
- package/src/views/wms/api/outbound/orderPickOutbound.js +51 -0
- package/src/views/wms/api/outbound/pick/common.js +15 -0
- package/src/views/wms/api/outbound/pick/exchangePickContainer.js +24 -0
- package/src/views/wms/api/outbound/pickConsole/orderPick.js +80 -27
- package/src/views/wms/api/outbound/sow/index.js +11 -2
- package/src/views/wms/api/outbound/stockout/index.js +31 -25
- package/src/views/wms/api/production/receiveMaterial.js +16 -0
- package/src/views/wms/api/receive/abnormal.js +42 -6
- package/src/views/wms/api/receive/console.js +83 -10
- package/src/views/wms/api/receive/mixture.js +134 -0
- package/src/views/wms/api/receive/moreOrder.js +15 -6
- package/src/views/wms/api/receive/putaway.js +14 -5
- package/src/views/wms/api/receive/receipt.js +22 -4
- package/src/views/wms/components/blockPopup.vue +97 -0
- package/src/views/wms/components/consoleAndPick/components/backOrderPopup.vue +1 -1
- package/src/views/wms/components/consoleAndPick/components/orderInfo.vue +1 -1
- package/src/views/wms/components/consoleAndPick/createOrderPage.vue +523 -278
- package/src/views/wms/components/consoleAndPick/orderHeadData.vue +22 -33
- package/src/views/wms/components/consoleAndPick/waitOverTaskItem.vue +5 -27
- package/src/views/wms/components/consoleAndPick/waitOverTitle.vue +1 -0
- package/src/views/wms/components/receiveSkuGroup/popup.vue +66 -0
- package/src/views/wms/components/receiveSkuGroup/skuInfo.vue +40 -0
- package/src/views/wms/menu.js +27 -614
- package/src/views/wms/mixin/pickMixin.js +68 -0
- package/src/views/wms/module/AbnormalInput/index.vue +24 -15
- package/src/views/wms/module/GetQtyByType/index.js +11 -0
- package/src/views/wms/module/GetQtyByType/index.vue +400 -0
- package/src/views/wms/module/GetQtyByType//346/240/271/346/215/256/347/261/273/345/236/213/350/216/267/345/217/226/346/225/260/351/207/217.md +0 -0
- package/src/views/wms/module/InnerAbnormal/index.vue +34 -12
- package/src/views/wms/module/Lot/index.vue +24 -7
- package/src/views/wms/module/ReceiveAbnormal/index.vue +539 -243
- package/src/views/wms/module/ScanDataList/components/index.less +17 -0
- package/src/views/wms/module/ScanDataList/components/rowItem.vue +60 -0
- package/src/views/wms/module/ScanDataList/components/rowTitle.vue +47 -0
- package/src/views/wms/module/ScanDataList/index.vue +135 -135
- package/src/views/wms/module/SkuInfo/index.vue +1 -0
- package/src/views/wms/module/SnSearchSku/index.vue +6 -37
- package/src/views/wms/module/index.js +6 -0
- package/src/views/wms/module/selectRowPopup/index.js +12 -0
- package/src/views/wms/module/selectRowPopup/index.vue +89 -0
- package/src/views/wms/module/selectRowPopup//351/200/211/346/213/251/350/241/214/345/274/271/346/241/206.md +0 -0
- package/src/views/wms/page/config/masterLocation/masterLocationConfig/action/index.vue +52 -64
- package/src/views/wms/page/config/masterLocation/masterLocationConfig/index/index.vue +26 -77
- package/src/views/wms/page/config/masterLocation/masterLocationQuery/action/queryByLocationCode.vue +139 -100
- package/src/views/wms/page/config/masterLocation/masterLocationQuery/action/queryBySkuCode.vue +93 -90
- package/src/views/wms/page/config/masterLocation/masterLocationQuery/index/index.vue +73 -47
- package/src/views/wms/page/config/newProject/action/index.vue +64 -138
- package/src/views/wms/page/config/newProject/index/index.vue +33 -64
- package/src/views/wms/page/container/containerBack/index/index.vue +1 -1
- package/src/views/wms/page/container/rentBack/aciton/index.vue +1 -2
- package/src/views/wms/page/container/repairBack/aciton/index.vue +8 -9
- package/src/views/wms/page/container/repairRegister/components/containerInfo.vue +5 -6
- package/src/views/wms/page/container/repairRegister/orderInfo/index.vue +93 -145
- package/src/views/wms/page/count/components/CountBoard.vue +3 -4
- package/src/views/wms/page/count/components/RandomCount.vue +71 -46
- package/src/views/wms/page/count/console/components/randomCountItem.vue +1 -1
- package/src/views/wms/page/count/console/index/index.vue +71 -245
- package/src/views/wms/page/count/inv/action/index.vue +43 -30
- package/src/views/wms/page/count/inv/index/index.vue +45 -31
- package/src/views/wms/page/count/loc/action/index.vue +502 -407
- package/src/views/wms/page/count/loc/index/index.vue +36 -28
- package/src/views/wms/page/dataAnalysis/components/screenData.vue +121 -0
- package/src/views/wms/page/dataAnalysis/index.js +18 -0
- package/src/views/wms/page/dataAnalysis/index.vue +168 -0
- package/src/views/wms/page/dataAnalysis/look.vue +100 -0
- package/src/views/wms/page/dataAnalysis//346/225/260/346/215/256/345/210/206/346/236/220/347/234/213/346/235/277.md +0 -0
- package/src/views/wms/page/inbound/components/AllocScanListItem.vue +5 -5
- package/src/views/wms/page/inbound/components/AllocSkuListItem.vue +4 -4
- package/src/views/wms/page/inbound/components/AsnInfo.vue +48 -30
- package/src/views/wms/page/inbound/components/AsnSkuInfo.vue +46 -48
- package/src/views/wms/page/inbound/components/QualityCard.vue +2 -2
- package/src/views/wms/page/inbound/components/QualityTaskInfo.vue +4 -4
- package/src/views/wms/page/inbound/components/SortingAsnInfo.vue +5 -5
- package/src/views/wms/page/inbound/components/SortingBoxInfo.vue +11 -11
- package/src/views/wms/page/inbound/components/printLabelPopup.vue +52 -60
- package/src/views/wms/page/inbound/receive/home/index.vue +54 -40
- package/src/views/wms/page/inbound/receive/index/index.vue +30 -12
- package/src/views/wms/page/inbound/receive/printLabel/index.vue +48 -50
- package/src/views/wms/page/inbound/receive/quality/LwInboundQualityExecutePage.vue +79 -39
- package/src/views/wms/page/inbound/receive/quality/LwInboundQualityTaskListPage.vue +58 -46
- package/src/views/wms/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSkuExecutePage.vue +120 -57
- package/src/views/wms/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSnExecutePage.vue +42 -16
- package/src/views/wms/page/inbound/receive/receive-alloc/LwInboundReceiveAllocTabListPage.vue +28 -17
- package/src/views/wms/page/inbound/receive/receive-case/LwInboundReceiveCaseExecutePage.vue +62 -27
- package/src/views/wms/page/inbound/receive/receive-case/LwInboundReceiveCaseScanPage.vue +25 -4
- package/src/views/wms/page/inbound/receive/receive-lpn/LwInboundReceiveLpnBatchExecutePage.vue +31 -13
- package/src/views/wms/page/inbound/receive/receive-lpn/LwInboundReceiveLpnExecutePage.vue +27 -15
- package/src/views/wms/page/inbound/receive/receive-lpn/LwInboundReceiveLpnScanPage.vue +8 -1
- package/src/views/wms/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuExecutePage.vue +144 -61
- package/src/views/wms/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuScanPage.vue +246 -71
- package/src/views/wms/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuSnExecutePage.vue +62 -37
- package/src/views/wms/page/inbound/receive/receive-sku/LwInboundReceiveSkuAdvancePage.vue +186 -102
- package/src/views/wms/page/inbound/receive/receive-sku/LwInboundReceiveSkuDirectPage.vue +144 -86
- package/src/views/wms/page/inbound/receive/receive-sku/LwInboundReceiveSkuScanPage.vue +135 -121
- package/src/views/wms/page/inbound/sorting/LwInboundSortingByContainerPage.vue +96 -22
- package/src/views/wms/page/inbound/sorting/LwInboundSortingByOrderPage.vue +87 -37
- package/src/views/wms/page/inbound/sorting/LwInboundSortingIndexPage.vue +9 -1
- package/src/views/wms/page/inbound/unload/action/index.vue +411 -246
- package/src/views/wms/page/inbound/unload/add/index.vue +23 -83
- package/src/views/wms/page/inbound/unload/components/asnAddPopup.vue +295 -0
- package/src/views/wms/page/inbound/unload/index/index.vue +84 -85
- package/src/views/wms/page/inbound/unload/uploadMixin.js +2 -13
- package/src/views/wms/page/inbound/util/InboundUtils.js +27 -30
- package/src/views/wms/page/index.js +9 -1
- package/src/views/wms/page/inner/abnormalMove/index/index.vue +50 -55
- package/src/views/wms/page/inner/borrow/action/index.vue +201 -229
- package/src/views/wms/page/inner/borrow/components/pickTaskItem.vue +88 -0
- package/src/views/wms/page/inner/borrow/index/index.vue +127 -162
- package/src/views/wms/page/inner/caseQuickMove/index/index.vue +105 -102
- package/src/views/wms/page/inner/check/action/action.vue +176 -222
- package/src/views/wms/page/inner/dead/components/abnPopup.vue +5 -1
- package/src/views/wms/page/inner/dead/components/bagItem.vue +16 -2
- package/src/views/wms/page/inner/dead/components/boxListItem.vue +12 -4
- package/src/views/wms/page/inner/dead/components/dataInfo.vue +17 -39
- package/src/views/wms/page/inner/dead/components/lackPopup.vue +1 -0
- package/src/views/wms/page/inner/dead/components/lpnListItem.vue +13 -4
- package/src/views/wms/page/inner/dead/components/taskItem.vue +41 -67
- package/src/views/wms/page/inner/dead/components/waitOverLpn.vue +2 -1
- package/src/views/wms/page/inner/dead/large/index.vue +48 -35
- package/src/views/wms/page/inner/dead/putaway/action/index.vue +2 -0
- package/src/views/wms/page/inner/dead/putaway/components/collapseItem.vue +3 -1
- package/src/views/wms/page/inner/dead/putaway/index/index.vue +2 -0
- package/src/views/wms/page/inner/dead/query/action/action.vue +408 -368
- package/src/views/wms/page/inner/dead/query/index/index.vue +62 -67
- package/src/views/wms/page/inner/dead/small/index.vue +58 -46
- package/src/views/wms/page/inner/disposeAbnormal/action/index.vue +7 -4
- package/src/views/wms/page/inner/disposeAbnormal/components/abnInfo/index.vue +58 -43
- package/src/views/wms/page/inner/disposeAbnormal/components/disposePopup/index.vue +3 -0
- package/src/views/wms/page/inner/disposeAbnormal/components/listItem/index.vue +5 -5
- package/src/views/wms/page/inner/disposeAbnormal/components/searchBar/index.vue +6 -2
- package/src/views/wms/page/inner/disposeAbnormal/index/index.vue +18 -15
- package/src/views/wms/page/inner/fragQuickMove/action/index.vue +82 -68
- package/src/views/wms/page/inner/fragQuickMove/index/index.vue +27 -69
- package/src/views/wms/page/inner/index.js +5 -6
- package/src/views/wms/page/inner/lotTransfer/action.vue +318 -0
- package/src/views/wms/page/inner/lotTransfer/components/lotItem.vue +45 -0
- package/src/views/wms/page/inner/lotTransfer/index.js +18 -0
- package/src/views/wms/page/inner/lotTransfer/index.vue +126 -0
- package/src/views/wms/page/inner/lotTransfer//346/211/271/346/254/241/350/275/254/347/247/273.md +0 -0
- package/src/views/wms/page/inner/lpnMove/action/index.vue +6 -2
- package/src/views/wms/page/inner/lpnMove/index/index.vue +2 -0
- package/src/views/wms/page/inner/materialApply/action/index.vue +139 -205
- package/src/views/wms/page/inner/materialApply/generate/index.vue +108 -98
- package/src/views/wms/page/inner/movePutAway/index/index.vue +12 -8
- package/src/views/wms/page/inner/quality/action/index.vue +216 -47
- package/src/views/wms/page/inner/quality/components/lookData.vue +14 -25
- package/src/views/wms/page/inner/quality/components/sampleInfo.vue +28 -30
- package/src/views/wms/page/inner/quality/sample/index.vue +166 -69
- package/src/views/wms/page/inner/randomMove/components/Down/index.vue +95 -69
- package/src/views/wms/page/inner/randomMove/components/Up/index.vue +115 -97
- package/src/views/wms/page/inner/randomMove/index/index.vue +45 -39
- package/src/views/wms/page/inner/reportAbnormal/action/index.vue +29 -22
- package/src/views/wms/page/inner/reportAbnormal/index/index.vue +39 -150
- package/src/views/wms/page/inner/taskMove/index/index.vue +220 -188
- package/src/views/wms/page/inner/taskMove/whole/MoveRandomWholeCase.vue +136 -32
- package/src/views/wms/page/inner/taskMove/whole/MoveTaskWholeCaseDown.vue +46 -8
- package/src/views/wms/page/inner/taskMove/whole/MoveTaskWholeCaseUp.vue +36 -8
- package/src/views/wms/page/inner/taskMove/whole/MoveTaskWholeIndex.vue +59 -42
- package/src/views/wms/page/inventory/index.js +16 -1
- package/src/views/wms/page/inventory/inventoryLotPage/index.vue +49 -60
- package/src/views/wms/page/inventory/queryInventory/components/locInfoRow.vue +3 -3
- package/src/views/wms/page/inventory/queryInventory/components/locSearch.vue +7 -7
- package/src/views/wms/page/inventory/queryInventory/components/skuLocSearch.vue +64 -76
- package/src/views/wms/page/inventory/queryInventory/components/skuSearch.vue +77 -82
- package/src/views/wms/page/inventory/queryInventory/index/index.vue +108 -70
- package/src/views/wms/page/inventory/queryInventory/locContent.vue +237 -0
- package/src/views/wms/page/inventory/queryInventory/page/index.vue +39 -61
- package/src/views/wms/page/inventory/queryInventory/skuContent.vue +144 -0
- package/src/views/wms/page/inventory/queryInventory/skuLocContent.vue +54 -0
- package/src/views/wms/page/outbound/assignLpnPick/action.vue +92 -56
- package/src/views/wms/page/outbound/assignLpnPick/createOrder.vue +1 -4
- package/src/views/wms/page/outbound/bale/aloneBale/action/index.vue +63 -72
- package/src/views/wms/page/outbound/bale/aloneBale/index/index.vue +28 -12
- package/src/views/wms/page/outbound/bale/aloneBale/newBale/index.vue +1 -0
- package/src/views/wms/page/outbound/bale/baleChange/action/index.vue +109 -114
- package/src/views/wms/page/outbound/bale/baleChange/index/index.vue +8 -6
- package/src/views/wms/page/outbound/bale/baleChange/skuCheck/index.vue +25 -27
- package/src/views/wms/page/outbound/bale/checkBale/action/index.vue +52 -49
- package/src/views/wms/page/outbound/bale/checkBale/allCheck/index.vue +1 -4
- package/src/views/wms/page/outbound/bale/checkBale/index/index.vue +67 -42
- package/src/views/wms/page/outbound/bale/checkBale/newBale/index.vue +1 -0
- package/src/views/wms/page/outbound/bale/components/containerInfo/index.vue +24 -42
- package/src/views/wms/page/outbound/bale/components/delSku/index.vue +43 -30
- package/src/views/wms/page/outbound/bale/components/partBlock/index.vue +1 -0
- package/src/views/wms/page/outbound/bale/components/planCollapse/index.vue +5 -4
- package/src/views/wms/page/outbound/bale/components/storeInfo/index.vue +1 -0
- package/src/views/wms/page/outbound/bale/components/storeInfoSkuList/index.vue +2 -1
- package/src/views/wms/page/outbound/bale/mixins.js +14 -9
- package/src/views/wms/page/outbound/block/LwOutboundBlockExecutePage.vue +30 -7
- package/src/views/wms/page/outbound/boxTransfer/action/index.vue +4 -1
- package/src/views/wms/page/outbound/boxTransfer/index/index.vue +3 -0
- package/src/views/wms/page/outbound/delivery/action/index.vue +278 -132
- package/src/views/wms/page/outbound/delivery/addOrder/index.vue +21 -44
- package/src/views/wms/page/outbound/delivery/components/orderContent/index.vue +9 -6
- package/src/views/wms/page/outbound/delivery/components/orderContentTitle/index.vue +29 -10
- package/src/views/wms/page/outbound/delivery/components/soAndLpnItem/index.vue +12 -10
- package/src/views/wms/page/outbound/delivery/index/index.vue +25 -13
- package/src/views/wms/page/outbound/delivery/mixin.js +22 -0
- package/src/views/wms/page/outbound/handover/components/collapseItem.vue +1 -1
- package/src/views/wms/page/outbound/handover/components/lineInfo.vue +0 -1
- package/src/views/wms/page/outbound/handover/components/pageBox.vue +1 -0
- package/src/views/wms/page/outbound/handover/index/index.vue +43 -19
- package/src/views/wms/page/outbound/handover/lpn/index.vue +1 -0
- package/src/views/wms/page/outbound/index.js +10 -0
- package/src/views/wms/page/outbound/lpnPack/action/index.vue +41 -31
- package/src/views/wms/page/outbound/lpnPack/index/index.vue +6 -7
- package/src/views/wms/page/outbound/lpnPack/over/index.vue +4 -3
- package/src/views/wms/page/outbound/orderCheck/action.vue +1159 -0
- package/src/views/wms/page/outbound/orderCheck/components/overCheckItem.vue +93 -0
- package/src/views/wms/page/outbound/orderCheck/components/overCheckItemTitle.vue +51 -0
- package/src/views/wms/page/outbound/orderCheck/index.js +18 -0
- package/src/views/wms/page/outbound/orderCheck/index.vue +145 -0
- package/src/views/wms/page/outbound/orderCheck//346/214/211/345/215/225/345/244/215/346/240/270.md +0 -0
- package/src/views/wms/page/outbound/orderPick/index.js +15 -0
- package/src/views/wms/page/outbound/orderPick/index.vue +94 -0
- package/src/views/wms/page/outbound/orderPick//346/213/243/351/200/211/345/215/225/346/213/243/351/200/211.md +0 -0
- package/src/views/wms/page/outbound/orderPickOutbound/content.vue +292 -0
- package/src/views/wms/page/outbound/orderPickOutbound/index.js +18 -0
- package/src/views/wms/page/outbound/orderPickOutbound/index.vue +81 -0
- package/src/views/wms/page/outbound/orderPickOutbound//346/214/211/345/215/225/346/213/243/351/200/211/345/207/272/345/272/223.md +0 -0
- package/src/views/wms/page/outbound/packCollect/components/containerInfo.vue +2 -4
- package/src/views/wms/page/outbound/packCollect/index/index.vue +4 -2
- package/src/views/wms/page/outbound/pick/alone/index.vue +112 -266
- package/src/views/wms/page/outbound/pick/box/index.vue +50 -64
- package/src/views/wms/page/outbound/pick/components/dataLookAndChange/index.vue +103 -63
- package/src/views/wms/page/outbound/pick/components/exchangePickContainer.vue +464 -0
- package/src/views/wms/page/outbound/pick/components/skuLocationInfo/index.vue +49 -80
- package/src/views/wms/page/outbound/pick/components/sowList.vue +2 -1
- package/src/views/wms/page/outbound/pick/components/splitPutDown/index.vue +2 -0
- package/src/views/wms/page/outbound/pick/components/taskInfo.vue +18 -32
- package/src/views/wms/page/outbound/pick/components/waitPickCollapseItem.vue +104 -0
- package/src/views/wms/page/outbound/pick/container/index.vue +16 -26
- package/src/views/wms/page/outbound/pick/index/index.vue +8 -64
- package/src/views/wms/page/outbound/pick/lpn/index.vue +40 -56
- package/src/views/wms/page/outbound/pick/mixin/all.js +216 -36
- package/src/views/wms/page/outbound/pick/mixin/aloneAndNotAlone.js +243 -50
- package/src/views/wms/page/outbound/pick/notAlone/index.vue +131 -340
- package/src/views/wms/page/outbound/pick/sow/index.vue +126 -210
- package/src/views/wms/page/outbound/pickConsole/orderAction/index.vue +636 -122
- package/src/views/wms/page/outbound/pickContainerSearch/action/index.vue +2 -2
- package/src/views/wms/page/outbound/pickContainerSearch/index/index.vue +3 -1
- package/src/views/wms/page/outbound/pickMerge/action/index.vue +26 -17
- package/src/views/wms/page/outbound/pickMerge/components/skuInfo/index.vue +3 -3
- package/src/views/wms/page/outbound/pickMerge/content/index.vue +1 -0
- package/src/views/wms/page/outbound/pickMerge/index/index.vue +1 -0
- package/src/views/wms/page/outbound/reprint-box/LwOutboundReprintBoxListPage.vue +10 -5
- package/src/views/wms/page/outbound/sort/action.vue +74 -29
- package/src/views/wms/page/outbound/sort/index.vue +1 -1
- package/src/views/wms/page/outbound/sow/action/index.vue +74 -71
- package/src/views/wms/page/outbound/sow/components/sowLocationList/index.vue +2 -2
- package/src/views/wms/page/outbound/sow/components/sowLotItem/index.vue +5 -3
- package/src/views/wms/page/outbound/sow/components/waitSowCollapse/index.vue +1 -1
- package/src/views/wms/page/outbound/sow/index/index.vue +69 -30
- package/src/views/wms/page/outbound/sowCollect/index/index.vue +5 -3
- package/src/views/wms/page/outbound/stockout/LwOutboundStockoutExecutePage.vue +120 -37
- package/src/views/wms/page/outbound/stockout/LwOutboundStockoutListPage.vue +52 -28
- package/src/views/wms/page/outbound/stockout/components/StockoutInfo.vue +21 -26
- package/src/views/wms/page/outbound/summary/box/index/index.vue +4 -0
- package/src/views/wms/page/outbound/summary/lpn/action/index.vue +8 -6
- package/src/views/wms/page/outbound/summary/lpn/index/index.vue +1 -0
- package/src/views/wms/page/process/prepare/index.vue +21 -4
- package/src/views/wms/page/process/process/components/FinishView.vue +27 -16
- package/src/views/wms/page/process/process/components/dockTaskInfo.vue +22 -17
- package/src/views/wms/page/process/process/components/overCollapse.vue +48 -83
- package/src/views/wms/page/process/process/components/rawCollapse.vue +12 -6
- package/src/views/wms/page/process/process/console/index.vue +29 -47
- package/src/views/wms/page/process/process/content/index.vue +8 -24
- package/src/views/wms/page/process/process/index/index.vue +1 -1
- package/src/views/wms/page/process/screen/index/index.vue +2 -2
- package/src/views/wms/page/production/bom/BOM/351/242/206/346/226/231.md +0 -0
- package/src/views/wms/page/production/bom/index.js +16 -0
- package/src/views/wms/page/production/bom/index.vue +340 -0
- package/src/views/wms/page/production/index.js +13 -0
- package/src/views/wms/page/production/receiveMaterial/index.js +16 -0
- package/src/views/wms/page/production/receiveMaterial/index.vue +332 -0
- package/src/views/wms/page/production/receiveMaterial//346/213/211/345/212/250/351/242/206/346/226/231/347/224/263/350/257/267.md +0 -0
- package/src/views/wms/page/production//347/224/237/344/272/247.md +0 -0
- package/src/views/wms/page/receive/abnormal/action/index.vue +15 -2
- package/src/views/wms/page/receive/abnormal/index/index.vue +112 -11
- package/src/views/wms/page/receive/console/components/orderInfo.vue +121 -99
- package/src/views/wms/page/receive/console/createEditOrder/index.vue +396 -150
- package/src/views/wms/page/receive/console/index/index.vue +2 -2
- package/src/views/wms/page/receive/console/look/index.vue +169 -177
- package/src/views/wms/page/receive/index.js +5 -0
- package/src/views/wms/page/receive/mixture/action.vue +1302 -0
- package/src/views/wms/page/receive/mixture/components/abnSelectGroup.vue +132 -0
- package/src/views/wms/page/receive/mixture/components/abnSelectTitle.vue +45 -0
- package/src/views/wms/page/receive/mixture/components/asnInfoList.vue +62 -0
- package/src/views/wms/page/receive/mixture/index.js +20 -0
- package/src/views/wms/page/receive/mixture/index.vue +229 -0
- package/src/views/wms/page/receive/mixture//346/267/267/345/215/225/346/224/266/350/264/247.md +0 -0
- package/src/views/wms/page/receive/moreOrder/box/index.vue +9 -10
- package/src/views/wms/page/receive/moreOrder/components/abnPopup.vue +3 -0
- package/src/views/wms/page/receive/moreOrder/components/asnInfo.vue +10 -81
- package/src/views/wms/page/receive/moreOrder/components/asnListContent.vue +4 -4
- package/src/views/wms/page/receive/moreOrder/components/asnSkuInfo.vue +6 -3
- package/src/views/wms/page/receive/moreOrder/index/index.vue +11 -8
- package/src/views/wms/page/receive/moreOrder/lpn/index.vue +6 -5
- package/src/views/wms/page/receive/moreOrder/selectType/index.vue +8 -29
- package/src/views/wms/page/receive/moreOrder/sku/index.vue +66 -142
- package/src/views/wms/page/receive/putaway/caseAction/index.vue +74 -46
- package/src/views/wms/page/receive/putaway/components/CaseInfo/index.vue +2 -2
- package/src/views/wms/page/receive/putaway/components/SkuInfo/index.vue +9 -2
- package/src/views/wms/page/receive/putaway/components/SkuPutAwayInfo/index.vue +8 -4
- package/src/views/wms/page/receive/putaway/components/TaskInfo/index.vue +4 -3
- package/src/views/wms/page/receive/putaway/components/lpnBatchItem.vue +1 -1
- package/src/views/wms/page/receive/putaway/components/overPutawayItem.vue +1 -1
- package/src/views/wms/page/receive/putaway/index/index.vue +71 -59
- package/src/views/wms/page/receive/putaway/lpnAction/index.vue +8 -5
- package/src/views/wms/page/receive/putaway/lpnBatchAction/index.vue +1 -0
- package/src/views/wms/page/receive/putaway/skuAction/index.vue +181 -223
- package/src/views/wms/page/receive/receipt/action/index.vue +143 -109
- package/src/views/wms/page/receive/receipt/index/index.vue +9 -21
- package/src/views/wms/router.js +53 -708
- package/src/views/wms/views/config/menu.js +53 -0
- package/src/views/wms/views/config/router.js +48 -0
- package/src/views/wms/views/container/menu.js +73 -0
- package/src/views/wms/views/container/router.js +80 -0
- package/src/views/wms/views/dataAnalysis/index.vue +23 -0
- package/src/views/wms/views/dataAnalysis/look.vue +23 -0
- package/src/views/wms/views/dataAnalysis/menu.js +18 -0
- package/src/views/wms/views/dataAnalysis/router.js +20 -0
- package/src/views/wms/views/{count → inner/count}/index.vue +1 -1
- package/src/views/wms/views/inner/lotTransfer/action.vue +23 -0
- package/src/views/wms/views/inner/lotTransfer/index.vue +23 -0
- package/src/views/wms/views/inner/menu.js +213 -0
- package/src/views/wms/views/inner/router.js +258 -0
- package/src/views/wms/views/inventory/queryInventory/locContent.vue +23 -0
- package/src/views/wms/views/inventory/queryInventory/skuContent.vue +23 -0
- package/src/views/wms/views/inventory/queryInventory/skuLocContent.vue +23 -0
- package/src/views/wms/views/outbound/menu.js +307 -0
- package/src/views/wms/views/outbound/orderCheck/action.vue +23 -0
- package/src/views/wms/views/outbound/orderCheck/index.vue +23 -0
- package/src/views/wms/views/outbound/orderPick/index.vue +23 -0
- package/src/views/wms/views/outbound/orderPickOutbound/content.vue +23 -0
- package/src/views/wms/views/outbound/orderPickOutbound/index.vue +23 -0
- package/src/views/wms/views/outbound/router.js +348 -0
- package/src/views/wms/views/process/menu.js +43 -0
- package/src/views/wms/views/process/router.js +56 -0
- package/src/views/wms/views/production/bom/index.vue +23 -0
- package/src/views/wms/views/production/menu.js +42 -0
- package/src/views/wms/views/production/receiveMaterial/index.vue +23 -0
- package/src/views/wms/views/production/router.js +21 -0
- package/src/views/wms/views/receive/mixture/action.vue +23 -0
- package/src/views/wms/views/receive/mixture/index.vue +23 -0
- package/src/views/wms/views//343/200/220/345/210/233/345/273/272/346/226/207/344/273/266/345/277/205/347/234/213/343/200/221/345/275/223/345/211/215/346/230/276/347/244/272/347/232/204/346/226/207/344/273/266/345/244/271/345/272/224/345/275/223/346/230/257/344/270/200/347/272/247/347/233/256/345/275/225/357/274/214/345/246/202/346/236/234/344/270/215/346/230/257/344/270/200/347/272/247/347/233/256/345/275/225/344/270/215/345/205/201/350/256/270/345/234/250/346/255/244/346/226/260/345/273/272/346/226/207/344/273/266/345/244/271/357/274/201/357/274/201/357/274/201 +9 -0
- package/dist/index.c186086e.mjs +0 -22
- package/src/views/wms/api/config/masterLocation/masterLocationConfig/index.js +0 -18
- package/src/views/wms/api/config/newProject/index.js +0 -18
- package/src/views/wms/page/inventory/queryInventory/components/ownerTab.vue +0 -91
- package/src/views/wms/page/receive/console/components/lpnCaseInfo.vue +0 -83
- /package/src/{views/wms/page/config/masterLocation/masterLocationConfig/action/index.less → components/CalendarPopup//346/227/245/345/216/206.md"} +0 -0
- /package/src/{views/wms/page/config/masterLocation/masterLocationConfig/index/index.less → components/CodeNameQtyRow//347/274/226/347/240/201/343/200/201/345/220/215/347/247/260/343/200/201/346/225/260/351/207/217/346/230/276/347/244/272/350/241/214.md"} +0 -0
- /package/src/views/{wms/page/config/masterLocation/masterLocationQuery/index/index.less → automate/views/pocAutomate/POC/350/207/252/345/212/250/345/214/226.md"} +0 -0
- /package/src/views/{wms/page/config/newProject/action/index.less → common/module/MuchDataSelectPopup//345/244/232/346/225/260/346/215/256/351/200/211/346/213/251/345/274/271/346/241/206.md"} +0 -0
- /package/src/views/{wms/page/config/newProject/index/index.less → common/module/SearchSelectPopup//351/200/211/346/213/251/346/220/234/347/264/242/345/274/271/346/241/206.md"} +0 -0
- /package/src/views/wms/views/{count → inner/count}/console.vue +0 -0
- /package/src/views/wms/views/{count → inner/count}/inv/action.vue +0 -0
- /package/src/views/wms/views/{count → inner/count}/inv/index.vue +0 -0
- /package/src/views/wms/views/{count → inner/count}/loc/action.vue +0 -0
- /package/src/views/wms/views/{count → inner/count}/loc/index.vue +0 -0
|
@@ -0,0 +1,1302 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
混单收货 - 执行页
|
|
3
|
+
@author: 张文
|
|
4
|
+
@date: 2023-08-04
|
|
5
|
+
-->
|
|
6
|
+
<template>
|
|
7
|
+
<div>
|
|
8
|
+
<lw-nav-bar :title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.gqaoqilf', '混单收货')"/>
|
|
9
|
+
|
|
10
|
+
<lw-page-body-module>
|
|
11
|
+
|
|
12
|
+
<!-- 单据信息 -->
|
|
13
|
+
<div class="lw-global-model-box">
|
|
14
|
+
<div class="lw-global-flex-between lw-global-row-start">
|
|
15
|
+
|
|
16
|
+
<lw-title-value-cell
|
|
17
|
+
:title="asnInfo.titleLabel"
|
|
18
|
+
:value="asnInfo.title"
|
|
19
|
+
:is-row="false"
|
|
20
|
+
/>
|
|
21
|
+
|
|
22
|
+
<lw-button
|
|
23
|
+
mini
|
|
24
|
+
round
|
|
25
|
+
@click="lookContent"
|
|
26
|
+
>
|
|
27
|
+
{{ $lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.kmolxsrk', '详情') }}
|
|
28
|
+
</lw-button>
|
|
29
|
+
|
|
30
|
+
</div>
|
|
31
|
+
<lw-label-value-group
|
|
32
|
+
:list="asnInfo.contentList"
|
|
33
|
+
:show-start-row-style="false"
|
|
34
|
+
/>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<!-- tab项 -->
|
|
38
|
+
<lw-tab-box style="margin-top: 10px">
|
|
39
|
+
|
|
40
|
+
<van-tabs
|
|
41
|
+
type="card"
|
|
42
|
+
animated
|
|
43
|
+
v-model="tabActive"
|
|
44
|
+
>
|
|
45
|
+
<!-- 正常收货 -->
|
|
46
|
+
<van-tab
|
|
47
|
+
name="normal"
|
|
48
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.cnjypogn', '正常收货')"
|
|
49
|
+
>
|
|
50
|
+
<!-- 收货单信息 -->
|
|
51
|
+
<lw-label-value-group
|
|
52
|
+
v-if="Object.keys(normal.asnInfo).length"
|
|
53
|
+
:list="normal.asnInfo.contentList"
|
|
54
|
+
show-model-style
|
|
55
|
+
/>
|
|
56
|
+
|
|
57
|
+
<!-- 库位、托盘、条码、数量 -->
|
|
58
|
+
<div class="lw-global-model-box lw-global-model-box-3px">
|
|
59
|
+
|
|
60
|
+
<lw-input
|
|
61
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.tmogoepf', '收货库位')"
|
|
62
|
+
v-model="normal.loc.value"
|
|
63
|
+
:get-focus.sync="normal.loc.focus"
|
|
64
|
+
required
|
|
65
|
+
rule-key="normalLoc"
|
|
66
|
+
:create-rule="$lwScanRule.create('收货-混单收货-正常收货库位','LOCATION')"
|
|
67
|
+
@confirm="locConfirm"
|
|
68
|
+
/>
|
|
69
|
+
|
|
70
|
+
<lw-input
|
|
71
|
+
v-if="normal.lpn.show"
|
|
72
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.aobysvww', '托盘')"
|
|
73
|
+
v-model="normal.lpn.value"
|
|
74
|
+
:get-focus.sync="normal.lpn.focus"
|
|
75
|
+
:required="normal.lpn.required"
|
|
76
|
+
rule-key="normalLpn"
|
|
77
|
+
:create-rule="$lwScanRule.create('收货-混单收货-正常收货托盘号','LPN')"
|
|
78
|
+
@confirm="lpnConfirm"
|
|
79
|
+
/>
|
|
80
|
+
|
|
81
|
+
<lw-input
|
|
82
|
+
v-if="normal.barcode.show"
|
|
83
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.rblzfavk', '条码')"
|
|
84
|
+
v-model="normal.barcode.value"
|
|
85
|
+
:get-focus.sync="normal.barcode.focus"
|
|
86
|
+
required
|
|
87
|
+
:owner-id="normal.asnInfo.sku?.ownerId"
|
|
88
|
+
:rule-serve-query="{asnIds:asnInfo.asnIds}"
|
|
89
|
+
rule-key="normalSku"
|
|
90
|
+
:create-rule="$lwScanRule.create('收货-混单收货-正常收货条码','SKU')"
|
|
91
|
+
:show-bottom-border="false"
|
|
92
|
+
auto-clear-val
|
|
93
|
+
@confirm="normalBarcodeConfirm"
|
|
94
|
+
/>
|
|
95
|
+
|
|
96
|
+
<lw-get-qty-by-type
|
|
97
|
+
v-if="normal.qty.show"
|
|
98
|
+
ref="normalQty"
|
|
99
|
+
:owner-id="normal.asnInfo.ownerId"
|
|
100
|
+
:pack-id="normal.asnInfo.pack.id"
|
|
101
|
+
:sku-id="normal.asnInfo.sku.id"
|
|
102
|
+
/>
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
<!-- 序列号 -->
|
|
106
|
+
<lw-scan-data-list-module
|
|
107
|
+
v-if="normal.snList.length"
|
|
108
|
+
class="lw-global-model-box"
|
|
109
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.hrskvvpz', '已扫物流码')"
|
|
110
|
+
:row-title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.imriexho', '物流码')"
|
|
111
|
+
v-model="normal.snList"
|
|
112
|
+
start-bright
|
|
113
|
+
row-id="normal"
|
|
114
|
+
row-type="sn"
|
|
115
|
+
total-type="sn"
|
|
116
|
+
total-type-id="normal"
|
|
117
|
+
/>
|
|
118
|
+
|
|
119
|
+
<!-- 批次信息 -->
|
|
120
|
+
<lw-lot-module
|
|
121
|
+
v-if="normal.asnInfo.lotMap"
|
|
122
|
+
v-show="showLotModule('normal')"
|
|
123
|
+
class="lw-global-model-box lw-global-model-box-3px"
|
|
124
|
+
ref="normalLot"
|
|
125
|
+
:lot-list="normal.asnInfo.lotMap"
|
|
126
|
+
:end-row="false"
|
|
127
|
+
/>
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
</van-tab>
|
|
131
|
+
|
|
132
|
+
<!-- 异常收货 -->
|
|
133
|
+
<van-tab
|
|
134
|
+
name="abnormal"
|
|
135
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.bdwftjzc', '异常收货')"
|
|
136
|
+
>
|
|
137
|
+
|
|
138
|
+
<!-- 收货单信息 -->
|
|
139
|
+
<lw-label-value-group
|
|
140
|
+
v-if="Object.keys(abnormal.asnInfo).length"
|
|
141
|
+
:list="abnormal.asnInfo.sku.contentList"
|
|
142
|
+
show-model-style
|
|
143
|
+
/>
|
|
144
|
+
|
|
145
|
+
<!-- 条码、数量 -->
|
|
146
|
+
<div class="lw-global-model-box lw-global-model-box-3px">
|
|
147
|
+
<lw-input
|
|
148
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.tmogoepf', '收货库位')"
|
|
149
|
+
v-model="abnormal.loc.value"
|
|
150
|
+
:get-focus.sync="abnormal.loc.focus"
|
|
151
|
+
required
|
|
152
|
+
rule-key="abnormalLoc"
|
|
153
|
+
:create-rule="$lwScanRule.create('收货-混单收货-异常收货库位','LOCATION')"
|
|
154
|
+
@confirm="locConfirm"
|
|
155
|
+
/>
|
|
156
|
+
|
|
157
|
+
<lw-input
|
|
158
|
+
v-if="normal.lpn.show"
|
|
159
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.aobysvww', '托盘')"
|
|
160
|
+
v-model="abnormal.lpn.value"
|
|
161
|
+
:get-focus.sync="abnormal.lpn.focus"
|
|
162
|
+
:required="abnormal.lpn.required"
|
|
163
|
+
rule-key="abnormalLpn"
|
|
164
|
+
:create-rule="$lwScanRule.create('收货-混单收货-异常收货托盘号','LPN')"
|
|
165
|
+
@confirm="lpnConfirm"
|
|
166
|
+
/>
|
|
167
|
+
|
|
168
|
+
<lw-input
|
|
169
|
+
v-if="abnormal.barcode.show"
|
|
170
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.rblzfavk', '条码')"
|
|
171
|
+
v-model="abnormal.barcode.value"
|
|
172
|
+
:get-focus.sync="abnormal.barcode.focus"
|
|
173
|
+
required
|
|
174
|
+
:owner-id="abnormal.asnInfo.sku?.sku?.ownerId"
|
|
175
|
+
:rule-serve-query="{asnIds:asnInfo.asnIds}"
|
|
176
|
+
rule-key="abnormalSku"
|
|
177
|
+
:create-rule="$lwScanRule.create('收货-混单收货-异常收货条码','SKU')"
|
|
178
|
+
:show-bottom-border="false"
|
|
179
|
+
@confirm="abnBarcodeConfirm"
|
|
180
|
+
>
|
|
181
|
+
|
|
182
|
+
<template #button>
|
|
183
|
+
<lw-button
|
|
184
|
+
v-if="!Object.keys(abnormal.asnInfo).length"
|
|
185
|
+
mini
|
|
186
|
+
round
|
|
187
|
+
@click="abnSelectPopupSelectClick"
|
|
188
|
+
>
|
|
189
|
+
{{ $lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.iiaxybzt', '选择') }}
|
|
190
|
+
</lw-button>
|
|
191
|
+
</template>
|
|
192
|
+
|
|
193
|
+
</lw-input>
|
|
194
|
+
|
|
195
|
+
<lw-get-qty-by-type
|
|
196
|
+
v-if="abnormal.qty.show"
|
|
197
|
+
ref="abnormalQty"
|
|
198
|
+
:owner-id="abnormal.asnInfo.sku.ownerId"
|
|
199
|
+
:pack-id="abnormal.asnInfo.sku.pack.id"
|
|
200
|
+
:sku-id="abnormal.asnInfo.sku.sku.id"
|
|
201
|
+
/>
|
|
202
|
+
|
|
203
|
+
</div>
|
|
204
|
+
|
|
205
|
+
<!-- 物流码 -->
|
|
206
|
+
<lw-scan-data-list-module
|
|
207
|
+
v-if="abnormal.snList.length"
|
|
208
|
+
class="lw-global-model-box"
|
|
209
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.hrskvvpz', '已扫物流码')"
|
|
210
|
+
:row-title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.imriexho', '物流码')"
|
|
211
|
+
v-model="abnormal.snList"
|
|
212
|
+
start-bright
|
|
213
|
+
row-id="abnormal"
|
|
214
|
+
row-type="sn"
|
|
215
|
+
total-type="sn"
|
|
216
|
+
total-type-id="abnormal"
|
|
217
|
+
/>
|
|
218
|
+
|
|
219
|
+
<!-- 批次信息 -->
|
|
220
|
+
<lw-lot-module
|
|
221
|
+
v-if="abnormal.asnInfo.sku?.lotMap"
|
|
222
|
+
v-show="showLotModule('abnormal')"
|
|
223
|
+
class="lw-global-model-box lw-global-model-box-3px"
|
|
224
|
+
ref="abnormalLot"
|
|
225
|
+
:lot-list="abnormal.asnInfo.sku.lotMap"
|
|
226
|
+
:end-row="false"
|
|
227
|
+
/>
|
|
228
|
+
|
|
229
|
+
<template v-if="hasAsnInfo">
|
|
230
|
+
|
|
231
|
+
<!-- 异常原因 -->
|
|
232
|
+
<div class="lw-global-model-box lw-global-model-box-3px">
|
|
233
|
+
<lw-cell-popup-radio
|
|
234
|
+
:title="$lwLanguage.get('','原因')"
|
|
235
|
+
v-model="abnormal.reason"
|
|
236
|
+
dict-key="InboundReceiveReason"
|
|
237
|
+
/>
|
|
238
|
+
<lw-input
|
|
239
|
+
:title="$lwLanguage.get('','备注')"
|
|
240
|
+
v-model="abnormal.remark"
|
|
241
|
+
type="textarea"
|
|
242
|
+
:rows="4"
|
|
243
|
+
/>
|
|
244
|
+
<div class="lw-global-title" style="margin: 6px 0">
|
|
245
|
+
{{ $lwLanguage.get('', '图片') }}
|
|
246
|
+
</div>
|
|
247
|
+
<lw-img-upload v-model="abnormal.imgList"/>
|
|
248
|
+
</div>
|
|
249
|
+
</template>
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
</van-tab>
|
|
253
|
+
</van-tabs>
|
|
254
|
+
|
|
255
|
+
</lw-tab-box>
|
|
256
|
+
|
|
257
|
+
</lw-page-body-module>
|
|
258
|
+
|
|
259
|
+
<lw-bottom-bar>
|
|
260
|
+
|
|
261
|
+
<lw-button
|
|
262
|
+
type="last"
|
|
263
|
+
plain
|
|
264
|
+
@click="reloadScanClick"
|
|
265
|
+
>
|
|
266
|
+
{{ $lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.xhdbrgja', '重新扫描') }}
|
|
267
|
+
</lw-button>
|
|
268
|
+
<lw-button
|
|
269
|
+
v-if="hasAsnInfo"
|
|
270
|
+
@click="confirmReceive()"
|
|
271
|
+
>
|
|
272
|
+
{{
|
|
273
|
+
tabActive === 'normal' ?
|
|
274
|
+
$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.qsuyerrw', '确认收货') :
|
|
275
|
+
$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.bdwftjzc', '异常收货')
|
|
276
|
+
}}
|
|
277
|
+
</lw-button>
|
|
278
|
+
|
|
279
|
+
</lw-bottom-bar>
|
|
280
|
+
|
|
281
|
+
<!-- 查看收货单列表详情弹框 -->
|
|
282
|
+
<lw-popup
|
|
283
|
+
v-model="contentPopup.show"
|
|
284
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.hqquldco', '通知单详情')"
|
|
285
|
+
background="#f0f0f0"
|
|
286
|
+
:show-keyboard-placeholder="false"
|
|
287
|
+
>
|
|
288
|
+
|
|
289
|
+
<asn-info-list :asn-list="contentPopup.list"/>
|
|
290
|
+
<lw-not-data v-if="!contentPopup.list.length"/>
|
|
291
|
+
|
|
292
|
+
</lw-popup>
|
|
293
|
+
|
|
294
|
+
<!-- 异常收货选择商品弹框 -->
|
|
295
|
+
<lw-popup
|
|
296
|
+
v-model="abnSelectPopup.show"
|
|
297
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.iiaxybzt', '选择')"
|
|
298
|
+
:show-keyboard-placeholder="false"
|
|
299
|
+
height="80%"
|
|
300
|
+
>
|
|
301
|
+
|
|
302
|
+
<lw-input
|
|
303
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.aswyrwvv', '搜索')"
|
|
304
|
+
:placeholder="$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.csggbyqm', '商品编码/名称/物流码/盒码')"
|
|
305
|
+
v-model="abnSelectPopup.search"
|
|
306
|
+
rule-key="abnSelectPopupSku"
|
|
307
|
+
:create-rule="$lwScanRule.create('收货-混单收货-异常收货选择弹框搜索','SKU')"
|
|
308
|
+
@confirm="abnSelectPopupSearch"
|
|
309
|
+
>
|
|
310
|
+
|
|
311
|
+
<template #button>
|
|
312
|
+
<van-icon
|
|
313
|
+
name="search"
|
|
314
|
+
size="20px"
|
|
315
|
+
@click="abnSelectPopupSearch"
|
|
316
|
+
/>
|
|
317
|
+
</template>
|
|
318
|
+
|
|
319
|
+
</lw-input>
|
|
320
|
+
|
|
321
|
+
<template v-for="(i,k) in abnSelectPopup.dataList">
|
|
322
|
+
<abn-select-group
|
|
323
|
+
v-if="i.snList && i.snList.length"
|
|
324
|
+
:key="k"
|
|
325
|
+
:item="i"
|
|
326
|
+
v-model="i._result"
|
|
327
|
+
@change="abnSelectPopupGroupChange(k)"
|
|
328
|
+
/>
|
|
329
|
+
<div
|
|
330
|
+
v-else
|
|
331
|
+
:key="k"
|
|
332
|
+
class="lw-global-collapse-box lw-global-flex-start lw-global-click-style"
|
|
333
|
+
style="padding: 5px 0"
|
|
334
|
+
@click="checkboxTitleChange(i,k)"
|
|
335
|
+
>
|
|
336
|
+
<van-checkbox
|
|
337
|
+
v-model="i._checked"
|
|
338
|
+
:disabled="i.disabled"
|
|
339
|
+
/>
|
|
340
|
+
<abn-select-title
|
|
341
|
+
:title="i.title"
|
|
342
|
+
:title-label="i.titleLabel"
|
|
343
|
+
:content-list="i.contentList"
|
|
344
|
+
show-margin-right
|
|
345
|
+
/>
|
|
346
|
+
|
|
347
|
+
</div>
|
|
348
|
+
</template>
|
|
349
|
+
|
|
350
|
+
<lw-not-data v-if="!abnSelectPopup.dataList.length"/>
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
<lw-pagination
|
|
354
|
+
v-model="abnSelectPopup.pageNum"
|
|
355
|
+
:page-size.sync="abnSelectPopup.pageSize"
|
|
356
|
+
:page-total="abnSelectPopup.pageTotal"
|
|
357
|
+
@change="abnSelectPopupPageChange"
|
|
358
|
+
/>
|
|
359
|
+
|
|
360
|
+
<template #button>
|
|
361
|
+
|
|
362
|
+
<lw-button @click="abnSelectPopupConfirm">
|
|
363
|
+
{{ $lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.uupgchiv', '确认选择') }}
|
|
364
|
+
</lw-button>
|
|
365
|
+
|
|
366
|
+
</template>
|
|
367
|
+
</lw-popup>
|
|
368
|
+
|
|
369
|
+
<!-- 分组商品选择 -->
|
|
370
|
+
<receive-sku-group-popup
|
|
371
|
+
v-model="skuGroup.show"
|
|
372
|
+
:sku-list="skuGroup.list"
|
|
373
|
+
@selected="abnSkuGroupPopupSelected"
|
|
374
|
+
/>
|
|
375
|
+
</div>
|
|
376
|
+
</template>
|
|
377
|
+
|
|
378
|
+
<script>
|
|
379
|
+
import abnSelectGroup from "./components/abnSelectGroup.vue";
|
|
380
|
+
import abnSelectTitle from "./components/abnSelectTitle.vue";
|
|
381
|
+
import asnInfoList from "./components/asnInfoList.vue";
|
|
382
|
+
import receiveSkuGroupPopup from "./../../../components/receiveSkuGroup/popup.vue";
|
|
383
|
+
import {
|
|
384
|
+
wmsMobileExtInQueryAsnSkuSn,
|
|
385
|
+
wmsMobileInboundSubmitAsnFastReceiveForSku,
|
|
386
|
+
wmsMobileInboundSubmitAsnFastReceiveForSkuSn,
|
|
387
|
+
wmsMobileMixInGetOrders, wmsMobileMixInGetSkuSnV2, wmsMobileMixInGetSkuV2,
|
|
388
|
+
wmsMobileMixInGetState,
|
|
389
|
+
wmsMobileMixInQueryAsnSkuPageListByReceiveV2,
|
|
390
|
+
wmsMobileMixInQueryAsnSkuV2, wmsMobileMixInReceiveSkuSnV2, wmsMobileMixInReceiveSkuV2
|
|
391
|
+
} from "./../../../api/receive/mixture";
|
|
392
|
+
|
|
393
|
+
// 正常收货 、异常收货的共数据
|
|
394
|
+
const receiveData = {
|
|
395
|
+
asnInfo: {},
|
|
396
|
+
// 条码
|
|
397
|
+
barcode: {
|
|
398
|
+
value: '',
|
|
399
|
+
focus: false,
|
|
400
|
+
show: true,
|
|
401
|
+
},
|
|
402
|
+
// 数量
|
|
403
|
+
qty: {
|
|
404
|
+
value: '',
|
|
405
|
+
focus: false,
|
|
406
|
+
show: false,
|
|
407
|
+
},
|
|
408
|
+
// 托盘
|
|
409
|
+
lpn: {
|
|
410
|
+
value: '',
|
|
411
|
+
focus: false,
|
|
412
|
+
required: false,
|
|
413
|
+
show: true,
|
|
414
|
+
},
|
|
415
|
+
// 收货库位
|
|
416
|
+
loc: {
|
|
417
|
+
value: '',
|
|
418
|
+
focus: false,
|
|
419
|
+
},
|
|
420
|
+
// 序列号
|
|
421
|
+
snList: [],
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export default {
|
|
425
|
+
name: "lwReceiveMixtureAction",
|
|
426
|
+
components: {
|
|
427
|
+
abnSelectGroup,
|
|
428
|
+
asnInfoList,
|
|
429
|
+
abnSelectTitle,
|
|
430
|
+
receiveSkuGroupPopup,
|
|
431
|
+
},
|
|
432
|
+
computed: {
|
|
433
|
+
// 是否已经录入asn单信息
|
|
434
|
+
hasAsnInfo() {
|
|
435
|
+
return !!Object.keys(this[this.tabActive].asnInfo).length
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
data() {
|
|
439
|
+
return {
|
|
440
|
+
asnIds: [],
|
|
441
|
+
|
|
442
|
+
tabActive: 'normal',
|
|
443
|
+
|
|
444
|
+
asnInfo: {},
|
|
445
|
+
|
|
446
|
+
// 正常收货 tab 栏数据
|
|
447
|
+
normal: {
|
|
448
|
+
...this.$lwDeepCopy(receiveData)
|
|
449
|
+
},
|
|
450
|
+
|
|
451
|
+
// 异常收货 tab 栏数据
|
|
452
|
+
abnormal: {
|
|
453
|
+
...this.$lwDeepCopy(receiveData),
|
|
454
|
+
reason: '',
|
|
455
|
+
remark: '',
|
|
456
|
+
imgList: []
|
|
457
|
+
},
|
|
458
|
+
|
|
459
|
+
// 查看详情弹框
|
|
460
|
+
contentPopup: {
|
|
461
|
+
show: false,
|
|
462
|
+
list: []
|
|
463
|
+
},
|
|
464
|
+
|
|
465
|
+
// 异常选择弹框
|
|
466
|
+
abnSelectPopup: {
|
|
467
|
+
show: false,
|
|
468
|
+
search: '',
|
|
469
|
+
dataList: [],
|
|
470
|
+
|
|
471
|
+
pageNum: 1,
|
|
472
|
+
pageSize: 10,
|
|
473
|
+
pageTotal: 0,
|
|
474
|
+
},
|
|
475
|
+
|
|
476
|
+
// 商品分组选择弹框
|
|
477
|
+
skuGroup: {
|
|
478
|
+
show: false,
|
|
479
|
+
type: '',
|
|
480
|
+
list: []
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
mounted() {
|
|
487
|
+
this.asnIds = this.$route.query.lwAsnId.split(',')
|
|
488
|
+
this.getAsnAllData()
|
|
489
|
+
},
|
|
490
|
+
methods: {
|
|
491
|
+
// 获取当前数据
|
|
492
|
+
getAsnAllData() {
|
|
493
|
+
wmsMobileMixInGetState({
|
|
494
|
+
asnIds: this.asnIds
|
|
495
|
+
}).then(res => {
|
|
496
|
+
this.asnInfo = res
|
|
497
|
+
|
|
498
|
+
const typeKey = ['normal', 'abnormal']
|
|
499
|
+
typeKey.forEach(item => {
|
|
500
|
+
this[item].lpn.required = res.requiredLpn
|
|
501
|
+
this[item].lpn.show = !res.hideLpn
|
|
502
|
+
})
|
|
503
|
+
|
|
504
|
+
this.locConfirm()
|
|
505
|
+
|
|
506
|
+
}).catch(() => history.go(-1))
|
|
507
|
+
},
|
|
508
|
+
// 单据查看详情
|
|
509
|
+
lookContent() {
|
|
510
|
+
|
|
511
|
+
wmsMobileMixInGetOrders({
|
|
512
|
+
asnIds: this.asnIds
|
|
513
|
+
}).then(res => {
|
|
514
|
+
this.contentPopup.list = res || []
|
|
515
|
+
this.contentPopup.show = true
|
|
516
|
+
})
|
|
517
|
+
|
|
518
|
+
},
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
// 正常收货 - 条码确认
|
|
522
|
+
normalBarcodeConfirm(val, data) {
|
|
523
|
+
|
|
524
|
+
if (!val) {
|
|
525
|
+
this.barcodeInputFocusAndErrorMsg(
|
|
526
|
+
'normal',
|
|
527
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.vevnrgou', '条码不能为空')
|
|
528
|
+
)
|
|
529
|
+
return
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
this.normal.barcode.focus = false
|
|
533
|
+
|
|
534
|
+
const {key, skuCode, sn, qty} = data.data
|
|
535
|
+
|
|
536
|
+
// 有单据信息且触发条码扫描就只能是sn扫描了
|
|
537
|
+
if (Object.keys(this.normal.asnInfo).length) {
|
|
538
|
+
|
|
539
|
+
if (this.normal.asnInfo.sku.code !== skuCode) {
|
|
540
|
+
this.barcodeInputFocusAndErrorMsg(
|
|
541
|
+
'normal',
|
|
542
|
+
this.$lwLanguage.get('', '当前添加商品与已添加商品信息不一致!不允许添加')
|
|
543
|
+
)
|
|
544
|
+
return;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
if (!sn) {
|
|
548
|
+
this.barcodeInputFocusAndErrorMsg(
|
|
549
|
+
'normal',
|
|
550
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.vcwiftmnc', '条码解析数据中不包含序列号!请检查输入/扫描的条码是否正确,或联系系统管理员')
|
|
551
|
+
)
|
|
552
|
+
return;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
if (this.checkSnRepeat(sn)) return
|
|
556
|
+
|
|
557
|
+
wmsMobileMixInGetSkuSnV2({
|
|
558
|
+
sn,
|
|
559
|
+
qty,
|
|
560
|
+
asnIds: this.normal.asnInfo.asnIds,
|
|
561
|
+
skuId: this.normal.asnInfo.sku.id,
|
|
562
|
+
scannedSnList: this.normal.snList.map(item => item.sn)
|
|
563
|
+
}).then((res) => {
|
|
564
|
+
if (!res) {
|
|
565
|
+
this.barcodeInputFocusAndErrorMsg(
|
|
566
|
+
'normal',
|
|
567
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.vcwiftmn', '没有查询到商品信息')
|
|
568
|
+
)
|
|
569
|
+
return
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
const {sn, qty} = res
|
|
573
|
+
this.checkSnRepeatAndAdd(sn, qty)
|
|
574
|
+
this.normal.barcode.value = ''
|
|
575
|
+
this.normal.barcode.focus = true
|
|
576
|
+
})
|
|
577
|
+
return
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
const param = {
|
|
582
|
+
asnIds: this.asnIds,
|
|
583
|
+
skuCode,
|
|
584
|
+
sn,
|
|
585
|
+
snQty: qty
|
|
586
|
+
}
|
|
587
|
+
if (data.bizType === 'SN') {
|
|
588
|
+
param.sn = sn || key
|
|
589
|
+
} else {
|
|
590
|
+
param.skuCode = skuCode || key
|
|
591
|
+
}
|
|
592
|
+
// 没有单据时候的扫描
|
|
593
|
+
wmsMobileMixInGetSkuV2(param).then(res => {
|
|
594
|
+
if (!res) {
|
|
595
|
+
this.barcodeInputFocusAndErrorMsg(
|
|
596
|
+
'normal',
|
|
597
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.vcwiftmn', '没有查询到商品信息')
|
|
598
|
+
)
|
|
599
|
+
return
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
this.normal.asnInfo = res
|
|
603
|
+
if (res.sn && Object.keys(res.sn).length) {
|
|
604
|
+
this.checkSnRepeatAndAdd(res.sn.sn, res.sn.qty)
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
this.$nextTick(() => {
|
|
608
|
+
const needSn = this.normal.asnInfo.sku.needSn
|
|
609
|
+
this.normal.barcode.show = needSn
|
|
610
|
+
this.normal.barcode.focus = needSn
|
|
611
|
+
this.normal.barcode.value = ''
|
|
612
|
+
this.normal.qty.show = !needSn
|
|
613
|
+
this.normal.qty.focus = !needSn
|
|
614
|
+
this.normal.qty.value = ''
|
|
615
|
+
this.normal.loc.value = res.receiveLocationCode
|
|
616
|
+
})
|
|
617
|
+
})
|
|
618
|
+
},
|
|
619
|
+
// 正常收货 - 确认提交
|
|
620
|
+
normalConfirmReceive(need) {
|
|
621
|
+
if (!this.locCheck() || !this.lpnCheck()) return
|
|
622
|
+
|
|
623
|
+
// 是否按序列号收货
|
|
624
|
+
if (this.normal.asnInfo.sku.needSn) {
|
|
625
|
+
this.normalSnReceiveSubmit(need)
|
|
626
|
+
} else {
|
|
627
|
+
this.normalSkuReceiveSubmit(need)
|
|
628
|
+
}
|
|
629
|
+
},
|
|
630
|
+
// 正常收货 - 需要提交的数据
|
|
631
|
+
normalSubmitParams() {
|
|
632
|
+
return {
|
|
633
|
+
asnIds: this.normal.asnInfo.asnIds,
|
|
634
|
+
skuId: this.normal.asnInfo.sku.id,
|
|
635
|
+
lpn: this.normal.lpn.value,
|
|
636
|
+
locationCode: this.normal.loc.value,
|
|
637
|
+
taskId: this.$route.query.lwTaskId,
|
|
638
|
+
lotBizType: 'RECEIVE',
|
|
639
|
+
qty: this.normal.asnInfo.sku.needSn ? this.normal.snList.reduce((t, i) => t + Number(i.qty || 0), 0) : this.$refs.normalQty.getQty(),
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
// 正常收货 - 校验当前收货量是否满足托装量
|
|
643
|
+
normalCheckLpnNum() {
|
|
644
|
+
|
|
645
|
+
const lpnNum = Number(this.normal.asnInfo.pack.palletQty || 0)
|
|
646
|
+
if (!lpnNum) return true
|
|
647
|
+
|
|
648
|
+
const skuInfo = this.normal.asnInfo.sku
|
|
649
|
+
let qty = 0
|
|
650
|
+
if (skuInfo.needSn) {
|
|
651
|
+
qty = this.normal.snList.reduce((t, i) => t + Number(i.qty || 0), 0)
|
|
652
|
+
} else {
|
|
653
|
+
qty = Number(this.normal.qty.value)
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
if (lpnNum === qty) return true
|
|
657
|
+
|
|
658
|
+
this.$lwDialog.confirm({
|
|
659
|
+
type: 'warning',
|
|
660
|
+
title: this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.gmklaxna', '收货提示'),
|
|
661
|
+
message: this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.gmklaxnaq', '商品:{skuName},托装数为{lpnNum}{eachName},目前收了{qty}{eachName},是否确认收货?', {
|
|
662
|
+
skuName: skuInfo.name,
|
|
663
|
+
lpnNum,
|
|
664
|
+
qty,
|
|
665
|
+
eachName: this.normal.asnInfo.pack.eachName
|
|
666
|
+
})
|
|
667
|
+
}).then(() => {
|
|
668
|
+
this.normalConfirmReceive(true)
|
|
669
|
+
}).catch(() => {
|
|
670
|
+
})
|
|
671
|
+
return false
|
|
672
|
+
},
|
|
673
|
+
// 正常收货 - 按唯一码收货
|
|
674
|
+
normalSnReceiveSubmit(need) {
|
|
675
|
+
|
|
676
|
+
if (!this.normal.snList.length) {
|
|
677
|
+
this.normal.barcode.focus = true
|
|
678
|
+
this.$lwShowErrorMsg(
|
|
679
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.bqougefx', '请录入需要收货的商品序列号')
|
|
680
|
+
)
|
|
681
|
+
return
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
if (!need && !this.normalCheckLpnNum()) return
|
|
685
|
+
|
|
686
|
+
const {success, data} = this.getLotData()
|
|
687
|
+
if (!success) return;
|
|
688
|
+
|
|
689
|
+
wmsMobileMixInReceiveSkuSnV2({
|
|
690
|
+
...this.normalSubmitParams(),
|
|
691
|
+
snList: this.normal.snList,
|
|
692
|
+
lotAttributes: data
|
|
693
|
+
}).then(this.submitSuccess)
|
|
694
|
+
},
|
|
695
|
+
// 正常收货 - 按商品收货
|
|
696
|
+
normalSkuReceiveSubmit(need) {
|
|
697
|
+
|
|
698
|
+
if (!this.qtyCheck()) return
|
|
699
|
+
|
|
700
|
+
if (!need && !this.normalCheckLpnNum()) return
|
|
701
|
+
|
|
702
|
+
const {success, data} = this.getLotData()
|
|
703
|
+
if (!success) return;
|
|
704
|
+
|
|
705
|
+
wmsMobileMixInReceiveSkuV2({
|
|
706
|
+
...this.normalSubmitParams(),
|
|
707
|
+
lotAttributes: data
|
|
708
|
+
}).then(this.submitSuccess)
|
|
709
|
+
},
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
// 异常收货 - 弹框打开,获取数据
|
|
713
|
+
async abnSelectPopupSelectClick() {
|
|
714
|
+
await this.abnSelectPopupSearch()
|
|
715
|
+
this.abnSelectPopup.show = true
|
|
716
|
+
},
|
|
717
|
+
// 异常收货 - 选择商品弹框 - 搜索数据、选择
|
|
718
|
+
abnSelectPopupSearch() {
|
|
719
|
+
|
|
720
|
+
this.abnSelectPopup.pageNum = 1
|
|
721
|
+
this.abnSelectPopupPageChange()
|
|
722
|
+
|
|
723
|
+
},
|
|
724
|
+
// 异常收货- 选择商品弹框 - 页码改变
|
|
725
|
+
async abnSelectPopupPageChange() {
|
|
726
|
+
const {search, pageNum, pageSize} = this.abnSelectPopup
|
|
727
|
+
const res = await wmsMobileMixInQueryAsnSkuPageListByReceiveV2({
|
|
728
|
+
asnIds: this.asnIds,
|
|
729
|
+
keyword: search,
|
|
730
|
+
pageNum,
|
|
731
|
+
pageSize,
|
|
732
|
+
})
|
|
733
|
+
|
|
734
|
+
this.abnSelectPopup.pageTotal = res.total
|
|
735
|
+
this.abnSelectPopup.dataList = res.datas.map(item => {
|
|
736
|
+
item._checked = false
|
|
737
|
+
item.disabled = false
|
|
738
|
+
item._result = []
|
|
739
|
+
return item
|
|
740
|
+
})
|
|
741
|
+
},
|
|
742
|
+
// 异常收货 - 选择商品弹框 - 有 SN 数据改变
|
|
743
|
+
abnSelectPopupGroupChange(index) {
|
|
744
|
+
const checked = !!this.abnSelectPopup.dataList[index]._result.length
|
|
745
|
+
|
|
746
|
+
this.abnSelectPopup.dataList.forEach(item => {
|
|
747
|
+
item.disabled = checked
|
|
748
|
+
item._checked = false
|
|
749
|
+
})
|
|
750
|
+
|
|
751
|
+
this.abnSelectPopup.dataList[index].disabled = false
|
|
752
|
+
this.abnSelectPopup.dataList[index]._checked = checked
|
|
753
|
+
|
|
754
|
+
},
|
|
755
|
+
// 异常收货 - 选择商品弹框 - 没有 SN 数据改变
|
|
756
|
+
checkboxTitleChange(item, index) {
|
|
757
|
+
|
|
758
|
+
if (item.disabled) return
|
|
759
|
+
|
|
760
|
+
item._checked = !item._checked
|
|
761
|
+
item._result = item._checked ? [item.sku.code] : []
|
|
762
|
+
|
|
763
|
+
this.abnSelectPopupGroupChange(index)
|
|
764
|
+
|
|
765
|
+
},
|
|
766
|
+
// 异常收货 - 选择商品弹框 - 确认选择
|
|
767
|
+
abnSelectPopupConfirm() {
|
|
768
|
+
const checked = this.abnSelectPopup.dataList.filter(item => !!item._result.length)
|
|
769
|
+
|
|
770
|
+
if (!checked.length) {
|
|
771
|
+
this.$lwToast.fail(
|
|
772
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.dfohriil', '没有选中任何数据')
|
|
773
|
+
)
|
|
774
|
+
return
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
const {asnId, sku} = checked[0]
|
|
778
|
+
wmsMobileMixInQueryAsnSkuV2({
|
|
779
|
+
asnIds: [asnId],
|
|
780
|
+
skuCode: sku.code,
|
|
781
|
+
lotBizType: 'ABN_RECEIVE'
|
|
782
|
+
}).then(res => {
|
|
783
|
+
|
|
784
|
+
if (res.length === 1) {
|
|
785
|
+
this.abnSelectPopupDataFormat(res[0])
|
|
786
|
+
} else {
|
|
787
|
+
this.abnOpenSkuGroupPopup(res, 'select')
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
})
|
|
791
|
+
|
|
792
|
+
},
|
|
793
|
+
// 异常收货 - 商品选择确认并通过
|
|
794
|
+
abnSelectPopupDataFormat(res) {
|
|
795
|
+
const checked = this.abnSelectPopup.dataList.filter(item => !!item._result.length)
|
|
796
|
+
const {snList, _result} = checked[0]
|
|
797
|
+
if (snList && snList.length) {
|
|
798
|
+
_result.forEach(sn => {
|
|
799
|
+
for (const item of snList) {
|
|
800
|
+
if (item.sn === sn) {
|
|
801
|
+
this.abnormal.snList.push({
|
|
802
|
+
sn: item.sn,
|
|
803
|
+
qty: item.qty
|
|
804
|
+
})
|
|
805
|
+
break
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
})
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
this.abnSkuGroupPopupSelected(res)
|
|
812
|
+
this.abnSelectPopup.show = false
|
|
813
|
+
this.abnSelectPopup.search = ''
|
|
814
|
+
},
|
|
815
|
+
// 异常收货 - 条码确认
|
|
816
|
+
abnBarcodeConfirm(val, data) {
|
|
817
|
+
|
|
818
|
+
if (!val) {
|
|
819
|
+
this.barcodeInputFocusAndErrorMsg(
|
|
820
|
+
'abnormal',
|
|
821
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.vevnrgou', '条码不能为空')
|
|
822
|
+
)
|
|
823
|
+
return
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
this.abnormal.barcode.focus = false
|
|
827
|
+
|
|
828
|
+
const {key, skuCode, sn, qty} = data.data
|
|
829
|
+
|
|
830
|
+
// 有单据信息且触发条码扫描就只能是sn扫描了
|
|
831
|
+
if (Object.keys(this.abnormal.asnInfo).length) {
|
|
832
|
+
|
|
833
|
+
if (!sn) {
|
|
834
|
+
this.barcodeInputFocusAndErrorMsg(
|
|
835
|
+
'abnormal',
|
|
836
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.vcwiftmnc', '条码解析数据中不包含序列号!请检查输入/扫描的条码是否正确,或联系系统管理员')
|
|
837
|
+
)
|
|
838
|
+
return;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
if (this.checkSnRepeat(sn)) return
|
|
842
|
+
|
|
843
|
+
wmsMobileExtInQueryAsnSkuSn({
|
|
844
|
+
sn: sn,
|
|
845
|
+
qty,
|
|
846
|
+
asnId: this.abnormal.asnInfo.asn.id,
|
|
847
|
+
skuId: this.abnormal.asnInfo.sku.sku.id,
|
|
848
|
+
scannedSnList: this.abnormal.snList.map(item => item.sn)
|
|
849
|
+
}).then((res) => {
|
|
850
|
+
if (!res) {
|
|
851
|
+
this.barcodeInputFocusAndErrorMsg(
|
|
852
|
+
'abnormal',
|
|
853
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.vcwiftmn', '没有查询到商品信息')
|
|
854
|
+
)
|
|
855
|
+
return
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
const {sn, qty} = res
|
|
859
|
+
this.checkSnRepeatAndAdd(sn, qty)
|
|
860
|
+
this.abnormal.barcode.value = ''
|
|
861
|
+
this.abnormal.barcode.focus = true
|
|
862
|
+
})
|
|
863
|
+
return
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
const param = {
|
|
868
|
+
asnIds: this.asnIds,
|
|
869
|
+
lotBizType: 'ABN_RECEIVE',
|
|
870
|
+
skuCode,
|
|
871
|
+
sn,
|
|
872
|
+
snQty: qty
|
|
873
|
+
}
|
|
874
|
+
if (data.bizType === 'SN') {
|
|
875
|
+
param.sn = sn || key
|
|
876
|
+
param.scannedSnList = this.abnormal.snList
|
|
877
|
+
} else {
|
|
878
|
+
param.skuCode = skuCode || key
|
|
879
|
+
}
|
|
880
|
+
// 没有单据时候的扫描
|
|
881
|
+
wmsMobileMixInQueryAsnSkuV2(param).then(res => {
|
|
882
|
+
if (!res.length) {
|
|
883
|
+
this.barcodeInputFocusAndErrorMsg(
|
|
884
|
+
'abnormal',
|
|
885
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.vcwiftmn', '没有查询到商品信息')
|
|
886
|
+
)
|
|
887
|
+
return
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
if (res.length === 1) {
|
|
891
|
+
this.abnSkuGroupPopupSelected(res[0])
|
|
892
|
+
return
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
this.abnOpenSkuGroupPopup(res)
|
|
896
|
+
})
|
|
897
|
+
|
|
898
|
+
},
|
|
899
|
+
// 异常收货 - 打开商品分组弹框
|
|
900
|
+
abnOpenSkuGroupPopup(res, type = 'scan') {
|
|
901
|
+
this.skuGroup.list = res
|
|
902
|
+
this.skuGroup.show = true
|
|
903
|
+
this.skuGroup.type = type
|
|
904
|
+
},
|
|
905
|
+
// 异常收货 - 选择分组商品弹框确认
|
|
906
|
+
abnSkuGroupPopupSelected(item) {
|
|
907
|
+
if (this.skuGroup.type === 'select') {
|
|
908
|
+
this.skuGroup.type = ''
|
|
909
|
+
this.abnSelectPopupDataFormat(item)
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
this.abnormal.asnInfo = item
|
|
914
|
+
|
|
915
|
+
if (this.abnormal.asnInfo.sku.sn?.sn) {
|
|
916
|
+
const {sn, qty} = this.abnormal.asnInfo.sku.sn
|
|
917
|
+
this.checkSnRepeatAndAdd(sn, qty)
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
this.$nextTick(() => {
|
|
922
|
+
const needSn = this.abnormal.asnInfo.sku.sku.needSn
|
|
923
|
+
this.abnormal.barcode.show = needSn
|
|
924
|
+
this.abnormal.barcode.focus = needSn
|
|
925
|
+
this.abnormal.barcode.value = ''
|
|
926
|
+
this.abnormal.qty.show = !needSn
|
|
927
|
+
this.abnormal.qty.focus = !needSn
|
|
928
|
+
this.$refs.abnormalQty?.clearInput()
|
|
929
|
+
this.abnormal.loc.value = item.sku.receiveLocationCode
|
|
930
|
+
})
|
|
931
|
+
|
|
932
|
+
},
|
|
933
|
+
// 异常收货 - 确认收货
|
|
934
|
+
async abnConfirmReceive() {
|
|
935
|
+
|
|
936
|
+
if (!this.locCheck() || !this.lpnCheck()) return
|
|
937
|
+
|
|
938
|
+
// 是否按序列号收货
|
|
939
|
+
if (this.abnormal.asnInfo.sku.sku.needSn) {
|
|
940
|
+
this.abnSnReceiveSubmit()
|
|
941
|
+
} else {
|
|
942
|
+
this.abnSkuReceiveSubmit()
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
},
|
|
946
|
+
// 异常收货 - 提交收货的共用数据
|
|
947
|
+
abnSubmitParams() {
|
|
948
|
+
const {asn, sku} = this.abnormal.asnInfo
|
|
949
|
+
|
|
950
|
+
return {
|
|
951
|
+
lotBizType: 'ABN_RECEIVE',
|
|
952
|
+
images: this.abnormal.imgList.join('|'),
|
|
953
|
+
remark: this.abnormal.remark,
|
|
954
|
+
receiveReason: this.abnormal.reason,
|
|
955
|
+
asnId: asn.id,
|
|
956
|
+
skuId: sku.sku.id,
|
|
957
|
+
lpn: this.abnormal.lpn.value,
|
|
958
|
+
locationCode: this.abnormal.loc.value,
|
|
959
|
+
taskId: this.$route.query.lwTaskId,
|
|
960
|
+
groupKey: sku.groupKey,
|
|
961
|
+
}
|
|
962
|
+
},
|
|
963
|
+
// 异常收货 - 按唯一码收货
|
|
964
|
+
abnSnReceiveSubmit() {
|
|
965
|
+
|
|
966
|
+
if (!this.abnormal.snList.length) {
|
|
967
|
+
this.normal.barcode.focus = true
|
|
968
|
+
this.$lwShowErrorMsg(
|
|
969
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.bqougefx', '请录入需要收货的商品序列号')
|
|
970
|
+
)
|
|
971
|
+
return
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
const {success, data} = this.getLotData()
|
|
975
|
+
if (!success) return;
|
|
976
|
+
|
|
977
|
+
wmsMobileInboundSubmitAsnFastReceiveForSkuSn({
|
|
978
|
+
...this.abnSubmitParams(),
|
|
979
|
+
snList: this.abnormal.snList,
|
|
980
|
+
lotAttributes: data
|
|
981
|
+
}).then(this.submitSuccess)
|
|
982
|
+
},
|
|
983
|
+
// 异常收货 - 按商品收货
|
|
984
|
+
abnSkuReceiveSubmit() {
|
|
985
|
+
|
|
986
|
+
if (!this.qtyCheck()) return
|
|
987
|
+
|
|
988
|
+
const {success, data} = this.getLotData()
|
|
989
|
+
if (!success) return;
|
|
990
|
+
|
|
991
|
+
wmsMobileInboundSubmitAsnFastReceiveForSku({
|
|
992
|
+
...this.abnSubmitParams(),
|
|
993
|
+
qty: this.abnormal.qty.value,
|
|
994
|
+
lotAttributes: data
|
|
995
|
+
}).then(this.submitSuccess)
|
|
996
|
+
},
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
// 公共 - 条码输入框获取焦点并弹出错误提示框
|
|
1000
|
+
barcodeInputFocusAndErrorMsg(tabKey, errorMsg) {
|
|
1001
|
+
this[tabKey].barcode.value = ''
|
|
1002
|
+
this[tabKey].barcode.focus = true
|
|
1003
|
+
errorMsg && this.$lwShowErrorMsg(errorMsg)
|
|
1004
|
+
},
|
|
1005
|
+
// 公共 - 是否显示批次组件
|
|
1006
|
+
showLotModule(key) {
|
|
1007
|
+
const lotList = this[key].asnInfo.sku?.lotMap
|
|
1008
|
+
|
|
1009
|
+
if (!lotList) return false
|
|
1010
|
+
|
|
1011
|
+
return lotList.some(item => item.attributes.displayable)
|
|
1012
|
+
},
|
|
1013
|
+
// 公共 - 校验sn是否重复。如果重复,会将重复的sn替换到第一行,并返回true 否则返回false
|
|
1014
|
+
checkSnRepeat(sn) {
|
|
1015
|
+
const key = this.tabActive
|
|
1016
|
+
for (let i = 0; i < this[key].snList.length; i++) {
|
|
1017
|
+
if (this[key].snList[i].sn === sn) {
|
|
1018
|
+
this[key].snList.unshift(this[key].snList.splice(i, 1)[0])
|
|
1019
|
+
this.$lwToast.fail(
|
|
1020
|
+
this.$lwLanguage.get('', '已存在列表中')
|
|
1021
|
+
)
|
|
1022
|
+
return true
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
return false
|
|
1027
|
+
},
|
|
1028
|
+
// 公共 - 指定 sn 是否重复,如果重复就替换到第一行,没有重复就直接添加
|
|
1029
|
+
checkSnRepeatAndAdd(sn, qty) {
|
|
1030
|
+
|
|
1031
|
+
const key = this.tabActive
|
|
1032
|
+
if (this.checkSnRepeat(sn)) return
|
|
1033
|
+
|
|
1034
|
+
let checkQty = (this[key].snList.reduce((t, n) => t + Number(n.qty || 0), 0)) + Number(qty || 0)
|
|
1035
|
+
if (!this.checkQtyOverage(checkQty)) return
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
this[key].snList.unshift({sn, qty})
|
|
1039
|
+
},
|
|
1040
|
+
// 公共 - 数量校验
|
|
1041
|
+
qtyCheck() {
|
|
1042
|
+
|
|
1043
|
+
const qty = this.getSkuQty()
|
|
1044
|
+
|
|
1045
|
+
if (qty) return this.checkQtyOverage(qty)
|
|
1046
|
+
|
|
1047
|
+
this.$lwShowErrorMsg(
|
|
1048
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.hejqmgji', '数量不能为空,且应当是大于0的正整数')
|
|
1049
|
+
)
|
|
1050
|
+
return false
|
|
1051
|
+
|
|
1052
|
+
},
|
|
1053
|
+
// 公共 - 校验当前数量是否超过允许收货的最大限度
|
|
1054
|
+
checkQtyOverage(qty) {
|
|
1055
|
+
const skuInfo = this.tabActive === 'normal' ? this.normal.asnInfo : this.abnormal.asnInfo.sku
|
|
1056
|
+
const {hasReceiveOverageConfig, canReceiveOverage, receiveOverageQty, canReceiveQty} = skuInfo
|
|
1057
|
+
const canReceiveQtyNum = Number(canReceiveQty)
|
|
1058
|
+
// 是否配置超收,或可收货量不为数字均为允许超收
|
|
1059
|
+
if (!hasReceiveOverageConfig || isNaN(canReceiveQtyNum)) return true
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
// 允许超收
|
|
1063
|
+
if (canReceiveOverage) {
|
|
1064
|
+
// 允许超收的数量
|
|
1065
|
+
const total = canReceiveQtyNum + receiveOverageQty
|
|
1066
|
+
|
|
1067
|
+
if (total >= qty) return true
|
|
1068
|
+
|
|
1069
|
+
this.$lwShowErrorMsg(
|
|
1070
|
+
this.$lwLanguage.get('', '当前收货数量超过最大允许收货量【{total}】!不允许收货!', {total})
|
|
1071
|
+
)
|
|
1072
|
+
|
|
1073
|
+
return false
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
// 不允许超收,就看当前数量是否超过允许收货的数量
|
|
1078
|
+
if (canReceiveQtyNum >= qty) return true
|
|
1079
|
+
|
|
1080
|
+
this.$lwShowErrorMsg(
|
|
1081
|
+
this.$lwLanguage.get('', '当前收货数量超过最大允许收货量【{total}】!不允许收货', {total: canReceiveQtyNum})
|
|
1082
|
+
)
|
|
1083
|
+
|
|
1084
|
+
return false
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
},
|
|
1088
|
+
// 公共 - 托盘号校验
|
|
1089
|
+
lpnCheck() {
|
|
1090
|
+
const key = this.tabActive
|
|
1091
|
+
|
|
1092
|
+
if (this[key].lpn.show && this[key].lpn.required && !this[key].lpn.value) {
|
|
1093
|
+
this[key].lpn.focus = true
|
|
1094
|
+
this.$lwShowErrorMsg(
|
|
1095
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.kxnvwqhu', '托盘号不能为空')
|
|
1096
|
+
)
|
|
1097
|
+
return false
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
return true
|
|
1101
|
+
},
|
|
1102
|
+
// 公共 - 托盘号确认
|
|
1103
|
+
lpnConfirm() {
|
|
1104
|
+
if (this.lpnCheck()) {
|
|
1105
|
+
this.$nextTick(() => {
|
|
1106
|
+
this[this.tabActive].barcode.focus = true
|
|
1107
|
+
})
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
// 公共 - 收货库位校验
|
|
1111
|
+
locCheck() {
|
|
1112
|
+
|
|
1113
|
+
const key = this.tabActive
|
|
1114
|
+
if (!this[key].loc.value) {
|
|
1115
|
+
this[key].loc.focus = true
|
|
1116
|
+
this.$lwShowErrorMsg(
|
|
1117
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.fwfwudua', '收货库位不能为空')
|
|
1118
|
+
)
|
|
1119
|
+
return false
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
return true
|
|
1123
|
+
|
|
1124
|
+
},
|
|
1125
|
+
// 公共 - 收货库位确认
|
|
1126
|
+
locConfirm() {
|
|
1127
|
+
const key = this.tabActive
|
|
1128
|
+
if (this[key].lpn.show) {
|
|
1129
|
+
this[key].lpn.focus = true
|
|
1130
|
+
} else {
|
|
1131
|
+
this[key].barcode.focus = true
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
// 公共 - 获取商品数量
|
|
1135
|
+
getSkuQty() {
|
|
1136
|
+
return this.$refs[this.tabActive + 'Qty']?.getQty() || 0
|
|
1137
|
+
},
|
|
1138
|
+
// 公共 - 获取批次信息数据
|
|
1139
|
+
getLotData() {
|
|
1140
|
+
const key = this.tabActive
|
|
1141
|
+
const lotMap = this[key].asnInfo.sku.lotMap
|
|
1142
|
+
|
|
1143
|
+
if (!lotMap || !lotMap.length) return {success: true, data: {}}
|
|
1144
|
+
|
|
1145
|
+
return this.$refs[key + 'Lot'].getData()
|
|
1146
|
+
},
|
|
1147
|
+
// 公共 - 校验当前收货量是否满足托装量
|
|
1148
|
+
checkLpnNum() {
|
|
1149
|
+
const key = this.tabActive
|
|
1150
|
+
if (this.tabActive === 'abnormal') return true
|
|
1151
|
+
|
|
1152
|
+
const skuInfo = this[key].asnInfo.sku
|
|
1153
|
+
const lpnNum = Number(skuInfo.pack?.palletQty || 0)
|
|
1154
|
+
if (!lpnNum) return true
|
|
1155
|
+
|
|
1156
|
+
let qty = 0
|
|
1157
|
+
if (skuInfo.sku.needSn) {
|
|
1158
|
+
qty = this[key].snList.reduce((t, i) => t + Number(i.qty || 0), 0)
|
|
1159
|
+
} else {
|
|
1160
|
+
qty = this.getSkuQty()
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
if (lpnNum === qty) return true
|
|
1164
|
+
|
|
1165
|
+
this.$lwDialog.confirm({
|
|
1166
|
+
type: 'warning',
|
|
1167
|
+
title: this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.gmklaxna', '收货提示'),
|
|
1168
|
+
message: this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.gmklaxnaq', '商品:{skuName},托装数为{lpnNum}{eachName},目前收了{qty}{eachName},是否确认收货?', {
|
|
1169
|
+
skuName: skuInfo.sku.name,
|
|
1170
|
+
lpnNum,
|
|
1171
|
+
qty,
|
|
1172
|
+
eachName: skuInfo.pack.eachName
|
|
1173
|
+
})
|
|
1174
|
+
}).then(() => {
|
|
1175
|
+
this.confirmReceive(true)
|
|
1176
|
+
}).catch(() => {
|
|
1177
|
+
})
|
|
1178
|
+
return false
|
|
1179
|
+
},
|
|
1180
|
+
// 公共 - 提交收货的共用数据
|
|
1181
|
+
submitParams() {
|
|
1182
|
+
const key = this.tabActive
|
|
1183
|
+
// 共用参数
|
|
1184
|
+
const {asn, sku} = this[key].asnInfo
|
|
1185
|
+
|
|
1186
|
+
let data = {}
|
|
1187
|
+
if (key === 'normal') {
|
|
1188
|
+
data = {
|
|
1189
|
+
lotBizType: 'RECEIVE'
|
|
1190
|
+
}
|
|
1191
|
+
} else {
|
|
1192
|
+
data = {
|
|
1193
|
+
lotBizType: 'ABN_RECEIVE',
|
|
1194
|
+
images: this.abnormal.imgList.join('|'),
|
|
1195
|
+
remark: this.abnormal.remark,
|
|
1196
|
+
receiveReason: this.abnormal.reason,
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
return {
|
|
1200
|
+
asnId: asn.id,
|
|
1201
|
+
skuId: sku.sku.id,
|
|
1202
|
+
lpn: this[key].lpn.value,
|
|
1203
|
+
locationCode: this[key].loc.value,
|
|
1204
|
+
taskId: this.$route.query.lwTaskId,
|
|
1205
|
+
groupKey: sku.groupKey,
|
|
1206
|
+
...data
|
|
1207
|
+
}
|
|
1208
|
+
},
|
|
1209
|
+
// 公共 - 按唯一码收货
|
|
1210
|
+
snReceiveSubmit(need) {
|
|
1211
|
+
const key = this.tabActive
|
|
1212
|
+
|
|
1213
|
+
if (!this[key].snList.length) {
|
|
1214
|
+
this.normal.barcode.focus = true
|
|
1215
|
+
this.$lwShowErrorMsg(
|
|
1216
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.bqougefx', '请录入需要收货的商品序列号')
|
|
1217
|
+
)
|
|
1218
|
+
return
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
if (!need && !this.checkLpnNum()) return
|
|
1222
|
+
|
|
1223
|
+
const {success, data} = this.getLotData()
|
|
1224
|
+
if (!success) return;
|
|
1225
|
+
|
|
1226
|
+
wmsMobileInboundSubmitAsnFastReceiveForSkuSn({
|
|
1227
|
+
...this.submitParams(),
|
|
1228
|
+
snList: this[key].snList,
|
|
1229
|
+
lotAttributes: data
|
|
1230
|
+
}).then(this.submitSuccess)
|
|
1231
|
+
},
|
|
1232
|
+
// 公共 - 按商品收货
|
|
1233
|
+
skuReceiveSubmit(need) {
|
|
1234
|
+
|
|
1235
|
+
if (!this.qtyCheck()) return
|
|
1236
|
+
|
|
1237
|
+
if (!need && !this.checkLpnNum()) return
|
|
1238
|
+
|
|
1239
|
+
const {success, data} = this.getLotData()
|
|
1240
|
+
if (!success) return;
|
|
1241
|
+
|
|
1242
|
+
wmsMobileInboundSubmitAsnFastReceiveForSku({
|
|
1243
|
+
...this.submitParams(),
|
|
1244
|
+
qty: this.getSkuQty(),
|
|
1245
|
+
lotAttributes: data
|
|
1246
|
+
}).then(this.submitSuccess)
|
|
1247
|
+
},
|
|
1248
|
+
// 公共 - 重新扫描
|
|
1249
|
+
reloadScan() {
|
|
1250
|
+
const key = this.tabActive
|
|
1251
|
+
|
|
1252
|
+
this[key].barcode.value = ''
|
|
1253
|
+
this[key].barcode.show = true
|
|
1254
|
+
this.$refs[key + 'Qty']?.clearInput()
|
|
1255
|
+
this[key].qty.show = false
|
|
1256
|
+
this[key].lpn.value = ''
|
|
1257
|
+
this[key].loc.value = ''
|
|
1258
|
+
this[key].snList = []
|
|
1259
|
+
this[key].asnInfo = {}
|
|
1260
|
+
|
|
1261
|
+
if (key === 'abnormal') {
|
|
1262
|
+
this[key].reason = ''
|
|
1263
|
+
this[key].remark = ''
|
|
1264
|
+
this[key].imgList = []
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
this.$nextTick(() => this.locConfirm())
|
|
1268
|
+
},
|
|
1269
|
+
// 公共 - 收货成功后的提示信息及清空数据
|
|
1270
|
+
submitSuccess() {
|
|
1271
|
+
const msg = this.tabActive === 'normal' ?
|
|
1272
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.naabwulj', '收货成功') :
|
|
1273
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.egzsffjf', '异常收货成功')
|
|
1274
|
+
|
|
1275
|
+
this.$lwToast.success(msg)
|
|
1276
|
+
this.getAsnAllData()
|
|
1277
|
+
this.reloadScan()
|
|
1278
|
+
},
|
|
1279
|
+
// 公共 - 重新扫描
|
|
1280
|
+
reloadScanClick() {
|
|
1281
|
+
this.$lwDialog.confirm({
|
|
1282
|
+
type: 'warning',
|
|
1283
|
+
title: this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.znwgbchb', '提示'),
|
|
1284
|
+
message: this.$lwLanguage.get('wms_project.pda.wms.page.receive.mixture.action.jwltolio', '确认清空全部数据?'),
|
|
1285
|
+
}).then(this.reloadScan).catch(() => {
|
|
1286
|
+
})
|
|
1287
|
+
},
|
|
1288
|
+
// 公共 - 底部提交按钮
|
|
1289
|
+
confirmReceive() {
|
|
1290
|
+
if (this.tabActive === 'normal') {
|
|
1291
|
+
this.normalConfirmReceive()
|
|
1292
|
+
} else {
|
|
1293
|
+
this.abnConfirmReceive()
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
</script>
|
|
1299
|
+
|
|
1300
|
+
<style scoped lang="less">
|
|
1301
|
+
|
|
1302
|
+
</style>
|