@logwire/logwire-wms-pda-ui 3.3.4 → 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.072df5fb.mjs → InboundQualityExecuteView.8dc52c18.mjs} +1 -1
- package/dist/{InboundQualityTaskListView.70f155c3.mjs → InboundQualityTaskListView.be1d9513.mjs} +1 -1
- package/dist/{InboundReceiveAllocSkuExecuteView.066c03d0.mjs → InboundReceiveAllocSkuExecuteView.c83e37da.mjs} +1 -1
- package/dist/{InboundReceiveAllocSnExecuteView.55505a17.mjs → InboundReceiveAllocSnExecuteView.3caf1015.mjs} +1 -1
- package/dist/{InboundReceiveAllocTabListView.9915dbab.mjs → InboundReceiveAllocTabListView.aa9dbe9d.mjs} +1 -1
- package/dist/{InboundReceiveCaseExecuteView.9928abfc.mjs → InboundReceiveCaseExecuteView.02ef5125.mjs} +1 -1
- package/dist/{InboundReceiveCaseScanView.05d82d38.mjs → InboundReceiveCaseScanView.d949fd41.mjs} +1 -1
- package/dist/{InboundReceiveLpnBatchExecuteView.93a5cba2.mjs → InboundReceiveLpnBatchExecuteView.76425211.mjs} +1 -1
- package/dist/{InboundReceiveLpnExecuteView.40744cfe.mjs → InboundReceiveLpnExecuteView.d88697c6.mjs} +1 -1
- package/dist/{InboundReceiveLpnScanView.c83c2755.mjs → InboundReceiveLpnScanView.0dd03d06.mjs} +1 -1
- package/dist/{InboundReceiveRandomSkuExecuteView.36927be9.mjs → InboundReceiveRandomSkuExecuteView.1db664c3.mjs} +1 -1
- package/dist/{InboundReceiveRandomSkuScanView.e2638152.mjs → InboundReceiveRandomSkuScanView.58c00148.mjs} +1 -1
- package/dist/{InboundReceiveRandomSkuSnExecuteView.0fdd5df2.mjs → InboundReceiveRandomSkuSnExecuteView.2eb9dac9.mjs} +1 -1
- package/dist/{InboundReceiveSkuAdvanceView.8c471da4.mjs → InboundReceiveSkuAdvanceView.f196236a.mjs} +1 -1
- package/dist/{InboundReceiveSkuDirectView.6f93f6d0.mjs → InboundReceiveSkuDirectView.014f0326.mjs} +1 -1
- package/dist/{InboundReceiveSkuScanView.fe8260e9.mjs → InboundReceiveSkuScanView.4702f13a.mjs} +1 -1
- package/dist/{LwInboundSortingAsnView.93995775.mjs → LwInboundSortingAsnView.0b353510.mjs} +1 -1
- package/dist/{LwInboundSortingByContainerView.95e8e4be.mjs → LwInboundSortingByContainerView.e154b1cc.mjs} +1 -1
- package/dist/{LwInboundSortingByOrderView.d765cd26.mjs → LwInboundSortingByOrderView.786ce048.mjs} +1 -1
- package/dist/{LwInboundSortingIndexView.7db87ef8.mjs → LwInboundSortingIndexView.2b89a4a5.mjs} +1 -1
- package/dist/{LwOutboundReprintBoxView.1f0c1cac.mjs → LwOutboundReprintBoxView.6601d332.mjs} +1 -1
- package/dist/{LwOutboundStockoutExecuteView.9a34c2f8.mjs → LwOutboundStockoutExecuteView.b433f826.mjs} +1 -1
- package/dist/{LwOutboundStockoutListView.3fab3dfa.mjs → LwOutboundStockoutListView.975002cf.mjs} +1 -1
- package/dist/{MoveRandomWholeCaseView.8b75364e.mjs → MoveRandomWholeCaseView.ce4586fe.mjs} +1 -1
- package/dist/{MoveTaskWholeCaseDownView.cbf3fa54.mjs → MoveTaskWholeCaseDownView.2ef589be.mjs} +1 -1
- package/dist/{MoveTaskWholeCaseUpView.9dcfa9be.mjs → MoveTaskWholeCaseUpView.f49ee35c.mjs} +1 -1
- package/dist/{MoveTaskWholeIndexView.064fbe18.mjs → MoveTaskWholeIndexView.e83f209a.mjs} +1 -1
- package/dist/{OutboundBlockBoxListView.ce5a480b.mjs → OutboundBlockBoxListView.7b6c0e26.mjs} +1 -1
- package/dist/{OutboundBlockExecuteView.e9608797.mjs → OutboundBlockExecuteView.a355f884.mjs} +1 -1
- package/dist/{action.1cec4ced.mjs → action.0b3e310e.mjs} +1 -1
- package/dist/{action.da9ebe1c.mjs → action.0d10a12f.mjs} +1 -1
- package/dist/action.0f04110f.mjs +26 -0
- package/dist/{action.05ef1356.mjs → action.106a7954.mjs} +1 -1
- package/dist/{action.c91bdd37.mjs → action.1536ee9a.mjs} +1 -1
- package/dist/{action.25c55014.mjs → action.2b0a6202.mjs} +1 -1
- package/dist/{action.de01711b.mjs → action.2ce47d1e.mjs} +2 -2
- package/dist/{action.eb298a94.mjs → action.2ec21582.mjs} +1 -1
- package/dist/{action.2aee706c.mjs → action.30d4f35c.mjs} +1 -1
- package/dist/{action.457466de.mjs → action.3332adcb.mjs} +1 -1
- package/dist/action.36feb8f2.mjs +26 -0
- package/dist/{action.3c9f8f9a.mjs → action.39dc2b8b.mjs} +1 -1
- package/dist/{action.2cba38b6.mjs → action.40f61b49.mjs} +1 -1
- package/dist/{action.53172514.mjs → action.43af27e4.mjs} +1 -1
- package/dist/{action.12fd1f6c.mjs → action.4449e030.mjs} +1 -1
- package/dist/{action.80712da3.mjs → action.45b66043.mjs} +1 -1
- package/dist/{action.9cdc7048.mjs → action.4a63cba5.mjs} +1 -1
- package/dist/{action.22fa96c1.mjs → action.54bb7293.mjs} +1 -1
- package/dist/{action.f4ad902e.mjs → action.58caa8ee.mjs} +1 -1
- package/dist/{action.75122b24.mjs → action.608c7e5f.mjs} +1 -1
- package/dist/{action.2705a706.mjs → action.709664af.mjs} +1 -1
- package/dist/{action.388a7b82.mjs → action.71ed3fad.mjs} +1 -1
- package/dist/{action.4fa3dc69.mjs → action.74875263.mjs} +1 -1
- package/dist/{action.a1fef9b4.mjs → action.7729b7d4.mjs} +1 -1
- package/dist/{action.892c70b5.mjs → action.779401f2.mjs} +1 -1
- package/dist/{action.6b5ba5bc.mjs → action.77ca3062.mjs} +1 -1
- package/dist/{action.8635e56d.mjs → action.7a6b95fc.mjs} +1 -1
- package/dist/{action.7ecf71cd.mjs → action.84cdbfb5.mjs} +1 -1
- package/dist/{action.717dcc0b.mjs → action.8c47d3b2.mjs} +1 -1
- package/dist/{action.fba7076f.mjs → action.8d89d454.mjs} +1 -1
- package/dist/action.931f1f38.mjs +26 -0
- package/dist/{action.ed02076b.mjs → action.98f491f2.mjs} +1 -1
- package/dist/{action.913b0391.mjs → action.9a7ebc27.mjs} +1 -1
- package/dist/{action.8898ed0d.mjs → action.9c6b3a00.mjs} +1 -1
- package/dist/action.9eb9da32.mjs +26 -0
- package/dist/{action.27eec7b8.mjs → action.aa95b56d.mjs} +1 -1
- package/dist/action.b1253a19.mjs +26 -0
- package/dist/{action.ec6c7725.mjs → action.b23489af.mjs} +2 -2
- package/dist/{action.843677e2.mjs → action.b56143a1.mjs} +1 -1
- package/dist/{action.9d230e1a.mjs → action.b6cfe00e.mjs} +1 -1
- package/dist/{action.eaa9156f.mjs → action.dfada995.mjs} +1 -1
- package/dist/{action.a40b1033.mjs → action.ebbaf20c.mjs} +1 -1
- package/dist/{action.c9704931.mjs → action.ec137dd8.mjs} +1 -1
- package/dist/{action.3ef72c30.mjs → action.edaa501d.mjs} +1 -1
- package/dist/{action.43e3e436.mjs → action.ee0e8b1f.mjs} +1 -1
- package/dist/{action.b4be87bb.mjs → action.ee9f9dad.mjs} +1 -1
- package/dist/{action.1c9ad7cc.mjs → action.ef23dfda.mjs} +1 -1
- package/dist/{action.6c84694b.mjs → action.fe8372ae.mjs} +1 -1
- package/dist/{add.614bc616.mjs → add.22e4bebe.mjs} +1 -1
- package/dist/{addEdit.412e504f.mjs → addEdit.65fef702.mjs} +1 -1
- package/dist/{addOrder.e229c144.mjs → addOrder.7a9e19c0.mjs} +1 -1
- package/dist/{allCheck.739b8b3f.mjs → allCheck.28e21813.mjs} +1 -1
- package/dist/{aloneAction.304bef61.mjs → aloneAction.a768cce3.mjs} +1 -1
- package/dist/box.63e0de94.mjs +26 -0
- package/dist/{boxAction.8e0f9836.mjs → boxAction.cdd8a9d4.mjs} +1 -1
- package/dist/{caseAction.d892ba45.mjs → caseAction.ed5413f4.mjs} +1 -1
- package/dist/{console.f4401a97.mjs → console.1d1facc6.mjs} +7 -7
- package/dist/{consoleInfo.0acd4734.mjs → consoleInfo.c5f534e9.mjs} +1 -1
- package/dist/{containerAction.24d94687.mjs → containerAction.f966d345.mjs} +1 -1
- package/dist/{content.dcd7cefc.mjs → content.1e1c6b64.mjs} +1 -1
- package/dist/{content.2d8497a9.mjs → content.33dde95b.mjs} +1 -1
- package/dist/{content.26c9347a.mjs → content.df9b1645.mjs} +1 -1
- package/dist/content.e6d47338.mjs +26 -0
- package/dist/{contentInfo.f148a8ea.mjs → contentInfo.cb586e86.mjs} +1 -1
- package/dist/{countContent.a8a87cf4.mjs → countContent.4c5327e1.mjs} +1 -1
- package/dist/{createEditOrder.ade620a3.mjs → createEditOrder.97ec324b.mjs} +1 -1
- package/dist/createOrder.29ac9f2d.mjs +26 -0
- package/dist/{createOrder.6a4331fd.mjs → createOrder.e38e814b.mjs} +1 -1
- package/dist/{customer.8da15215.mjs → customer.25a3bc99.mjs} +1 -1
- package/dist/{device.5076258a.mjs → device.fba3daff.mjs} +1 -1
- package/dist/{generate.4ec740db.mjs → generate.583b5e0c.mjs} +1 -1
- package/dist/{home.ecf62942.mjs → home.c1ea45c2.mjs} +1 -1
- package/dist/{index.9e58547a.mjs → index.033cbaff.mjs} +1 -1
- package/dist/{index.893bc431.mjs → index.04a986a2.mjs} +1 -1
- package/dist/index.04ea5b46.mjs +26 -0
- package/dist/{index.08a47382.mjs → index.091fe3a7.mjs} +1 -1
- package/dist/index.0978c1e4.mjs +26 -0
- package/dist/{index.6068dd79.mjs → index.0bf6b5ec.mjs} +1 -1
- package/dist/{index.64762c57.mjs → index.0c704ac4.mjs} +1 -1
- package/dist/index.0dcbafb7.mjs +26 -0
- package/dist/index.0e4dc58e.mjs +26 -0
- package/dist/{index.0556bc91.mjs → index.102a5f12.mjs} +1 -1
- package/dist/{index.73a694b5.mjs → index.12b10880.mjs} +1 -1
- package/dist/{index.82f971b5.mjs → index.1594eaad.mjs} +1 -1
- package/dist/{index.a9732498.mjs → index.1ce8bf4e.mjs} +1 -1
- package/dist/index.238b98ef.mjs +26 -0
- package/dist/{index.219902a8.mjs → index.271b44af.mjs} +1 -1
- package/dist/{index.65d71e37.mjs → index.28256c64.mjs} +1 -1
- package/dist/{index.3a479538.mjs → index.333a861b.mjs} +1 -1
- package/dist/{index.25ff49bc.mjs → index.34bb823f.mjs} +1 -1
- package/dist/{index.5f1f4b84.mjs → index.35483326.mjs} +2 -2
- package/dist/{index.a327b150.mjs → index.35bda2ce.mjs} +1 -1
- package/dist/{index.b6b3c14e.mjs → index.3d2e6f83.mjs} +1 -1
- package/dist/{index.e6f24955.mjs → index.41cc869b.mjs} +4 -4
- package/dist/index.4294d1d1.mjs +121 -0
- package/dist/{index.c6933099.mjs → index.46d4b9d0.mjs} +1 -1
- package/dist/{index.13dfb7b7.mjs → index.4a0facb7.mjs} +1 -1
- package/dist/{index.835f0b2a.mjs → index.4f29934b.mjs} +1 -1
- package/dist/{index.376db806.mjs → index.5bcf0a37.mjs} +1 -1
- package/dist/index.5edcc11e.mjs +26 -0
- package/dist/{index.deb6d229.mjs → index.5f648cc9.mjs} +1 -1
- package/dist/{index.f109ab4f.mjs → index.6ed23269.mjs} +1 -1
- package/dist/{index.406c1e06.mjs → index.6f36b2a0.mjs} +1 -1
- package/dist/{index.530aa4c3.mjs → index.72bce7d7.mjs} +1 -1
- package/dist/index.76d07a7e.mjs +26 -0
- package/dist/index.78b3ce46.mjs +26 -0
- package/dist/{index.9eca0e6f.mjs → index.7959b2a9.mjs} +1 -1
- package/dist/{index.00f4cf24.mjs → index.7f1c54fc.mjs} +1 -1
- package/dist/{index.3a7e5803.mjs → index.7fb5db35.mjs} +1 -1
- package/dist/{index.9047f9bd.mjs → index.823a2d7f.mjs} +1 -1
- package/dist/{index.bb0c1f9f.mjs → index.82568717.mjs} +1 -1
- package/dist/{index.8aab5a4d.mjs → index.82828d17.mjs} +1 -1
- package/dist/{index.c8b492a9.mjs → index.8690c1c1.mjs} +1 -1
- package/dist/{index.b4f8d91b.mjs → index.87de54b1.mjs} +1 -1
- package/dist/{index.2658f68c.mjs → index.89d00ebf.mjs} +1 -1
- package/dist/{index.c401209c.mjs → index.8d076322.mjs} +1 -1
- package/dist/{index.88c34056.mjs → index.8e21de7e.mjs} +1 -1
- package/dist/{index.a41c2ade.mjs → index.8e33e058.mjs} +1 -1
- package/dist/{index.fcd4b522.mjs → index.8fa82299.mjs} +1 -1
- package/dist/{index.2fb9f3ed.mjs → index.8fe75485.mjs} +1 -1
- package/dist/index.92cd81e8.mjs +26 -0
- package/dist/{index.2a3a51a3.mjs → index.94c5b593.mjs} +1 -1
- package/dist/index.95220fdb.mjs +22 -0
- package/dist/{index.de9eba4c.mjs → index.952f55f9.mjs} +1 -1
- package/dist/{index.2c2b235d.mjs → index.a2ac2817.mjs} +1 -1
- package/dist/{index.b7128614.mjs → index.a448dbee.mjs} +1 -1
- package/dist/{index.a5660a11.mjs → index.a7cc050a.mjs} +1 -1
- package/dist/index.a96f61e4.mjs +26 -0
- package/dist/{index.3805516a.mjs → index.a9e99942.mjs} +1 -1
- package/dist/{index.e9e79f4c.mjs → index.ae01c34b.mjs} +1 -1
- package/dist/{index.0cba494e.mjs → index.af49542f.mjs} +1 -1
- package/dist/{index.46134baf.mjs → index.b71cc462.mjs} +1 -1
- package/dist/{index.062172b5.mjs → index.ba393fc0.mjs} +1 -1
- package/dist/{index.d4d1429a.mjs → index.bc3eb1b2.mjs} +1 -1
- package/dist/{index.655b21dc.mjs → index.bca0c3c2.mjs} +1 -1
- package/dist/{index.c0733694.mjs → index.be9ad673.mjs} +1 -1
- package/dist/{index.882433b5.mjs → index.c8456897.mjs} +1 -1
- package/dist/{index.84fc0fe9.mjs → index.c8f0ffe3.mjs} +1 -1
- package/dist/{index.218e6163.mjs → index.cac7596a.mjs} +1 -1
- package/dist/{index.227b9260.mjs → index.cb6ec1f0.mjs} +1 -1
- package/dist/{index.237a4e28.mjs → index.ce7f7299.mjs} +1 -1
- package/dist/{index.a4b891c6.mjs → index.d023ac3c.mjs} +1 -1
- package/dist/{index.84b6917f.mjs → index.d356f45b.mjs} +29421 -19927
- package/dist/{index.bdea9c64.mjs → index.d37a74c2.mjs} +1 -1
- package/dist/index.d4d69f42.mjs +26 -0
- package/dist/{index.553436d2.mjs → index.dac3db55.mjs} +1 -1
- package/dist/{index.934814a7.mjs → index.dd1934d8.mjs} +1 -1
- package/dist/{index.f67c4e46.mjs → index.dfb6a927.mjs} +1 -1
- package/dist/{index.a6b21574.mjs → index.e16f9d89.mjs} +1 -1
- package/dist/{index.b42f68a4.mjs → index.e2752a26.mjs} +1 -1
- package/dist/{index.4b889d26.mjs → index.e3d89832.mjs} +1 -1
- package/dist/{index.524f308c.mjs → index.ebbce4ca.mjs} +1 -1
- package/dist/{index.a5475e92.mjs → index.ec5567e5.mjs} +1 -1
- package/dist/{index.e1d87019.mjs → index.ed999328.mjs} +3 -2
- package/dist/{index.d4a3a4dc.mjs → index.efc16e32.mjs} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.f0ed46fa.mjs +26 -0
- package/dist/{index.e371504a.mjs → index.f347234b.mjs} +1 -1
- package/dist/{index.405e1c77.mjs → index.f39df3b2.mjs} +1 -1
- package/dist/{index.73900496.mjs → index.f8f6b642.mjs} +1 -1
- package/dist/{index.d069ece0.mjs → index.fb32112b.mjs} +1 -1
- package/dist/{index.144667f6.mjs → index.ff041816.mjs} +1 -1
- package/dist/index.umd.js +14 -14
- package/dist/{language.76f1ea12.mjs → language.26b0f614.mjs} +1 -1
- package/dist/{large.95818786.mjs → large.75055d2f.mjs} +1 -1
- package/dist/{line.259e5e54.mjs → line.d6c185ab.mjs} +1 -1
- package/dist/{list.a9796050.mjs → list.2fb9728e.mjs} +1 -1
- package/dist/locContent.10e2410a.mjs +26 -0
- package/dist/look.00cd186f.mjs +26 -0
- package/dist/{look.56b5a6ae.mjs → look.d6b7a700.mjs} +1 -1
- package/dist/{lpn.34963200.mjs → lpn.63a9539b.mjs} +1 -1
- package/dist/lpn.c3068026.mjs +26 -0
- package/dist/{lpnAction.37c551a3.mjs → lpnAction.5786efe5.mjs} +1 -1
- package/dist/{lpnAction.ac10e953.mjs → lpnAction.f515bcb3.mjs} +1 -1
- package/dist/{lpnBatchAction.99257df8.mjs → lpnBatchAction.c64c460f.mjs} +1 -1
- package/dist/{menuOne.d9a73902.mjs → menuOne.fd6d29ba.mjs} +1 -1
- package/dist/{menuTwo.d3155e83.mjs → menuTwo.25ab697e.mjs} +1 -1
- package/dist/{move.67ccb067.mjs → move.087e4635.mjs} +1 -1
- package/dist/{msg.7956773b.mjs → msg.ccc0cfca.mjs} +1 -1
- package/dist/{myTaskGroup.6f639b6b.mjs → myTaskGroup.e0cc4165.mjs} +1 -1
- package/dist/{myTaskGroupContent.e568bec9.mjs → myTaskGroupContent.4b09fdd1.mjs} +1 -1
- package/dist/{newBale.1a6edec7.mjs → newBale.3f0d234b.mjs} +1 -1
- package/dist/{newBale.db3d3058.mjs → newBale.5f083cba.mjs} +1 -1
- package/dist/{newLpn.89dd50e0.mjs → newLpn.3da8b7ca.mjs} +1 -1
- package/dist/{notAloneAction.7fc85305.mjs → notAloneAction.baac96b3.mjs} +1 -1
- package/dist/{orderAction.6387bc66.mjs → orderAction.e8d36844.mjs} +1 -1
- package/dist/{orderInfo.7f8a4760.mjs → orderInfo.9bdde083.mjs} +1 -1
- package/dist/{orderInfo.c541670d.mjs → orderInfo.e48b7e7f.mjs} +1 -1
- package/dist/{over.e666ac8e.mjs → over.650e473e.mjs} +1 -1
- package/dist/{page.8b0b072c.mjs → page.cdcfe7be.mjs} +1 -1
- package/dist/{print.866c33bf.mjs → print.f1ebf8a3.mjs} +1 -1
- package/dist/{printLabel.3d28d1ae.mjs → printLabel.9cbddfaa.mjs} +1 -1
- package/dist/{queryByLocationCode.b1897152.mjs → queryByLocationCode.15340e4a.mjs} +1 -1
- package/dist/{queryBySkuCode.62a0d084.mjs → queryBySkuCode.e40b55a1.mjs} +1 -1
- package/dist/{sample.d6c2df29.mjs → sample.f52bb1f8.mjs} +1 -1
- package/dist/{scan.f8cc66f1.mjs → scan.81c05612.mjs} +1 -1
- package/dist/{search.b2df656c.mjs → search.c1145bdd.mjs} +1 -1
- package/dist/selectType.f3481ebc.mjs +26 -0
- package/dist/sku.f3dc6a20.mjs +26 -0
- package/dist/{skuAction.aa0bcca9.mjs → skuAction.077bc503.mjs} +1 -1
- package/dist/{skuCheck.82f57395.mjs → skuCheck.ea182fbb.mjs} +1 -1
- package/dist/skuContent.51c8a2d1.mjs +26 -0
- package/dist/skuLocContent.ba296b9c.mjs +26 -0
- package/dist/{smallPage.dfdbf3a0.mjs → smallPage.dff8cde8.mjs} +1 -1
- package/dist/{sowAction.fdded9e9.mjs → sowAction.359f3d64.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{task.c3b22f3d.mjs → task.2af9dfa9.mjs} +1 -1
- package/dist/{task.d0d79e1f.mjs → task.3bd46d1b.mjs} +1 -1
- package/dist/{taskContent.bf116a60.mjs → taskContent.98261335.mjs} +1 -1
- package/dist/{taskEntrance.81407a2b.mjs → taskEntrance.be1984c2.mjs} +1 -1
- package/dist/{taskGroup.86417306.mjs → taskGroup.50baae81.mjs} +1 -1
- package/dist/{taskGroupContent.035296d7.mjs → taskGroupContent.fa4e1df6.mjs} +1 -1
- package/dist/{timezone.976e63b8.mjs → timezone.e2d0316b.mjs} +1 -1
- package/dist/{warehouse.400a7d60.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 +38 -8
- package/src/assets/img/menu/assignLpnPick.png +0 -0
- 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/moreOrder.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/pickConsole.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/sort.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 +4 -4
- package/src/components/CellPopupDate/index.vue +8 -1
- package/src/components/CellPopupRadio/index.vue +10 -6
- package/src/components/CellPopupSelect/index.vue +5 -1
- package/src/components/CellSearchSelectDel/index.vue +1 -0
- 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 +111 -52
- package/src/components/LabelValueGroup/cellTag.vue +81 -0
- package/src/components/LabelValueGroup/index.js +11 -0
- package/src/components/LabelValueGroup/index.vue +131 -0
- package/src/components/Loading/index.vue +13 -5
- package/src/components/NoticeBar/index.vue +28 -23
- package/src/components/Pagination/index.vue +86 -64
- package/src/components/Popup/index.vue +1 -1
- package/src/components/PopupCheckbox/index.vue +1 -0
- package/src/components/SearchCellPopup/index.vue +2 -2
- package/src/components/TitleValueCell/index.vue +77 -25
- package/src/components/index.js +9 -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/AppPower.js +71 -0
- 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/Language.js +10 -10
- package/src/utils/LocalStaff.js +52 -0
- package/src/utils/LocalStorage.js +8 -4
- package/src/utils/Print.js +22 -9
- 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 -13
- 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/mixin/userSelectInputMixin.js +57 -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/UserCheckbox/index.js +11 -0
- package/src/views/{vin/module/userCheckbox → common/module/UserCheckbox}/index.vue +72 -12
- package/src/views/common/module/UserCheckbox//345/221/230/345/267/245/345/244/215/351/200/211/346/250/241/345/235/227.md +1 -0
- package/src/views/common/module/UserSelect/index.js +11 -0
- package/src/views/{vin/module/userSelect → common/module/UserSelect}/index.vue +15 -3
- package/src/views/common/module/UserSelect//345/221/230/345/267/245/345/215/225/351/200/211/346/250/241/345/235/227.md +1 -0
- package/src/views/common/module/UserSelectPopup/index.js +11 -0
- package/src/views/common/module/UserSelectPopup/index.vue +247 -0
- package/src/views/common/module/index.js +15 -0
- package/src/views/common/page/Login/index.vue +12 -3
- package/src/views/common/page/Msg/index.vue +10 -11
- 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 +68 -162
- package/src/views/common/page/Task/searchTask/index.vue +59 -46
- 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/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/module/index.js +0 -6
- package/src/views/vin/page/index.js +0 -4
- package/src/views/vin/page/inner/count/index.vue +1 -1
- package/src/views/vin/page/inner/move/index.vue +1 -1
- package/src/views/vin/page/keyRoom/handover/action.vue +1 -1
- package/src/views/vin/page/keyRoom/myKey/action.vue +5 -1
- package/src/views/vin/page/keyRoom/myKey/index.vue +1 -1
- package/src/views/vin/page/keyRoom/transfer/action.vue +6 -2
- package/src/views/vin/page/keyRoom/transfer/index.vue +1 -1
- package/src/views/vin/page/maintain/components/taskActionItem.vue +2 -0
- package/src/views/vin/page/maintain/move/index.vue +1 -1
- package/src/views/vin/page/maintain/recharge/index.vue +1 -1
- package/src/views/vin/page/maintain/task/components/taskMyItem.vue +1 -0
- package/src/views/vin/page/maintain/task/index.vue +2 -1
- package/src/views/vin/page/maintain/task/myTaskGroup.vue +2 -0
- package/src/views/vin/page/maintain/task/taskGroup.vue +2 -0
- package/src/views/vin/page/maintain/task/taskGroupContent.vue +2 -0
- package/src/views/vin/page/maintain/wash/index.vue +2 -2
- package/src/views/vin/page/outbound/delivery/index.vue +1 -1
- package/src/views/vin/page/outbound/keyAllot/action.vue +1 -1
- package/src/views/vin/page/outbound/keyAllot/index.vue +1 -1
- package/src/views/vin/page/outbound/pick/index.vue +1 -1
- package/src/views/vin/page/quality/register/action.vue +1 -0
- package/src/views/vin/page/quality/register/index.vue +8 -23
- package/src/views/vin/page/receive/back/index.vue +1 -1
- package/src/views/vin/page/receive/components/receiveOrderInfo.vue +3 -1
- 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/vin/page/receive/stopRecord/action.vue +1 -1
- package/src/views/vin/page/receive/stopRecord/index.vue +1 -1
- 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 +69 -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 +54 -0
- 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/pick/sort.js +23 -0
- package/src/views/wms/api/outbound/pickConsole/orderPick.js +98 -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 +117 -0
- 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 +97 -0
- package/src/views/wms/{page/outbound/pickConsole → components/consoleAndPick}/components/orderInfo.vue +39 -12
- package/src/views/wms/components/consoleAndPick/createOrderPage.vue +781 -0
- package/src/views/wms/components/consoleAndPick/indexPage.vue +187 -0
- package/src/views/wms/components/consoleAndPick/orderHeadData.vue +464 -0
- package/src/views/wms/components/consoleAndPick/waitOverTaskItem.vue +199 -0
- package/src/views/wms/{page/outbound/pickConsole/components → components/consoleAndPick}/waitOverTitle.vue +16 -11
- package/src/views/wms/components/consoleAndPick//346/213/243/351/200/211/346/216/247/345/210/266/345/217/260/345/222/214/346/214/207/345/256/232/346/225/264/346/211/230/346/213/243/351/200/211/345/205/261/347/224/250/347/273/204/344/273/266/345/217/212/351/241/265/351/235/242.md +0 -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 +36 -586
- 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 +26 -7
- package/src/views/wms/module/ReceiveAbnormal/index.vue +539 -246
- 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 +136 -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 +51 -32
- 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 +154 -35
- 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 +17 -2
- package/src/views/wms/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuExecutePage.vue +149 -62
- package/src/views/wms/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuScanPage.vue +246 -71
- package/src/views/wms/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuSnExecutePage.vue +70 -39
- package/src/views/wms/page/inbound/receive/receive-sku/LwInboundReceiveSkuAdvancePage.vue +241 -105
- package/src/views/wms/page/inbound/receive/receive-sku/LwInboundReceiveSkuDirectPage.vue +193 -85
- 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 +444 -255
- package/src/views/wms/page/inbound/unload/add/index.vue +152 -229
- package/src/views/wms/page/inbound/unload/components/asnAddPopup.vue +295 -0
- package/src/views/wms/page/inbound/unload/components/asnInfo.vue +103 -0
- package/src/views/wms/page/inbound/unload/index/index.vue +117 -78
- package/src/views/wms/page/inbound/unload/uploadMixin.js +25 -0
- 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 +66 -42
- 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 +229 -192
- 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 +115 -71
- 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 +453 -0
- package/src/views/wms/page/outbound/assignLpnPick/createOrder.vue +27 -0
- package/src/views/wms/page/outbound/assignLpnPick/index.js +22 -0
- package/src/views/wms/page/outbound/assignLpnPick/index.vue +34 -0
- package/src/views/wms/page/outbound/assignLpnPick//346/214/207/345/256/232/346/225/264/346/211/230/346/213/243/351/200/211.md +0 -0
- 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 +60 -52
- 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/block/index.js +7 -5
- 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 +313 -168
- package/src/views/wms/page/outbound/delivery/addOrder/index.vue +21 -44
- package/src/views/wms/page/outbound/delivery/components/boxItem/index.vue +4 -2
- 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 +23 -13
- 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 +16 -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 +205 -66
- 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 +38 -37
- 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 +217 -37
- 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 -209
- package/src/views/wms/page/outbound/pickConsole/createOrder/index.vue +9 -510
- package/src/views/wms/page/outbound/pickConsole/index/index.vue +9 -129
- package/src/views/wms/page/outbound/pickConsole/orderAction/index.vue +882 -617
- 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 +302 -0
- package/src/views/wms/page/outbound/sort/index.js +21 -0
- package/src/views/wms/page/outbound/sort/index.vue +102 -0
- package/src/views/wms/page/outbound/sort//346/213/243/351/200/211/345/210/206/350/264/247.md +0 -0
- package/src/views/wms/page/outbound/sow/action/index.vue +76 -72
- 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 +132 -36
- 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/stockout/index.js +6 -5
- 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 +129 -97
- package/src/views/wms/page/receive/console/createEditOrder/index.vue +396 -150
- package/src/views/wms/page/receive/console/index/index.vue +21 -2
- package/src/views/wms/page/receive/console/look/index.vue +169 -177
- package/src/views/wms/page/receive/index.js +22 -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.js +12 -0
- package/src/views/wms/page/receive/moreOrder/box/index.vue +615 -0
- package/src/views/wms/page/receive/moreOrder/components/abnPopup.vue +84 -0
- package/src/views/wms/page/receive/moreOrder/components/asnInfo.vue +79 -0
- package/src/views/wms/page/receive/moreOrder/components/asnListContent.vue +83 -0
- package/src/views/wms/page/receive/moreOrder/components/asnSkuInfo.vue +283 -0
- package/src/views/wms/page/receive/moreOrder/components/lpnBoxSelectAsnItem.vue +145 -0
- package/src/views/wms/page/receive/moreOrder/components/qualityCard.vue +637 -0
- package/src/views/wms/page/receive/moreOrder/index/index.js +12 -0
- package/src/views/wms/page/receive/moreOrder/index/index.vue +199 -0
- package/src/views/wms/page/receive/moreOrder/lpn/index.js +12 -0
- package/src/views/wms/page/receive/moreOrder/lpn/index.vue +444 -0
- package/src/views/wms/page/receive/moreOrder/selectType/index.js +12 -0
- package/src/views/wms/page/receive/moreOrder/selectType/index.vue +94 -0
- package/src/views/wms/page/receive/moreOrder/sku/index.js +12 -0
- package/src/views/wms/page/receive/moreOrder/sku/index.vue +291 -0
- package/src/views/wms/page/receive/moreOrder//345/244/232/345/215/225/346/224/266/350/264/247.md +0 -0
- 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 +73 -675
- 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/assignLpnPick/action.vue +23 -0
- package/src/views/wms/views/outbound/assignLpnPick/createOrder.vue +23 -0
- package/src/views/wms/views/outbound/assignLpnPick/index.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/outbound/sort/action.vue +23 -0
- package/src/views/wms/views/outbound/sort/index.vue +23 -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/receive/moreOrder/box.vue +23 -0
- package/src/views/wms/views/receive/moreOrder/index.vue +23 -0
- package/src/views/wms/views/receive/moreOrder/lpn.vue +23 -0
- package/src/views/wms/views/receive/moreOrder/selectType.vue +23 -0
- package/src/views/wms/views/receive/moreOrder/sku.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.ecb753b8.mjs +0 -22
- package/src/views/vin/module/userCheckbox/index.js +0 -11
- package/src/views/vin/module/userSelect/index.js +0 -11
- package/src/views/vin/module/userSelectPopup/index.js +0 -11
- package/src/views/vin/module/userSelectPopup/index.vue +0 -139
- 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/outbound/pickConsole/components/waitOverTaskItem.vue +0 -122
- package/src/views/wms/page/receive/console/components/lpnCaseInfo.vue +0 -83
- /package/src/{views/vin/module/userCheckbox//347/224/250/346/210/267/345/244/215/351/200/211/346/250/241/345/235/227.md" → components/CalendarPopup//346/227/245/345/216/206.md"} +0 -0
- /package/src/{views/vin/module/userSelect//345/221/230/345/267/245/351/200/211/346/213/251/346/250/241/345/235/227.md" → 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/vin/module/userSelectPopup//345/221/230/345/267/245/351/200/211/346/213/251/345/274/271/346/241/206.md" → components/LabelValueGroup//346/240/207/347/255/276/343/200/201/345/200/274/346/230/276/347/244/272/347/273/204.md"} +0 -0
- /package/src/views/{wms/page/config/masterLocation/masterLocationConfig/action/index.less → automate/views/pocAutomate/POC/350/207/252/345/212/250/345/214/226.md"} +0 -0
- /package/src/views/{wms/page/config/masterLocation/masterLocationConfig/index/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/masterLocation/masterLocationQuery/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/page/config/newProject/action/index.less → common/module/UserSelectPopup//345/221/230/345/267/245/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/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/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,1159 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
按单复核 - 执行页
|
|
3
|
+
@author: 张文
|
|
4
|
+
@date: 2023-08-14
|
|
5
|
+
-->
|
|
6
|
+
<template>
|
|
7
|
+
<div>
|
|
8
|
+
<lw-nav-bar :title="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.feqleogo', '按单复核')"/>
|
|
9
|
+
|
|
10
|
+
<lw-page-body-module>
|
|
11
|
+
|
|
12
|
+
<lw-label-value-group
|
|
13
|
+
show-model-style
|
|
14
|
+
:list="soData.labelValueArray"
|
|
15
|
+
/>
|
|
16
|
+
|
|
17
|
+
<lw-tab-box style="margin-top: 10px">
|
|
18
|
+
|
|
19
|
+
<van-tabs
|
|
20
|
+
type="card"
|
|
21
|
+
animated
|
|
22
|
+
v-model="tabActive"
|
|
23
|
+
@change="tabChange"
|
|
24
|
+
>
|
|
25
|
+
|
|
26
|
+
<template v-if="soData.unPackQty">
|
|
27
|
+
<van-tab
|
|
28
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.wxibhfgg', '扫描复核')"
|
|
29
|
+
name="scan"
|
|
30
|
+
>
|
|
31
|
+
|
|
32
|
+
<!-- 输入框 -->
|
|
33
|
+
<div
|
|
34
|
+
class="lw-global-model-box"
|
|
35
|
+
style="padding-bottom: 3px"
|
|
36
|
+
>
|
|
37
|
+
|
|
38
|
+
<div>
|
|
39
|
+
<div class="lw-global-required lw-global-title">
|
|
40
|
+
{{ $lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.hfhmkhqs', '条码(物流码/盒码/商品条码/托盘号)') }}
|
|
41
|
+
</div>
|
|
42
|
+
<lw-input
|
|
43
|
+
v-model="barcode.value"
|
|
44
|
+
:get-focus.sync="barcode.focus"
|
|
45
|
+
:placeholder="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.wbmknofs', '请扫描或输入物流码/盒码/商品条码/托盘号')"
|
|
46
|
+
rule-key="sku"
|
|
47
|
+
:create-rule="$lwScanRule.create('出库 - 按单复核执行页 - 条码','SKU')"
|
|
48
|
+
:show-bottom-border="qty.show"
|
|
49
|
+
:owner-id="soData.ownerId"
|
|
50
|
+
auto-clear-val
|
|
51
|
+
@confirm="barcodeConfirm"
|
|
52
|
+
/>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<lw-get-qty-by-type
|
|
56
|
+
v-if="qty.show"
|
|
57
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.bmfeblxc', '数量')"
|
|
58
|
+
ref="qty"
|
|
59
|
+
:owner-id="soData.ownerId"
|
|
60
|
+
:sku-id="nowScanSku.data.skuId"
|
|
61
|
+
:init-focus="qty.focus"
|
|
62
|
+
:init-qty="qty.value"
|
|
63
|
+
@confirm="qtyConfirm"
|
|
64
|
+
>
|
|
65
|
+
<template #button>
|
|
66
|
+
<lw-button
|
|
67
|
+
mini
|
|
68
|
+
@click="qtyConfirm"
|
|
69
|
+
>
|
|
70
|
+
{{ $lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.bqypkdjp', '确认') }}
|
|
71
|
+
</lw-button>
|
|
72
|
+
</template>
|
|
73
|
+
</lw-get-qty-by-type>
|
|
74
|
+
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<!-- 当前扫描的sku信息 -->
|
|
78
|
+
<div
|
|
79
|
+
v-if="nowScanSku.show"
|
|
80
|
+
class="lw-global-model-box lw-global-animation-rotate lw-global-flex-between now-scan-item"
|
|
81
|
+
>
|
|
82
|
+
<div style="flex: 1;margin-right: 10px">
|
|
83
|
+
<div class="lw-global-value-bold">{{ nowScanSku.data.skuCode }}</div>
|
|
84
|
+
<div class="lw-global-title">{{ nowScanSku.data.skuName }}</div>
|
|
85
|
+
</div>
|
|
86
|
+
|
|
87
|
+
<div class="lw-global-value-bold-red" style="flex-shrink: 0">{{ nowScanSku.data.qty }}</div>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
<!-- 当前扫描的sn信息 -->
|
|
91
|
+
<div
|
|
92
|
+
v-if="nowScanSn.show"
|
|
93
|
+
class="lw-global-model-box lw-global-animation-rotate now-scan-item"
|
|
94
|
+
>
|
|
95
|
+
<lw-code-name-qty-row
|
|
96
|
+
class="lw-global-row-start"
|
|
97
|
+
:qty="nowScanSn.data.qty"
|
|
98
|
+
:code="nowScanSn.data.sn"
|
|
99
|
+
row-type="sn"
|
|
100
|
+
row-id="scanShowSn"
|
|
101
|
+
/>
|
|
102
|
+
|
|
103
|
+
<div class="lw-global-row-end">
|
|
104
|
+
<div class="lw-global-value-bold">{{ nowScanSn.data.skuCode }}</div>
|
|
105
|
+
<div class="lw-global-title">{{ nowScanSn.data.skuName }}</div>
|
|
106
|
+
</div>
|
|
107
|
+
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<!-- 当前扫描的lpn信息 -->
|
|
111
|
+
<div
|
|
112
|
+
v-if="nowScanLpn.show"
|
|
113
|
+
class="lw-global-model-box lw-global-animation-rotate now-scan-item"
|
|
114
|
+
>
|
|
115
|
+
<div class="lw-global-value-bold">{{ nowScanLpn.data.lpn }}</div>
|
|
116
|
+
<div class="lw-global-value-bold-red">{{ nowScanLpn.data.qty }}</div>
|
|
117
|
+
</div>
|
|
118
|
+
|
|
119
|
+
<!-- 已扫描的sn列表 -->
|
|
120
|
+
<lw-scan-data-list-module
|
|
121
|
+
class="lw-global-model-box"
|
|
122
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.azngkcof', '已复核序列号')"
|
|
123
|
+
v-if="snList.length"
|
|
124
|
+
v-model="snList"
|
|
125
|
+
:start-bright="nowScanSn.lightStartRow"
|
|
126
|
+
row-id="sn"
|
|
127
|
+
row-type="sn"
|
|
128
|
+
total-type="sn"
|
|
129
|
+
total-type-id="sn"
|
|
130
|
+
@del="item=>nowScanDel('nowScanSn','sn',item)"
|
|
131
|
+
@confirm="(isDel,list)=>nowScanBatchDel('nowScanSn','sn',isDel,list)"
|
|
132
|
+
/>
|
|
133
|
+
|
|
134
|
+
<!-- 已扫描的sku列表 -->
|
|
135
|
+
<lw-scan-data-list-module
|
|
136
|
+
class="lw-global-model-box"
|
|
137
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.teybydjo', '已复核商品')"
|
|
138
|
+
:row-title="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.teybydjoc', '商品号')"
|
|
139
|
+
v-if="skuList.length"
|
|
140
|
+
v-model="skuList"
|
|
141
|
+
sn-key="skuCode"
|
|
142
|
+
qty-label-key="qtyLabel"
|
|
143
|
+
show-name
|
|
144
|
+
:start-bright="nowScanSku.lightStartRow"
|
|
145
|
+
row-id="sku"
|
|
146
|
+
row-type="sku"
|
|
147
|
+
total-type="sku"
|
|
148
|
+
total-type-id="sku"
|
|
149
|
+
:total-fn="skuTotalFn"
|
|
150
|
+
@del="item=>nowScanDel('nowScanSku','skuCode',item)"
|
|
151
|
+
@confirm="(isDel,list)=>nowScanBatchDel('nowScanSku','skuCode',isDel,list)"
|
|
152
|
+
/>
|
|
153
|
+
</van-tab>
|
|
154
|
+
<van-tab
|
|
155
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.pyzbxakn', '待复核')"
|
|
156
|
+
name="wait"
|
|
157
|
+
>
|
|
158
|
+
<div
|
|
159
|
+
class="lw-global-model-box"
|
|
160
|
+
v-for="(i,k) in wait.data"
|
|
161
|
+
:key="k"
|
|
162
|
+
>
|
|
163
|
+
|
|
164
|
+
<over-check-item-title
|
|
165
|
+
:sku-code="i.skuCode"
|
|
166
|
+
:sku-name="i.skuName"
|
|
167
|
+
:qty="i.qtyLabel"
|
|
168
|
+
right-text-align="center"
|
|
169
|
+
>
|
|
170
|
+
<template #rightLabel>
|
|
171
|
+
<div class="lw-global-title">
|
|
172
|
+
{{ $lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.pyzbxakn', '待复核') }}
|
|
173
|
+
</div>
|
|
174
|
+
</template>
|
|
175
|
+
</over-check-item-title>
|
|
176
|
+
|
|
177
|
+
</div>
|
|
178
|
+
<lw-pagination
|
|
179
|
+
v-model="wait.pageNum"
|
|
180
|
+
:page-total="wait.pageTotal"
|
|
181
|
+
:page-size.sync="wait.pageSize"
|
|
182
|
+
@change="getWaitCheckData"
|
|
183
|
+
/>
|
|
184
|
+
<lw-not-data v-if="!wait.data.length"/>
|
|
185
|
+
|
|
186
|
+
</van-tab>
|
|
187
|
+
</template>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
<van-tab
|
|
191
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.rhcoagvc', '已复核')"
|
|
192
|
+
name="over"
|
|
193
|
+
>
|
|
194
|
+
<over-check-item
|
|
195
|
+
v-for="(i,k) in over.data"
|
|
196
|
+
:key="k"
|
|
197
|
+
:item="i"
|
|
198
|
+
/>
|
|
199
|
+
<lw-pagination
|
|
200
|
+
v-model="over.pageNum"
|
|
201
|
+
:page-total="over.pageTotal"
|
|
202
|
+
:page-size.sync="over.pageSize"
|
|
203
|
+
@change="getOverCheckData"
|
|
204
|
+
/>
|
|
205
|
+
<lw-not-data v-if="!over.data.length"/>
|
|
206
|
+
|
|
207
|
+
</van-tab>
|
|
208
|
+
</van-tabs>
|
|
209
|
+
|
|
210
|
+
</lw-tab-box>
|
|
211
|
+
|
|
212
|
+
</lw-page-body-module>
|
|
213
|
+
|
|
214
|
+
<lw-bottom-bar v-if="soData.unPackQty && (snList.length || skuList.length)">
|
|
215
|
+
|
|
216
|
+
<lw-button
|
|
217
|
+
type="last"
|
|
218
|
+
plain
|
|
219
|
+
@click="reloadScan"
|
|
220
|
+
>
|
|
221
|
+
{{ $lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.zjmwoksv', '重新扫描') }}
|
|
222
|
+
</lw-button>
|
|
223
|
+
|
|
224
|
+
<lw-button @click="submitCheck">
|
|
225
|
+
{{ $lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.uiopehsh', '提交复核') }}
|
|
226
|
+
</lw-button>
|
|
227
|
+
|
|
228
|
+
</lw-bottom-bar>
|
|
229
|
+
|
|
230
|
+
<!-- 拦截弹框 -->
|
|
231
|
+
<block-popup
|
|
232
|
+
ref="blockPopupRef"
|
|
233
|
+
@confirmBlock="confirmBlock"
|
|
234
|
+
/>
|
|
235
|
+
|
|
236
|
+
<!-- 托盘确认弹框 -->
|
|
237
|
+
<lw-popup
|
|
238
|
+
v-model="lpnPopup.show"
|
|
239
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.lbbuorwv', '请确认托盘内容')"
|
|
240
|
+
:show-keyboard-placeholder="false"
|
|
241
|
+
>
|
|
242
|
+
|
|
243
|
+
<lw-title-value-cell
|
|
244
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.chebraox', '托盘号')"
|
|
245
|
+
:value="lpnPopup.data.lpn"
|
|
246
|
+
val-bold
|
|
247
|
+
val-color="rgb(6, 0, 255)"
|
|
248
|
+
is-row-start
|
|
249
|
+
/>
|
|
250
|
+
|
|
251
|
+
<div
|
|
252
|
+
v-for="(i,k) in lpnPopup.data.skuList"
|
|
253
|
+
:key="k"
|
|
254
|
+
:class="[
|
|
255
|
+
$lwUtils.getCellClass(k,lpnPopup.data.skuList.length,'lw-global-row')
|
|
256
|
+
]"
|
|
257
|
+
>
|
|
258
|
+
|
|
259
|
+
<div class="lw-global-value-bold">{{ i.skuCode }}</div>
|
|
260
|
+
<div class="lw-global-title">{{ i.skuName }}</div>
|
|
261
|
+
|
|
262
|
+
<lw-title-value-cell
|
|
263
|
+
:title="$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.hklcbalo', '存在')"
|
|
264
|
+
:value="i.qtyStr"
|
|
265
|
+
val-bold
|
|
266
|
+
val-red
|
|
267
|
+
:is-row="false"
|
|
268
|
+
/>
|
|
269
|
+
|
|
270
|
+
</div>
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
<template #button>
|
|
274
|
+
|
|
275
|
+
<lw-button @click="lpnPopupConfirm">
|
|
276
|
+
{{ $lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.bqypkdjp', '确认') }}
|
|
277
|
+
</lw-button>
|
|
278
|
+
|
|
279
|
+
</template>
|
|
280
|
+
|
|
281
|
+
</lw-popup>
|
|
282
|
+
</div>
|
|
283
|
+
</template>
|
|
284
|
+
|
|
285
|
+
<script>
|
|
286
|
+
|
|
287
|
+
import {
|
|
288
|
+
projectWmsMobileOutboundSoQueryPacked,
|
|
289
|
+
projectWmsMobileOutboundSoQueryUnPack,
|
|
290
|
+
projectWmsMobilePackBySoGetDetail,
|
|
291
|
+
projectWmsMobileSoPackQueryByStr, projectWmsMobileSoPackScanCheck,
|
|
292
|
+
projectWmsMobileSoPackSubmit
|
|
293
|
+
} from "./../../../api/outbound/orderCheck";
|
|
294
|
+
|
|
295
|
+
import blockPopup from "./../../../components/blockPopup.vue";
|
|
296
|
+
import overCheckItem from "./components/overCheckItem.vue";
|
|
297
|
+
import overCheckItemTitle from "./components/overCheckItemTitle.vue";
|
|
298
|
+
|
|
299
|
+
export default {
|
|
300
|
+
name: "lwOutboundOrderCheckAction",
|
|
301
|
+
components: {
|
|
302
|
+
blockPopup,
|
|
303
|
+
overCheckItem,
|
|
304
|
+
overCheckItemTitle,
|
|
305
|
+
},
|
|
306
|
+
data() {
|
|
307
|
+
return {
|
|
308
|
+
// 本地储存数据的key
|
|
309
|
+
locDataKey: '',
|
|
310
|
+
|
|
311
|
+
// 拦截弹框
|
|
312
|
+
blockPopup: {
|
|
313
|
+
show: false,
|
|
314
|
+
data: [],
|
|
315
|
+
soId: ''
|
|
316
|
+
},
|
|
317
|
+
|
|
318
|
+
// 条码输入框
|
|
319
|
+
barcode: {
|
|
320
|
+
value: '',
|
|
321
|
+
focus: false
|
|
322
|
+
},
|
|
323
|
+
// 数量输入框
|
|
324
|
+
qty: {
|
|
325
|
+
show: false,
|
|
326
|
+
value: '',
|
|
327
|
+
focus: false
|
|
328
|
+
},
|
|
329
|
+
|
|
330
|
+
tabActive: 'scan',
|
|
331
|
+
|
|
332
|
+
// 出库单信息
|
|
333
|
+
soData: {},
|
|
334
|
+
// 待复核商品
|
|
335
|
+
wait: {
|
|
336
|
+
pageSize: 10,
|
|
337
|
+
pageNum: 1,
|
|
338
|
+
pageTotal: 0,
|
|
339
|
+
data: []
|
|
340
|
+
},
|
|
341
|
+
// 已复核商品
|
|
342
|
+
over: {
|
|
343
|
+
pageSize: 10,
|
|
344
|
+
pageNum: 1,
|
|
345
|
+
pageTotal: 0,
|
|
346
|
+
data: []
|
|
347
|
+
},
|
|
348
|
+
// 扫描的序列号信息
|
|
349
|
+
snList: [],
|
|
350
|
+
// 扫描的商品信息
|
|
351
|
+
skuList: [],
|
|
352
|
+
// 当前扫描的sku信息
|
|
353
|
+
nowScanSku: {
|
|
354
|
+
show: false,
|
|
355
|
+
data: {},
|
|
356
|
+
index: null,
|
|
357
|
+
lightStartRow: false
|
|
358
|
+
},
|
|
359
|
+
// 当前扫描的sn信息
|
|
360
|
+
nowScanSn: {
|
|
361
|
+
show: false,
|
|
362
|
+
data: {},
|
|
363
|
+
lightStartRow: false
|
|
364
|
+
},
|
|
365
|
+
// 当前扫描的lpn信息
|
|
366
|
+
nowScanLpn: {
|
|
367
|
+
show: false,
|
|
368
|
+
data: {},
|
|
369
|
+
},
|
|
370
|
+
|
|
371
|
+
// 托盘确认弹出框
|
|
372
|
+
lpnPopup: {
|
|
373
|
+
show: false,
|
|
374
|
+
data: {}
|
|
375
|
+
},
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
mounted() {
|
|
379
|
+
this.init()
|
|
380
|
+
},
|
|
381
|
+
methods: {
|
|
382
|
+
// 初始化
|
|
383
|
+
async init() {
|
|
384
|
+
|
|
385
|
+
// 删除过期数据
|
|
386
|
+
const nowTime = Date.now()
|
|
387
|
+
const locData = this.$lwLocalStorage.get('lwOrderCheckData', {})
|
|
388
|
+
for (const k in locData) {
|
|
389
|
+
if ((nowTime - locData[k]._time) / (24 * 60 * 60 * 1000) > 24) {
|
|
390
|
+
delete locData[k]
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
this.$lwLocalStorage.set('lwOrderCheckData', locData)
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
// 检查是否被拦截
|
|
397
|
+
if (await this.$refs.blockPopupRef.checkBlock({soId: this.$route.query.lwSoId})) {
|
|
398
|
+
this.barcode.focus = false
|
|
399
|
+
return
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
await this.getSoData()
|
|
403
|
+
|
|
404
|
+
// 查找本地是否存在扫描数据
|
|
405
|
+
this.locDataKey = this.$lwUserInfo.get().staff.code + this.soData.soId
|
|
406
|
+
const soLocData = locData[this.locDataKey] || {data: {}}
|
|
407
|
+
this.snList = soLocData.data.snList || []
|
|
408
|
+
this.skuList = soLocData.data.skuList || []
|
|
409
|
+
await this.checkScanData()
|
|
410
|
+
},
|
|
411
|
+
|
|
412
|
+
// 检查扫描数据是否符合要求,返回true表示存在异常,false表示不存在异常
|
|
413
|
+
async checkScanData(msg) {
|
|
414
|
+
const res = await projectWmsMobileSoPackScanCheck({
|
|
415
|
+
soId: this.soData.soId,
|
|
416
|
+
boxNo: this.soData.unCloseBox,
|
|
417
|
+
skuList: this.formatSubmitData()
|
|
418
|
+
})
|
|
419
|
+
if (res && res.length) {
|
|
420
|
+
|
|
421
|
+
const msgList = []
|
|
422
|
+
res.forEach(item => {
|
|
423
|
+
if (!item.snCheckList) return
|
|
424
|
+
item.snCheckList.forEach(inItem => {
|
|
425
|
+
if (inItem.checkStatus !== '100') {
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
const renderData = this.$lwProjectCustomRender.getRenderData(
|
|
429
|
+
'snCheckDialog',
|
|
430
|
+
{
|
|
431
|
+
sn: inItem.sn,
|
|
432
|
+
code: inItem.sn,
|
|
433
|
+
type: 'sn',
|
|
434
|
+
id: 'snCheckDialog'
|
|
435
|
+
}
|
|
436
|
+
)
|
|
437
|
+
|
|
438
|
+
msgList.push({...renderData.data, value: inItem.code})
|
|
439
|
+
}
|
|
440
|
+
})
|
|
441
|
+
})
|
|
442
|
+
|
|
443
|
+
if (msgList.length) {
|
|
444
|
+
this.$lwDialog.confirm({
|
|
445
|
+
type: 'warning',
|
|
446
|
+
title: this.$lwLanguage.get('', '警告'),
|
|
447
|
+
message: msg + this.$lwLanguage.get('', '当前复核记录中,下列序列号存在异常。不能进行复核,请处理后继续操作!'),
|
|
448
|
+
msgList,
|
|
449
|
+
confirmButtonText: this.$lwLanguage.get('', '清除异常数据'),
|
|
450
|
+
cancelButtonText: this.$lwLanguage.get('', '清除全部记录'),
|
|
451
|
+
}).then(() => {
|
|
452
|
+
const snList = msgList.map(item => item.sn)
|
|
453
|
+
for (let i = 0; i < this.snList.length; i++) {
|
|
454
|
+
if (snList.includes(this.snList[i].sn)) {
|
|
455
|
+
this.snList.splice(i, 1)
|
|
456
|
+
i--
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
this.localStorageScanData()
|
|
461
|
+
}).catch(this.reloadScan)
|
|
462
|
+
return true
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
return false
|
|
466
|
+
},
|
|
467
|
+
|
|
468
|
+
// tab切换
|
|
469
|
+
tabChange() {
|
|
470
|
+
if (this.tabActive === 'wait') {
|
|
471
|
+
this.getWaitCheckData()
|
|
472
|
+
} else if (this.tabActive === 'over') {
|
|
473
|
+
this.getOverCheckData()
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
// 获取待复核数据
|
|
477
|
+
getWaitCheckData() {
|
|
478
|
+
projectWmsMobileOutboundSoQueryUnPack({
|
|
479
|
+
soId: this.$route.query.lwSoId,
|
|
480
|
+
pageSize: this.wait.pageSize,
|
|
481
|
+
pageNum: this.wait.pageNum,
|
|
482
|
+
}).then(res => {
|
|
483
|
+
this.wait.pageTotal = res.total
|
|
484
|
+
this.wait.data = res.datas || []
|
|
485
|
+
})
|
|
486
|
+
},
|
|
487
|
+
// 获取已复核数据
|
|
488
|
+
getOverCheckData() {
|
|
489
|
+
projectWmsMobileOutboundSoQueryPacked({
|
|
490
|
+
soId: this.$route.query.lwSoId,
|
|
491
|
+
pageSize: this.over.pageSize,
|
|
492
|
+
pageNum: this.over.pageNum,
|
|
493
|
+
}).then(res => {
|
|
494
|
+
this.over.pageTotal = res.total
|
|
495
|
+
this.over.data = res.datas || []
|
|
496
|
+
})
|
|
497
|
+
},
|
|
498
|
+
|
|
499
|
+
// 清空输入框
|
|
500
|
+
clearInp(showType) {
|
|
501
|
+
|
|
502
|
+
this.barcode.value = ''
|
|
503
|
+
this.qty.show = false
|
|
504
|
+
|
|
505
|
+
this.nowScanSku.lightStartRow = showType === 'sku'
|
|
506
|
+
this.nowScanSn.lightStartRow = showType === 'sn'
|
|
507
|
+
|
|
508
|
+
this.barcode.focus = true
|
|
509
|
+
},
|
|
510
|
+
|
|
511
|
+
// 确认拦截
|
|
512
|
+
confirmBlock() {
|
|
513
|
+
history.go(-1)
|
|
514
|
+
},
|
|
515
|
+
|
|
516
|
+
// 获取数据
|
|
517
|
+
async getSoData() {
|
|
518
|
+
this.soData = await projectWmsMobilePackBySoGetDetail({
|
|
519
|
+
soId: this.$route.query.lwSoId
|
|
520
|
+
})
|
|
521
|
+
|
|
522
|
+
// 判断是否复核完成
|
|
523
|
+
if (this.soData.unPackQty) {
|
|
524
|
+
this.$nextTick(() => {
|
|
525
|
+
this.barcode.focus = true
|
|
526
|
+
this.tabActive = 'scan'
|
|
527
|
+
})
|
|
528
|
+
} else {
|
|
529
|
+
this.tabActive = 'over'
|
|
530
|
+
this.getOverCheckData()
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
|
|
534
|
+
/*
|
|
535
|
+
* 检查指定商品复核是否满足复核条件
|
|
536
|
+
* nowCheckQty - 当前需要复核的量
|
|
537
|
+
* showMsg - 是否显示错误信息
|
|
538
|
+
* isScan - 是否是扫描条件
|
|
539
|
+
* packSkuInfo - 当前复核的商品信息,需要包含needHandleSn, skuId, skuNeedPackQty, skuCode
|
|
540
|
+
* @return {
|
|
541
|
+
* success:Boolean(是否可以成功添加),
|
|
542
|
+
* msg:String(错误信息)
|
|
543
|
+
* }
|
|
544
|
+
* */
|
|
545
|
+
async skuCheckQtyTest({packSkuInfo, nowCheckQty, showMsg = true, isScan = true}) {
|
|
546
|
+
|
|
547
|
+
const {needHandleSn, skuId, skuNeedPackQty, skuCode} = packSkuInfo
|
|
548
|
+
|
|
549
|
+
// 获取当前已扫的商品数量
|
|
550
|
+
let qty = 0
|
|
551
|
+
if (needHandleSn) {
|
|
552
|
+
this.snList.forEach(item => {
|
|
553
|
+
if (item.skuId === skuId) qty += Number(item.qty)
|
|
554
|
+
})
|
|
555
|
+
} else {
|
|
556
|
+
for (const item of this.skuList) {
|
|
557
|
+
if (item.skuId === skuId) {
|
|
558
|
+
qty = Number(item.qty)
|
|
559
|
+
break
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
// 剩余可复核量
|
|
565
|
+
const waitQty = Number(skuNeedPackQty) - qty
|
|
566
|
+
|
|
567
|
+
// 提示文字
|
|
568
|
+
let msgObj = {
|
|
569
|
+
start: '',
|
|
570
|
+
sku: ''
|
|
571
|
+
}
|
|
572
|
+
if (isScan) {
|
|
573
|
+
msgObj.start = this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.awdqbctg', '扫描失败,')
|
|
574
|
+
msgObj.sku = this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.qsfzqnuu', '扫描量{nowCheckQty} > 待扫描量{waitQty}', {
|
|
575
|
+
nowCheckQty,
|
|
576
|
+
waitQty
|
|
577
|
+
})
|
|
578
|
+
} else {
|
|
579
|
+
msgObj.start = this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.fzjvwpoh', '确认失败,')
|
|
580
|
+
msgObj.sku = this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.yowlnegd', '确认量{nowCheckQty} > 待确认量{waitQty}', {
|
|
581
|
+
nowCheckQty,
|
|
582
|
+
waitQty
|
|
583
|
+
})
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
if (waitQty < 0 || waitQty < nowCheckQty) {
|
|
587
|
+
const skuErrMsg = this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.yowlnegdq', '商品【{skuCode}】{skuMsg}', {
|
|
588
|
+
skuCode,
|
|
589
|
+
skuMsg: msgObj.sku
|
|
590
|
+
})
|
|
591
|
+
|
|
592
|
+
if (showMsg) {
|
|
593
|
+
let repeat = needHandleSn && await this.checkScanData(this.$lwLanguage.get('', '复核失败!'))
|
|
594
|
+
|
|
595
|
+
!repeat && this.$lwShowErrorMsg(msgObj.start + skuErrMsg)
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
return {
|
|
599
|
+
success: false,
|
|
600
|
+
msg: skuErrMsg
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
return {
|
|
605
|
+
success: true
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
},
|
|
609
|
+
|
|
610
|
+
// 当前扫描显示模块
|
|
611
|
+
scanModelShow(key) {
|
|
612
|
+
this.nowScanSku.show = false
|
|
613
|
+
this.nowScanSn.show = false
|
|
614
|
+
this.nowScanLpn.show = false
|
|
615
|
+
|
|
616
|
+
key ? this[key].show = true : ''
|
|
617
|
+
},
|
|
618
|
+
|
|
619
|
+
// 清空扫描输入并提示错误信息
|
|
620
|
+
clearBarcode(type, msg, toastType = 'success') {
|
|
621
|
+
this.barcode.value = ''
|
|
622
|
+
this.barcode.focus = true
|
|
623
|
+
|
|
624
|
+
type && (type === 'err' ? this.$lwShowErrorMsg(msg) : this.$lwToast[toastType](msg))
|
|
625
|
+
|
|
626
|
+
},
|
|
627
|
+
|
|
628
|
+
// 条码确认
|
|
629
|
+
barcodeConfirm(val, {data}) {
|
|
630
|
+
if (!val) {
|
|
631
|
+
this.clearBarcode(
|
|
632
|
+
'err',
|
|
633
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.kbdqovkr', '条码不能为空!')
|
|
634
|
+
)
|
|
635
|
+
return
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
const {key, skuCode, qty} = data
|
|
639
|
+
|
|
640
|
+
// 如果上次扫描和当前扫描的是同一款商品,且不需要sn,就自动累加数量
|
|
641
|
+
if (this.nowScanSku.show) {
|
|
642
|
+
|
|
643
|
+
if (this.nowScanSku.data.skuCode === (skuCode || key)) {
|
|
644
|
+
this.$refs.qty.setQty(this.$refs.qty.getQty() + Number(qty || 0))
|
|
645
|
+
if (qty) {
|
|
646
|
+
this.barcode.value = ''
|
|
647
|
+
this.barcode.focus = true
|
|
648
|
+
} else {
|
|
649
|
+
this.$refs.qty.getFocus()
|
|
650
|
+
}
|
|
651
|
+
} else {
|
|
652
|
+
this.$lwDialog.confirm({
|
|
653
|
+
type: 'warning',
|
|
654
|
+
title: this.$lwLanguage.get('', '警告'),
|
|
655
|
+
message: this.$lwLanguage.get('', '当前商品与未确认商品不一致!若使用当前商品确认,将会清除上一次未确认的数据'),
|
|
656
|
+
}).then(() => {
|
|
657
|
+
this.barcodeDataSubmit(data)
|
|
658
|
+
}).catch(() => {
|
|
659
|
+
this.barcode.value = ''
|
|
660
|
+
})
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
return;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
this.barcodeDataSubmit(data)
|
|
668
|
+
|
|
669
|
+
},
|
|
670
|
+
// 提交扫描数据到后台
|
|
671
|
+
async barcodeDataSubmit(data) {
|
|
672
|
+
|
|
673
|
+
// 清除显示数据
|
|
674
|
+
this.scanModelShow()
|
|
675
|
+
this.qty.show = false
|
|
676
|
+
this.nowScanSku.index = null
|
|
677
|
+
this.nowScanSku.data = {}
|
|
678
|
+
this.nowScanSn.data = {}
|
|
679
|
+
this.nowScanLpn.data = {}
|
|
680
|
+
|
|
681
|
+
const param = {}
|
|
682
|
+
|
|
683
|
+
const {sn, lpn, skuCode, key, qty} = data
|
|
684
|
+
if (sn) {
|
|
685
|
+
param.type = 'SN'
|
|
686
|
+
param.queryStr = sn
|
|
687
|
+
} else if (lpn) {
|
|
688
|
+
param.type = 'LPN'
|
|
689
|
+
param.queryStr = lpn
|
|
690
|
+
} else {
|
|
691
|
+
param.queryStr = skuCode || key
|
|
692
|
+
}
|
|
693
|
+
param.scanData = data
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
const res = await projectWmsMobileSoPackQueryByStr({
|
|
697
|
+
soId: this.soData.soId,
|
|
698
|
+
...param
|
|
699
|
+
})
|
|
700
|
+
|
|
701
|
+
// 托盘类型
|
|
702
|
+
if (res.type === 'LPN') {
|
|
703
|
+
|
|
704
|
+
// 托盘类型
|
|
705
|
+
this.lpnPopup.data = {
|
|
706
|
+
lpn: res.lpn,
|
|
707
|
+
skuList: res.skuList
|
|
708
|
+
}
|
|
709
|
+
this.barcode.focus = false
|
|
710
|
+
this.lpnPopup.show = true
|
|
711
|
+
return;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
// 商品基础信息
|
|
715
|
+
const skuInfo = {
|
|
716
|
+
skuCode: res.skuCode,
|
|
717
|
+
skuName: res.skuName,
|
|
718
|
+
skuId: res.skuId,
|
|
719
|
+
skuNeedPackQty: res.skuNeedPackQty,
|
|
720
|
+
needHandleSn: res.needHandleSn,
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
// 序列号类型
|
|
724
|
+
if (res.type === 'SN') {
|
|
725
|
+
const repeatSn = this.checkSnRepeat(res.sn)
|
|
726
|
+
const snData = {
|
|
727
|
+
...skuInfo,
|
|
728
|
+
sn: res.sn,
|
|
729
|
+
qty: res.qty,
|
|
730
|
+
type: res.snType,
|
|
731
|
+
typeLabel: res.snTypeLabel
|
|
732
|
+
}
|
|
733
|
+
if (repeatSn.success) {
|
|
734
|
+
this.snList.splice(repeatSn.index, 1)
|
|
735
|
+
this.$lwToast.fail(
|
|
736
|
+
this.$lwLanguage.get('', '已在扫描列表中')
|
|
737
|
+
)
|
|
738
|
+
} else {
|
|
739
|
+
const checkQty = !repeatSn.success && await this.skuCheckQtyTest({
|
|
740
|
+
packSkuInfo: snData,
|
|
741
|
+
nowCheckQty: res.qty
|
|
742
|
+
})
|
|
743
|
+
|
|
744
|
+
if (!checkQty.success) return
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
this.snList.unshift(snData)
|
|
748
|
+
this.nowScanSn.data = snData
|
|
749
|
+
this.scanModelShow('nowScanSn')
|
|
750
|
+
|
|
751
|
+
this.clearInp('sn')
|
|
752
|
+
this.localStorageScanData()
|
|
753
|
+
|
|
754
|
+
let msg = this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.pqrkorbz', '已添加')
|
|
755
|
+
let totalType = 'success'
|
|
756
|
+
if (repeatSn.success) {
|
|
757
|
+
msg = this.$lwLanguage.get('', '已在扫描列表中')
|
|
758
|
+
totalType = 'fail'
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
this.clearBarcode(
|
|
762
|
+
'success',
|
|
763
|
+
msg,
|
|
764
|
+
totalType
|
|
765
|
+
)
|
|
766
|
+
return
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
/*扫描类型为SKU*/
|
|
770
|
+
// 判断需要序列号
|
|
771
|
+
if (res.needHandleSn) {
|
|
772
|
+
|
|
773
|
+
this.clearBarcode(
|
|
774
|
+
'err',
|
|
775
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.hydvapku', '当前商品需要复核序列号,请扫描序列号进行复核')
|
|
776
|
+
)
|
|
777
|
+
return;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
const skuScanData = this.checkSkuRepeat(res.skuId)
|
|
781
|
+
|
|
782
|
+
if (skuScanData.success) {
|
|
783
|
+
this.nowScanSku.data = skuScanData.skuData
|
|
784
|
+
} else {
|
|
785
|
+
this.nowScanSku.data = {
|
|
786
|
+
...skuInfo,
|
|
787
|
+
qty: 0,
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
this.scanModelShow('nowScanSku')
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
if (qty) {
|
|
794
|
+
this.barcode.value = ''
|
|
795
|
+
this.barcode.focus = true
|
|
796
|
+
this.qty.value = qty
|
|
797
|
+
this.qty.focus = false
|
|
798
|
+
} else {
|
|
799
|
+
this.qty.value = 0
|
|
800
|
+
this.qty.focus = true
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
this.qty.show = true
|
|
804
|
+
|
|
805
|
+
},
|
|
806
|
+
// 校验sn是否存在
|
|
807
|
+
checkSnRepeat(sn) {
|
|
808
|
+
|
|
809
|
+
// 校验当前扫描的SN是否存在已扫列表中,如果存在就返回数据
|
|
810
|
+
for (let i = 0; i < this.snList.length; i++) {
|
|
811
|
+
if (this.snList[i].sn === sn) {
|
|
812
|
+
return {
|
|
813
|
+
success: true,
|
|
814
|
+
snData: this.snList[i],
|
|
815
|
+
index: i
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
return {
|
|
821
|
+
success: false
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
|
|
825
|
+
// 获取指定sku在已扫列表中的数据及索引
|
|
826
|
+
checkSkuRepeat(skuId) {
|
|
827
|
+
|
|
828
|
+
for (let i = 0; i < this.skuList.length; i++) {
|
|
829
|
+
|
|
830
|
+
if (this.skuList[i].skuId === skuId) {
|
|
831
|
+
return {
|
|
832
|
+
success: true,
|
|
833
|
+
skuData: this.skuList[i],
|
|
834
|
+
index: i
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
return {
|
|
840
|
+
success: false,
|
|
841
|
+
skuData: {},
|
|
842
|
+
index: null
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
},
|
|
846
|
+
|
|
847
|
+
// 数量确认
|
|
848
|
+
qtyConfirm() {
|
|
849
|
+
const qty = this.$refs.qty.getQty()
|
|
850
|
+
if (!qty) {
|
|
851
|
+
this.$lwShowErrorMsg(
|
|
852
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.kfcbdkxz', '数量不能为空,且应当是大于0的正整数')
|
|
853
|
+
)
|
|
854
|
+
return
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
const data = this.nowScanSku.data
|
|
858
|
+
const oldQty = Number(data.qty || 0)
|
|
859
|
+
|
|
860
|
+
const waitQty = Number(data.skuNeedPackQty) - oldQty
|
|
861
|
+
if (waitQty < 0 || waitQty < qty) {
|
|
862
|
+
this.$lwShowErrorMsg(
|
|
863
|
+
this.$lwLanguage.get('', '确认失败!【确认量{qty}】不能大于【待确认量{waitQty}】', {qty, waitQty})
|
|
864
|
+
)
|
|
865
|
+
return;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
const newQty = qty + oldQty
|
|
869
|
+
|
|
870
|
+
// 在列表中找当前的商品是否存在
|
|
871
|
+
const {success, index} = this.checkSkuRepeat(data.skuId)
|
|
872
|
+
const uomInfo = this.$refs.qty.eaToCase(newQty)
|
|
873
|
+
if (success) {
|
|
874
|
+
this.skuList[index].qty = newQty
|
|
875
|
+
this.skuList[index].uomInfo = uomInfo
|
|
876
|
+
this.skuList[index].qtyLabel = uomInfo.label
|
|
877
|
+
this.skuList.unshift(this.skuList.splice(index, 1)[0])
|
|
878
|
+
} else {
|
|
879
|
+
this.skuList.unshift({
|
|
880
|
+
...data,
|
|
881
|
+
qty: newQty,
|
|
882
|
+
uomInfo,
|
|
883
|
+
qtyLabel: uomInfo.label
|
|
884
|
+
})
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
this.clearBarcode(
|
|
888
|
+
'success',
|
|
889
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.pqrkorbz', '已添加')
|
|
890
|
+
)
|
|
891
|
+
|
|
892
|
+
this.clearInp('sku')
|
|
893
|
+
|
|
894
|
+
this.scanModelShow()
|
|
895
|
+
this.localStorageScanData()
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
},
|
|
899
|
+
|
|
900
|
+
// 储存扫描的数据到本地
|
|
901
|
+
localStorageScanData() {
|
|
902
|
+
|
|
903
|
+
const locData = this.$lwLocalStorage.get('lwOrderCheckData', {})
|
|
904
|
+
locData[this.locDataKey] = {
|
|
905
|
+
_time: Date.now(),
|
|
906
|
+
data: {
|
|
907
|
+
skuList: this.skuList,
|
|
908
|
+
snList: this.snList
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
this.$lwLocalStorage.set('lwOrderCheckData', locData)
|
|
912
|
+
|
|
913
|
+
},
|
|
914
|
+
// 删除本地储存数据
|
|
915
|
+
delLocalStorage() {
|
|
916
|
+
const locData = this.$lwLocalStorage.get('lwOrderCheckData', {})
|
|
917
|
+
delete locData[this.locDataKey]
|
|
918
|
+
this.$lwLocalStorage.set('lwOrderCheckData', locData)
|
|
919
|
+
},
|
|
920
|
+
|
|
921
|
+
// 清空所有数据
|
|
922
|
+
clearAllData(msg) {
|
|
923
|
+
this.snList = []
|
|
924
|
+
this.skuList = []
|
|
925
|
+
this.scanModelShow()
|
|
926
|
+
this.nowScanSku.index = null
|
|
927
|
+
this.nowScanSn.data = {}
|
|
928
|
+
this.nowScanSku.data = {}
|
|
929
|
+
this.nowScanLpn.data = {}
|
|
930
|
+
this.qty.show = false
|
|
931
|
+
this.clearBarcode(
|
|
932
|
+
'success',
|
|
933
|
+
msg || this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.bwcrertp', '操作成功')
|
|
934
|
+
)
|
|
935
|
+
|
|
936
|
+
this.delLocalStorage()
|
|
937
|
+
},
|
|
938
|
+
//重新扫描
|
|
939
|
+
reloadScan() {
|
|
940
|
+
this.$lwDialog.confirm({
|
|
941
|
+
type: 'warning',
|
|
942
|
+
title: this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.wvdjeliq', '警告'),
|
|
943
|
+
message: this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.hsoobyjs', '当前复核数据将会被全部清空'),
|
|
944
|
+
}).then(() => {
|
|
945
|
+
this.clearAllData()
|
|
946
|
+
}).catch(() => {
|
|
947
|
+
})
|
|
948
|
+
},
|
|
949
|
+
// 处理提交数据
|
|
950
|
+
formatSubmitData() {
|
|
951
|
+
const skuMap = {}
|
|
952
|
+
this.skuList.forEach(item => {
|
|
953
|
+
item.needHandleSn = false
|
|
954
|
+
skuMap[item.skuId] = item
|
|
955
|
+
})
|
|
956
|
+
|
|
957
|
+
for (const sn of this.snList) {
|
|
958
|
+
let skuLine = skuMap[sn.skuId];
|
|
959
|
+
if (!skuLine) {
|
|
960
|
+
skuMap[sn.skuId] = {
|
|
961
|
+
qty: 0,
|
|
962
|
+
skuId: sn.skuId,
|
|
963
|
+
needHandleSn: true,
|
|
964
|
+
snList: [],
|
|
965
|
+
}
|
|
966
|
+
skuLine = skuMap[sn.skuId]
|
|
967
|
+
}
|
|
968
|
+
skuLine.needHandleSn = true
|
|
969
|
+
skuLine.qty = Number(skuLine.qty) + Number(sn.qty)
|
|
970
|
+
skuLine.snList.push(sn)
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
return Object.values(skuMap)
|
|
974
|
+
},
|
|
975
|
+
//提交复核
|
|
976
|
+
submitCheck() {
|
|
977
|
+
|
|
978
|
+
this.$lwDialog.confirm({
|
|
979
|
+
type: 'warning',
|
|
980
|
+
title: this.$lwLanguage.get('', '提示'),
|
|
981
|
+
message: this.$lwLanguage.get('', '确认复核?'),
|
|
982
|
+
}).then(() => {
|
|
983
|
+
projectWmsMobileSoPackSubmit({
|
|
984
|
+
soId: this.soData.soId,
|
|
985
|
+
boxNo: this.soData.unCloseBox,
|
|
986
|
+
skuList: this.formatSubmitData(),
|
|
987
|
+
}, {errGetMe: true}).then(res => {
|
|
988
|
+
|
|
989
|
+
if (res.finished) {
|
|
990
|
+
this.$lwToast.success(
|
|
991
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.gxbcotzj', '复核完成')
|
|
992
|
+
)
|
|
993
|
+
this.delLocalStorage()
|
|
994
|
+
history.go(-1)
|
|
995
|
+
} else {
|
|
996
|
+
this.clearAllData(
|
|
997
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.czqljuby', '复核成功')
|
|
998
|
+
)
|
|
999
|
+
this.getSoData()
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
}).catch(this.checkScanData)
|
|
1003
|
+
}).catch(() => {
|
|
1004
|
+
})
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
},
|
|
1008
|
+
|
|
1009
|
+
// 托盘弹框 - 确认
|
|
1010
|
+
lpnPopupConfirm() {
|
|
1011
|
+
|
|
1012
|
+
const {lpn, skuList} = this.lpnPopup.data
|
|
1013
|
+
const errMsg = []
|
|
1014
|
+
// 校验数量是否超过要求
|
|
1015
|
+
skuList.forEach(async item => {
|
|
1016
|
+
if (item.needHandleSn) {
|
|
1017
|
+
for (const i of item.snList) {
|
|
1018
|
+
const snData = {
|
|
1019
|
+
...item,
|
|
1020
|
+
type: i.type,
|
|
1021
|
+
typeLabel: i.typeLabel,
|
|
1022
|
+
sn: i.sn,
|
|
1023
|
+
qty: i.qty
|
|
1024
|
+
}
|
|
1025
|
+
const snRepeat = this.checkSnRepeat(snData, false)
|
|
1026
|
+
if (!snRepeat.success) {
|
|
1027
|
+
const checkQty = await this.skuCheckQtyTest({
|
|
1028
|
+
packSkuInfo: snData,
|
|
1029
|
+
nowCheckQty: i.qty,
|
|
1030
|
+
showMsg: false
|
|
1031
|
+
})
|
|
1032
|
+
if (!checkQty.success) errMsg.push(checkQty.msg)
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
} else {
|
|
1036
|
+
const {success, msg} = await this.skuCheckQtyTest({
|
|
1037
|
+
packSkuInfo: item,
|
|
1038
|
+
nowCheckQty: item.qty,
|
|
1039
|
+
showMsg: false
|
|
1040
|
+
})
|
|
1041
|
+
if (!success) errMsg.push(msg)
|
|
1042
|
+
}
|
|
1043
|
+
})
|
|
1044
|
+
|
|
1045
|
+
if (errMsg.length) {
|
|
1046
|
+
this.barcode.focus = false
|
|
1047
|
+
this.$lwShowErrorMsg(errMsg.join('/'))
|
|
1048
|
+
return
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
// 插入数据
|
|
1052
|
+
skuList.forEach(item => {
|
|
1053
|
+
if (item.needHandleSn) {
|
|
1054
|
+
for (const i of item.snList) {
|
|
1055
|
+
const snData = {
|
|
1056
|
+
...item,
|
|
1057
|
+
type:i.type,
|
|
1058
|
+
typeLabel:i.typeLabel,
|
|
1059
|
+
sn: i.sn,
|
|
1060
|
+
qty: i.qty
|
|
1061
|
+
}
|
|
1062
|
+
const snRepeat = this.checkSnRepeat(snData.sn, false)
|
|
1063
|
+
if (snRepeat.success) {
|
|
1064
|
+
this.snList.unshift(this.snList.splice(snRepeat.index, 1)[0])
|
|
1065
|
+
} else {
|
|
1066
|
+
this.snList.unshift(snData)
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
} else {
|
|
1070
|
+
const {success, index} = this.checkSkuRepeat(item.skuId)
|
|
1071
|
+
if (success) {
|
|
1072
|
+
const skuData = this.skuList.splice(index, 1)[0]
|
|
1073
|
+
skuData.qty = Number(skuData.qty) + Number(item.qty)
|
|
1074
|
+
this.skuList.unshift(skuData)
|
|
1075
|
+
} else {
|
|
1076
|
+
this.skuList.unshift(item)
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
})
|
|
1080
|
+
|
|
1081
|
+
this.nowScanLpn.data = {
|
|
1082
|
+
lpn,
|
|
1083
|
+
qty: skuList.reduce((t, i) => t + Number(i.qty || 0), 0)
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
this.clearInp()
|
|
1087
|
+
|
|
1088
|
+
this.scanModelShow('nowScanLpn')
|
|
1089
|
+
this.lpnPopup.show = false
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
this.localStorageScanData()
|
|
1093
|
+
|
|
1094
|
+
this.clearBarcode(
|
|
1095
|
+
'success',
|
|
1096
|
+
this.$lwLanguage.get('wms_project.pda.wms.page.outbound.orderCheck.action.pqrkorbz', '已添加')
|
|
1097
|
+
)
|
|
1098
|
+
},
|
|
1099
|
+
|
|
1100
|
+
// 判断当前删除项是否为当前扫描项 - 公共
|
|
1101
|
+
nowScanDelItemCheck(val, dataKey, key) {
|
|
1102
|
+
const has = val === this[dataKey].data[key]
|
|
1103
|
+
if (has) {
|
|
1104
|
+
if (key === 'sn') {
|
|
1105
|
+
this[dataKey].show = false
|
|
1106
|
+
this[dataKey].data = {}
|
|
1107
|
+
this.barcode.value = ''
|
|
1108
|
+
this.qty.show = false
|
|
1109
|
+
} else {
|
|
1110
|
+
this[dataKey].data.qty = 0
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
this[dataKey].lightStartRow = false
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
return has
|
|
1117
|
+
},
|
|
1118
|
+
// 当前扫描量删除某条数据 - 公共
|
|
1119
|
+
nowScanDel(dataKey, key, del) {
|
|
1120
|
+
this.nowScanDelItemCheck(del[key], dataKey, key)
|
|
1121
|
+
this.localStorageScanData()
|
|
1122
|
+
},
|
|
1123
|
+
// 当前扫描量批量删除数据 - 公共
|
|
1124
|
+
nowScanBatchDel(dataKey, key, isDel, list) {
|
|
1125
|
+
if (!this[dataKey].show || !isDel) return
|
|
1126
|
+
|
|
1127
|
+
for (let item of list) {
|
|
1128
|
+
if (this.nowScanDelItemCheck(item[key], dataKey, key)) break
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
this.localStorageScanData()
|
|
1132
|
+
|
|
1133
|
+
},
|
|
1134
|
+
|
|
1135
|
+
// 已复核商品 - 总量显示计算函数
|
|
1136
|
+
skuTotalFn(total) {
|
|
1137
|
+
const skuPackUomType = this.$lwDict.get('SkuPackUomType') || []
|
|
1138
|
+
const caseLabel = skuPackUomType.find(i => i.value === 'CS').label
|
|
1139
|
+
const eaLabel = skuPackUomType.find(i => i.value === 'EA').label
|
|
1140
|
+
let caseQty = 0
|
|
1141
|
+
let eaQty = 0
|
|
1142
|
+
this.skuList.forEach(item => {
|
|
1143
|
+
caseQty += item.uomInfo.caseQty
|
|
1144
|
+
eaQty += item.uomInfo.eaQty
|
|
1145
|
+
})
|
|
1146
|
+
let label = ''
|
|
1147
|
+
caseQty ? label = `${caseQty}${caseLabel}` : ''
|
|
1148
|
+
eaQty ? label += `${eaQty}${eaLabel}` : ''
|
|
1149
|
+
return label + `(${total})`
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
</script>
|
|
1154
|
+
|
|
1155
|
+
<style scoped lang="less">
|
|
1156
|
+
.now-scan-item {
|
|
1157
|
+
background: rgb(208, 247, 195);
|
|
1158
|
+
}
|
|
1159
|
+
</style>
|