@logwire/logwire-wms-pda-ui 1.2.0 → 3.1.1

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.
Files changed (662) hide show
  1. package/README.md +117 -117
  2. package/dist/BlockInfo.3487efb0.mjs +47 -0
  3. package/dist/InboundQualityExecuteView.a6d80f60.mjs +23 -0
  4. package/dist/InboundQualityTaskListView.ae990a72.mjs +23 -0
  5. package/dist/InboundReceiveAllocSkuExecuteView.95b7981d.mjs +23 -0
  6. package/dist/InboundReceiveAllocSnExecuteView.484c2620.mjs +23 -0
  7. package/dist/InboundReceiveAllocTabListView.461436d3.mjs +23 -0
  8. package/dist/InboundReceiveCaseExecuteView.bb1b67a3.mjs +217 -0
  9. package/dist/InboundReceiveCaseScanView.e10901f0.mjs +83 -0
  10. package/dist/InboundReceiveLpnBatchExecuteView.ca08118b.mjs +23 -0
  11. package/dist/InboundReceiveLpnExecuteView.8dad3f06.mjs +23 -0
  12. package/dist/InboundReceiveLpnScanView.09bc3a30.mjs +23 -0
  13. package/dist/InboundReceiveRandomSkuExecuteView.38abae97.mjs +23 -0
  14. package/dist/InboundReceiveRandomSkuScanView.9b6d5afe.mjs +23 -0
  15. package/dist/InboundReceiveRandomSkuSnExecuteView.f87c58dc.mjs +23 -0
  16. package/dist/InboundReceiveSkuAdvanceView.e3b3cf46.mjs +23 -0
  17. package/dist/InboundReceiveSkuDirectView.3804b727.mjs +23 -0
  18. package/dist/InboundReceiveSkuScanView.97c6d301.mjs +23 -0
  19. package/dist/LwInboundSortingAsnView.146bc442.mjs +23 -0
  20. package/dist/LwInboundSortingByContainerView.31d39da9.mjs +23 -0
  21. package/dist/LwInboundSortingByOrderView.724e2bab.mjs +23 -0
  22. package/dist/LwInboundSortingIndexView.42d87950.mjs +23 -0
  23. package/dist/LwOutboundReprintBoxView.9b848144.mjs +180 -0
  24. package/dist/LwOutboundStockoutExecuteView.a3725330.mjs +76 -0
  25. package/dist/LwOutboundStockoutListView.dedaa8b9.mjs +123 -0
  26. package/dist/MoveRandomWholeCaseView.f88904ff.mjs +20 -0
  27. package/dist/MoveTaskWholeCaseDownView.c41d4e56.mjs +20 -0
  28. package/dist/MoveTaskWholeCaseUpView.88056e7d.mjs +20 -0
  29. package/dist/MoveTaskWholeIndexView.7423ada1.mjs +20 -0
  30. package/dist/OutboundBlockBoxListView.7b0db7db.mjs +83 -0
  31. package/dist/OutboundBlockExecuteView.c3eec33f.mjs +166 -0
  32. package/dist/action.0234330b.mjs +26 -0
  33. package/dist/action.12b64d92.mjs +26 -0
  34. package/dist/action.1657efd5.mjs +26 -0
  35. package/dist/action.1ac0d530.mjs +26 -0
  36. package/dist/action.3323de3b.mjs +26 -0
  37. package/dist/action.368c9235.mjs +26 -0
  38. package/dist/action.4a89bd61.mjs +26 -0
  39. package/dist/action.4f6ba001.mjs +26 -0
  40. package/dist/action.51830209.mjs +26 -0
  41. package/dist/action.66b154f0.mjs +26 -0
  42. package/dist/action.674d5079.mjs +26 -0
  43. package/dist/action.684e20cd.mjs +26 -0
  44. package/dist/action.6c1e4592.mjs +26 -0
  45. package/dist/action.709285c2.mjs +26 -0
  46. package/dist/action.7b4fb35c.mjs +26 -0
  47. package/dist/action.96c2b54b.mjs +26 -0
  48. package/dist/action.979e886f.mjs +26 -0
  49. package/dist/action.b7e8794e.mjs +26 -0
  50. package/dist/action.bb169b8d.mjs +26 -0
  51. package/dist/action.bdf4d219.mjs +26 -0
  52. package/dist/action.c4543175.mjs +26 -0
  53. package/dist/action.cc8b6482.mjs +22 -0
  54. package/dist/action.d1bc2cc4.mjs +26 -0
  55. package/dist/action.e3c182ba.mjs +26 -0
  56. package/dist/action.ebd52caf.mjs +22 -0
  57. package/dist/action.ef70b920.mjs +26 -0
  58. package/dist/action.f25bd0c2.mjs +26 -0
  59. package/dist/action.f9dba895.mjs +26 -0
  60. package/dist/add.dd390a20.mjs +26 -0
  61. package/dist/addOrder.6fd7cb00.mjs +26 -0
  62. package/dist/allCheck.87b682df.mjs +26 -0
  63. package/dist/aloneAction.b44cee97.mjs +26 -0
  64. package/dist/boxAction.057da96b.mjs +26 -0
  65. package/dist/caseAction.2c4fc2bc.mjs +26 -0
  66. package/dist/console.7840ce91.mjs +26 -0
  67. package/dist/consoleInfo.6a9e23f4.mjs +26 -0
  68. package/dist/content.4e9e0afd.mjs +26 -0
  69. package/dist/contentInfo.e46095fe.mjs +26 -0
  70. package/dist/customer.79633ad1.mjs +26 -0
  71. package/dist/device.d43bd03a.mjs +26 -0
  72. package/dist/generate.8b91a9d8.mjs +26 -0
  73. package/dist/home.a8091216.mjs +22 -0
  74. package/dist/index.003274c3.mjs +26 -0
  75. package/dist/index.03c9bc30.mjs +26 -0
  76. package/dist/index.0b1c7ecb.mjs +26 -0
  77. package/dist/index.1086f5db.mjs +38 -0
  78. package/dist/index.11d753a1.mjs +26 -0
  79. package/dist/index.193dd1b9.mjs +26 -0
  80. package/dist/index.2338d10c.mjs +26 -0
  81. package/dist/index.253cf171.mjs +26 -0
  82. package/dist/index.2987600f.mjs +26 -0
  83. package/dist/index.2b10d6da.mjs +26 -0
  84. package/dist/index.2c13370e.mjs +45 -0
  85. package/dist/index.3cd0d854.mjs +26 -0
  86. package/dist/index.3eee7c36.mjs +26 -0
  87. package/dist/index.426b0236.mjs +26 -0
  88. package/dist/index.4aa0533f.mjs +26 -0
  89. package/dist/index.4ca99f5f.mjs +26 -0
  90. package/dist/index.5293dbda.mjs +58 -0
  91. package/dist/index.5cf6bd1b.mjs +60659 -0
  92. package/dist/index.6285d960.mjs +26 -0
  93. package/dist/index.6367d8bb.mjs +25 -0
  94. package/dist/index.6dfe9f62.mjs +26 -0
  95. package/dist/index.724911f7.mjs +26 -0
  96. package/dist/index.7539d91b.mjs +22 -0
  97. package/dist/index.7a69c9fa.mjs +26 -0
  98. package/dist/index.7d5c0004.mjs +22 -0
  99. package/dist/index.7d940910.mjs +26 -0
  100. package/dist/index.7dcf630d.mjs +26 -0
  101. package/dist/index.9008d54c.mjs +26 -0
  102. package/dist/index.93b09268.mjs +26 -0
  103. package/dist/index.95b0f7f5.mjs +76 -0
  104. package/dist/index.96780357.mjs +26 -0
  105. package/dist/index.9b8d0de7.mjs +26 -0
  106. package/dist/index.9d353631.mjs +26 -0
  107. package/dist/index.9e5eab15.mjs +26 -0
  108. package/dist/index.a3384e66.mjs +26 -0
  109. package/dist/index.a889e1f0.mjs +26 -0
  110. package/dist/index.b0c8bf7d.mjs +26 -0
  111. package/dist/index.b0c8d29a.mjs +26 -0
  112. package/dist/index.b1f56e66.mjs +26 -0
  113. package/dist/index.bfb835a9.mjs +26 -0
  114. package/dist/index.cc9cfbbc.mjs +26 -0
  115. package/dist/index.d552b591.mjs +26 -0
  116. package/dist/index.dc6c5c7c.mjs +26 -0
  117. package/dist/index.e0b1afe0.mjs +26 -0
  118. package/dist/index.e278bd59.mjs +26 -0
  119. package/dist/index.e31e3db7.mjs +26 -0
  120. package/dist/index.es.js +5 -0
  121. package/dist/index.f218d2f1.mjs +26 -0
  122. package/dist/index.fa89c5c8.mjs +22 -0
  123. package/dist/index.fcfe4e56.mjs +26 -0
  124. package/dist/index.fd8fb4a5.mjs +26 -0
  125. package/dist/index.umd.js +24 -0
  126. package/dist/language.d6a1849c.mjs +26 -0
  127. package/dist/large.0a8ca190.mjs +26 -0
  128. package/dist/line.ebcb7dab.mjs +26 -0
  129. package/dist/lpn.1d1e4768.mjs +26 -0
  130. package/dist/lpnAction.b26481e4.mjs +26 -0
  131. package/dist/lpnAction.cd5b7aa7.mjs +26 -0
  132. package/dist/lpnBatchAction.40f98816.mjs +26 -0
  133. package/dist/menuOne.7d125654.mjs +38 -0
  134. package/dist/menuTwo.46c8b970.mjs +36 -0
  135. package/dist/msg.91f58378.mjs +26 -0
  136. package/dist/newBale.90588bd0.mjs +26 -0
  137. package/dist/newBale.e51a5aaf.mjs +26 -0
  138. package/dist/newLpn.a19ce053.mjs +26 -0
  139. package/dist/notAloneAction.e289ff12.mjs +26 -0
  140. package/dist/over.13b511ab.mjs +26 -0
  141. package/dist/page.c4821cc4.mjs +26 -0
  142. package/dist/print.08bc5962.mjs +26 -0
  143. package/dist/printLabel.83d4f9a6.mjs +26 -0
  144. package/dist/queryByLocationCode.df46cf21.mjs +26 -0
  145. package/dist/queryBySkuCode.39bfe2d6.mjs +26 -0
  146. package/dist/sample.d791b154.mjs +26 -0
  147. package/dist/search.a080cb08.mjs +26 -0
  148. package/dist/skuAction.37fab7ab.mjs +26 -0
  149. package/dist/skuCheck.67853719.mjs +26 -0
  150. package/dist/smallPage.57acfec8.mjs +26 -0
  151. package/dist/sowAction.1cac1ba3.mjs +26 -0
  152. package/dist/style.css +1 -0
  153. package/dist/taskEntrance.18082375.mjs +26 -0
  154. package/dist/timezone.9574e603.mjs +26 -0
  155. package/dist/warehouse.70d15a21.mjs +26 -0
  156. package/package.json +57 -43
  157. package/src/api/common/Msg.js +34 -34
  158. package/src/api/common/Print.js +9 -1
  159. package/src/api/common/Task.js +16 -0
  160. package/src/api/common/UUID.js +2 -0
  161. package/src/api/common/User.js +15 -0
  162. package/src/api/common/barcode.js +165 -165
  163. package/src/api/common/common.js +72 -48
  164. package/src/api/inbound/index.js +3 -1
  165. package/src/api/inbound/printLabel.js +34 -0
  166. package/src/api/inbound/quality.js +1 -1
  167. package/src/api/inbound/receive.js +20 -0
  168. package/src/api/inbound/sorting.js +198 -0
  169. package/src/api/inner/check/action.js +32 -0
  170. package/src/api/inner/count/console.js +61 -0
  171. package/src/api/inner/dead/action.js +24 -24
  172. package/src/api/inner/dead/large.js +78 -78
  173. package/src/api/inner/dead/query.js +17 -0
  174. package/src/api/inner/dead/small.js +8 -0
  175. package/src/api/inner/disposeAbnormal/action.js +24 -0
  176. package/src/api/inner/materialApply/index.js +1 -1
  177. package/src/api/inner/move/quickMove.js +51 -0
  178. package/src/api/inner/move/taskMove.js +176 -19
  179. package/src/api/inner/quality/action.js +2 -2
  180. package/src/api/inner/quality/sample.js +9 -0
  181. package/src/api/inner/snCheck/snCheck.js +58 -0
  182. package/src/api/inventory/inventory.js +23 -0
  183. package/src/api/outbound/bale/aloneBale/action.js +123 -123
  184. package/src/api/outbound/bale/aloneBale/index.js +24 -24
  185. package/src/api/outbound/bale/baleChange/action.js +51 -51
  186. package/src/api/outbound/bale/baleChange/addCheck.js +33 -33
  187. package/src/api/outbound/bale/checkBale/action.js +141 -132
  188. package/src/api/outbound/bale/checkBale/index.js +52 -52
  189. package/src/api/outbound/bale/packTableConfig.js +25 -0
  190. package/src/api/outbound/handover/index.js +42 -33
  191. package/src/api/outbound/handover/lpn.js +33 -33
  192. package/src/api/outbound/handover/mixin.js +42 -42
  193. package/src/api/outbound/handover/pageBox.js +24 -24
  194. package/src/api/outbound/lpnPack/index.js +79 -0
  195. package/src/api/outbound/packCollect/index.js +24 -0
  196. package/src/api/outbound/pick/sow.js +9 -0
  197. package/src/api/outbound/pickMerge/index.js +9 -0
  198. package/src/api/outbound/reprint-box/index.js +9 -0
  199. package/src/api/outbound/sow/action.js +9 -0
  200. package/src/api/outbound/sow/index.js +18 -0
  201. package/src/api/outbound/sowCollect/index.js +24 -0
  202. package/src/api/outbound/summary/box.js +9 -0
  203. package/src/api/process/order.js +149 -0
  204. package/src/api/process/work_process.js +17 -0
  205. package/src/api/process/work_process_screen.js +27 -0
  206. package/src/api/process/work_table.js +120 -0
  207. package/src/api/receive/putaway.js +32 -1
  208. package/src/assets/css/changeVant.less +29 -29
  209. package/src/assets/css/global.less +468 -428
  210. package/src/assets/css/var.less +99 -99
  211. package/src/assets/css//345/205/250/345/261/200/346/240/267/345/274/217.md +1 -1
  212. package/src/assets/img/lwInputIcon/scanIcon.png +0 -0
  213. package/src/assets/img/lwLoginModel/captcha.png +0 -0
  214. package/src/assets/img/menu/packCollect.png +0 -0
  215. package/src/assets/img/menu/sorting.png +0 -0
  216. package/src/assets/img/menu/sowCollect.png +0 -0
  217. package/src/components/module/AbnormalInput/index.js +11 -11
  218. package/src/components/module/AbnormalInput/index.vue +322 -322
  219. 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
  220. package/src/components/module/InnerAbnormal/index.js +11 -11
  221. package/src/components/module/InnerAbnormal/index.vue +120 -120
  222. 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
  223. package/src/components/module/Login/index.vue +84 -5
  224. package/src/components/module/Login//347/231/273/345/275/225/346/250/241/345/235/227.md +1 -1
  225. package/src/components/module/Lot/index.vue +205 -205
  226. package/src/components/module/Lot//346/211/271/346/254/241/345/261/236/346/200/247.md +4 -4
  227. package/src/components/module/LotLook/index.vue +93 -93
  228. package/src/components/module/LotLook//346/225/260/346/215/256/346/237/245/347/234/213.md +3 -3
  229. package/src/components/module/Menu//350/217/234/345/215/225/346/240/217.md +1 -1
  230. package/src/components/module/MsgItem/index.vue +124 -124
  231. 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
  232. package/src/components/module/OffLinePopup/index.js +12 -0
  233. package/src/components/module/OffLinePopup/index.vue +110 -0
  234. 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
  235. package/src/components/module/OnLine/index.vue +217 -195
  236. 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
  237. package/src/components/module/ReceiveAbnormal/index.vue +956 -956
  238. 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
  239. package/src/components/module/ScanDataList/index.vue +357 -333
  240. 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
  241. package/src/components/module/SkuInfo/index.vue +68 -68
  242. 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
  243. package/src/components/module/SnSearchSku/index.js +11 -0
  244. package/src/components/module/SnSearchSku/index.vue +150 -0
  245. 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
  246. package/src/components/module/SystemInfo/index.vue +229 -227
  247. 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
  248. package/src/components/module/index.js +54 -48
  249. package/src/components/page/common/Device/index.vue +186 -186
  250. package/src/components/page/common/Language/index.vue +12 -7
  251. package/src/components/page/common/Login/index.vue +2 -2
  252. package/src/components/page/common/Msg/index.vue +8 -1
  253. package/src/components/page/common/My/index.vue +6 -5
  254. package/src/components/page/common/Print/index.vue +311 -311
  255. package/src/components/page/common/Task/components/itemContent.vue +74 -0
  256. package/src/components/page/common/Task/components/itemHeader.vue +61 -0
  257. package/src/components/page/common/Task/components/lookTaskContentPopup.vue +180 -0
  258. package/src/components/page/common/Task/components/overTaskPopup.vue +108 -0
  259. package/src/components/page/common/Task/components/taskItem.vue +87 -0
  260. package/src/components/page/common/Task/{index.js → index/index.js} +0 -0
  261. package/src/components/page/common/Task/{index.vue → index/index.vue} +80 -266
  262. package/src/components/page/common/Task/{ → index/}/344/273/273/345/212/241/351/241/265.md +0 -0
  263. package/src/components/page/common/Task/searchTask/index.js +11 -0
  264. package/src/components/page/common/Task/searchTask/index.vue +196 -0
  265. 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
  266. package/src/components/page/common/Timezone/index.js +11 -11
  267. package/src/components/page/common/Timezone/index.vue +85 -82
  268. package/src/components/page/common/Warehouse/index.vue +221 -221
  269. package/src/components/page/common/index.js +45 -42
  270. package/src/components/page/config/masterLocation/masterLocationConfig/action/index.vue +33 -20
  271. package/src/components/page/config/masterLocation/masterLocationConfig/index/index.vue +129 -112
  272. package/src/components/page/config/masterLocation/masterLocationQuery/action/queryBySkuCode.vue +1 -0
  273. package/src/components/page/config/newProject/action/index.vue +16 -24
  274. package/src/components/page/count/components/CountBoard.vue +6 -1
  275. package/src/components/page/count/components/RandomCount.vue +168 -154
  276. package/src/components/page/count/console/components/itemContent.vue +74 -0
  277. package/src/components/page/count/console/components/itemHeader.vue +61 -0
  278. package/src/components/page/count/console/components/lookTaskContentPopup.vue +180 -0
  279. package/src/components/page/count/console/components/overTaskPopup.vue +108 -0
  280. package/src/components/page/count/console/components/randomCountItem.vue +146 -0
  281. package/src/components/page/count/console/components/taskItem.vue +87 -0
  282. package/src/components/page/count/console/index/index.js +11 -0
  283. package/src/components/page/count/console/index/index.vue +922 -0
  284. 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
  285. package/src/components/page/count/index.js +4 -0
  286. package/src/components/page/count/inv/action/index.vue +64 -10
  287. package/src/components/page/count/inv/index/index.vue +13 -3
  288. package/src/components/page/count/loc/action/index.vue +561 -546
  289. package/src/components/page/count/loc/index/index.vue +8 -2
  290. package/src/components/page/count//347/233/230/347/202/271.md +0 -0
  291. package/src/components/page/inbound/components/AllocScanListItem.vue +14 -2
  292. package/src/components/page/inbound/components/AsnInfo.vue +17 -2
  293. package/src/components/page/inbound/components/AsnSkuInfo.vue +17 -2
  294. package/src/components/page/inbound/components/QualityCard.vue +552 -171
  295. package/src/components/page/inbound/components/SearchBar.vue +1 -1
  296. package/src/components/page/inbound/components/SkuReceiveInfo.vue +2 -2
  297. package/src/components/page/inbound/components/SnsList.vue +103 -103
  298. package/src/components/page/inbound/components/SortingAsnInfo.vue +243 -0
  299. package/src/components/page/inbound/components/SortingBoxInfo.vue +118 -0
  300. package/src/components/page/inbound/components/printLabelPopup.vue +353 -0
  301. package/src/components/page/inbound/index.js +10 -2
  302. package/src/components/page/inbound/receive/home/index.vue +29 -16
  303. package/src/components/page/inbound/receive/index/index.vue +101 -92
  304. package/src/components/page/inbound/receive/printLabel/index.js +10 -0
  305. package/src/components/page/inbound/receive/printLabel/index.vue +209 -0
  306. package/src/components/page/inbound/receive/printLabel//346/211/223/345/215/260/346/240/207/347/255/276.md +0 -0
  307. package/src/components/page/inbound/receive/quality/LwInboundQualityExecutePage.vue +457 -457
  308. package/src/components/page/inbound/receive/quality/LwInboundQualityTaskListPage.vue +195 -164
  309. package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSkuExecutePage.vue +598 -595
  310. package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSnExecutePage.vue +235 -233
  311. package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseExecutePage.vue +327 -312
  312. package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseScanPage.vue +92 -80
  313. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnBatchExecutePage.vue +385 -386
  314. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnExecutePage.vue +222 -216
  315. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnScanPage.vue +80 -80
  316. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuExecutePage.vue +345 -340
  317. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuScanPage.vue +111 -111
  318. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuSnExecutePage.vue +345 -340
  319. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuAdvancePage.vue +373 -330
  320. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuDirectPage.vue +467 -424
  321. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuScanPage.vue +162 -161
  322. package/src/components/page/inbound/sorting/LwInboundSortingAsnPage.vue +81 -0
  323. package/src/components/page/inbound/sorting/LwInboundSortingByContainerPage.vue +588 -0
  324. package/src/components/page/inbound/sorting/LwInboundSortingByOrderPage.vue +548 -0
  325. package/src/components/page/inbound/sorting/LwInboundSortingIndexPage.vue +59 -0
  326. package/src/components/page/inbound/sorting/index.js +22 -0
  327. package/src/components/page/inbound/sorting//345/210/206/346/213/243.md +0 -0
  328. package/src/components/page/inbound/unload/action/index.js +11 -0
  329. package/src/components/page/inbound/unload/action/index.vue +557 -0
  330. package/src/components/page/inbound/unload/add/index.js +11 -0
  331. package/src/components/page/inbound/unload/add/index.vue +308 -0
  332. package/src/components/page/inbound/unload/index/index.js +11 -0
  333. package/src/components/page/inbound/unload/index/index.vue +159 -0
  334. package/src/components/page/inbound/unload/index.js +15 -0
  335. package/src/components/page/inbound/unload//345/215/270/350/264/247.md +0 -0
  336. package/src/components/page/index.js +41 -41
  337. package/src/components/page/inner/abnormalMove/index/index.vue +466 -466
  338. package/src/components/page/inner/borrow/action/index.vue +875 -831
  339. package/src/components/page/inner/borrow/index/index.vue +249 -249
  340. package/src/components/page/inner/caseQuickMove/index/index.js +11 -0
  341. package/src/components/page/inner/caseQuickMove/index/index.vue +431 -0
  342. 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
  343. package/src/components/page/inner/check/action/action.vue +867 -0
  344. package/src/components/page/inner/check/action/index.js +11 -0
  345. package/src/components/page/inner/dead/components/abnPopup.vue +83 -83
  346. package/src/components/page/inner/dead/components/bagItem.vue +110 -104
  347. package/src/components/page/inner/dead/components/boxListItem.vue +135 -135
  348. package/src/components/page/inner/dead/components/dataInfo.vue +94 -94
  349. package/src/components/page/inner/dead/components/lackPopup.vue +190 -190
  350. package/src/components/page/inner/dead/components/lpnListItem.vue +115 -115
  351. package/src/components/page/inner/dead/components/taskItem.vue +621 -570
  352. package/src/components/page/inner/dead/components/waitOverLpn.vue +74 -74
  353. package/src/components/page/inner/dead/large/index.vue +381 -376
  354. package/src/components/page/inner/dead/putaway/action/index.js +11 -11
  355. package/src/components/page/inner/dead/putaway/action/index.vue +131 -131
  356. package/src/components/page/inner/dead/putaway/components/collapseItem.vue +128 -128
  357. package/src/components/page/inner/dead/putaway/index/index.js +11 -11
  358. package/src/components/page/inner/dead/putaway/index/index.vue +63 -63
  359. package/src/components/page/inner/dead/query/action/action.vue +809 -0
  360. package/src/components/page/inner/dead/query/action/index.js +11 -0
  361. package/src/components/page/inner/dead/query/index/index.js +11 -0
  362. package/src/components/page/inner/dead/query/index/index.vue +130 -0
  363. package/src/components/page/inner/dead/small/index.js +11 -11
  364. package/src/components/page/inner/dead/small/index.vue +27 -13
  365. package/src/components/page/inner/dead/taskEntrance/index.js +11 -11
  366. package/src/components/page/inner/disposeAbnormal/action/index.vue +634 -524
  367. package/src/components/page/inner/disposeAbnormal/components/abnInfo/index.vue +5 -1
  368. package/src/components/page/inner/disposeAbnormal/components/disposePopup/index.vue +308 -229
  369. package/src/components/page/inner/disposeAbnormal/components/searchBar/index.vue +264 -264
  370. package/src/components/page/inner/disposeAbnormal/index/index.vue +248 -248
  371. package/src/components/page/inner/fragQuickMove/action/index.js +11 -0
  372. package/src/components/page/inner/fragQuickMove/action/index.vue +498 -0
  373. package/src/components/page/inner/fragQuickMove/index/index.js +11 -0
  374. package/src/components/page/inner/fragQuickMove/index/index.vue +222 -0
  375. 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
  376. package/src/components/page/inner/index.js +30 -2
  377. package/src/components/page/inner/lpnMove/action/index.vue +244 -243
  378. package/src/components/page/inner/lpnMove/index/index.vue +155 -155
  379. package/src/components/page/inner/materialApply/action/index.js +2 -2
  380. package/src/components/page/inner/materialApply/action/index.vue +555 -555
  381. package/src/components/page/inner/materialApply/generate/index.js +2 -2
  382. package/src/components/page/inner/materialApply/generate/index.vue +385 -385
  383. package/src/components/page/inner/movePutAway/index/index.vue +363 -363
  384. package/src/components/page/inner/quality/action/index.vue +713 -720
  385. package/src/components/page/inner/quality/components/lookData.vue +15 -10
  386. package/src/components/page/inner/quality/components/sampleInfo.vue +5 -5
  387. package/src/components/page/inner/quality/sample/index.vue +418 -426
  388. package/src/components/page/inner/randomMove/components/Down/index.vue +564 -507
  389. package/src/components/page/inner/randomMove/components/Up/index.vue +663 -587
  390. package/src/components/page/inner/randomMove/index/index.vue +123 -10
  391. package/src/components/page/inner/reportAbnormal/index/index.vue +251 -251
  392. package/src/components/page/inner/taskMove/index/index.vue +426 -49
  393. package/src/components/page/inner/taskMove/whole/MoveRandomWholeCase.vue +459 -0
  394. package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseDown.vue +328 -0
  395. package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseUp.vue +282 -0
  396. package/src/components/page/inner/taskMove/whole/MoveTaskWholeIndex.vue +519 -0
  397. package/src/components/page/inner/taskMove/whole/index.js +22 -0
  398. package/src/components/page/inventory/inventoryItem/index.vue +72 -0
  399. package/src/components/page/inventory/inventoryLotPage/index.vue +2 -1
  400. package/src/components/page/inventory/queryInventory/index/index.vue +368 -231
  401. package/src/components/page/inventory/queryInventory/page/index.vue +146 -9
  402. package/src/components/page/outbound/bale/aloneBale/action/index.vue +896 -779
  403. package/src/components/page/outbound/bale/aloneBale/index/index.vue +34 -5
  404. package/src/components/page/outbound/bale/aloneBale/newBale/index.vue +19 -0
  405. package/src/components/page/outbound/bale/baleChange/action/index.js +11 -11
  406. package/src/components/page/outbound/bale/baleChange/action/index.vue +604 -585
  407. package/src/components/page/outbound/bale/baleChange/index/index.js +11 -11
  408. package/src/components/page/outbound/bale/baleChange/skuCheck/index.js +11 -11
  409. package/src/components/page/outbound/bale/baleChange/skuCheck/index.vue +351 -351
  410. package/src/components/page/outbound/bale/checkBale/action/index.vue +1052 -941
  411. package/src/components/page/outbound/bale/checkBale/allCheck/index.vue +19 -3
  412. package/src/components/page/outbound/bale/checkBale/index/index.vue +41 -5
  413. package/src/components/page/outbound/bale/checkBale/newBale/index.vue +20 -3
  414. package/src/components/page/outbound/bale/components/checkPackConfig/index.vue +177 -0
  415. 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
  416. package/src/components/page/outbound/bale/components/containerInfo/index.vue +242 -242
  417. 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
  418. package/src/components/page/outbound/bale/components/delSku/index.vue +317 -317
  419. package/src/components/page/outbound/bale/components/partBlock/index.vue +201 -201
  420. package/src/components/page/outbound/bale/components/planCollapse/index.vue +392 -392
  421. package/src/components/page/outbound/bale/components/repeatCheck/index.vue +101 -101
  422. package/src/components/page/outbound/bale/components/storeInfo/index.vue +135 -135
  423. package/src/components/page/outbound/bale/components/storeInfoSkuList/index.vue +148 -128
  424. package/src/components/page/outbound/bale/components/suggestMaterial/index.vue +107 -0
  425. 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
  426. package/src/components/page/outbound/bale/mixins.js +236 -212
  427. package/src/components/page/outbound/block/LwOutboundBlockExecutePage.vue +316 -316
  428. package/src/components/page/outbound/boxTransfer/action/index.js +11 -11
  429. package/src/components/page/outbound/boxTransfer/action/index.vue +214 -214
  430. package/src/components/page/outbound/boxTransfer/index/index.js +11 -11
  431. package/src/components/page/outbound/boxTransfer/index/index.vue +174 -174
  432. package/src/components/page/outbound/delivery/action/index.vue +784 -784
  433. package/src/components/page/outbound/delivery/addOrder/index.vue +281 -281
  434. package/src/components/page/outbound/delivery/components/boxItem/index.vue +154 -154
  435. package/src/components/page/outbound/delivery/components/soAndLpnItem/index.vue +199 -199
  436. package/src/components/page/outbound/delivery/index/index.vue +205 -205
  437. package/src/components/page/outbound/handover/components/boxInfo.vue +51 -51
  438. package/src/components/page/outbound/handover/components/boxNumList.vue +158 -158
  439. package/src/components/page/outbound/handover/components/collapseItem.vue +136 -136
  440. package/src/components/page/outbound/handover/components/pageBox.vue +524 -524
  441. package/src/components/page/outbound/handover/customer/index.js +11 -11
  442. package/src/components/page/outbound/handover/index/index.js +11 -11
  443. package/src/components/page/outbound/handover/index/index.vue +5 -2
  444. package/src/components/page/outbound/handover/line/index.js +11 -11
  445. package/src/components/page/outbound/handover/lpn/index.js +11 -11
  446. package/src/components/page/outbound/index.js +162 -152
  447. package/src/components/page/outbound/lpnPack/action/index.js +11 -11
  448. package/src/components/page/outbound/lpnPack/action/index.vue +437 -287
  449. package/src/components/page/outbound/lpnPack/components/boxItem.vue +90 -0
  450. package/src/components/page/outbound/lpnPack/components/lpnActionInfo.vue +132 -113
  451. package/src/components/page/outbound/lpnPack/components/lpnItem.vue +126 -126
  452. package/src/components/page/outbound/lpnPack/index/index.js +11 -11
  453. package/src/components/page/outbound/lpnPack/index/index.vue +304 -166
  454. package/src/components/page/outbound/lpnPack/newLpnPack/index.js +11 -11
  455. package/src/components/page/outbound/lpnPack/newLpnPack/index.vue +95 -80
  456. package/src/components/page/outbound/lpnPack/over/index.js +11 -11
  457. package/src/components/page/outbound/lpnPack/over/index.vue +114 -85
  458. package/src/components/page/outbound/packCollect/components/containerInfo.vue +108 -0
  459. package/src/components/page/outbound/packCollect/index/index.js +11 -0
  460. package/src/components/page/outbound/packCollect/index/index.vue +192 -0
  461. package/src/components/page/outbound/packCollect//351/233/206/350/264/247/346/215/206/345/214/205.md +0 -0
  462. package/src/components/page/outbound/pick/alone/index.vue +551 -504
  463. package/src/components/page/outbound/pick/box/index.vue +380 -371
  464. package/src/components/page/outbound/pick/components/dataLookAndChange/index.vue +709 -671
  465. package/src/components/page/outbound/pick/components/splitPutDown/index.vue +208 -208
  466. package/src/components/page/outbound/pick/index/index.vue +579 -622
  467. package/src/components/page/outbound/pick/lpn/index.vue +326 -321
  468. package/src/components/page/outbound/pick/mixin/all.js +98 -98
  469. package/src/components/page/outbound/pick/mixin/aloneAndNotAlone.js +132 -132
  470. package/src/components/page/outbound/pick/notAlone/index.vue +692 -533
  471. package/src/components/page/outbound/pick/sow/index.vue +1387 -1290
  472. package/src/components/page/outbound/pickContainer/action/index.js +11 -11
  473. package/src/components/page/outbound/pickContainer/index/index.js +11 -11
  474. package/src/components/page/outbound/pickMerge/content/index.vue +179 -170
  475. package/src/components/page/outbound/reprint-box/LwOutboundReprintBoxListPage.vue +115 -118
  476. package/src/components/page/outbound/reprint-box/collapseItem.vue +71 -0
  477. package/src/components/page/outbound/sow/action/index.vue +80 -29
  478. package/src/components/page/outbound/sow/components/sowLotItem/index.vue +142 -0
  479. 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
  480. package/src/components/page/outbound/sow/index/index.vue +399 -371
  481. package/src/components/page/outbound/sowCollect/index/index.js +11 -0
  482. package/src/components/page/outbound/sowCollect/index/index.vue +234 -0
  483. package/src/components/page/outbound/sowCollect//346/222/255/347/247/215/351/233/206/350/264/247.md +0 -0
  484. package/src/components/page/outbound/stockout/LwOutboundStockoutListPage.vue +103 -103
  485. package/src/components/page/outbound/summary/box/index/index.vue +648 -645
  486. package/src/components/page/outbound/summary/lpn/action/index.vue +254 -254
  487. package/src/components/page/outbound/summary/lpn/index/index.vue +5 -0
  488. package/src/components/page/process/index.js +25 -21
  489. package/src/components/page/process/prepare/index.js +11 -11
  490. package/src/components/page/process/prepare/index.vue +770 -841
  491. package/src/components/page/process/process/action/index.js +11 -11
  492. package/src/components/page/process/process/action/index.vue +56 -75
  493. package/src/components/page/process/process/components/FinishView.vue +299 -0
  494. package/src/components/page/process/process/components/craftCollapse.vue +91 -130
  495. package/src/components/page/process/process/components/dockInfo.vue +73 -79
  496. package/src/components/page/process/process/components/dockTaskInfo.vue +172 -192
  497. package/src/components/page/process/process/components/overCollapse.vue +385 -376
  498. package/src/components/page/process/process/components/rawCollapse.vue +82 -113
  499. package/src/components/page/process/process/components/stopPopup.vue +108 -90
  500. package/src/components/page/process/process/console/index.js +11 -11
  501. package/src/components/page/process/process/console/index.vue +149 -436
  502. package/src/components/page/process/process/content/index.js +11 -11
  503. package/src/components/page/process/process/content/index.vue +340 -367
  504. package/src/components/page/process/process/index/index.js +11 -11
  505. package/src/components/page/process/process/index/index.vue +71 -68
  506. package/src/components/page/process/screen/display/index.js +11 -0
  507. package/src/components/page/process/screen/display/index.vue +161 -0
  508. package/src/components/page/process/screen/index/index.js +11 -0
  509. package/src/components/page/process/screen/index/index.vue +76 -0
  510. package/src/components/page/receive/putaway/caseAction/index.vue +548 -542
  511. package/src/components/page/receive/putaway/components/CaseInfo/index.vue +6 -0
  512. package/src/components/page/receive/putaway/components/SkuInfo/index.vue +19 -3
  513. package/src/components/page/receive/putaway/components/SkuPutAwayInfo/index.vue +203 -203
  514. package/src/components/page/receive/putaway/components/TaskInfo/index.vue +61 -32
  515. package/src/components/page/receive/putaway/index/index.vue +585 -450
  516. package/src/components/page/receive/putaway/lpnAction/index.vue +362 -362
  517. package/src/components/page/receive/putaway/lpnBatchAction/index.js +11 -11
  518. package/src/components/page/receive/putaway/lpnBatchAction/index.vue +213 -213
  519. package/src/components/page/receive/putaway/skuAction/index.vue +989 -742
  520. package/src/components/page/receive/receipt/action/index.vue +276 -276
  521. package/src/components/page/receive/receipt/index/index.vue +132 -132
  522. package/src/components/ui/BottomBar/index.vue +102 -98
  523. package/src/components/ui/BottomBar//345/272/225/351/203/250/345/233/272/345/256/232/346/240/217.md +1 -1
  524. package/src/components/ui/BottomBarBtnHidden/index.vue +91 -91
  525. 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
  526. package/src/components/ui/Button/index.vue +183 -183
  527. package/src/components/ui/Button//346/214/211/351/222/256.md +1 -1
  528. package/src/components/ui/CarPlate/index.vue +501 -495
  529. package/src/components/ui/Cell/index.vue +259 -259
  530. package/src/components/ui/Cell//345/215/225/345/205/203/346/240/274.md +1 -1
  531. package/src/components/ui/CellPopupCheckbox/index.js +11 -0
  532. package/src/components/ui/CellPopupCheckbox/index.vue +158 -0
  533. 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
  534. package/src/components/ui/CellPopupDate/index.vue +217 -212
  535. package/src/components/ui/CellPopupRadio/index.vue +136 -136
  536. package/src/components/ui/CellPopupSelect/index.js +11 -0
  537. package/src/components/ui/CellPopupSelect/index.vue +303 -0
  538. 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
  539. package/src/components/ui/CutCard/index.vue +0 -11
  540. package/src/components/ui/DataLookBg//346/225/260/346/215/256/347/234/213/346/235/277.md +1 -1
  541. package/src/components/ui/ErrorMsg/index.js +10 -3
  542. package/src/components/ui/ErrorMsg/index.vue +3 -2
  543. package/src/components/ui/ErrorMsg//351/224/231/350/257/257/346/217/220/347/244/272/346/241/206.md +1 -1
  544. package/src/components/ui/Form//350/241/250/345/215/225.md +1 -1
  545. package/src/components/ui/ImgLook/index.vue +105 -105
  546. package/src/components/ui/ImgLook//345/233/276/347/211/207/346/237/245/347/234/213.md +1 -1
  547. package/src/components/ui/ImgUpload/imgUploadAxios.js +37 -37
  548. package/src/components/ui/ImgUpload/index.vue +120 -120
  549. package/src/components/ui/ImgUpload/request.js +1 -1
  550. package/src/components/ui/ImgUpload//345/233/276/347/211/207/344/270/212/344/274/240.md +1 -1
  551. package/src/components/ui/Input/index.vue +567 -581
  552. package/src/components/ui/Loading/index.js +50 -49
  553. package/src/components/ui/Loading//345/212/240/350/275/275/346/241/206.md +1 -1
  554. package/src/components/ui/MenuItem//350/217/234/345/215/225/351/241/271.md +1 -1
  555. package/src/components/ui/NavBar/index.vue +4 -4
  556. package/src/components/ui/NotData//347/251/272/346/225/260/346/215/256/347/212/266/346/200/201.md +1 -1
  557. package/src/components/ui/NoticeBar/index.js +94 -0
  558. package/src/components/ui/NoticeBar/index.vue +97 -0
  559. package/src/components/ui/NoticeBar//351/200/232/347/237/245/346/240/217.md +0 -0
  560. package/src/components/ui/Pages/index.vue +4 -4
  561. package/src/components/ui/Pages//345/210/206/351/241/265/351/241/265/347/240/201.md +1 -1
  562. package/src/components/ui/Pagination/index.js +11 -11
  563. package/src/components/ui/Pagination/index.vue +274 -274
  564. package/src/components/ui/Pagination//345/210/206/351/241/265V2.md +1 -1
  565. package/src/components/ui/Popup/index.vue +242 -242
  566. package/src/components/ui/Popup//345/274/271/345/207/272/345/261/202.md +1 -1
  567. package/src/components/ui/PopupCheckbox/index.vue +27 -6
  568. package/src/components/ui/PopupCheckbox//345/244/232/351/200/211/345/274/271/346/241/206.md +1 -1
  569. package/src/components/ui/PopupRadio//345/215/225/351/200/211/345/274/271/346/241/206.md +1 -1
  570. package/src/components/ui/TabBar/index.vue +1 -1
  571. package/src/components/ui/Table//350/241/250/346/240/274.md +1 -1
  572. package/src/components/ui/Tag/index.vue +11 -11
  573. package/src/components/ui/Tag//346/240/207/347/255/276.md +1 -1
  574. package/src/components/ui/TitleValueCell/index.vue +90 -88
  575. package/src/components/ui/TitleValueCell//346/240/207/351/242/230/345/200/274/350/241/214.md +2 -2
  576. package/src/components/ui/index.js +92 -87
  577. package/src/directive/Permissions.js +2 -2
  578. package/src/mixins/loginAndInit/index.js +31 -31
  579. package/src/router/index.js +895 -742
  580. package/src/router/menu.js +754 -638
  581. package/src/test/file/index.js +11 -11
  582. package/src/utils/ApiUtils.js +59 -59
  583. package/src/utils/AppBack.js +43 -43
  584. package/src/utils/AppPower.js +621 -76
  585. package/src/utils/Axios.js +42 -12
  586. package/src/utils/BarcodeResolve.js +10 -10
  587. package/src/utils/DateTime.js +234 -233
  588. package/src/utils/DeepCopy.js +61 -61
  589. package/src/utils/Dialog.js +16 -0
  590. package/src/utils/Dict.js +89 -73
  591. package/src/utils/GetImgSrc.js +54 -54
  592. package/src/utils/Language.js +87 -79
  593. package/src/utils/LocalStorage.js +66 -66
  594. package/src/utils/Permissions.js +65 -65
  595. package/src/utils/Print.js +232 -177
  596. package/src/utils/README.md +60 -60
  597. package/src/utils/ScanRule.js +39 -39
  598. package/src/utils/SetColor.js +57 -57
  599. package/src/utils/TabBar.js +31 -31
  600. package/src/utils/Timezone.js +183 -179
  601. package/src/utils/Tip.js +26 -26
  602. package/src/utils/UUID.js +33 -39
  603. package/src/utils/Warehouse.js +30 -30
  604. package/src/utils/index.js +10 -7
  605. package/src/utils/windowGlobalData.js +114 -114
  606. package/src/views/common/init/index.vue +145 -138
  607. package/src/views/common/my/timezone.vue +23 -23
  608. package/src/views/common/task/search.vue +23 -0
  609. package/src/views/count/console.vue +23 -0
  610. package/src/views/inbound/receive/printLabel.vue +23 -0
  611. package/src/views/inbound/sorting/LwInboundSortingAsnView.vue +16 -0
  612. package/src/views/inbound/sorting/LwInboundSortingByContainerView.vue +16 -0
  613. package/src/views/inbound/sorting/LwInboundSortingByOrderView.vue +16 -0
  614. package/src/views/inbound/sorting/LwInboundSortingIndexView.vue +16 -0
  615. package/src/views/inbound/unload/action.vue +23 -0
  616. package/src/views/inbound/unload/add.vue +23 -0
  617. package/src/views/inbound/unload/index.vue +23 -0
  618. package/src/views/inner/caseQuickMove/index.vue +23 -0
  619. package/src/views/inner/check/action.vue +23 -0
  620. package/src/views/inner/dead/large.vue +23 -23
  621. package/src/views/inner/dead/putaway/action.vue +23 -23
  622. package/src/views/inner/dead/putaway/index.vue +23 -23
  623. package/src/views/inner/dead/query/action.vue +23 -0
  624. package/src/views/inner/dead/query/index.vue +23 -0
  625. package/src/views/inner/dead/smallPage.vue +23 -23
  626. package/src/views/inner/dead/taskEntrance.vue +23 -23
  627. package/src/views/inner/fragQuickMove/action.vue +23 -0
  628. package/src/views/inner/fragQuickMove/index.vue +23 -0
  629. package/src/views/inner/materialApply/action.vue +2 -2
  630. package/src/views/inner/materialApply/generate.vue +2 -2
  631. package/src/views/inner/taskMove/whole/MoveRandomWholeCaseView.vue +3 -0
  632. package/src/views/inner/taskMove/whole/MoveTaskWholeCaseDownView.vue +3 -0
  633. package/src/views/inner/taskMove/whole/MoveTaskWholeCaseUpView.vue +3 -0
  634. package/src/views/inner/taskMove/whole/MoveTaskWholeIndexView.vue +3 -0
  635. package/src/views/outbound/baleChange/action.vue +23 -23
  636. package/src/views/outbound/baleChange/index.vue +23 -23
  637. package/src/views/outbound/baleChange/skuCheck.vue +23 -23
  638. package/src/views/outbound/boxTransfer/action.vue +23 -23
  639. package/src/views/outbound/boxTransfer/index.vue +23 -23
  640. package/src/views/outbound/handover/customer.vue +23 -23
  641. package/src/views/outbound/handover/index.vue +23 -23
  642. package/src/views/outbound/handover/line.vue +23 -23
  643. package/src/views/outbound/handover/lpn.vue +23 -23
  644. package/src/views/outbound/lpnPack/action.vue +23 -23
  645. package/src/views/outbound/lpnPack/index.vue +23 -23
  646. package/src/views/outbound/lpnPack/newLpn.vue +23 -23
  647. package/src/views/outbound/lpnPack/over.vue +23 -23
  648. package/src/views/outbound/packCollect/index.vue +23 -0
  649. package/src/views/outbound/pickContainer/action.vue +23 -23
  650. package/src/views/outbound/pickContainer/index.vue +23 -23
  651. package/src/views/outbound/sowCollect/index.vue +23 -0
  652. package/src/views/process/action/action.vue +23 -23
  653. package/src/views/process/action/index.vue +23 -23
  654. package/src/views/process/prepare/index.vue +23 -23
  655. package/src/views/process/screen/display/index.vue +23 -0
  656. package/src/views/process/screen/index/index.vue +23 -0
  657. package/src/views/receive/putaway/lpnBatchAction.vue +23 -23
  658. package/dist/logwire-wms-pda-ui.js +0 -7
  659. package/src/assets/img/lwInputIcon/keyboard.png +0 -0
  660. package/src/components/page/outbound/bale/components/containerInfo/img.png +0 -0
  661. package/src/components/page/outbound/bale/components/containerSkuQty/img.png +0 -0
  662. package/src/components/page/outbound/bale/components/storeInfo/img.png +0 -0
@@ -1,941 +1,1052 @@
1
- ;<!--
2
- 复核捆包执行页
3
- @author: 张文
4
- @date: 2022-06-30
5
- -->
6
- <template>
7
-
8
- <div>
9
- <lw-nav-bar :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.vbefbsau','复核捆包')"/>
10
-
11
- <div class="lw-global-page-box">
12
-
13
- <!-- 门店信息 -->
14
- <store-info-sku-list
15
- v-if="Object.keys(packBox).length || Object.keys(packContainer).length"
16
- :item="packBox"
17
- :customer-code="customerCode"
18
- :customer-name="customerName"
19
- >
20
- <div
21
- style="text-align: center"
22
- class="lw-global-row-end lw-global-value-bold-red"
23
- >
24
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.iqtdtjed','当前还未执行捆包,请扫描商品号执行捆包') }}
25
- </div>
26
- </store-info-sku-list>
27
-
28
- <!-- 复核操作 -->
29
- <template v-if="!fromAllCheck">
30
-
31
- <div
32
- v-if="Object.keys(packContainer).length"
33
- class="lw-global-model-box lw-global-border-2px"
34
- >
35
-
36
- <lw-input
37
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.mfghjxey','商品号')"
38
- v-model="actionCheck.sku.value"
39
- :get-focus.sync="actionCheck.sku.focus"
40
- auto-clear-val
41
- rule-key="sku"
42
- @confirm="actionCheckSkuConfirm"
43
- />
44
-
45
- <template v-if="Object.keys(actionCheck.skuInfo).length">
46
-
47
- <lw-input
48
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.exgcjfus','复核数量')"
49
- v-model="actionCheck.qty.value"
50
- :get-focus.sync="actionCheck.qty.focus"
51
- type="digit"
52
- @confirm="actionCheckQtyConfirm"
53
- >
54
-
55
- <template #button>
56
- <lw-button
57
- mini
58
- round
59
- @click="actionCheckQtyConfirm"
60
- >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.xlsgeumr','确认复核') }}
61
- </lw-button>
62
- </template>
63
-
64
- </lw-input>
65
-
66
- <lw-sku-info-module
67
- :sku-name="actionCheck.skuInfo.skuName"
68
- :sku-code="actionCheck.skuInfo.skuCode"
69
- :show-right="false"
70
- />
71
-
72
- <div class="lw-global-flex-between lw-global-row-end">
73
-
74
- <lw-title-value-cell
75
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.fsqjrrbv','最小销售数')"
76
- :value="actionCheck.skuInfo.minSellQty"
77
- val-bold
78
- val-red
79
- :is-row="false"
80
- />
81
-
82
- <lw-title-value-cell
83
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.zekjwfre','数量')"
84
- :value="actionCheck.skuInfo.waitQty"
85
- val-red
86
- val-bold
87
- :is-row="false"
88
- />
89
-
90
- </div>
91
- </template>
92
-
93
- </div>
94
-
95
- <div
96
- v-else
97
- style="text-align: center;letter-spacing: 1px"
98
- class="lw-global-model-box lw-global-value-bold-red"
99
- >
100
- {{ $lwLanguage.get(
101
- '',
102
- '当前捆包箱没有可用的拣选容器,如需继续捆包请点击追加按钮,或封箱完成')
103
- }}
104
- </div>
105
-
106
- </template>
107
-
108
- <!-- 容器信息 -->
109
- <container-info
110
- v-if="Object.keys(packContainer).length"
111
- style="margin-top: 10px"
112
- :container="packContainer.pickContainer"
113
- :sku-count="packContainer.skuTypeCount"
114
- :over-count="packContainer.packQty"
115
- :wait-count="packContainer.waitPackQty"
116
- :abnormal-count="packContainer.abnormalQty"
117
- :sku-list="packContainer.packSkuList"
118
- :show-abn-btn="!fromAllCheck"
119
- :show-all-check="!fromAllCheck && allowAllCheck"
120
- :abn-confirm="abnConfirm"
121
- @abnSuccess="mixinAbnSuccess"
122
- />
123
-
124
- </div>
125
-
126
- <lw-bottom-bar-btn-hidden :btn-list="btnList"/>
127
-
128
- <!-- 复核序列号 -->
129
- <lw-popup
130
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.agvbvelf','复核序列号')"
131
- v-model="checkPopup.show"
132
- @closed="checkPopupOff"
133
- >
134
-
135
- <lw-sku-info-module
136
- :sku-name="actionCheck.skuInfo.skuName"
137
- :sku-code="actionCheck.skuInfo.skuCode"
138
- :qty="actionCheck.skuInfo.minSellQty"
139
- :qty-text="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.ugretxll','最小销售量')"
140
- />
141
-
142
- <div class="lw-global-row lw-global-flex-between">
143
-
144
- <lw-title-value-cell
145
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.ownspubo','待复核量')"
146
- :value="actionCheck.skuInfo.waitQty"
147
- val-red
148
- val-bold
149
- :is-row="false"
150
- />
151
-
152
- <lw-title-value-cell
153
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.pisatdcc','当前扫描数量')"
154
- :value="checkPopup.nowScanNum"
155
- val-red
156
- val-bold
157
- :is-row="false"
158
- />
159
-
160
- </div>
161
-
162
- <lw-input
163
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.wyjevgpl','序列号')"
164
- v-model="checkPopup.sn.value"
165
- :get-focus.sync="checkPopup.sn.focus"
166
- auto-clear-val
167
- rule-key="sn"
168
- @confirm="checkPopupSnConfirm"
169
- />
170
-
171
- <div
172
- class="lw-global-flex-between lw-global-row"
173
- v-for="(i,k) in checkPopup.snList"
174
- :key="k"
175
- >
176
- <div class="col-2">{{ i.sn }}</div>
177
- <div class="col-1">{{ i.qty }}</div>
178
- <div class="col-3">
179
- <van-icon
180
- color="#D50000"
181
- name="clear"
182
- size="20"
183
- @click="checkPopupSnDel(k)"
184
- />
185
- </div>
186
- </div>
187
-
188
- <template #button>
189
-
190
- <lw-button
191
- type="last"
192
- plain
193
- @click="checkPopupRepeatScan"
194
- >
195
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.hirjtmqc','重新扫描') }}
196
- </lw-button>
197
-
198
-
199
- <lw-button @click="checkPopupSubmit">
200
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.xlsgeumr','确认复核') }}
201
- </lw-button>
202
-
203
- </template>
204
- </lw-popup>
205
-
206
- <!-- 完成捆包弹框 -->
207
- <lw-popup
208
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.aqugjfcu','完成捆包')"
209
- v-model="overBalePopup.show"
210
- @closed="mixinOverBaleOff"
211
- >
212
- <container-sku-qty
213
- :box-no="packBox.boxNo"
214
- :pack-qty="packBox.packQty"
215
- :type-count="packBox.skuTypeCount"
216
- />
217
-
218
- <lw-title-value-cell
219
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.nzkqhshe','标准重量') + '(KG)'"
220
- :value="overBalePopup.data.standardWeight"
221
- val-bold
222
- />
223
-
224
- <lw-input
225
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.eisrswcv','实际重量') + '(KG)'"
226
- v-model="overBalePopup.real.value"
227
- :get-focus.sync="overBalePopup.real.focus"
228
- type="number"
229
- @confirm="mixinRealConfirm"
230
- />
231
-
232
- <lw-input
233
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.pepgmjjv','捆包包材')"
234
- v-model="overBalePopup.materials.value"
235
- :get-focus.sync="overBalePopup.materials.focus"
236
- :show-bottom-border="false"
237
- rule-key="skuPack"
238
- @confirm="mixinMaterialsConfirm"
239
- />
240
-
241
- <div
242
- v-if="overBalePopup.materials.list.length"
243
- class="materials-box"
244
- >
245
- <div
246
- class="lw-global-flex-between lw-global-row-start"
247
- style="padding: 5px 0"
248
- >
249
-
250
- <div class="lw-global-title col-1">
251
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.iezednfo','包材编码') }}
252
- </div>
253
-
254
- <div class="lw-global-title col-2">
255
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.qlpuvxgs','包材规格') }}
256
- </div>
257
-
258
- <div class="col-3"></div>
259
-
260
- </div>
261
-
262
- <div style="max-height: 84px;overflow-y: scroll">
263
- <div
264
- class="lw-global-flex-between lw-global-row"
265
- style="padding: 5px 0"
266
- v-for="(i,k) in overBalePopup.materials.list"
267
- :key="k"
268
- >
269
-
270
- <!-- 包材编码 -->
271
- <div class="lw-global-value-bold col-1">{{ i.packMaterialCode }}</div>
272
-
273
- <!-- 尺寸 -->
274
- <div class="lw-global-value-bold col-2">
275
- {{ i.length || '-' }} *
276
- {{ i.width || '-' }} *
277
- {{ i.height || '-' }}
278
- </div>
279
-
280
- <!-- 删除按钮 -->
281
- <div class="col-3">
282
- <van-icon
283
- color="#D50000"
284
- name="clear"
285
- size="20"
286
- @click="mixinDelMaterials(k)"
287
- />
288
- </div>
289
-
290
- </div>
291
- </div>
292
-
293
-
294
- </div>
295
-
296
- <template #button>
297
- <lw-button
298
- v-if="overBalePopup.materials.list.length"
299
- @click="overBaleConfirm"
300
- >
301
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.bjabixrx','完成复核(封箱)') }}
302
- </lw-button>
303
- <lw-button
304
- v-else
305
- @click="overBaleConfirm"
306
- >
307
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.wwetygri','无需包材(封箱)') }}
308
- </lw-button>
309
- </template>
310
-
311
- </lw-popup>
312
-
313
- <!-- 重新复核弹框 -->
314
- <repeat-check
315
- v-model="repeatPopupShow"
316
- :box-data="packBox"
317
- @repeatConfirm="repeatConfirm"
318
- />
319
-
320
- <!-- 追加弹框 -->
321
- <lw-popup
322
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.daocvnkk','追加')"
323
- v-model="addPopup.show"
324
- @closed="addPopupOff"
325
- >
326
-
327
- <container-sku-qty
328
- :box-no="packBox.boxNo"
329
- :pack-qty="packBox.packQty"
330
- :type-count="packBox.skuTypeCount"
331
- />
332
-
333
- <lw-input
334
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.ipqzcucf','拣选容器号')"
335
- v-model="addPopup.container.value"
336
- :get-focus.sync="addPopup.container.focus"
337
- required
338
- rule-key="container"
339
- @confirm="addContainerConfirm"
340
- />
341
-
342
- <div
343
- v-if="Object.keys(addPopup.data).length"
344
- class="lw-global-flex-between lw-global-row-end"
345
- >
346
-
347
- <lw-title-value-cell
348
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.mvbzrrkd','品种数')"
349
- :value="addPopup.data.skuTypeCount"
350
- val-bold
351
- :is-row="false"
352
- />
353
-
354
- <lw-title-value-cell
355
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.vjsyivfg','待复核')"
356
- :value="addPopup.data.waitPackQty"
357
- val-bold
358
- :is-row="false"
359
- />
360
-
361
- </div>
362
-
363
- <template #button>
364
-
365
- <lw-button @click="addConfirm">
366
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.fljefeua','确认追加') }}
367
- </lw-button>
368
-
369
- </template>
370
-
371
- </lw-popup>
372
-
373
- <!-- 剔除商品 -->
374
- <del-sku
375
- v-model="delPopupShow"
376
- :box-data="packBox"
377
- :sku-list="packBox.skuList"
378
- :sku-sn-list="packBox.packSnList"
379
- need-sn
380
- @delConfirm="delSkuConfirm"
381
- />
382
-
383
- <!-- 全部拦截 -->
384
- <all-block
385
- v-model="allBlockShow"
386
- :container="packContainer.pickContainer"
387
- :type-count="packContainer.skuTypeCount"
388
- :qty="packContainer.blockQty"
389
- @confirm="allBlockConfirm"
390
- />
391
-
392
- <!-- 部分拦截 -->
393
- <part-block
394
- v-model="partBlockPopup.show"
395
- :pick-container="partBlockPopup.data.pickContainer"
396
- :type-count="partBlockPopup.data.skuTypeCount"
397
- :sku-qty="partBlockPopup.data.skuQty"
398
- :block-data="partBlockPopup.data.blockData"
399
- @confirm="partBlockConfirm"
400
- />
401
-
402
- </div>
403
-
404
- </template>
405
-
406
- <script>
407
- import storeInfoSkuList from './../../components/storeInfoSkuList/index.vue'
408
- import {
409
- projectWmsContainerWholePack,
410
- projectWmsMixPackQueryPackData
411
- } from "../../../../../../api/outbound/bale/checkBale/allCheck";
412
- import {
413
- projectWmsMixPackAddContainerCheck,
414
- projectWmsMixPackCheckSn,
415
- projectWmsMixPackCloseBox,
416
- projectWmsMixPackComputeBoxSuggest,
417
- projectWmsMixPackContainerSkuBlock,
418
- projectWmsMixPackContainerWholeBlock,
419
- projectWmsMixPackDeleteSku,
420
- projectWmsMixPackDeleteSkuWithSn,
421
- projectWmsMixPackRePack,
422
- projectWmsMIxPackScanQuery,
423
- projectWmsMixPackSubmitAbnormal,
424
- projectWmsMixPackSubmitSku,
425
- projectWmsMixPackSubmitWithSn
426
- } from "../../../../../../api/outbound/bale/checkBale/action";
427
- import {baleMixins} from "../../mixins";
428
-
429
- export default {
430
- name: "lwOutboundBaleActionPage",
431
- components:{
432
- storeInfoSkuList,
433
- },
434
- mixins:[baleMixins],
435
- data() {
436
- return {
437
- // 捆包箱数据
438
- packBox:{},
439
- // 拣选容器数据
440
- packContainer:{},
441
-
442
- // 是否是全部复核进入
443
- fromAllCheck: false,
444
-
445
- // 允许全部复核
446
- allowAllCheck: false,
447
-
448
- // 开始复核
449
- actionCheck:{
450
- sku:{
451
- value: '',
452
- focus: false
453
- },
454
- qty:{
455
- value: '',
456
- focus: false
457
- },
458
-
459
- skuInfo:{}
460
- },
461
-
462
- // 序列号复核弹框
463
- checkPopup:{
464
- show: false,
465
- // 当前扫描量
466
- nowScanNum: 0,
467
- sn:{
468
- value:'',
469
- focus: false
470
- },
471
- snList: []
472
- },
473
-
474
-
475
- // 追加
476
- addPopup:{
477
- show: false,
478
- container:{
479
- value: '',
480
- focus: false
481
- },
482
- data:{}
483
- },
484
- }
485
- },
486
- computed:{
487
- customerName(){
488
-
489
- if (this.packContainer.customerName)return this.packContainer.customerName
490
-
491
- if (this.packBox.customerName)return this.packBox.customerName
492
-
493
- return '-'
494
- },
495
- customerCode(){
496
-
497
- if (this.packContainer.customerCode)return this.packContainer.customerCode
498
-
499
- if (this.packBox.customerCode)return this.packBox.customerCode
500
-
501
- return '-'
502
- },
503
-
504
- // 是否需要显示追加按钮
505
- showAddBtn(){
506
- return !(this.packContainer && this.packContainer.waitPackQty > 0);
507
- },
508
- },
509
- mounted() {
510
- const query = this.$route.query
511
- if (query.lwType === 'allCheck'){
512
- this.fromAllCheck = true
513
- this.allowAllCheck = false
514
-
515
- projectWmsContainerWholePack({
516
- pickContainer: query.lwContainer
517
- }).then(res=>{
518
- this.mixinCheckBlock(res)
519
-
520
- this.formatDat(res)
521
- })
522
- return
523
- }
524
-
525
- this.getData(true)
526
- },
527
- methods: {
528
- // 数据处理
529
- formatDat(res){
530
- this.packBox = res.packBox || {}
531
- this.packContainer = res.packContainer || {}
532
- },
533
-
534
- // 获取数据
535
- getData(first){
536
- return new Promise((PR,PE)=>{
537
-
538
- let queryContainer = ''
539
- if (this.packBox.boxId){
540
- queryContainer = this.packBox.boxId
541
- }else {
542
- queryContainer = this.$route.query.lwContainer
543
- }
544
- projectWmsMixPackQueryPackData({
545
- queryContainer
546
- }).then(res=>{
547
-
548
- this.formatDat(res)
549
- if (res.packContainer && res.packContainer.blockStatus === '200') this.allBlockShow = true
550
-
551
- first ? this.actionCheck.sku.focus = true : ''
552
- PR()
553
- }).catch(()=>{
554
- PE()
555
- history.go(-1)
556
- })
557
- })
558
- },
559
-
560
- // 查找当前扫描商品是否在拣选容器内
561
- checkPickContainerHasSkuCode(skuCode){
562
- for (let i of this.packContainer.packSkuList){
563
-
564
- if (i.skuCode === skuCode){
565
- return {success: true, skuInfo:i}
566
- }
567
-
568
- }
569
-
570
- return {success: false, skuInfo: {}}
571
-
572
- },
573
- // 开始复核 - 商品号确认
574
- actionCheckSkuConfirm(val,{data}){
575
- const {success, skuInfo} = this.checkPickContainerHasSkuCode(data.key || val)
576
-
577
- if (success){
578
-
579
- // 查看当前是否存在记录数据
580
- if (Object.keys(this.actionCheck.skuInfo).length){
581
-
582
- // 如果存在历史记录就判断是否和上次扫描的数据一直
583
- if (skuInfo.skuCode !== this.actionCheck.skuInfo.skuCode){
584
- this.actionCheck.sku.focus = true
585
- this.$lwShowErrorMsg(
586
- this.$lwLanguage.get(
587
- '',
588
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.nhcgbeqa', '当前扫描商品与上一次扫描商品不一致!')
589
- )
590
- )
591
- return
592
- }
593
-
594
- }
595
-
596
- // 校验是否需要sn
597
- this.checkNeedSn({
598
- ...skuInfo,
599
- waitQty: skuInfo.totalQty - skuInfo.packQty
600
- })
601
- return
602
- }
603
-
604
- projectWmsMIxPackScanQuery({
605
- pickContainer: this.packContainer.pickContainer,
606
- boxId: this.packBox.boxId,
607
- currentSkuId: this.actionCheck.skuInfo.skuId,
608
- sn: data.key,
609
- qty: data.qty
610
- }).then(res=>{
611
- this.checkNeedSn(res, 'add')
612
- })
613
-
614
- },
615
- // 校验是否需要处理sn
616
- checkNeedSn(data, type){
617
-
618
- this.actionCheck.skuInfo = data
619
-
620
- // 判断是否需要处理sn
621
- if (data.needHandleSn){
622
- this.checkPopup.show = true
623
- this.checkPopup.sn.focus = true
624
- // 判断是否需要增加一条数据
625
- type === 'add' && this.checkPopup.snList.unshift({sn: data.sn, qty: data.qty})
626
- this.getCheckPopupNum()
627
- return
628
- }
629
-
630
- this.actionCheck.qty.value = Number(this.actionCheck.qty.value) + Number(data.qty || 0)
631
- if (this.actionCheck.qty.value === this.actionCheck.skuInfo.waitQty){
632
- this.actionCheckQtyConfirm()
633
- }
634
- },
635
- // 开始复核 - 商品数量确认
636
- actionCheckQtyConfirm(){
637
-
638
- const qty = Number(this.actionCheck.qty.value ||0)
639
-
640
- if (!qty){
641
- this.actionCheck.qty.focus = true
642
- this.$lwShowErrorMsg(
643
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.sesxkxyt','复核数不能为空,且应当是大于0的整数')
644
- )
645
- return
646
- }
647
-
648
- if (qty > this.actionCheck.skuInfo.waitQty){
649
- this.actionCheck.qty.focus = true
650
- this.$lwShowErrorMsg(
651
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.cbitnesb','复核数不能大于待复核数')
652
- )
653
- this.actionCheck.qty.value = ''
654
- return
655
- }
656
-
657
-
658
- projectWmsMixPackSubmitSku({
659
- boxId: this.packBox.boxId,
660
- pickContainer: this.packContainer.pickContainer,
661
- skuId: this.actionCheck.skuInfo.skuId,
662
- currentPackQty: qty
663
- }).then(res=>{
664
-
665
- this.formatDat(res)
666
-
667
- if (res.containerPackFinish){
668
- this.$lwToast.success(
669
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.fzaqeggt','当前容器已复核完毕')
670
- )
671
-
672
- this.overBaleOpen()
673
-
674
- }
675
-
676
- this.actionCheck.sku.value = ''
677
- this.actionCheck.sku.focus = true
678
- this.actionCheck.qty.focus = false
679
- this.actionCheck.qty.value = ''
680
- this.actionCheck.skuInfo = {}
681
-
682
- this.mixinCheckBlock(res)
683
- })
684
- },
685
-
686
- // 复核序列号 - 当前复核量
687
- getCheckPopupNum(){
688
- let num = 0
689
- this.checkPopup.snList.forEach(item=>{
690
- num += Number(item.qty || 0)
691
- })
692
- this.checkPopup.nowScanNum = num
693
-
694
- if (num === this.actionCheck.skuInfo.waitQty){
695
- this.checkPopupSubmit()
696
- }
697
-
698
- },
699
- // 复核序列号 - 确认
700
- checkPopupSnConfirm(val,{data}){
701
- const sn = data.key
702
- if (!sn){
703
- this.checkPopup.sn.focus = true
704
- this.$lwShowErrorMsg(
705
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.zturbxlj','序列号不能为空')
706
- )
707
- return
708
- }
709
-
710
- projectWmsMixPackCheckSn({
711
- pickContainer:'',
712
- skuId: this.actionCheck.skuInfo.skuId,
713
- sn,
714
- qty: data.qty || 0
715
- }).then(res=>{
716
- this.checkPopup.snList.unshift(res)
717
- this.getCheckPopupNum()
718
- })
719
- },
720
- // 复核序列号 - 删除
721
- checkPopupSnDel(index){
722
-
723
- this.checkPopup.snList.splice(index, 1)
724
- this.getCheckPopupNum()
725
-
726
- },
727
- // 复核序列号 - 提交数据
728
- checkPopupSubmit(){
729
-
730
- const snList = this.checkPopup.snList
731
- if (!snList.length){
732
- this.checkPopup.sn.focus = true
733
- this.$lwShowErrorMsg(
734
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.agienozq','请输入或扫描需要复核的序列号')
735
- )
736
- return
737
- }
738
-
739
- projectWmsMixPackSubmitWithSn({
740
- boxId: this.packBox.boxId,
741
- pickContainer: this.packContainer.pickContainer,
742
- skuId: this.actionCheck.skuInfo.skuId,
743
- snList
744
- }).then(res=>{
745
- this.formatDat(res)
746
-
747
- if (res.containerPackFinish){
748
- this.$lwToast.success(
749
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.fzaqeggt','当前容器已复核完毕')
750
- )
751
-
752
- this.overBaleOpen()
753
- }
754
-
755
- this.checkPopup.show = false
756
-
757
- this.mixinCheckBlock(res)
758
- })
759
- },
760
- // 复核序列号 - 重新扫描
761
- checkPopupRepeatScan(){
762
- this.$lwDialog.confirm({
763
- title: this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.tyoupcga','警告'),
764
- message: this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.aviijbed','当前扫描数据将会被清空')
765
- }).then(()=>{
766
- this.checkPopup.sn = ''
767
- this.snList = []
768
- this.getCheckPopupNum()
769
- }).catch(()=>{})
770
- },
771
- // 复核序列号 - 弹框关闭
772
- checkPopupOff(){
773
- this.checkPopup.sn = ''
774
- this.snList = []
775
- this.actionCheck.sku.value = ''
776
- this.actionCheck.skuInfo = {}
777
- },
778
-
779
-
780
- // 完成捆包 - 打开弹框
781
- overBaleOpen(){
782
- projectWmsMixPackComputeBoxSuggest({
783
- boxId: this.packBox.boxId
784
- }).then(res=>{
785
- this.overBalePopup.data = res
786
- this.overBalePopup.show = true
787
- this.overBalePopup.real.focus = true
788
- })
789
- },
790
- // 完成捆包 - 封箱
791
- overBaleConfirm(){
792
-
793
- projectWmsMixPackCloseBox({
794
- boxId: this.packBox.boxId,
795
- packWeight: this.overBalePopup.real.value || this.overBalePopup.data.standardWeight,
796
- packMaterialList: this.mixinGetMaterials()
797
- }).then(()=>{
798
- this.$lwToast.success(
799
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.bqbzdkbu','捆包成功')
800
- )
801
- history.go(-1)
802
- })
803
-
804
- },
805
- // 重新复核 - 确认
806
- repeatConfirm(container){
807
- projectWmsMixPackRePack({
808
- boxId: this.packBox.boxId,
809
- toPickContainer: container
810
- }).then(()=>{
811
- this.$lwToast.success(
812
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.vecsyyxh','操作成功')
813
- )
814
- history.go(-1)
815
- })
816
- },
817
-
818
- // 追加 - 弹框打开
819
- addSkuOpen(){
820
- this.addPopup.container.focus = true
821
- this.addPopup.show = true
822
- },
823
- // 追加 - 确认拣选容器号
824
- addContainerConfirm(){
825
- const container = this.addPopup.container.value
826
- if (!container){
827
- this.addPopup.container.focus = true
828
- this.$lwShowErrorMsg(
829
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.wmwodaqc','拣选容器号不能为空')
830
- )
831
- return
832
- }
833
-
834
- projectWmsMixPackAddContainerCheck({
835
- boxId: this.packBox.boxId,
836
- addPickContainer: container
837
- }).then(res=>{
838
- this.addPopup.data = res
839
- })
840
- },
841
- // 追加 - 确认追加
842
- addConfirm(){
843
- this.packContainer = this.$lwDeepCopy(this.addPopup.data)
844
- this.addPopup.show = false
845
- },
846
- // 追加 - 弹框关闭
847
- addPopupOff(){
848
- this.addPopup.container.value = ''
849
- this.addPopup.data = {}
850
- },
851
-
852
- // 剔除商品 - 确认剔除
853
- delSkuConfirm(data){
854
-
855
- // 判断当前是需要sn还是不需要
856
- const fn = data.isSn ?
857
- projectWmsMixPackDeleteSkuWithSn :
858
- projectWmsMixPackDeleteSku
859
-
860
- fn({
861
- ...data,
862
- boxId: this.packBox.boxId
863
- }).then(res=>{
864
- if (res.boxDelAll){
865
- this.$lwToast.success(
866
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.bheqtugt','当前箱已全部剔除')
867
- )
868
- history.go(-1)
869
- return
870
- }
871
-
872
- this.$lwToast.success(
873
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.vkvtsjoo','剔除成功')
874
- )
875
- this.getData()
876
- this.delPopupShow = false
877
- })
878
- },
879
-
880
- // 全部拦截
881
- allBlockConfirm(){
882
- projectWmsMixPackContainerWholeBlock({
883
- pickContainer: this.packContainer.pickContainer
884
- }).then(()=>{
885
- this.$lwToast.success(
886
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.bncgywex','已拦截')
887
- )
888
- history.go(-1)
889
- })
890
- },
891
- // 部分拦截
892
- async partBlockConfirm(data){
893
-
894
- const res = await projectWmsMixPackContainerSkuBlock({
895
- pickContainer: data.container,
896
- currentBlockQty: data.qty,
897
- skuId: this.partBlockPopup.data.blockData.skuId
898
- })
899
-
900
- await this.getData()
901
-
902
- if (res.containerPackFinish){
903
- this.$lwToast.success(
904
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.jfmhrzqh','当前容器已全部捆包')
905
- )
906
- this.overBaleOpen()
907
- }
908
- },
909
-
910
- // 异常确认
911
- abnConfirm(data){
912
- return projectWmsMixPackSubmitAbnormal({
913
- pickContainer: this.packContainer.pickContainer,
914
- ...data
915
- })
916
- }
917
- }
918
- }
919
- </script>
920
-
921
- <style scoped lang="less">
922
- .materials-box{
923
- margin-top: 5px;
924
- padding: 0 5px;
925
- border-radius: 5px;
926
- border: solid 1px #f0f0f0;
927
- }
928
-
929
- .col-1{
930
- width: 35%;
931
- flex-shrink: 0;
932
- }
933
- .col-2{
934
- width: 55%;
935
- flex-shrink: 0;
936
- }
937
- .col-3{
938
- width: 24px;
939
- flex-shrink: 0;
940
- }
941
- </style>
1
+ ;<!--
2
+ 复核捆包执行页
3
+ @author: 张文
4
+ @date: 2022-06-30
5
+ -->
6
+ <template>
7
+
8
+ <div>
9
+ <lw-nav-bar :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.vbefbsau','复核捆包')"/>
10
+
11
+ <div class="lw-global-page-box">
12
+
13
+ <check-pack-config/>
14
+
15
+ <!-- 门店信息 -->
16
+ <store-info-sku-list
17
+ v-if="Object.keys(packBox).length || Object.keys(packContainer).length"
18
+ :item="packBox"
19
+ :customer-code="customerCode"
20
+ :customer-name="customerName"
21
+ show-print
22
+ @print="printClick"
23
+ >
24
+ <div
25
+ style="text-align: center"
26
+ class="lw-global-row-end lw-global-value-bold-red"
27
+ >
28
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.iqtdtjed','当前还未执行捆包,请扫描商品号执行捆包') }}
29
+ </div>
30
+ </store-info-sku-list>
31
+
32
+ <!-- 复核操作 -->
33
+ <template v-if="!fromAllCheck">
34
+
35
+ <div
36
+ v-if="Object.keys(packContainer).length"
37
+ class="lw-global-model-box lw-global-border-2px"
38
+ >
39
+
40
+ <lw-input
41
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.mfghjxey','商品号')"
42
+ v-model="actionCheck.sku.value"
43
+ :get-focus.sync="actionCheck.sku.focus"
44
+ auto-clear-val
45
+ rule-key="sku"
46
+ @confirm="actionCheckSkuConfirm"
47
+ />
48
+
49
+ <template v-if="Object.keys(actionCheck.skuInfo).length">
50
+
51
+ <lw-input
52
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.exgcjfus','复核数量')"
53
+ v-model="actionCheck.qty.value"
54
+ :get-focus.sync="actionCheck.qty.focus"
55
+ type="digit"
56
+ @confirm="actionCheckQtyConfirm"
57
+ >
58
+
59
+ <template #button>
60
+ <lw-button
61
+ mini
62
+ round
63
+ @click="actionCheckQtyConfirm"
64
+ >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.xlsgeumr','确认复核') }}
65
+ </lw-button>
66
+ </template>
67
+
68
+ </lw-input>
69
+
70
+ <lw-sku-info-module
71
+ :sku-name="actionCheck.skuInfo.skuName"
72
+ :sku-code="actionCheck.skuInfo.skuCode"
73
+ :show-right="false"
74
+ />
75
+
76
+ <div class="lw-global-flex-between lw-global-row-end">
77
+
78
+ <lw-title-value-cell
79
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.fsqjrrbv','最小销售数')"
80
+ :value="actionCheck.skuInfo.minSellQty"
81
+ val-bold
82
+ val-red
83
+ :is-row="false"
84
+ />
85
+
86
+ <lw-title-value-cell
87
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.zekjwfre','数量')"
88
+ :value="actionCheck.skuInfo.waitQty"
89
+ val-red
90
+ val-bold
91
+ :is-row="false"
92
+ />
93
+
94
+ </div>
95
+ </template>
96
+
97
+ </div>
98
+
99
+ <div
100
+ v-else
101
+ style="text-align: center;letter-spacing: 1px"
102
+ class="lw-global-model-box lw-global-value-bold-red"
103
+ >
104
+ {{ $lwLanguage.get(
105
+ '',
106
+ '当前捆包箱没有可用的拣选容器,如需继续捆包请点击追加按钮,或封箱完成')
107
+ }}
108
+ </div>
109
+
110
+ </template>
111
+
112
+ <!-- 容器信息 -->
113
+ <container-info
114
+ v-if="Object.keys(packContainer).length"
115
+ style="margin-top: 10px"
116
+ :container="packContainer.pickContainer"
117
+ :sku-count="packContainer.skuTypeCount"
118
+ :over-count="packContainer.packQty"
119
+ :wait-count="packContainer.waitPackQty"
120
+ :abnormal-count="packContainer.abnormalQty"
121
+ :sku-list="packContainer.packSkuList"
122
+ :show-abn-btn="!fromAllCheck"
123
+ :show-all-check="!fromAllCheck && allowAllCheck"
124
+ :abn-confirm="abnConfirm"
125
+ @abnSuccess="mixinAbnSuccess"
126
+ />
127
+
128
+ <!-- 捆包包材 -->
129
+ <suggest-material :material-list="suggestMaterialList"/>
130
+
131
+ </div>
132
+
133
+ <lw-bottom-bar-btn-hidden :btn-list="btnList"/>
134
+
135
+ <!-- 复核序列号 -->
136
+ <lw-popup
137
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.agvbvelf','复核序列号')"
138
+ v-model="checkPopup.show"
139
+ @closed="checkPopupOff"
140
+ >
141
+
142
+ <lw-sku-info-module
143
+ :sku-name="actionCheck.skuInfo.skuName"
144
+ :sku-code="actionCheck.skuInfo.skuCode"
145
+ :qty="actionCheck.skuInfo.minSellQty"
146
+ :qty-text="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.ugretxll','最小销售量')"
147
+ />
148
+
149
+ <div class="lw-global-row lw-global-flex-between">
150
+
151
+ <lw-title-value-cell
152
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.ownspubo','待复核量')"
153
+ :value="actionCheck.skuInfo.waitQty"
154
+ val-red
155
+ val-bold
156
+ :is-row="false"
157
+ />
158
+
159
+ <lw-title-value-cell
160
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.pisatdcc','当前扫描数量')"
161
+ :value="checkPopup.nowScanNum"
162
+ val-red
163
+ val-bold
164
+ :is-row="false"
165
+ />
166
+
167
+ </div>
168
+
169
+ <lw-input
170
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.wyjevgpl','序列号')"
171
+ v-model="checkPopup.sn.value"
172
+ :get-focus.sync="checkPopup.sn.focus"
173
+ auto-clear-val
174
+ rule-key="sn"
175
+ @confirm="checkPopupSnConfirm"
176
+ />
177
+
178
+ <div
179
+ class="lw-global-flex-between lw-global-row"
180
+ v-for="(i,k) in checkPopup.snList"
181
+ :key="k"
182
+ >
183
+ <div class="col-2">{{ i.sn }}</div>
184
+ <div class="col-1">{{ i.qty }}</div>
185
+ <div class="col-3">
186
+ <van-icon
187
+ color="#D50000"
188
+ name="clear"
189
+ size="20"
190
+ @click="checkPopupSnDel(k)"
191
+ />
192
+ </div>
193
+ </div>
194
+
195
+ <template #button>
196
+
197
+ <lw-button
198
+ type="last"
199
+ plain
200
+ @click="checkPopupRepeatScan"
201
+ >
202
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.hirjtmqc','重新扫描') }}
203
+ </lw-button>
204
+
205
+
206
+ <lw-button @click="checkPopupSubmit">
207
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.xlsgeumr','确认复核') }}
208
+ </lw-button>
209
+
210
+ </template>
211
+ </lw-popup>
212
+
213
+ <!-- 完成捆包弹框 -->
214
+ <lw-popup
215
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.aqugjfcu','完成捆包')"
216
+ v-model="overBalePopup.show"
217
+ @closed="mixinOverBaleOff"
218
+ >
219
+ <container-sku-qty
220
+ :box-no="packBox.boxNo"
221
+ :pack-qty="packBox.packQty"
222
+ :type-count="packBox.skuTypeCount"
223
+ />
224
+
225
+ <lw-title-value-cell
226
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.nzkqhshe','标准重量') + '(KG)'"
227
+ :value="overBalePopup.data.standardWeight"
228
+ val-bold
229
+ />
230
+
231
+ <lw-input
232
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.eisrswcv','实际重量') + '(KG)'"
233
+ v-model="overBalePopup.real.value"
234
+ :get-focus.sync="overBalePopup.real.focus"
235
+ type="number"
236
+ @confirm="mixinRealConfirm"
237
+ />
238
+
239
+ <lw-input
240
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.pepgmjjv','捆包包材')"
241
+ v-model="overBalePopup.materials.value"
242
+ :get-focus.sync="overBalePopup.materials.focus"
243
+ rule-key="skuPack"
244
+ :required="packTableConfig.forceUseSuggestPackMaterial"
245
+ @confirm="mixinMaterialsConfirm"
246
+ />
247
+
248
+ <div
249
+ v-if="overBalePopup.materials.list.length"
250
+ class="materials-box"
251
+ >
252
+ <div
253
+ class="lw-global-flex-between lw-global-row-start"
254
+ style="padding: 5px 0"
255
+ >
256
+
257
+ <div class="lw-global-title col-1">
258
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.iezednfo','包材编码') }}
259
+ </div>
260
+
261
+ <div class="lw-global-title col-2">
262
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.qlpuvxgs','包材规格') }}
263
+ </div>
264
+
265
+ <div class="col-3"></div>
266
+
267
+ </div>
268
+
269
+ <div style="max-height: 84px;overflow-y: scroll">
270
+ <div
271
+ class="lw-global-flex-between lw-global-row"
272
+ style="padding: 5px 0"
273
+ v-for="(i,k) in overBalePopup.materials.list"
274
+ :key="k"
275
+ >
276
+
277
+ <!-- 包材编码 -->
278
+ <div class="lw-global-value-bold col-1">{{ i.packMaterialCode }}</div>
279
+
280
+ <!-- 尺寸 -->
281
+ <div class="lw-global-value-bold col-2">
282
+ {{ i.length || '-' }} *
283
+ {{ i.width || '-' }} *
284
+ {{ i.height || '-' }}
285
+ </div>
286
+
287
+ <!-- 删除按钮 -->
288
+ <div class="col-3">
289
+ <van-icon
290
+ color="#D50000"
291
+ name="clear"
292
+ size="20"
293
+ @click="mixinDelMaterials(k)"
294
+ />
295
+ </div>
296
+
297
+ </div>
298
+ </div>
299
+
300
+
301
+ </div>
302
+
303
+ <lw-input
304
+ v-if="packTableConfig.needPackedLocation"
305
+ :title="$lwLanguage.get('','放置库位')"
306
+ v-model="overBalePopup.packedLocation.value"
307
+ :get-focus.sync="overBalePopup.packedLocation.focus"
308
+ :show-bottom-border="false"
309
+ rule-key="packedLocation"
310
+ :create-rule="$lwScanRule.create('独立捆包 - 执行捆包 - 放置库位','LOCATION')"
311
+ required
312
+ @confirm="overBaleConfirm"
313
+ />
314
+
315
+ <template #button>
316
+ <lw-button
317
+ v-if="
318
+ (packTableConfig.forceUseSuggestPackMaterial && suggestMaterialList.length) ||
319
+ overBalePopup.materials.list.length
320
+ "
321
+ @click="overBaleConfirm"
322
+ >
323
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.bjabixrx','完成复核(封箱)') }}
324
+ </lw-button>
325
+ <lw-button
326
+ v-if="!packTableConfig.forceUseSuggestPackMaterial && !overBalePopup.materials.list.length"
327
+ @click="overBaleConfirm"
328
+ >
329
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.wwetygri','无需包材(封箱)') }}
330
+ </lw-button>
331
+ </template>
332
+
333
+ </lw-popup>
334
+
335
+ <!-- 重新复核弹框 -->
336
+ <repeat-check
337
+ v-model="repeatPopupShow"
338
+ :box-data="packBox"
339
+ @repeatConfirm="repeatConfirm"
340
+ />
341
+
342
+ <!-- 追加弹框 -->
343
+ <lw-popup
344
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.daocvnkk','追加')"
345
+ v-model="addPopup.show"
346
+ @closed="addPopupOff"
347
+ >
348
+
349
+ <container-sku-qty
350
+ :box-no="packBox.boxNo"
351
+ :pack-qty="packBox.packQty"
352
+ :type-count="packBox.skuTypeCount"
353
+ />
354
+
355
+ <lw-input
356
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.ipqzcucf','拣选容器号')"
357
+ v-model="addPopup.container.value"
358
+ :get-focus.sync="addPopup.container.focus"
359
+ required
360
+ rule-key="container"
361
+ @confirm="addContainerConfirm"
362
+ />
363
+
364
+ <div
365
+ v-if="Object.keys(addPopup.data).length"
366
+ class="lw-global-flex-between lw-global-row-end"
367
+ >
368
+
369
+ <lw-title-value-cell
370
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.mvbzrrkd','品种数')"
371
+ :value="addPopup.data.skuTypeCount"
372
+ val-bold
373
+ :is-row="false"
374
+ />
375
+
376
+ <lw-title-value-cell
377
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.vjsyivfg','待复核')"
378
+ :value="addPopup.data.waitPackQty"
379
+ val-bold
380
+ :is-row="false"
381
+ />
382
+
383
+ </div>
384
+
385
+ <template #button>
386
+
387
+ <lw-button @click="addConfirm">
388
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.fljefeua','确认追加') }}
389
+ </lw-button>
390
+
391
+ </template>
392
+
393
+ </lw-popup>
394
+
395
+ <!-- 剔除商品 -->
396
+ <del-sku
397
+ v-model="delPopupShow"
398
+ :box-data="packBox"
399
+ :sku-list="packBox.skuList"
400
+ :sku-sn-list="packBox.packSnList"
401
+ need-sn
402
+ @delConfirm="delSkuConfirm"
403
+ />
404
+
405
+ <!-- 全部拦截 -->
406
+ <all-block
407
+ v-model="allBlockShow"
408
+ :container="packContainer.pickContainer"
409
+ :type-count="packContainer.skuTypeCount"
410
+ :qty="packContainer.blockQty"
411
+ @confirm="allBlockConfirm"
412
+ />
413
+
414
+ <!-- 部分拦截 -->
415
+ <part-block
416
+ v-model="partBlockPopup.show"
417
+ :pick-container="partBlockPopup.data.pickContainer"
418
+ :type-count="partBlockPopup.data.skuTypeCount"
419
+ :sku-qty="partBlockPopup.data.skuQty"
420
+ :block-data="partBlockPopup.data.blockData"
421
+ @confirm="partBlockConfirm"
422
+ />
423
+
424
+ </div>
425
+
426
+ </template>
427
+
428
+ <script>
429
+ import storeInfoSkuList from './../../components/storeInfoSkuList/index.vue'
430
+ import checkPackConfig from "../../components/checkPackConfig/index.vue";
431
+ import suggestMaterial from "../../components/suggestMaterial/index.vue";
432
+ import {
433
+ projectWmsContainerWholePack,
434
+ projectWmsMixPackQueryPackData
435
+ } from "../../../../../../api/outbound/bale/checkBale/allCheck";
436
+ import {
437
+ projectWmsGetPrintBoxData,
438
+ projectWmsMixPackAddContainerCheck,
439
+ projectWmsMixPackCheckSn,
440
+ projectWmsMixPackCloseBox,
441
+ projectWmsMixPackComputeBoxSuggest,
442
+ projectWmsMixPackContainerSkuBlock,
443
+ projectWmsMixPackContainerWholeBlock,
444
+ projectWmsMixPackDeleteSku,
445
+ projectWmsMixPackDeleteSkuWithSn,
446
+ projectWmsMixPackRePack,
447
+ projectWmsMIxPackScanQuery,
448
+ projectWmsMixPackSubmitAbnormal,
449
+ projectWmsMixPackSubmitSku,
450
+ projectWmsMixPackSubmitWithSn
451
+ } from "../../../../../../api/outbound/bale/checkBale/action";
452
+ import {baleMixins} from "../../mixins";
453
+ import {projectWmsOutboundMobileGetPackConfig} from "../../../../../../api/outbound/bale/packTableConfig";
454
+
455
+ export default {
456
+ name: "lwOutboundBaleActionPage",
457
+ components:{
458
+ storeInfoSkuList,
459
+ checkPackConfig,
460
+ suggestMaterial,
461
+ },
462
+ mixins:[baleMixins],
463
+ data() {
464
+ return {
465
+ // 捆包箱数据
466
+ packBox:{},
467
+ // 拣选容器数据
468
+ packContainer:{},
469
+
470
+ // 是否是全部复核进入
471
+ fromAllCheck: false,
472
+
473
+ // 允许全部复核
474
+ allowAllCheck: false,
475
+
476
+ // 开始复核
477
+ actionCheck:{
478
+ sku:{
479
+ value: '',
480
+ focus: false
481
+ },
482
+ qty:{
483
+ value: '',
484
+ focus: false
485
+ },
486
+
487
+ skuInfo:{}
488
+ },
489
+
490
+ // 序列号复核弹框
491
+ checkPopup:{
492
+ show: false,
493
+ // 当前扫描量
494
+ nowScanNum: 0,
495
+ sn:{
496
+ value:'',
497
+ focus: false
498
+ },
499
+ snList: []
500
+ },
501
+
502
+
503
+ // 追加
504
+ addPopup:{
505
+ show: false,
506
+ container:{
507
+ value: '',
508
+ focus: false
509
+ },
510
+ data:{}
511
+ },
512
+
513
+ // 捆包台配置信息
514
+ packTableConfig:{},
515
+
516
+ // 打印机数据
517
+ printData:{},
518
+ }
519
+ },
520
+ computed:{
521
+ customerName(){
522
+
523
+ if (this.packContainer.customerName)return this.packContainer.customerName
524
+
525
+ if (this.packBox.customerName)return this.packBox.customerName
526
+
527
+ return '-'
528
+ },
529
+ customerCode(){
530
+
531
+ if (this.packContainer.customerCode)return this.packContainer.customerCode
532
+
533
+ if (this.packBox.customerCode)return this.packBox.customerCode
534
+
535
+ return '-'
536
+ },
537
+
538
+ // 是否需要显示追加按钮
539
+ showAddBtn(){
540
+ return !(this.packContainer && this.packContainer.waitPackQty > 0);
541
+ },
542
+ },
543
+ mounted() {
544
+
545
+ this.init()
546
+ },
547
+ methods: {
548
+
549
+ // 初始化
550
+ async init(){
551
+ // 判断当前是否配置了打印机
552
+ const {success,printData} = this.$lwPrint.test(
553
+ 'OUTBOUND_BOX_LABEL',
554
+ this.$lwLanguage.get('','出库箱票标签')
555
+ )
556
+ if (!success){
557
+ history.go(-1)
558
+ return
559
+ }
560
+ this.printData = printData
561
+
562
+ this.packTableConfig = await projectWmsOutboundMobileGetPackConfig()
563
+
564
+ const query = this.$route.query
565
+ // 判断是否是通过全部复核进入的
566
+ if (query.lwType === 'allCheck'){
567
+ this.fromAllCheck = true
568
+ this.allowAllCheck = false
569
+
570
+ projectWmsContainerWholePack({
571
+ pickContainer: query.lwContainer
572
+ }).then(res=>{
573
+ this.mixinCheckBlock(res)
574
+
575
+ this.formatData(res)
576
+ })
577
+ return
578
+ }
579
+
580
+ await this.getData(true)
581
+ },
582
+
583
+ // 数据处理
584
+ formatData(res){
585
+ this.packBox = res.packBox || {}
586
+ this.packContainer = res.packContainer || {}
587
+ this.suggestMaterialList = res.suggestPackMaterialList || []
588
+ },
589
+
590
+ // 获取数据
591
+ getData(first){
592
+ return new Promise((PR,PE)=>{
593
+
594
+ let queryContainer = ''
595
+ if (this.packBox.boxNo){
596
+ queryContainer = this.packBox.boxNo
597
+ }else {
598
+ queryContainer = this.$route.query.lwContainer
599
+ }
600
+ projectWmsMixPackQueryPackData({
601
+ queryContainer
602
+ }).then(res=>{
603
+
604
+ this.formatData(res)
605
+ if (res.packContainer && res.packContainer.blockStatus === '200') this.allBlockShow = true
606
+
607
+ first ? this.actionCheck.sku.focus = true : ''
608
+ PR()
609
+ }).catch(()=>{
610
+ PE()
611
+ history.go(-1)
612
+ })
613
+ })
614
+ },
615
+
616
+ // 查找当前扫描商品是否在拣选容器内
617
+ checkPickContainerHasSkuCode(skuCode){
618
+ for (let i of this.packContainer.packSkuList){
619
+
620
+ if (i.skuCode === skuCode){
621
+ return {success: true, skuInfo:i}
622
+ }
623
+
624
+ }
625
+
626
+ return {success: false, skuInfo: {}}
627
+
628
+ },
629
+ // 开始复核 - 商品号确认
630
+ actionCheckSkuConfirm(val,{data}){
631
+ const {success, skuInfo} = this.checkPickContainerHasSkuCode(data.key || val)
632
+
633
+ if (success){
634
+
635
+ // 查看当前是否存在记录数据
636
+ if (Object.keys(this.actionCheck.skuInfo).length){
637
+
638
+ // 如果存在历史记录就判断是否和上次扫描的数据一直
639
+ if (skuInfo.skuCode !== this.actionCheck.skuInfo.skuCode){
640
+ this.actionCheck.sku.focus = true
641
+ this.$lwShowErrorMsg(
642
+ this.$lwLanguage.get(
643
+ '',
644
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.nhcgbeqa', '当前扫描商品与上一次扫描商品不一致!')
645
+ )
646
+ )
647
+ return
648
+ }
649
+
650
+ }
651
+
652
+ // 校验是否需要sn
653
+ this.checkNeedSn({
654
+ ...skuInfo,
655
+ waitQty: skuInfo.totalQty - skuInfo.packQty
656
+ })
657
+ return
658
+ }
659
+
660
+ projectWmsMIxPackScanQuery({
661
+ pickContainer: this.packContainer.pickContainer,
662
+ boxId: this.packBox.boxId,
663
+ currentSkuId: this.actionCheck.skuInfo.skuId,
664
+ sn: data.key,
665
+ qty: data.qty
666
+ }).then(res=>{
667
+ this.checkNeedSn(res, 'add')
668
+ })
669
+
670
+ },
671
+ // 校验是否需要处理sn
672
+ checkNeedSn(data, type){
673
+
674
+ this.actionCheck.skuInfo = data
675
+
676
+ // 判断是否需要处理sn
677
+ if (data.needHandleSn){
678
+ this.checkPopup.show = true
679
+ this.checkPopup.sn.focus = true
680
+ // 判断是否需要增加一条数据
681
+ type === 'add' && this.checkPopup.snList.unshift({sn: data.sn, qty: data.qty})
682
+ this.getCheckPopupNum()
683
+ return
684
+ }
685
+
686
+ this.actionCheck.qty.value = Number(this.actionCheck.qty.value || 0 ) + Number(data.qty || 0)
687
+
688
+ // 如果扫描方式是逐件扫描或者当前捆包数量等于扫描数量就自动提交
689
+ if (this.packContainer.outboundPackScanMethod === 'SINGLE' && !this.actionCheck.qty.value){
690
+ this.actionCheck.qty.value = data.minSellQty || 1
691
+ }
692
+ if(this.packContainer.outboundPackScanMethod === 'SINGLE' || this.actionCheck.qty.value === this.actionCheck.skuInfo.waitQty){
693
+ this.actionCheckQtyConfirm()
694
+ }
695
+ },
696
+ // 开始复核 - 商品数量确认
697
+ actionCheckQtyConfirm(){
698
+
699
+ const qty = Number(this.actionCheck.qty.value || 0)
700
+
701
+ if (!qty){
702
+ this.actionCheck.qty.focus = true
703
+ this.$lwShowErrorMsg(
704
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.sesxkxyt','复核数不能为空,且应当是大于0的整数')
705
+ )
706
+ return
707
+ }
708
+
709
+ if (qty > this.actionCheck.skuInfo.waitQty){
710
+ this.actionCheck.qty.focus = true
711
+ this.$lwShowErrorMsg(
712
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.cbitnesb','复核数不能大于待复核数')
713
+ )
714
+ this.actionCheck.qty.value = ''
715
+ return
716
+ }
717
+
718
+
719
+ projectWmsMixPackSubmitSku({
720
+ boxId: this.packBox.boxId,
721
+ pickContainer: this.packContainer.pickContainer,
722
+ skuId: this.actionCheck.skuInfo.skuId,
723
+ currentPackQty: qty
724
+ }).then(res=>{
725
+
726
+ this.formatData(res)
727
+
728
+ if (res.containerPackFinish){
729
+ this.$lwToast.success(
730
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.fzaqeggt','当前容器已复核完毕')
731
+ )
732
+
733
+ this.overBaleOpen()
734
+
735
+ }
736
+
737
+ this.actionCheck.sku.value = ''
738
+ this.actionCheck.sku.focus = true
739
+ this.actionCheck.qty.focus = false
740
+ this.actionCheck.qty.value = ''
741
+ this.$nextTick(()=>this.actionCheck.skuInfo = {})
742
+
743
+ this.mixinCheckBlock(res)
744
+ })
745
+ },
746
+
747
+ // 复核序列号 - 当前复核量
748
+ getCheckPopupNum(){
749
+ let num = 0
750
+ this.checkPopup.snList.forEach(item=>{
751
+ num += Number(item.qty || 0)
752
+ })
753
+ this.checkPopup.nowScanNum = num
754
+
755
+ if (num === this.actionCheck.skuInfo.waitQty){
756
+ this.checkPopupSubmit()
757
+ }
758
+
759
+ },
760
+ // 复核序列号 - 确认
761
+ checkPopupSnConfirm(val,{data}){
762
+ const sn = data.key
763
+ if (!sn){
764
+ this.checkPopup.sn.focus = true
765
+ this.$lwShowErrorMsg(
766
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.zturbxlj','序列号不能为空')
767
+ )
768
+ return
769
+ }
770
+
771
+ if (this.checkPopup.snList.some(item=>item.sn===sn)){
772
+ this.checkPopup.sn.focus = true
773
+ this.$lwShowErrorMsg(
774
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.zturbxlja','当前序列号已存在列表中')
775
+ )
776
+ this.checkPopup.sn.value = ''
777
+ return
778
+ }
779
+
780
+ projectWmsMixPackCheckSn({
781
+ pickContainer:'',
782
+ skuId: this.actionCheck.skuInfo.skuId,
783
+ sn,
784
+ qty: data.qty || 0
785
+ }).then(res=>{
786
+ this.checkPopup.snList.unshift(res)
787
+ this.getCheckPopupNum()
788
+ })
789
+ },
790
+ // 复核序列号 - 删除
791
+ checkPopupSnDel(index){
792
+
793
+ this.checkPopup.snList.splice(index, 1)
794
+ this.getCheckPopupNum()
795
+
796
+ },
797
+ // 复核序列号 - 提交数据
798
+ checkPopupSubmit(){
799
+
800
+ const snList = this.checkPopup.snList
801
+ if (!snList.length){
802
+ this.checkPopup.sn.focus = true
803
+ this.$lwShowErrorMsg(
804
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.agienozq','请输入或扫描需要复核的序列号')
805
+ )
806
+ return
807
+ }
808
+
809
+ projectWmsMixPackSubmitWithSn({
810
+ boxId: this.packBox.boxId,
811
+ pickContainer: this.packContainer.pickContainer,
812
+ skuId: this.actionCheck.skuInfo.skuId,
813
+ snList
814
+ }).then(res=>{
815
+ this.formatData(res)
816
+
817
+ if (res.containerPackFinish){
818
+ this.$lwToast.success(
819
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.fzaqeggt','当前容器已复核完毕')
820
+ )
821
+
822
+ this.overBaleOpen()
823
+ }
824
+
825
+ this.checkPopup.show = false
826
+
827
+ this.mixinCheckBlock(res)
828
+ })
829
+ },
830
+ // 复核序列号 - 重新扫描
831
+ checkPopupRepeatScan(){
832
+ this.$lwDialog.confirm({
833
+ title: this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.tyoupcga','警告'),
834
+ message: this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.aviijbed','当前扫描数据将会被清空')
835
+ }).then(()=>{
836
+ this.checkPopup.sn.value = ''
837
+ this.checkPopup.snList = []
838
+ this.getCheckPopupNum()
839
+ }).catch(()=>{})
840
+ },
841
+ // 复核序列号 - 弹框关闭
842
+ checkPopupOff(){
843
+ this.checkPopup.sn.value = ''
844
+ this.checkPopup.snList = []
845
+ this.actionCheck.sku.value = ''
846
+ this.actionCheck.sku.focus = true
847
+ this.actionCheck.skuInfo = {}
848
+ },
849
+
850
+
851
+ // 完成捆包 - 打开弹框
852
+ overBaleOpen(){
853
+ projectWmsMixPackComputeBoxSuggest({
854
+ boxId: this.packBox.boxId
855
+ }).then(res=>{
856
+ this.overBalePopup.data = res
857
+ this.overBalePopup.show = true
858
+ this.overBalePopup.real.focus = true
859
+ })
860
+ },
861
+ // 完成捆包 - 封箱
862
+ async overBaleConfirm(){
863
+
864
+ if (this.packTableConfig.forceUseSuggestPackMaterial && !this.overBalePopup.materials.list.length){
865
+ this.overBalePopup.materials.focus = true
866
+ this.$lwShowErrorMsg(
867
+ this.$lwLanguage.get('','捆包包材不能为空')
868
+ )
869
+ return
870
+ }
871
+
872
+ let packedLocation = this.overBalePopup.packedLocation.value
873
+ if (this.packTableConfig.needPackedLocation && !packedLocation){
874
+ this.overBalePopup.packedLocation.focus = true
875
+ this.$lwShowErrorMsg(
876
+ this.$lwLanguage.get('','放置库位不能为空')
877
+ )
878
+ return
879
+ }
880
+
881
+ await projectWmsMixPackCloseBox({
882
+ boxId: this.packBox.boxId,
883
+ packWeight: this.overBalePopup.real.value || this.overBalePopup.data.standardWeight,
884
+ packMaterialList: this.mixinGetMaterials(),
885
+ packTableId: this.packTableConfig.needPackTable ? this.$lwLocalStorage.get('lwPackTableData').packTableId : '',
886
+ packedLocation
887
+
888
+ })
889
+
890
+ this.$lwToast.success(
891
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.bqbzdkbu','捆包成功')
892
+ )
893
+
894
+ try {
895
+ await this.printClick()
896
+ }finally {
897
+ history.go(-1)
898
+ }
899
+
900
+ },
901
+ // 重新复核 - 确认
902
+ repeatConfirm(container){
903
+ projectWmsMixPackRePack({
904
+ boxId: this.packBox.boxId,
905
+ toPickContainer: container
906
+ }).then(()=>{
907
+ this.$lwToast.success(
908
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.vecsyyxh','操作成功')
909
+ )
910
+ history.go(-1)
911
+ })
912
+ },
913
+
914
+ // 追加 - 弹框打开
915
+ addSkuOpen(){
916
+ this.addPopup.container.focus = true
917
+ this.addPopup.show = true
918
+ },
919
+ // 追加 - 确认拣选容器号
920
+ addContainerConfirm(){
921
+ const container = this.addPopup.container.value
922
+ if (!container){
923
+ this.addPopup.container.focus = true
924
+ this.$lwShowErrorMsg(
925
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.wmwodaqc','拣选容器号不能为空')
926
+ )
927
+ return
928
+ }
929
+
930
+ projectWmsMixPackAddContainerCheck({
931
+ boxId: this.packBox.boxId,
932
+ addPickContainer: container
933
+ }).then(res=>{
934
+ this.addPopup.data = res
935
+ })
936
+ },
937
+ // 追加 - 确认追加
938
+ addConfirm(){
939
+ this.packContainer = this.$lwDeepCopy(this.addPopup.data)
940
+ this.addPopup.show = false
941
+ },
942
+ // 追加 - 弹框关闭
943
+ addPopupOff(){
944
+ this.addPopup.container.value = ''
945
+ this.addPopup.data = {}
946
+ },
947
+
948
+ // 剔除商品 - 确认剔除
949
+ delSkuConfirm(data){
950
+
951
+ // 判断当前是需要sn还是不需要
952
+ const fn = data.isSn ?
953
+ projectWmsMixPackDeleteSkuWithSn :
954
+ projectWmsMixPackDeleteSku
955
+
956
+ fn({
957
+ ...data,
958
+ boxId: this.packBox.boxId
959
+ }).then(res=>{
960
+ if (res.boxDelAll){
961
+ this.$lwToast.success(
962
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.bheqtugt','当前箱已全部剔除')
963
+ )
964
+ history.go(-1)
965
+ return
966
+ }
967
+
968
+ this.$lwToast.success(
969
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.vkvtsjoo','剔除成功')
970
+ )
971
+ this.getData()
972
+ this.delPopupShow = false
973
+ })
974
+ },
975
+
976
+ // 全部拦截
977
+ allBlockConfirm(){
978
+ projectWmsMixPackContainerWholeBlock({
979
+ pickContainer: this.packContainer.pickContainer
980
+ }).then(()=>{
981
+ this.$lwToast.success(
982
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.bncgywex','已拦截')
983
+ )
984
+ history.go(-1)
985
+ })
986
+ },
987
+ // 部分拦截
988
+ async partBlockConfirm(data){
989
+
990
+ const res = await projectWmsMixPackContainerSkuBlock({
991
+ pickContainer: data.container,
992
+ currentBlockQty: data.qty,
993
+ skuId: this.partBlockPopup.data.blockData.skuId
994
+ })
995
+
996
+ await this.getData()
997
+
998
+ if (res.containerPackFinish){
999
+ this.$lwToast.success(
1000
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.checkBale.action.jfmhrzqh','当前容器已全部捆包')
1001
+ )
1002
+ this.overBaleOpen()
1003
+ }
1004
+ },
1005
+
1006
+ // 异常确认
1007
+ abnConfirm(data){
1008
+ return projectWmsMixPackSubmitAbnormal({
1009
+ pickContainer: this.packContainer.pickContainer,
1010
+ ...data
1011
+ })
1012
+ },
1013
+
1014
+ // 打印
1015
+ async printClick(){
1016
+ try {
1017
+ const res = await projectWmsGetPrintBoxData({
1018
+ boxId: this.packBox.boxId,
1019
+ printDeviceId: this.printData.printId
1020
+ })
1021
+
1022
+ await this.$lwPrint.bluetoothPrint({taskId:res.id})
1023
+ }catch (e) {
1024
+ console.log(e)
1025
+ }
1026
+ }
1027
+ }
1028
+ }
1029
+ </script>
1030
+
1031
+ <style scoped lang="less">
1032
+ .materials-box{
1033
+ margin-top: 5px;
1034
+ padding: 0 5px;
1035
+ border-radius: 5px;
1036
+ border: solid 1px #f0f0f0;
1037
+ }
1038
+
1039
+ .col-1{
1040
+ width: 35%;
1041
+ flex-shrink: 0;
1042
+ }
1043
+ .col-2{
1044
+ width: 55%;
1045
+ flex-shrink: 0;
1046
+ }
1047
+ .col-3{
1048
+ width: 24px;
1049
+ flex-shrink: 0;
1050
+ }
1051
+
1052
+ </style>