@logwire/logwire-wms-pda-ui 1.2.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +117 -117
- package/dist/BlockInfo.1c8ece6a.mjs +47 -0
- package/dist/InboundQualityExecuteView.3c816a1e.mjs +23 -0
- package/dist/InboundQualityTaskListView.14185db1.mjs +23 -0
- package/dist/InboundReceiveAllocSkuExecuteView.ad248f9e.mjs +23 -0
- package/dist/InboundReceiveAllocSnExecuteView.c8a4abc8.mjs +23 -0
- package/dist/InboundReceiveAllocTabListView.9639b998.mjs +23 -0
- package/dist/InboundReceiveCaseExecuteView.3f937231.mjs +217 -0
- package/dist/InboundReceiveCaseScanView.a88b4178.mjs +83 -0
- package/dist/InboundReceiveLpnBatchExecuteView.6034a9e1.mjs +23 -0
- package/dist/InboundReceiveLpnExecuteView.d3116e23.mjs +23 -0
- package/dist/InboundReceiveLpnScanView.4db78898.mjs +23 -0
- package/dist/InboundReceiveRandomSkuExecuteView.1b6e0637.mjs +23 -0
- package/dist/InboundReceiveRandomSkuScanView.1821d2c4.mjs +23 -0
- package/dist/InboundReceiveRandomSkuSnExecuteView.2f3cfcea.mjs +23 -0
- package/dist/InboundReceiveSkuAdvanceView.a6b4568f.mjs +23 -0
- package/dist/InboundReceiveSkuDirectView.811bf351.mjs +23 -0
- package/dist/InboundReceiveSkuScanView.5e614e01.mjs +23 -0
- package/dist/LwInboundSortingAsnView.3e1106d7.mjs +23 -0
- package/dist/LwInboundSortingByContainerView.33299f9f.mjs +23 -0
- package/dist/LwInboundSortingByOrderView.2f8db636.mjs +23 -0
- package/dist/LwInboundSortingIndexView.c9ed07c1.mjs +23 -0
- package/dist/LwOutboundReprintBoxView.72539c87.mjs +180 -0
- package/dist/LwOutboundStockoutExecuteView.3fe57cee.mjs +76 -0
- package/dist/LwOutboundStockoutListView.d9a1e1bd.mjs +123 -0
- package/dist/MoveRandomWholeCaseView.c2742890.mjs +20 -0
- package/dist/MoveTaskWholeCaseDownView.5250c675.mjs +20 -0
- package/dist/MoveTaskWholeCaseUpView.824a2aee.mjs +20 -0
- package/dist/MoveTaskWholeIndexView.4de7edfc.mjs +20 -0
- package/dist/OutboundBlockBoxListView.dedc1292.mjs +83 -0
- package/dist/OutboundBlockExecuteView.db1ab452.mjs +166 -0
- package/dist/action.017a327c.mjs +26 -0
- package/dist/action.01da8ae9.mjs +26 -0
- package/dist/action.02bbb588.mjs +26 -0
- package/dist/action.034382ff.mjs +26 -0
- package/dist/action.04ee34d5.mjs +26 -0
- package/dist/action.0a1d10ad.mjs +26 -0
- package/dist/action.0cfc710c.mjs +26 -0
- package/dist/action.2baf8260.mjs +26 -0
- package/dist/action.4a3773c1.mjs +26 -0
- package/dist/action.4dc11c91.mjs +26 -0
- package/dist/action.54fe5fe2.mjs +26 -0
- package/dist/action.5aa67994.mjs +26 -0
- package/dist/action.5bb65cf2.mjs +22 -0
- package/dist/action.68f0c9ef.mjs +26 -0
- package/dist/action.6ba45e3b.mjs +26 -0
- package/dist/action.6be6f5d3.mjs +26 -0
- package/dist/action.7424605b.mjs +26 -0
- package/dist/action.88067120.mjs +26 -0
- package/dist/action.8e26827f.mjs +26 -0
- package/dist/action.8f655f2e.mjs +26 -0
- package/dist/action.8ffbd19f.mjs +26 -0
- package/dist/action.95aa8c94.mjs +26 -0
- package/dist/action.b0306402.mjs +26 -0
- package/dist/action.c1816f01.mjs +26 -0
- package/dist/action.ec9705f5.mjs +26 -0
- package/dist/action.eff389f9.mjs +26 -0
- package/dist/action.f03dbf79.mjs +26 -0
- package/dist/action.f8726b24.mjs +22 -0
- package/dist/add.2e5ce839.mjs +26 -0
- package/dist/addOrder.4f228676.mjs +26 -0
- package/dist/allCheck.c5c9395b.mjs +26 -0
- package/dist/aloneAction.43f83144.mjs +26 -0
- package/dist/boxAction.3d4eb6d9.mjs +26 -0
- package/dist/caseAction.74093bb0.mjs +26 -0
- package/dist/console.4232cad5.mjs +26 -0
- package/dist/consoleInfo.3eefa9b6.mjs +26 -0
- package/dist/content.44aa1b2c.mjs +26 -0
- package/dist/contentInfo.4b40e2e7.mjs +26 -0
- package/dist/customer.cc356336.mjs +26 -0
- package/dist/device.807dfeb7.mjs +26 -0
- package/dist/generate.72d6586b.mjs +26 -0
- package/dist/home.862fcd6d.mjs +22 -0
- package/dist/index.00779596.mjs +26 -0
- package/dist/index.11007dde.mjs +26 -0
- package/dist/index.1156af3a.mjs +26 -0
- package/dist/index.15f6f203.mjs +26 -0
- package/dist/index.1accff9d.mjs +26 -0
- package/dist/index.1fa9c485.mjs +26 -0
- package/dist/index.2186bd36.mjs +26 -0
- package/dist/index.22aef932.mjs +60561 -0
- package/dist/index.255f016c.mjs +26 -0
- package/dist/index.2833a061.mjs +26 -0
- package/dist/index.3330acfb.mjs +26 -0
- package/dist/index.3e28f529.mjs +26 -0
- package/dist/index.41e9615a.mjs +26 -0
- package/dist/index.5307f035.mjs +26 -0
- package/dist/index.53edfcba.mjs +22 -0
- package/dist/index.585c56c2.mjs +26 -0
- package/dist/index.5c3a5656.mjs +26 -0
- package/dist/index.5def9da7.mjs +26 -0
- package/dist/index.5ed3d1b8.mjs +26 -0
- package/dist/index.65987267.mjs +25 -0
- package/dist/index.68be1564.mjs +26 -0
- package/dist/index.69a0e492.mjs +58 -0
- package/dist/index.69c12a25.mjs +26 -0
- package/dist/index.6c35d72c.mjs +26 -0
- package/dist/index.6ce411ca.mjs +26 -0
- package/dist/index.88defcf5.mjs +26 -0
- package/dist/index.8fb5154c.mjs +26 -0
- package/dist/index.962f2cd9.mjs +45 -0
- package/dist/index.98d8e385.mjs +26 -0
- package/dist/index.9b2f3427.mjs +26 -0
- package/dist/index.9cc1b8cb.mjs +26 -0
- package/dist/index.a4868e2e.mjs +26 -0
- package/dist/index.af8fef71.mjs +26 -0
- package/dist/index.b13b9084.mjs +26 -0
- package/dist/index.b28a704f.mjs +26 -0
- package/dist/index.baeda2e1.mjs +26 -0
- package/dist/index.bc0f7742.mjs +26 -0
- package/dist/index.bcce7d7e.mjs +26 -0
- package/dist/index.bff4ac60.mjs +22 -0
- package/dist/index.c47c55d2.mjs +26 -0
- package/dist/index.c53a8678.mjs +22 -0
- package/dist/index.d1f6dd66.mjs +76 -0
- package/dist/index.db5c6017.mjs +26 -0
- package/dist/index.ddc65ec9.mjs +26 -0
- package/dist/index.de826989.mjs +38 -0
- package/dist/index.e751b3ad.mjs +26 -0
- package/dist/index.eccf6574.mjs +26 -0
- package/dist/index.es.js +5 -0
- package/dist/index.f35febce.mjs +26 -0
- package/dist/index.f82b4518.mjs +26 -0
- package/dist/index.fac867ec.mjs +26 -0
- package/dist/index.umd.js +24 -0
- package/dist/language.0238a2bb.mjs +26 -0
- package/dist/large.c0e2e5e2.mjs +26 -0
- package/dist/line.d6075059.mjs +26 -0
- package/dist/lpn.407d85bd.mjs +26 -0
- package/dist/lpnAction.53153261.mjs +26 -0
- package/dist/lpnAction.e02fa075.mjs +26 -0
- package/dist/lpnBatchAction.6616460e.mjs +26 -0
- package/dist/menuOne.01b2c0b4.mjs +38 -0
- package/dist/menuTwo.35fcbc35.mjs +36 -0
- package/dist/msg.3587e42c.mjs +26 -0
- package/dist/newBale.e62943b8.mjs +26 -0
- package/dist/newBale.fa567c88.mjs +26 -0
- package/dist/newLpn.2f06a7fb.mjs +26 -0
- package/dist/notAloneAction.12f5c1f0.mjs +26 -0
- package/dist/over.0897f137.mjs +26 -0
- package/dist/page.051e1c8c.mjs +26 -0
- package/dist/print.34afe6a8.mjs +26 -0
- package/dist/printLabel.efb743ab.mjs +26 -0
- package/dist/queryByLocationCode.5abdd79f.mjs +26 -0
- package/dist/queryBySkuCode.9b53e304.mjs +26 -0
- package/dist/sample.7c395c51.mjs +26 -0
- package/dist/search.49ecd7f6.mjs +26 -0
- package/dist/skuAction.8ed7a1c3.mjs +26 -0
- package/dist/skuCheck.279b82b0.mjs +26 -0
- package/dist/smallPage.dde66fc7.mjs +26 -0
- package/dist/sowAction.b1db1fc0.mjs +26 -0
- package/dist/style.css +1 -0
- package/dist/taskEntrance.7fe227a2.mjs +26 -0
- package/dist/timezone.6ced3ba0.mjs +26 -0
- package/dist/warehouse.94715780.mjs +26 -0
- package/package.json +57 -43
- package/src/api/common/Msg.js +34 -34
- package/src/api/common/Print.js +9 -1
- package/src/api/common/Task.js +16 -0
- package/src/api/common/UUID.js +2 -0
- package/src/api/common/User.js +15 -0
- package/src/api/common/barcode.js +165 -165
- package/src/api/common/common.js +72 -48
- package/src/api/inbound/index.js +3 -1
- package/src/api/inbound/printLabel.js +34 -0
- package/src/api/inbound/quality.js +1 -1
- package/src/api/inbound/receive.js +20 -0
- package/src/api/inbound/sorting.js +198 -0
- package/src/api/inner/check/action.js +32 -0
- package/src/api/inner/count/console.js +61 -0
- package/src/api/inner/dead/action.js +24 -24
- package/src/api/inner/dead/large.js +78 -78
- package/src/api/inner/dead/query.js +17 -0
- package/src/api/inner/dead/small.js +8 -0
- package/src/api/inner/disposeAbnormal/action.js +24 -0
- package/src/api/inner/materialApply/index.js +1 -1
- package/src/api/inner/move/quickMove.js +51 -0
- package/src/api/inner/move/taskMove.js +176 -19
- package/src/api/inner/quality/action.js +2 -2
- package/src/api/inner/quality/sample.js +9 -0
- package/src/api/inner/snCheck/snCheck.js +58 -0
- package/src/api/inventory/inventory.js +23 -0
- package/src/api/outbound/bale/aloneBale/action.js +123 -123
- package/src/api/outbound/bale/aloneBale/index.js +24 -24
- package/src/api/outbound/bale/baleChange/action.js +51 -51
- package/src/api/outbound/bale/baleChange/addCheck.js +33 -33
- package/src/api/outbound/bale/checkBale/action.js +141 -132
- package/src/api/outbound/bale/checkBale/index.js +52 -52
- package/src/api/outbound/bale/packTableConfig.js +25 -0
- package/src/api/outbound/handover/index.js +42 -33
- package/src/api/outbound/handover/lpn.js +33 -33
- package/src/api/outbound/handover/mixin.js +42 -42
- package/src/api/outbound/handover/pageBox.js +24 -24
- package/src/api/outbound/lpnPack/index.js +79 -0
- package/src/api/outbound/packCollect/index.js +24 -0
- package/src/api/outbound/pick/sow.js +9 -0
- package/src/api/outbound/pickMerge/index.js +9 -0
- package/src/api/outbound/reprint-box/index.js +9 -0
- package/src/api/outbound/sow/action.js +9 -0
- package/src/api/outbound/sow/index.js +18 -0
- package/src/api/outbound/sowCollect/index.js +24 -0
- package/src/api/outbound/summary/box.js +9 -0
- package/src/api/process/order.js +149 -0
- package/src/api/process/work_process.js +17 -0
- package/src/api/process/work_process_screen.js +27 -0
- package/src/api/process/work_table.js +120 -0
- package/src/api/receive/putaway.js +32 -1
- package/src/assets/css/changeVant.less +29 -29
- package/src/assets/css/global.less +468 -428
- package/src/assets/css/var.less +99 -99
- package/src/assets/css//345/205/250/345/261/200/346/240/267/345/274/217.md +1 -1
- package/src/assets/img/lwInputIcon/scanIcon.png +0 -0
- package/src/assets/img/lwLoginModel/captcha.png +0 -0
- package/src/assets/img/menu/packCollect.png +0 -0
- package/src/assets/img/menu/sorting.png +0 -0
- package/src/assets/img/menu/sowCollect.png +0 -0
- package/src/components/module/AbnormalInput/index.js +11 -11
- package/src/components/module/AbnormalInput/index.vue +322 -322
- package/src/components/module/AbnormalInput//345/274/202/345/270/270/350/276/223/345/205/245/346/250/241/345/235/227.md +1 -1
- package/src/components/module/InnerAbnormal/index.js +11 -11
- package/src/components/module/InnerAbnormal/index.vue +120 -120
- package/src/components/module/InnerAbnormal//345/234/250/345/272/223/345/274/202/345/270/270/346/250/241/345/235/227.md +1 -1
- package/src/components/module/Login/index.vue +84 -5
- package/src/components/module/Login//347/231/273/345/275/225/346/250/241/345/235/227.md +1 -1
- package/src/components/module/Lot/index.vue +205 -205
- package/src/components/module/Lot//346/211/271/346/254/241/345/261/236/346/200/247.md +4 -4
- package/src/components/module/LotLook/index.vue +93 -93
- package/src/components/module/LotLook//346/225/260/346/215/256/346/237/245/347/234/213.md +3 -3
- package/src/components/module/Menu//350/217/234/345/215/225/346/240/217.md +1 -1
- package/src/components/module/MsgItem/index.vue +124 -124
- package/src/components/module/MsgItem//346/266/210/346/201/257/345/210/227/350/241/250/345/217/212/345/210/206/351/241/265/346/250/241/345/235/227.md +1 -1
- package/src/components/module/OffLinePopup/index.js +12 -0
- package/src/components/module/OffLinePopup/index.vue +110 -0
- package/src/components/module/OffLinePopup//344/270/213/347/272/277/347/220/206/347/224/261/345/274/271/346/241/206.md +0 -0
- package/src/components/module/OnLine/index.vue +217 -195
- package/src/components/module/OnLine//344/270/212/344/270/213/347/272/277/347/256/241/347/220/206/346/250/241/345/235/227.md +1 -1
- package/src/components/module/ReceiveAbnormal/index.vue +956 -956
- package/src/components/module/ReceiveAbnormal//346/224/266/350/264/247/345/274/202/345/270/270/346/250/241/345/235/227.md +1 -1
- package/src/components/module/ScanDataList/index.vue +357 -333
- package/src/components/module/ScanDataList//346/211/253/346/217/217/346/225/260/346/215/256/345/261/225/347/244/272/345/217/212/345/210/240/351/231/244.md +2 -2
- package/src/components/module/SkuInfo/index.vue +68 -68
- package/src/components/module/SkuInfo//346/237/245/347/234/213/345/225/206/345/223/201/344/277/241/346/201/257.md +4 -4
- package/src/components/module/SnSearchSku/index.js +11 -0
- package/src/components/module/SnSearchSku/index.vue +150 -0
- package/src/components/module/SnSearchSku//351/200/232/350/277/207/345/272/217/345/210/227/345/217/267/346/220/234/347/264/242/345/225/206/345/223/201/345/217/267.md +2 -0
- package/src/components/module/SystemInfo/index.vue +229 -227
- package/src/components/module/SystemInfo//347/263/273/347/273/237/344/277/241/346/201/257/344/270/216/344/270/212/347/272/277/347/212/266/346/200/201/346/250/241/345/235/227.md +1 -1
- package/src/components/module/index.js +54 -48
- package/src/components/page/common/Device/index.vue +186 -186
- package/src/components/page/common/Language/index.vue +12 -7
- package/src/components/page/common/Login/index.vue +2 -2
- package/src/components/page/common/Msg/index.vue +8 -1
- package/src/components/page/common/My/index.vue +6 -5
- package/src/components/page/common/Print/index.vue +311 -311
- package/src/components/page/common/Task/components/itemContent.vue +74 -0
- package/src/components/page/common/Task/components/itemHeader.vue +61 -0
- package/src/components/page/common/Task/components/lookTaskContentPopup.vue +180 -0
- package/src/components/page/common/Task/components/overTaskPopup.vue +108 -0
- package/src/components/page/common/Task/components/taskItem.vue +87 -0
- package/src/components/page/common/Task/{index.js → index/index.js} +0 -0
- package/src/components/page/common/Task/{index.vue → index/index.vue} +80 -266
- package/src/components/page/common/Task/{ → index/}/344/273/273/345/212/241/351/241/265.md +0 -0
- package/src/components/page/common/Task/searchTask/index.js +11 -0
- package/src/components/page/common/Task/searchTask/index.vue +196 -0
- package/src/components/page/common/Task/searchTask//344/273/273/345/212/241/351/241/265/346/220/234/347/264/242.md +1 -0
- package/src/components/page/common/Timezone/index.js +11 -11
- package/src/components/page/common/Timezone/index.vue +85 -82
- package/src/components/page/common/Warehouse/index.vue +221 -221
- package/src/components/page/common/index.js +45 -42
- package/src/components/page/config/masterLocation/masterLocationConfig/action/index.vue +33 -20
- package/src/components/page/config/masterLocation/masterLocationConfig/index/index.vue +129 -112
- package/src/components/page/config/masterLocation/masterLocationQuery/action/queryBySkuCode.vue +1 -0
- package/src/components/page/config/newProject/action/index.vue +16 -24
- package/src/components/page/count/components/CountBoard.vue +6 -1
- package/src/components/page/count/components/RandomCount.vue +168 -154
- package/src/components/page/count/console/components/itemContent.vue +74 -0
- package/src/components/page/count/console/components/itemHeader.vue +61 -0
- package/src/components/page/count/console/components/lookTaskContentPopup.vue +180 -0
- package/src/components/page/count/console/components/overTaskPopup.vue +108 -0
- package/src/components/page/count/console/components/randomCountItem.vue +146 -0
- package/src/components/page/count/console/components/taskItem.vue +87 -0
- package/src/components/page/count/console/index/index.js +11 -0
- package/src/components/page/count/console/index/index.vue +922 -0
- package/src/components/page/count/console/index//347/233/230/347/202/271/346/216/247/345/210/266/345/217/260.md +0 -0
- package/src/components/page/count/index.js +4 -0
- package/src/components/page/count/inv/action/index.vue +64 -10
- package/src/components/page/count/inv/index/index.vue +13 -3
- package/src/components/page/count/loc/action/index.vue +561 -546
- package/src/components/page/count/loc/index/index.vue +8 -2
- package/src/components/page/count//347/233/230/347/202/271.md +0 -0
- package/src/components/page/inbound/components/AllocScanListItem.vue +14 -2
- package/src/components/page/inbound/components/AsnInfo.vue +17 -2
- package/src/components/page/inbound/components/AsnSkuInfo.vue +17 -2
- package/src/components/page/inbound/components/QualityCard.vue +552 -171
- package/src/components/page/inbound/components/SearchBar.vue +1 -1
- package/src/components/page/inbound/components/SkuReceiveInfo.vue +2 -2
- package/src/components/page/inbound/components/SnsList.vue +103 -103
- package/src/components/page/inbound/components/SortingAsnInfo.vue +243 -0
- package/src/components/page/inbound/components/SortingBoxInfo.vue +118 -0
- package/src/components/page/inbound/components/printLabelPopup.vue +353 -0
- package/src/components/page/inbound/index.js +10 -2
- package/src/components/page/inbound/receive/home/index.vue +29 -16
- package/src/components/page/inbound/receive/index/index.vue +101 -92
- package/src/components/page/inbound/receive/printLabel/index.js +10 -0
- package/src/components/page/inbound/receive/printLabel/index.vue +209 -0
- package/src/components/page/inbound/receive/printLabel//346/211/223/345/215/260/346/240/207/347/255/276.md +0 -0
- package/src/components/page/inbound/receive/quality/LwInboundQualityExecutePage.vue +457 -457
- package/src/components/page/inbound/receive/quality/LwInboundQualityTaskListPage.vue +195 -164
- package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSkuExecutePage.vue +598 -595
- package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSnExecutePage.vue +235 -233
- package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseExecutePage.vue +327 -312
- package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseScanPage.vue +92 -80
- package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnBatchExecutePage.vue +385 -386
- package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnExecutePage.vue +222 -216
- package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnScanPage.vue +80 -80
- package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuExecutePage.vue +345 -340
- package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuScanPage.vue +111 -111
- package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuSnExecutePage.vue +345 -340
- package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuAdvancePage.vue +373 -330
- package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuDirectPage.vue +467 -424
- package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuScanPage.vue +162 -161
- package/src/components/page/inbound/sorting/LwInboundSortingAsnPage.vue +81 -0
- package/src/components/page/inbound/sorting/LwInboundSortingByContainerPage.vue +588 -0
- package/src/components/page/inbound/sorting/LwInboundSortingByOrderPage.vue +548 -0
- package/src/components/page/inbound/sorting/LwInboundSortingIndexPage.vue +59 -0
- package/src/components/page/inbound/sorting/index.js +22 -0
- package/src/components/page/inbound/sorting//345/210/206/346/213/243.md +0 -0
- package/src/components/page/inbound/unload/action/index.js +11 -0
- package/src/components/page/inbound/unload/action/index.vue +557 -0
- package/src/components/page/inbound/unload/add/index.js +11 -0
- package/src/components/page/inbound/unload/add/index.vue +308 -0
- package/src/components/page/inbound/unload/index/index.js +11 -0
- package/src/components/page/inbound/unload/index/index.vue +159 -0
- package/src/components/page/inbound/unload/index.js +15 -0
- package/src/components/page/inbound/unload//345/215/270/350/264/247.md +0 -0
- package/src/components/page/index.js +41 -41
- package/src/components/page/inner/abnormalMove/index/index.vue +466 -466
- package/src/components/page/inner/borrow/action/index.vue +875 -831
- package/src/components/page/inner/borrow/index/index.vue +249 -249
- package/src/components/page/inner/caseQuickMove/index/index.js +11 -0
- package/src/components/page/inner/caseQuickMove/index/index.vue +431 -0
- package/src/components/page/inner/caseQuickMove//351/232/217/346/234/272/345/277/253/351/200/237/347/247/273/345/212/250-/346/225/264/347/256/261.md +0 -0
- package/src/components/page/inner/check/action/action.vue +867 -0
- package/src/components/page/inner/check/action/index.js +11 -0
- package/src/components/page/inner/dead/components/abnPopup.vue +83 -83
- package/src/components/page/inner/dead/components/bagItem.vue +110 -104
- package/src/components/page/inner/dead/components/boxListItem.vue +135 -135
- package/src/components/page/inner/dead/components/dataInfo.vue +94 -94
- package/src/components/page/inner/dead/components/lackPopup.vue +190 -190
- package/src/components/page/inner/dead/components/lpnListItem.vue +115 -115
- package/src/components/page/inner/dead/components/taskItem.vue +621 -570
- package/src/components/page/inner/dead/components/waitOverLpn.vue +74 -74
- package/src/components/page/inner/dead/large/index.vue +381 -376
- package/src/components/page/inner/dead/putaway/action/index.js +11 -11
- package/src/components/page/inner/dead/putaway/action/index.vue +131 -131
- package/src/components/page/inner/dead/putaway/components/collapseItem.vue +128 -128
- package/src/components/page/inner/dead/putaway/index/index.js +11 -11
- package/src/components/page/inner/dead/putaway/index/index.vue +63 -63
- package/src/components/page/inner/dead/query/action/action.vue +809 -0
- package/src/components/page/inner/dead/query/action/index.js +11 -0
- package/src/components/page/inner/dead/query/index/index.js +11 -0
- package/src/components/page/inner/dead/query/index/index.vue +130 -0
- package/src/components/page/inner/dead/small/index.js +11 -11
- package/src/components/page/inner/dead/small/index.vue +27 -13
- package/src/components/page/inner/dead/taskEntrance/index.js +11 -11
- package/src/components/page/inner/disposeAbnormal/action/index.vue +634 -524
- package/src/components/page/inner/disposeAbnormal/components/abnInfo/index.vue +5 -1
- package/src/components/page/inner/disposeAbnormal/components/disposePopup/index.vue +308 -229
- package/src/components/page/inner/disposeAbnormal/components/searchBar/index.vue +264 -264
- package/src/components/page/inner/disposeAbnormal/index/index.vue +248 -248
- package/src/components/page/inner/fragQuickMove/action/index.js +11 -0
- package/src/components/page/inner/fragQuickMove/action/index.vue +498 -0
- package/src/components/page/inner/fragQuickMove/index/index.js +11 -0
- package/src/components/page/inner/fragQuickMove/index/index.vue +222 -0
- package/src/components/page/inner/fragQuickMove//351/232/217/346/234/272/345/277/253/351/200/237/347/247/273/345/212/250-/351/233/266/346/225/243.md +0 -0
- package/src/components/page/inner/index.js +30 -2
- package/src/components/page/inner/lpnMove/action/index.vue +244 -243
- package/src/components/page/inner/lpnMove/index/index.vue +155 -155
- package/src/components/page/inner/materialApply/action/index.js +2 -2
- package/src/components/page/inner/materialApply/action/index.vue +555 -555
- package/src/components/page/inner/materialApply/generate/index.js +2 -2
- package/src/components/page/inner/materialApply/generate/index.vue +385 -385
- package/src/components/page/inner/movePutAway/index/index.vue +363 -363
- package/src/components/page/inner/quality/action/index.vue +713 -720
- package/src/components/page/inner/quality/components/lookData.vue +15 -10
- package/src/components/page/inner/quality/components/sampleInfo.vue +5 -5
- package/src/components/page/inner/quality/sample/index.vue +418 -426
- package/src/components/page/inner/randomMove/components/Down/index.vue +564 -507
- package/src/components/page/inner/randomMove/components/Up/index.vue +663 -587
- package/src/components/page/inner/randomMove/index/index.vue +123 -10
- package/src/components/page/inner/reportAbnormal/index/index.vue +251 -251
- package/src/components/page/inner/taskMove/index/index.vue +426 -49
- package/src/components/page/inner/taskMove/whole/MoveRandomWholeCase.vue +459 -0
- package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseDown.vue +328 -0
- package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseUp.vue +282 -0
- package/src/components/page/inner/taskMove/whole/MoveTaskWholeIndex.vue +519 -0
- package/src/components/page/inner/taskMove/whole/index.js +22 -0
- package/src/components/page/inventory/inventoryItem/index.vue +72 -0
- package/src/components/page/inventory/inventoryLotPage/index.vue +2 -1
- package/src/components/page/inventory/queryInventory/index/index.vue +368 -231
- package/src/components/page/inventory/queryInventory/page/index.vue +146 -9
- package/src/components/page/outbound/bale/aloneBale/action/index.vue +896 -779
- package/src/components/page/outbound/bale/aloneBale/index/index.vue +34 -5
- package/src/components/page/outbound/bale/aloneBale/newBale/index.vue +19 -0
- package/src/components/page/outbound/bale/baleChange/action/index.js +11 -11
- package/src/components/page/outbound/bale/baleChange/action/index.vue +604 -585
- package/src/components/page/outbound/bale/baleChange/index/index.js +11 -11
- package/src/components/page/outbound/bale/baleChange/skuCheck/index.js +11 -11
- package/src/components/page/outbound/bale/baleChange/skuCheck/index.vue +351 -351
- package/src/components/page/outbound/bale/checkBale/action/index.vue +1052 -941
- package/src/components/page/outbound/bale/checkBale/allCheck/index.vue +19 -3
- package/src/components/page/outbound/bale/checkBale/index/index.vue +41 -5
- package/src/components/page/outbound/bale/checkBale/newBale/index.vue +20 -3
- package/src/components/page/outbound/bale/components/checkPackConfig/index.vue +177 -0
- package/src/components/page/outbound/bale/components/checkPackConfig//345/275/223/345/211/215/346/215/206/345/214/205/345/217/260.md +0 -0
- package/src/components/page/outbound/bale/components/containerInfo/index.vue +242 -242
- package/src/components/page/outbound/bale/components/containerSkuQty//345/275/223/345/211/215/346/215/206/345/214/205/345/256/271/345/231/250/345/217/212/345/223/201/347/247/215/346/225/260.md +1 -1
- package/src/components/page/outbound/bale/components/delSku/index.vue +317 -317
- package/src/components/page/outbound/bale/components/partBlock/index.vue +201 -201
- package/src/components/page/outbound/bale/components/planCollapse/index.vue +392 -392
- package/src/components/page/outbound/bale/components/repeatCheck/index.vue +101 -101
- package/src/components/page/outbound/bale/components/storeInfo/index.vue +135 -135
- package/src/components/page/outbound/bale/components/storeInfoSkuList/index.vue +148 -128
- package/src/components/page/outbound/bale/components/suggestMaterial/index.vue +107 -0
- package/src/components/page/outbound/bale/components/suggestMaterial//346/216/250/350/215/220/345/214/205/346/235/220/346/212/230/345/217/240/346/240/217.md +0 -0
- package/src/components/page/outbound/bale/mixins.js +236 -212
- package/src/components/page/outbound/block/LwOutboundBlockExecutePage.vue +316 -316
- package/src/components/page/outbound/boxTransfer/action/index.js +11 -11
- package/src/components/page/outbound/boxTransfer/action/index.vue +214 -214
- package/src/components/page/outbound/boxTransfer/index/index.js +11 -11
- package/src/components/page/outbound/boxTransfer/index/index.vue +174 -174
- package/src/components/page/outbound/delivery/action/index.vue +784 -784
- package/src/components/page/outbound/delivery/addOrder/index.vue +281 -281
- package/src/components/page/outbound/delivery/components/boxItem/index.vue +154 -154
- package/src/components/page/outbound/delivery/components/soAndLpnItem/index.vue +199 -199
- package/src/components/page/outbound/delivery/index/index.vue +205 -205
- package/src/components/page/outbound/handover/components/boxInfo.vue +51 -51
- package/src/components/page/outbound/handover/components/boxNumList.vue +158 -158
- package/src/components/page/outbound/handover/components/collapseItem.vue +136 -136
- package/src/components/page/outbound/handover/components/pageBox.vue +524 -524
- package/src/components/page/outbound/handover/customer/index.js +11 -11
- package/src/components/page/outbound/handover/index/index.js +11 -11
- package/src/components/page/outbound/handover/index/index.vue +5 -2
- package/src/components/page/outbound/handover/line/index.js +11 -11
- package/src/components/page/outbound/handover/lpn/index.js +11 -11
- package/src/components/page/outbound/index.js +162 -152
- package/src/components/page/outbound/lpnPack/action/index.js +11 -11
- package/src/components/page/outbound/lpnPack/action/index.vue +437 -287
- package/src/components/page/outbound/lpnPack/components/boxItem.vue +90 -0
- package/src/components/page/outbound/lpnPack/components/lpnActionInfo.vue +132 -113
- package/src/components/page/outbound/lpnPack/components/lpnItem.vue +126 -126
- package/src/components/page/outbound/lpnPack/index/index.js +11 -11
- package/src/components/page/outbound/lpnPack/index/index.vue +304 -166
- package/src/components/page/outbound/lpnPack/newLpnPack/index.js +11 -11
- package/src/components/page/outbound/lpnPack/newLpnPack/index.vue +95 -80
- package/src/components/page/outbound/lpnPack/over/index.js +11 -11
- package/src/components/page/outbound/lpnPack/over/index.vue +114 -85
- package/src/components/page/outbound/packCollect/components/containerInfo.vue +108 -0
- package/src/components/page/outbound/packCollect/index/index.js +11 -0
- package/src/components/page/outbound/packCollect/index/index.vue +192 -0
- package/src/components/page/outbound/packCollect//351/233/206/350/264/247/346/215/206/345/214/205.md +0 -0
- package/src/components/page/outbound/pick/alone/index.vue +551 -504
- package/src/components/page/outbound/pick/box/index.vue +380 -371
- package/src/components/page/outbound/pick/components/dataLookAndChange/index.vue +709 -671
- package/src/components/page/outbound/pick/components/splitPutDown/index.vue +208 -208
- package/src/components/page/outbound/pick/index/index.vue +579 -622
- package/src/components/page/outbound/pick/lpn/index.vue +326 -321
- package/src/components/page/outbound/pick/mixin/all.js +98 -98
- package/src/components/page/outbound/pick/mixin/aloneAndNotAlone.js +132 -132
- package/src/components/page/outbound/pick/notAlone/index.vue +692 -533
- package/src/components/page/outbound/pick/sow/index.vue +1387 -1290
- package/src/components/page/outbound/pickContainer/action/index.js +11 -11
- package/src/components/page/outbound/pickContainer/index/index.js +11 -11
- package/src/components/page/outbound/pickMerge/content/index.vue +179 -170
- package/src/components/page/outbound/reprint-box/LwOutboundReprintBoxListPage.vue +115 -118
- package/src/components/page/outbound/reprint-box/collapseItem.vue +71 -0
- package/src/components/page/outbound/sow/action/index.vue +80 -29
- package/src/components/page/outbound/sow/components/sowLotItem/index.vue +142 -0
- package/src/components/page/outbound/sow/components/sowLotItem//346/222/255/347/247/215/346/211/271/346/254/241/344/277/241/346/201/257.md +0 -0
- package/src/components/page/outbound/sow/index/index.vue +399 -371
- package/src/components/page/outbound/sowCollect/index/index.js +11 -0
- package/src/components/page/outbound/sowCollect/index/index.vue +234 -0
- package/src/components/page/outbound/sowCollect//346/222/255/347/247/215/351/233/206/350/264/247.md +0 -0
- package/src/components/page/outbound/stockout/LwOutboundStockoutListPage.vue +103 -103
- package/src/components/page/outbound/summary/box/index/index.vue +648 -645
- package/src/components/page/outbound/summary/lpn/action/index.vue +254 -254
- package/src/components/page/outbound/summary/lpn/index/index.vue +5 -0
- package/src/components/page/process/index.js +25 -21
- package/src/components/page/process/prepare/index.js +11 -11
- package/src/components/page/process/prepare/index.vue +770 -841
- package/src/components/page/process/process/action/index.js +11 -11
- package/src/components/page/process/process/action/index.vue +56 -75
- package/src/components/page/process/process/components/FinishView.vue +299 -0
- package/src/components/page/process/process/components/craftCollapse.vue +91 -130
- package/src/components/page/process/process/components/dockInfo.vue +73 -79
- package/src/components/page/process/process/components/dockTaskInfo.vue +172 -192
- package/src/components/page/process/process/components/overCollapse.vue +385 -376
- package/src/components/page/process/process/components/rawCollapse.vue +82 -113
- package/src/components/page/process/process/components/stopPopup.vue +108 -90
- package/src/components/page/process/process/console/index.js +11 -11
- package/src/components/page/process/process/console/index.vue +149 -436
- package/src/components/page/process/process/content/index.js +11 -11
- package/src/components/page/process/process/content/index.vue +340 -367
- package/src/components/page/process/process/index/index.js +11 -11
- package/src/components/page/process/process/index/index.vue +71 -68
- package/src/components/page/process/screen/display/index.js +11 -0
- package/src/components/page/process/screen/display/index.vue +163 -0
- package/src/components/page/process/screen/index/index.js +11 -0
- package/src/components/page/process/screen/index/index.vue +76 -0
- package/src/components/page/receive/putaway/caseAction/index.vue +548 -542
- package/src/components/page/receive/putaway/components/CaseInfo/index.vue +6 -0
- package/src/components/page/receive/putaway/components/SkuInfo/index.vue +19 -3
- package/src/components/page/receive/putaway/components/SkuPutAwayInfo/index.vue +203 -203
- package/src/components/page/receive/putaway/components/TaskInfo/index.vue +61 -32
- package/src/components/page/receive/putaway/index/index.vue +585 -450
- package/src/components/page/receive/putaway/lpnAction/index.vue +362 -362
- package/src/components/page/receive/putaway/lpnBatchAction/index.js +11 -11
- package/src/components/page/receive/putaway/lpnBatchAction/index.vue +213 -213
- package/src/components/page/receive/putaway/skuAction/index.vue +989 -742
- package/src/components/page/receive/receipt/action/index.vue +276 -276
- package/src/components/page/receive/receipt/index/index.vue +132 -132
- package/src/components/ui/BottomBar/index.vue +102 -98
- package/src/components/ui/BottomBar//345/272/225/351/203/250/345/233/272/345/256/232/346/240/217.md +1 -1
- package/src/components/ui/BottomBarBtnHidden/index.vue +91 -91
- package/src/components/ui/BottomBarBtnHidden//345/272/225/351/203/250/346/214/211/351/222/256/346/240/217/351/232/220/350/227/217/345/244/232/344/275/231/346/214/211/351/222/256.md +1 -1
- package/src/components/ui/Button/index.vue +183 -183
- package/src/components/ui/Button//346/214/211/351/222/256.md +1 -1
- package/src/components/ui/CarPlate/index.vue +501 -495
- package/src/components/ui/Cell/index.vue +259 -259
- package/src/components/ui/Cell//345/215/225/345/205/203/346/240/274.md +1 -1
- package/src/components/ui/CellPopupCheckbox/index.js +11 -0
- package/src/components/ui/CellPopupCheckbox/index.vue +158 -0
- package/src/components/ui/CellPopupCheckbox//350/241/214/345/212/240/345/244/232/351/200/211/345/274/271/345/207/272/346/241/206.md +0 -0
- package/src/components/ui/CellPopupDate/index.vue +217 -212
- package/src/components/ui/CellPopupRadio/index.vue +136 -136
- package/src/components/ui/CellPopupSelect/index.js +11 -0
- package/src/components/ui/CellPopupSelect/index.vue +303 -0
- package/src/components/ui/CellPopupSelect//345/215/225/345/205/203/350/241/214/345/212/240/351/200/211/346/213/251/345/231/250.md +1 -0
- package/src/components/ui/CutCard/index.vue +0 -11
- package/src/components/ui/DataLookBg//346/225/260/346/215/256/347/234/213/346/235/277.md +1 -1
- package/src/components/ui/ErrorMsg//351/224/231/350/257/257/346/217/220/347/244/272/346/241/206.md +1 -1
- package/src/components/ui/Form//350/241/250/345/215/225.md +1 -1
- package/src/components/ui/ImgLook/index.vue +105 -105
- package/src/components/ui/ImgLook//345/233/276/347/211/207/346/237/245/347/234/213.md +1 -1
- package/src/components/ui/ImgUpload/imgUploadAxios.js +37 -37
- package/src/components/ui/ImgUpload/index.vue +120 -120
- package/src/components/ui/ImgUpload//345/233/276/347/211/207/344/270/212/344/274/240.md +1 -1
- package/src/components/ui/Input/index.vue +567 -581
- package/src/components/ui/Loading/index.js +49 -49
- package/src/components/ui/Loading//345/212/240/350/275/275/346/241/206.md +1 -1
- package/src/components/ui/MenuItem//350/217/234/345/215/225/351/241/271.md +1 -1
- package/src/components/ui/NavBar/index.vue +4 -4
- package/src/components/ui/NotData//347/251/272/346/225/260/346/215/256/347/212/266/346/200/201.md +1 -1
- package/src/components/ui/NoticeBar/index.js +88 -0
- package/src/components/ui/NoticeBar/index.vue +98 -0
- package/src/components/ui/NoticeBar//351/200/232/347/237/245/346/240/217.md +0 -0
- package/src/components/ui/Pages/index.vue +4 -4
- package/src/components/ui/Pages//345/210/206/351/241/265/351/241/265/347/240/201.md +1 -1
- package/src/components/ui/Pagination/index.js +11 -11
- package/src/components/ui/Pagination/index.vue +274 -274
- package/src/components/ui/Pagination//345/210/206/351/241/265V2.md +1 -1
- package/src/components/ui/Popup/index.vue +242 -242
- package/src/components/ui/Popup//345/274/271/345/207/272/345/261/202.md +1 -1
- package/src/components/ui/PopupCheckbox/index.vue +27 -6
- package/src/components/ui/PopupCheckbox//345/244/232/351/200/211/345/274/271/346/241/206.md +1 -1
- package/src/components/ui/PopupRadio//345/215/225/351/200/211/345/274/271/346/241/206.md +1 -1
- package/src/components/ui/TabBar/index.vue +1 -1
- package/src/components/ui/Table//350/241/250/346/240/274.md +1 -1
- package/src/components/ui/Tag/index.vue +11 -11
- package/src/components/ui/Tag//346/240/207/347/255/276.md +1 -1
- package/src/components/ui/TitleValueCell/index.vue +90 -88
- package/src/components/ui/TitleValueCell//346/240/207/351/242/230/345/200/274/350/241/214.md +2 -2
- package/src/components/ui/index.js +92 -87
- package/src/mixins/loginAndInit/index.js +31 -31
- package/src/router/index.js +895 -742
- package/src/router/menu.js +754 -638
- package/src/test/file/index.js +11 -11
- package/src/utils/ApiUtils.js +59 -59
- package/src/utils/AppBack.js +43 -43
- package/src/utils/AppPower.js +621 -76
- package/src/utils/Axios.js +30 -0
- package/src/utils/BarcodeResolve.js +5 -5
- package/src/utils/DateTime.js +234 -233
- package/src/utils/DeepCopy.js +61 -61
- package/src/utils/Dialog.js +16 -0
- package/src/utils/Dict.js +89 -73
- package/src/utils/GetImgSrc.js +54 -54
- package/src/utils/Language.js +87 -79
- package/src/utils/LocalStorage.js +66 -66
- package/src/utils/Permissions.js +65 -65
- package/src/utils/Print.js +232 -177
- package/src/utils/README.md +60 -60
- package/src/utils/ScanRule.js +39 -39
- package/src/utils/SetColor.js +57 -57
- package/src/utils/TabBar.js +31 -31
- package/src/utils/Timezone.js +183 -179
- package/src/utils/Tip.js +26 -26
- package/src/utils/UUID.js +33 -39
- package/src/utils/Warehouse.js +30 -30
- package/src/utils/index.js +4 -1
- package/src/utils/windowGlobalData.js +114 -114
- package/src/views/common/init/index.vue +145 -138
- package/src/views/common/my/timezone.vue +23 -23
- package/src/views/common/task/search.vue +23 -0
- package/src/views/count/console.vue +23 -0
- package/src/views/inbound/receive/printLabel.vue +23 -0
- package/src/views/inbound/sorting/LwInboundSortingAsnView.vue +16 -0
- package/src/views/inbound/sorting/LwInboundSortingByContainerView.vue +16 -0
- package/src/views/inbound/sorting/LwInboundSortingByOrderView.vue +16 -0
- package/src/views/inbound/sorting/LwInboundSortingIndexView.vue +16 -0
- package/src/views/inbound/unload/action.vue +23 -0
- package/src/views/inbound/unload/add.vue +23 -0
- package/src/views/inbound/unload/index.vue +23 -0
- package/src/views/inner/caseQuickMove/index.vue +23 -0
- package/src/views/inner/check/action.vue +23 -0
- package/src/views/inner/dead/large.vue +23 -23
- package/src/views/inner/dead/putaway/action.vue +23 -23
- package/src/views/inner/dead/putaway/index.vue +23 -23
- package/src/views/inner/dead/query/action.vue +23 -0
- package/src/views/inner/dead/query/index.vue +23 -0
- package/src/views/inner/dead/smallPage.vue +23 -23
- package/src/views/inner/dead/taskEntrance.vue +23 -23
- package/src/views/inner/fragQuickMove/action.vue +23 -0
- package/src/views/inner/fragQuickMove/index.vue +23 -0
- package/src/views/inner/materialApply/action.vue +2 -2
- package/src/views/inner/materialApply/generate.vue +2 -2
- package/src/views/inner/taskMove/whole/MoveRandomWholeCaseView.vue +3 -0
- package/src/views/inner/taskMove/whole/MoveTaskWholeCaseDownView.vue +3 -0
- package/src/views/inner/taskMove/whole/MoveTaskWholeCaseUpView.vue +3 -0
- package/src/views/inner/taskMove/whole/MoveTaskWholeIndexView.vue +3 -0
- package/src/views/outbound/baleChange/action.vue +23 -23
- package/src/views/outbound/baleChange/index.vue +23 -23
- package/src/views/outbound/baleChange/skuCheck.vue +23 -23
- package/src/views/outbound/boxTransfer/action.vue +23 -23
- package/src/views/outbound/boxTransfer/index.vue +23 -23
- package/src/views/outbound/handover/customer.vue +23 -23
- package/src/views/outbound/handover/index.vue +23 -23
- package/src/views/outbound/handover/line.vue +23 -23
- package/src/views/outbound/handover/lpn.vue +23 -23
- package/src/views/outbound/lpnPack/action.vue +23 -23
- package/src/views/outbound/lpnPack/index.vue +23 -23
- package/src/views/outbound/lpnPack/newLpn.vue +23 -23
- package/src/views/outbound/lpnPack/over.vue +23 -23
- package/src/views/outbound/packCollect/index.vue +23 -0
- package/src/views/outbound/pickContainer/action.vue +23 -23
- package/src/views/outbound/pickContainer/index.vue +23 -23
- package/src/views/outbound/sowCollect/index.vue +23 -0
- package/src/views/process/action/action.vue +23 -23
- package/src/views/process/action/index.vue +23 -23
- package/src/views/process/prepare/index.vue +23 -23
- package/src/views/process/screen/display/index.vue +23 -0
- package/src/views/process/screen/index/index.vue +23 -0
- package/src/views/receive/putaway/lpnBatchAction.vue +23 -23
- package/dist/logwire-wms-pda-ui.js +0 -7
- package/src/assets/img/lwInputIcon/keyboard.png +0 -0
- package/src/components/page/outbound/bale/components/containerInfo/img.png +0 -0
- package/src/components/page/outbound/bale/components/containerSkuQty/img.png +0 -0
- package/src/components/page/outbound/bale/components/storeInfo/img.png +0 -0
|
@@ -5,10 +5,15 @@
|
|
|
5
5
|
-->
|
|
6
6
|
<template>
|
|
7
7
|
<div>
|
|
8
|
-
<lw-nav-bar
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
<lw-nav-bar :title="$lwLanguage.get('wms_project.pda.common.task.task', '任务')">
|
|
9
|
+
<template #right>
|
|
10
|
+
<van-icon
|
|
11
|
+
name="search"
|
|
12
|
+
size="18"
|
|
13
|
+
@click="$router.push('/lwSearchTask')"
|
|
14
|
+
/>
|
|
15
|
+
</template>
|
|
16
|
+
</lw-nav-bar>
|
|
12
17
|
|
|
13
18
|
<div class="lw-global-page-box">
|
|
14
19
|
|
|
@@ -72,7 +77,10 @@
|
|
|
72
77
|
|
|
73
78
|
|
|
74
79
|
<!-- 任务类型tab -->
|
|
75
|
-
<div
|
|
80
|
+
<div
|
|
81
|
+
style="margin-top: 10px"
|
|
82
|
+
class="lw-global-tab-box"
|
|
83
|
+
>
|
|
76
84
|
<van-tabs
|
|
77
85
|
type="card"
|
|
78
86
|
animated
|
|
@@ -102,7 +110,7 @@
|
|
|
102
110
|
|
|
103
111
|
|
|
104
112
|
<!-- 任务状态tab -->
|
|
105
|
-
<div v-if="taskStatus.list.length" class="lw-global-tab-box
|
|
113
|
+
<div v-if="taskStatus.list.length" class="lw-global-tab-box">
|
|
106
114
|
<van-tabs
|
|
107
115
|
type="card"
|
|
108
116
|
animated
|
|
@@ -111,8 +119,8 @@
|
|
|
111
119
|
>
|
|
112
120
|
|
|
113
121
|
<van-tab
|
|
114
|
-
v-for="i in taskStatus.list"
|
|
115
|
-
:key="
|
|
122
|
+
v-for="(i, k) in taskStatus.list"
|
|
123
|
+
:key="k"
|
|
116
124
|
:name="i.type"
|
|
117
125
|
>
|
|
118
126
|
<template #title>
|
|
@@ -133,77 +141,12 @@
|
|
|
133
141
|
<template v-if="taskData.list.length">
|
|
134
142
|
|
|
135
143
|
<!-- 数据 -->
|
|
136
|
-
<
|
|
137
|
-
|
|
138
|
-
v-for="(i, k) in taskData.list"
|
|
144
|
+
<task-item
|
|
145
|
+
v-for="i in taskData.list"
|
|
139
146
|
:key="i.taskId"
|
|
140
|
-
:
|
|
147
|
+
:item="i"
|
|
141
148
|
@click="taskItemClick(i)"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
<!-- 头部 -->
|
|
145
|
-
<div class="lw-global-flex-between lw-global-bottom-border lw-task-page-order-title">
|
|
146
|
-
|
|
147
|
-
<img style="width: 50px;margin-right: 5px" src="../../../../assets/img/taskOrder.png" alt="">
|
|
148
|
-
|
|
149
|
-
<div style="flex: 1">
|
|
150
|
-
<div style="font-weight: bold;margin-bottom: 5px">{{ i.task.taskNo }}</div>
|
|
151
|
-
<div style="font-size: 12px">
|
|
152
|
-
<!-- <span style="margin-right: 10px">{{ $lwDate.format(i.taskReceiveTime || i.taskCreateTime, 'MM-dd hh:mm') }}</span>-->
|
|
153
|
-
已过 <span class="lw-global-title">{{ $lwDate.timeToStr({l:i.taskReceiveTime || i.taskCreateTime}).text }}</span>
|
|
154
|
-
</div>
|
|
155
|
-
</div>
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
<van-icon name="arrow"/>
|
|
159
|
-
</div>
|
|
160
|
-
|
|
161
|
-
<!-- 数据显示 -->
|
|
162
|
-
<div
|
|
163
|
-
v-if="i.content"
|
|
164
|
-
class="lw-task-page-order-body"
|
|
165
|
-
>
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
<!-- 标签 -->
|
|
169
|
-
<div v-if="i.content.tags && i.content.tags.length" style="padding: 5px 0">
|
|
170
|
-
<lw-tag
|
|
171
|
-
v-for="ini in i.content.tags"
|
|
172
|
-
:key="ini"
|
|
173
|
-
type="danger"
|
|
174
|
-
plain
|
|
175
|
-
round
|
|
176
|
-
>{{ ini }}</lw-tag>
|
|
177
|
-
</div>
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
<!-- 任务内容 -->
|
|
181
|
-
<div
|
|
182
|
-
class="lw-global-flex-start lw-task-page-task-box"
|
|
183
|
-
v-for="(ini,ink) in i.content.itemContent"
|
|
184
|
-
:key="ink"
|
|
185
|
-
>
|
|
186
|
-
<div class="lw-global-title lw-task-page-task-title">{{ ink }}:</div>
|
|
187
|
-
<div class="lw-global-value">{{ ini }}</div>
|
|
188
|
-
</div>
|
|
189
|
-
|
|
190
|
-
</div>
|
|
191
|
-
|
|
192
|
-
<!-- 基本信息 -->
|
|
193
|
-
<div class="lw-global-flex-between lw-task-page-order-end">
|
|
194
|
-
<div>{{ userName(i.staffList) }}</div>
|
|
195
|
-
<div>
|
|
196
|
-
<!-- <span style="margin-right: 5px">{{ $lwDate.format(i.taskStartTime, 'MM-dd hh:mm') }}</span>-->
|
|
197
|
-
<span v-if="i.taskStartTime" >
|
|
198
|
-
<span style="font-weight: normal">{{ $lwLanguage.get('wms_project.pda.common.task.duration', '已耗时') }} </span>
|
|
199
|
-
{{ $lwDate.timeToStr({l:i.taskStartTime}).text }}
|
|
200
|
-
</span>
|
|
201
|
-
<span v-else style="font-weight: normal">
|
|
202
|
-
{{ $lwLanguage.get('wms_project.pda.common.task.notStart', '任务未开始') }}
|
|
203
|
-
</span>
|
|
204
|
-
</div>
|
|
205
|
-
</div>
|
|
206
|
-
</div>
|
|
149
|
+
/>
|
|
207
150
|
|
|
208
151
|
<!-- 分页 -->
|
|
209
152
|
<lw-pagination
|
|
@@ -222,97 +165,39 @@
|
|
|
222
165
|
</div>
|
|
223
166
|
|
|
224
167
|
<!-- 任务详情查看 -->
|
|
225
|
-
<
|
|
168
|
+
<look-task-content-popup
|
|
226
169
|
v-model="taskPopup.show"
|
|
227
|
-
:
|
|
228
|
-
height="auto"
|
|
229
|
-
:title="$lwLanguage.get('wms_project.pda.common.task.details', '任务详情')"
|
|
170
|
+
:item="taskPopup.data"
|
|
230
171
|
@open="popupOpen"
|
|
231
172
|
@closed="popupClosed"
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
<img style="width: 50px;margin-right: 5px" src="../../../../assets/img/taskOrder.png" alt="">
|
|
238
|
-
|
|
239
|
-
<div style="flex: 1">
|
|
240
|
-
<div style="font-weight: bold;margin-bottom: 5px">{{ taskPopup.data.task.taskNo }}</div>
|
|
241
|
-
<div style="font-size: 12px">
|
|
242
|
-
<!-- <span style="margin-right: 10px">{{ $lwDate.format(i.taskReceiveTime || i.taskCreateTime, 'MM-dd hh:mm') }}</span>-->
|
|
243
|
-
{{ $lwLanguage.get('wms_project.pda.common.task.formerly', '已过') }}
|
|
244
|
-
<span class="lw-global-title">
|
|
245
|
-
{{ $lwDate.timeToStr({l:taskPopup.data.taskReceiveTime || taskPopup.data.taskCreateTime}).text }}
|
|
246
|
-
</span>
|
|
247
|
-
</div>
|
|
248
|
-
</div>
|
|
249
|
-
|
|
250
|
-
</div>
|
|
251
|
-
|
|
252
|
-
<!-- 数据显示 -->
|
|
253
|
-
<div class="lw-task-page-order-body">
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
<!-- 标签 -->
|
|
257
|
-
<div v-if="taskPopup.data.content.tags.length" style="padding: 5px 0">
|
|
258
|
-
<lw-tag
|
|
259
|
-
v-for="ini in taskPopup.data.content.tags"
|
|
260
|
-
:key="ini"
|
|
261
|
-
type="danger"
|
|
262
|
-
plain
|
|
263
|
-
round
|
|
264
|
-
>{{ ini }}</lw-tag>
|
|
265
|
-
</div>
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
<!-- 任务内容 -->
|
|
269
|
-
<div
|
|
270
|
-
class="lw-global-flex-start lw-task-page-task-box"
|
|
271
|
-
v-for="(ini,k) in taskPopup.data.content.detailContent"
|
|
272
|
-
:key="k"
|
|
273
|
-
>
|
|
274
|
-
<div class="lw-global-title lw-task-page-task-title">{{ k }}:</div>
|
|
275
|
-
<div class="lw-global-value">{{ ini }}</div>
|
|
276
|
-
</div>
|
|
277
|
-
|
|
278
|
-
</div>
|
|
279
|
-
</template>
|
|
280
|
-
|
|
281
|
-
<template #button>
|
|
282
|
-
<lw-button
|
|
283
|
-
class="lw-global-animation-rotate"
|
|
284
|
-
v-if="taskPopup.data.canRefuse"
|
|
285
|
-
@click="refuse"
|
|
286
|
-
>{{ $lwLanguage.get('wms_project.pda.common.task.rejectTask', '拒绝任务') }}</lw-button>
|
|
287
|
-
|
|
288
|
-
<lw-button
|
|
289
|
-
class="lw-global-animation-rotate"
|
|
290
|
-
v-if="taskPopup.data.canAccept"
|
|
291
|
-
@click="acceptTask"
|
|
292
|
-
>{{ $lwLanguage.get('wms_project.pda.common.task.receiveTask', '接受任务') }}</lw-button>
|
|
293
|
-
|
|
294
|
-
<lw-button
|
|
295
|
-
class="lw-global-animation-rotate"
|
|
296
|
-
v-if="taskPopup.data.canReceive"
|
|
297
|
-
@click="claimTask"
|
|
298
|
-
>{{ $lwLanguage.get('wms_project.pda.common.task.getTask', '领取任务') }}</lw-button>
|
|
299
|
-
|
|
300
|
-
<lw-button
|
|
301
|
-
class="lw-global-animation-rotate"
|
|
302
|
-
v-if="!taskPopup.data.canRefuse && !taskPopup.data.canAccept && !taskPopup.data.canReceive"
|
|
303
|
-
@click="startTask"
|
|
304
|
-
>{{ $lwLanguage.get('wms_project.pda.common.task.startTask', '执行任务') }}</lw-button>
|
|
173
|
+
@acceptTask="acceptTask"
|
|
174
|
+
@claimTask="claimTask"
|
|
175
|
+
@startTask="startTask"
|
|
176
|
+
@overTask="overTask"
|
|
177
|
+
/>
|
|
305
178
|
|
|
306
|
-
|
|
307
|
-
|
|
179
|
+
<!-- 结束任务弹框 -->
|
|
180
|
+
<over-task-popup
|
|
181
|
+
v-model="overTaskPopup.show"
|
|
182
|
+
:task-id="this.taskPopup.data.taskId"
|
|
183
|
+
@backConfirm="overTaskConfirm"
|
|
184
|
+
/>
|
|
308
185
|
</div>
|
|
309
186
|
</template>
|
|
310
187
|
|
|
311
188
|
<script>
|
|
312
|
-
import taskBg from '
|
|
189
|
+
import taskBg from '../../../../../assets/img/taskBg.png'
|
|
190
|
+
import taskItem from "../components/taskItem.vue";
|
|
191
|
+
import lookTaskContentPopup from "../components/lookTaskContentPopup.vue";
|
|
192
|
+
import overTaskPopup from "../components/overTaskPopup.vue";
|
|
313
193
|
|
|
314
194
|
export default {
|
|
315
195
|
name: "lwTaskPage",
|
|
196
|
+
components:{
|
|
197
|
+
taskItem,
|
|
198
|
+
lookTaskContentPopup,
|
|
199
|
+
overTaskPopup,
|
|
200
|
+
},
|
|
316
201
|
props:{
|
|
317
202
|
// 背景图片
|
|
318
203
|
bgSrc:{
|
|
@@ -360,21 +245,23 @@ export default {
|
|
|
360
245
|
// 查看任务弹出框
|
|
361
246
|
taskPopup:{
|
|
362
247
|
show:false,
|
|
363
|
-
data:{}
|
|
364
|
-
isJump: false
|
|
248
|
+
data:{}
|
|
365
249
|
},
|
|
250
|
+
|
|
251
|
+
// 结束任务弹框
|
|
252
|
+
overTaskPopup:{
|
|
253
|
+
show:false,
|
|
254
|
+
}
|
|
366
255
|
}
|
|
367
256
|
},
|
|
368
|
-
|
|
257
|
+
mounted() {
|
|
258
|
+
|
|
259
|
+
const {taskTypeActive, taskStatusActive} = JSON.parse(sessionStorage.getItem('lwTaskTabsActive') || '{}')
|
|
260
|
+
this.taskTypeActive = taskTypeActive
|
|
261
|
+
this.taskStatus.active = taskStatusActive
|
|
369
262
|
this.init()
|
|
370
263
|
},
|
|
371
264
|
methods: {
|
|
372
|
-
// 获取员工姓名
|
|
373
|
-
userName(i){
|
|
374
|
-
if (!Array.isArray(i)) return
|
|
375
|
-
|
|
376
|
-
return i.map(item=>item.staffName).join('/')
|
|
377
|
-
},
|
|
378
265
|
|
|
379
266
|
// 初始化任务数据
|
|
380
267
|
initTaskData(){
|
|
@@ -472,7 +359,7 @@ export default {
|
|
|
472
359
|
getTaskTypeList(loading=true){
|
|
473
360
|
clearTimeout(this.autoTimer)
|
|
474
361
|
|
|
475
|
-
//
|
|
362
|
+
// 找到当前任务类型的数据值
|
|
476
363
|
let item={}
|
|
477
364
|
for (let i = 0; i < this.taskInfo.typeList.length; i++) {
|
|
478
365
|
if (this.taskInfo.typeList[i].type === this.taskTypeActive){
|
|
@@ -548,91 +435,43 @@ export default {
|
|
|
548
435
|
},
|
|
549
436
|
// 弹出框关闭
|
|
550
437
|
popupClosed(){
|
|
551
|
-
|
|
552
|
-
this.taskPopup.isJump = false
|
|
553
|
-
}else {
|
|
554
|
-
this.init(false)
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
// 拒绝任务
|
|
558
|
-
refuse(){
|
|
559
|
-
this.$lwDialog.confirm({
|
|
560
|
-
title: this.$lwLanguage.get('wms_project.pda.common.warning', '警告'),
|
|
561
|
-
message: this.$lwLanguage.get('wms_project.pda.common.task.confirmReject', '确认拒绝当前任务') + '?'
|
|
562
|
-
}).then(()=>{
|
|
563
|
-
this.$lwApi.task.refuseTask({
|
|
564
|
-
taskId: this.taskPopup.data.taskId
|
|
565
|
-
}).then(()=>{
|
|
566
|
-
this.$lwToast.success(this.$lwLanguage.get('wms_project.pda.common.task.reject', '已拒绝'))
|
|
567
|
-
this.taskPopup.show = false
|
|
568
|
-
})
|
|
569
|
-
}).catch(()=>{})
|
|
438
|
+
this.init(false)
|
|
570
439
|
},
|
|
571
440
|
// 接受任务
|
|
572
|
-
acceptTask(){
|
|
573
|
-
this
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
this.taskPopup.data.canRefuse=res.canRefuse
|
|
577
|
-
this.taskPopup.data.canAccept=res.canAccept
|
|
578
|
-
this.taskPopup.data.canReceive=res.canReceive
|
|
579
|
-
this.$lwToast.success(this.$lwLanguage.get('wms_project.pda.common.task.receive', '已接受'))
|
|
580
|
-
})
|
|
441
|
+
acceptTask(res){
|
|
442
|
+
this.taskPopup.data.canRefuse=res.canRefuse
|
|
443
|
+
this.taskPopup.data.canAccept=res.canAccept
|
|
444
|
+
this.taskPopup.data.canReceive=res.canReceive
|
|
581
445
|
},
|
|
582
446
|
// 领取任务
|
|
583
|
-
claimTask(){
|
|
584
|
-
this
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
this.$lwToast.success(this.$lwLanguage.get('wms_project.pda.common.task.yiGet', '已领取'))
|
|
589
|
-
|
|
590
|
-
this.taskPopup.data.canRefuse=res.canRefuse
|
|
591
|
-
this.taskPopup.data.canAccept=res.canAccept
|
|
592
|
-
this.taskPopup.data.canReceive=res.canReceive
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
})
|
|
447
|
+
claimTask(res){
|
|
448
|
+
this.taskPopup.data.canRefuse=res.canRefuse
|
|
449
|
+
this.taskPopup.data.canAccept=res.canAccept
|
|
450
|
+
this.taskPopup.data.canReceive=res.canReceive
|
|
596
451
|
},
|
|
597
452
|
// 执行任务
|
|
598
|
-
startTask(){
|
|
599
|
-
if (!
|
|
600
|
-
this.$lwShowErrorMsg(
|
|
601
|
-
this.$lwLanguage.get(
|
|
602
|
-
'wms_project.pda.common.task.taskNotSet',
|
|
603
|
-
'作业任务配置项未配置'
|
|
604
|
-
) + ':' + (this.taskPopup.data.task.operationTypeLabel || '当前')
|
|
605
|
-
)
|
|
606
|
-
return
|
|
607
|
-
}
|
|
453
|
+
startTask({jump, query}){
|
|
454
|
+
if (!jump) return
|
|
608
455
|
|
|
609
|
-
this.
|
|
610
|
-
|
|
611
|
-
this.$lwApi.task.startTask({
|
|
612
|
-
taskId: this.taskPopup.data.taskId,
|
|
613
|
-
checkAssign:true
|
|
614
|
-
}).then(() => {
|
|
615
|
-
this.taskPopup.show = false
|
|
616
|
-
setTimeout(()=>{
|
|
617
|
-
this.$router.push({
|
|
618
|
-
path: this.taskPopup.data.task.taskPage,
|
|
619
|
-
query:{
|
|
620
|
-
lwTaskId: this.taskPopup.data.taskId,
|
|
621
|
-
lwComeFrom:'task',
|
|
622
|
-
lwTaskNo: this.taskPopup.data.task.taskNo
|
|
623
|
-
}
|
|
624
|
-
})
|
|
625
|
-
},1)
|
|
626
|
-
}).catch(()=>this.taskPopup.isJump = false)
|
|
456
|
+
this.$router.push(query)
|
|
627
457
|
},
|
|
628
458
|
|
|
629
459
|
|
|
630
|
-
//
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
}
|
|
460
|
+
// 结束任务
|
|
461
|
+
overTask(){
|
|
462
|
+
this.overTaskPopup.show = true
|
|
463
|
+
},
|
|
464
|
+
// 结束任务 - 确认结束
|
|
465
|
+
overTaskConfirm(){
|
|
466
|
+
this.taskPopup.show = false
|
|
467
|
+
},
|
|
634
468
|
},
|
|
635
|
-
|
|
469
|
+
destroyed(){
|
|
470
|
+
|
|
471
|
+
window.sessionStorage.setItem('lwTaskTabsActive',JSON.stringify({
|
|
472
|
+
taskTypeActive: this.taskTypeActive,
|
|
473
|
+
taskStatusActive: this.taskStatus.active
|
|
474
|
+
}))
|
|
636
475
|
clearTimeout(this.autoTimer)
|
|
637
476
|
},
|
|
638
477
|
|
|
@@ -679,29 +518,4 @@ export default {
|
|
|
679
518
|
}
|
|
680
519
|
|
|
681
520
|
|
|
682
|
-
.lw-task-page-order-title{
|
|
683
|
-
font-size: 14px;
|
|
684
|
-
}
|
|
685
|
-
.lw-task-page-order-body{
|
|
686
|
-
padding: 10px 0;
|
|
687
|
-
}
|
|
688
|
-
.lw-task-page-order-end{
|
|
689
|
-
font-size: 12px;
|
|
690
|
-
font-weight: bold;
|
|
691
|
-
padding-top: 10px;
|
|
692
|
-
border-top: 1px solid #F0F0F0;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
.lw-task-page-task-box{
|
|
697
|
-
margin: 5px 0;
|
|
698
|
-
|
|
699
|
-
.lw-task-page-task-title{
|
|
700
|
-
text-align: right;
|
|
701
|
-
width: 80px;
|
|
702
|
-
flex-shrink: 0;
|
|
703
|
-
align-self: self-start;
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
|
|
707
521
|
</style>
|
|
File without changes
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
任务搜索页
|
|
3
|
+
@author: 张文
|
|
4
|
+
@date: 2022-11-25
|
|
5
|
+
-->
|
|
6
|
+
<template>
|
|
7
|
+
<div>
|
|
8
|
+
|
|
9
|
+
<lw-nav-bar :title="$lwLanguage.get('','任务搜索')"/>
|
|
10
|
+
|
|
11
|
+
<div class="lw-global-page-box">
|
|
12
|
+
|
|
13
|
+
<div class="lw-global-model-box">
|
|
14
|
+
|
|
15
|
+
<lw-input
|
|
16
|
+
v-model="search.value"
|
|
17
|
+
:get-focus.sync="search.focus"
|
|
18
|
+
:placeholder="$lwLanguage.get('','输入关键字搜索')"
|
|
19
|
+
:show-bottom-border="false"
|
|
20
|
+
@confirm="searchConfirm"
|
|
21
|
+
/>
|
|
22
|
+
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<div
|
|
26
|
+
v-if="show"
|
|
27
|
+
class="lw-global-tab-box"
|
|
28
|
+
style="margin-top: 10px;"
|
|
29
|
+
>
|
|
30
|
+
<van-tabs type="card" animated v-model="tabActive">
|
|
31
|
+
|
|
32
|
+
<!-- 可领取|接受任务 -->
|
|
33
|
+
<van-tab name="accept">
|
|
34
|
+
<template #title>
|
|
35
|
+
<div class="lw-global-tip-box">
|
|
36
|
+
<span>
|
|
37
|
+
{{ $lwLanguage.get('', '可领取 | 待接收') }}
|
|
38
|
+
</span>
|
|
39
|
+
<span class="lw-global-tip">{{ $lwTip(acceptTaskList.length) }}</span>
|
|
40
|
+
</div>
|
|
41
|
+
</template>
|
|
42
|
+
<task-item
|
|
43
|
+
v-for="(i,k) in acceptTaskList"
|
|
44
|
+
:key="k"
|
|
45
|
+
:item="i"
|
|
46
|
+
show-header-type
|
|
47
|
+
@click="taskItemClick(i)"
|
|
48
|
+
/>
|
|
49
|
+
<lw-not-data v-if="!acceptTaskList.length"/>
|
|
50
|
+
</van-tab>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
<!-- 进行中 -->
|
|
54
|
+
<van-tab name="ing">
|
|
55
|
+
<template #title>
|
|
56
|
+
<div class="lw-global-tip-box">
|
|
57
|
+
<span>
|
|
58
|
+
{{ $lwLanguage.get('', '进行中') }}
|
|
59
|
+
</span>
|
|
60
|
+
<span class="lw-global-tip">{{ $lwTip(taskList.length) }}</span>
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
<task-item
|
|
64
|
+
v-for="(i,k) in taskList"
|
|
65
|
+
:key="k"
|
|
66
|
+
:item="i"
|
|
67
|
+
show-header-type
|
|
68
|
+
@click="taskItemClick(i)"
|
|
69
|
+
/>
|
|
70
|
+
<lw-not-data v-if="!taskList.length"/>
|
|
71
|
+
</van-tab>
|
|
72
|
+
</van-tabs>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
<!-- 任务详情查看 -->
|
|
80
|
+
<look-task-content-popup
|
|
81
|
+
v-model="taskPopup.show"
|
|
82
|
+
:item="taskPopup.data"
|
|
83
|
+
@acceptTask="acceptTask"
|
|
84
|
+
@claimTask="claimTask"
|
|
85
|
+
@startTask="startTask"
|
|
86
|
+
@overTask="overTask"
|
|
87
|
+
/>
|
|
88
|
+
|
|
89
|
+
<!-- 结束任务弹框 -->
|
|
90
|
+
<over-task-popup
|
|
91
|
+
v-model="overTaskPopup.show"
|
|
92
|
+
:task-id="this.taskPopup.data.taskId"
|
|
93
|
+
@backConfirm="overTaskConfirm"
|
|
94
|
+
/>
|
|
95
|
+
|
|
96
|
+
</div>
|
|
97
|
+
</template>
|
|
98
|
+
|
|
99
|
+
<script>
|
|
100
|
+
import taskItem from "../components/taskItem.vue";
|
|
101
|
+
import lookTaskContentPopup from "../components/lookTaskContentPopup.vue";
|
|
102
|
+
import overTaskPopup from "../components/overTaskPopup.vue";
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
export default {
|
|
106
|
+
name: "lwSearchTaskPage",
|
|
107
|
+
components:{
|
|
108
|
+
taskItem,
|
|
109
|
+
lookTaskContentPopup,
|
|
110
|
+
overTaskPopup,
|
|
111
|
+
},
|
|
112
|
+
data() {
|
|
113
|
+
return {
|
|
114
|
+
show: false,
|
|
115
|
+
search:{
|
|
116
|
+
value:'',
|
|
117
|
+
focus:true,
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
tabActive:'',
|
|
121
|
+
taskList:[],
|
|
122
|
+
acceptTaskList:[],
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
// 查看任务弹出框
|
|
126
|
+
taskPopup:{
|
|
127
|
+
show:false,
|
|
128
|
+
data:{}
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
// 结束任务弹框
|
|
132
|
+
overTaskPopup:{
|
|
133
|
+
show:false,
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
methods: {
|
|
138
|
+
// 确认搜索任务
|
|
139
|
+
searchConfirm(){
|
|
140
|
+
const key = this.search.value
|
|
141
|
+
if (!key){
|
|
142
|
+
this.$lwShowErrorMsg(
|
|
143
|
+
this.$lwLanguage.get('','关键字不能为空')
|
|
144
|
+
)
|
|
145
|
+
return
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
this.$lwApi.task.searchTask({
|
|
149
|
+
key
|
|
150
|
+
}).then(res=>{
|
|
151
|
+
this.show = true
|
|
152
|
+
this.taskList = res.progressingTaskList || []
|
|
153
|
+
this.acceptTaskList = res.canAcceptTaskList || []
|
|
154
|
+
})
|
|
155
|
+
},
|
|
156
|
+
// 任务项被点击
|
|
157
|
+
taskItemClick(item){
|
|
158
|
+
this.taskPopup.data = item
|
|
159
|
+
this.taskPopup.show = true
|
|
160
|
+
},
|
|
161
|
+
|
|
162
|
+
// 接受任务
|
|
163
|
+
acceptTask(res){
|
|
164
|
+
this.taskPopup.data.canRefuse=res.canRefuse
|
|
165
|
+
this.taskPopup.data.canAccept=res.canAccept
|
|
166
|
+
this.taskPopup.data.canReceive=res.canReceive
|
|
167
|
+
},
|
|
168
|
+
// 领取任务
|
|
169
|
+
claimTask(res){
|
|
170
|
+
this.taskPopup.data.canRefuse=res.canRefuse
|
|
171
|
+
this.taskPopup.data.canAccept=res.canAccept
|
|
172
|
+
this.taskPopup.data.canReceive=res.canReceive
|
|
173
|
+
},
|
|
174
|
+
// 执行任务
|
|
175
|
+
startTask({jump, query}){
|
|
176
|
+
if (!jump) return
|
|
177
|
+
|
|
178
|
+
this.$router.replace(query)
|
|
179
|
+
},
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
// 结束任务
|
|
183
|
+
overTask(){
|
|
184
|
+
this.overTaskPopup.show = true
|
|
185
|
+
},
|
|
186
|
+
// 结束任务 - 确认结束
|
|
187
|
+
overTaskConfirm(){
|
|
188
|
+
this.taskPopup.show = false
|
|
189
|
+
},
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
</script>
|
|
193
|
+
|
|
194
|
+
<style scoped lang="less">
|
|
195
|
+
|
|
196
|
+
</style>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# 任务页 [查看文档](http://note.youdao.com/groupshare/?token=58B9AEB2DA1749588A0E6D8C06057CA7&gid=136361463)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* 选择时区
|
|
3
|
-
* @author: 张文
|
|
4
|
-
* @date 2022-08-02
|
|
5
|
-
* */
|
|
6
|
-
|
|
7
|
-
import lwTimezonePage from "./index.vue";
|
|
8
|
-
|
|
9
|
-
lwTimezonePage.install = Vue => Vue.component(lwTimezonePage.name, lwTimezonePage)
|
|
10
|
-
|
|
11
|
-
export default lwTimezonePage
|
|
1
|
+
/*
|
|
2
|
+
* 选择时区
|
|
3
|
+
* @author: 张文
|
|
4
|
+
* @date 2022-08-02
|
|
5
|
+
* */
|
|
6
|
+
|
|
7
|
+
import lwTimezonePage from "./index.vue";
|
|
8
|
+
|
|
9
|
+
lwTimezonePage.install = Vue => Vue.component(lwTimezonePage.name, lwTimezonePage)
|
|
10
|
+
|
|
11
|
+
export default lwTimezonePage
|