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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (658) hide show
  1. package/README.md +117 -117
  2. package/dist/BlockInfo.1c8ece6a.mjs +47 -0
  3. package/dist/InboundQualityExecuteView.3c816a1e.mjs +23 -0
  4. package/dist/InboundQualityTaskListView.14185db1.mjs +23 -0
  5. package/dist/InboundReceiveAllocSkuExecuteView.ad248f9e.mjs +23 -0
  6. package/dist/InboundReceiveAllocSnExecuteView.c8a4abc8.mjs +23 -0
  7. package/dist/InboundReceiveAllocTabListView.9639b998.mjs +23 -0
  8. package/dist/InboundReceiveCaseExecuteView.3f937231.mjs +217 -0
  9. package/dist/InboundReceiveCaseScanView.a88b4178.mjs +83 -0
  10. package/dist/InboundReceiveLpnBatchExecuteView.6034a9e1.mjs +23 -0
  11. package/dist/InboundReceiveLpnExecuteView.d3116e23.mjs +23 -0
  12. package/dist/InboundReceiveLpnScanView.4db78898.mjs +23 -0
  13. package/dist/InboundReceiveRandomSkuExecuteView.1b6e0637.mjs +23 -0
  14. package/dist/InboundReceiveRandomSkuScanView.1821d2c4.mjs +23 -0
  15. package/dist/InboundReceiveRandomSkuSnExecuteView.2f3cfcea.mjs +23 -0
  16. package/dist/InboundReceiveSkuAdvanceView.a6b4568f.mjs +23 -0
  17. package/dist/InboundReceiveSkuDirectView.811bf351.mjs +23 -0
  18. package/dist/InboundReceiveSkuScanView.5e614e01.mjs +23 -0
  19. package/dist/LwInboundSortingAsnView.3e1106d7.mjs +23 -0
  20. package/dist/LwInboundSortingByContainerView.33299f9f.mjs +23 -0
  21. package/dist/LwInboundSortingByOrderView.2f8db636.mjs +23 -0
  22. package/dist/LwInboundSortingIndexView.c9ed07c1.mjs +23 -0
  23. package/dist/LwOutboundReprintBoxView.72539c87.mjs +180 -0
  24. package/dist/LwOutboundStockoutExecuteView.3fe57cee.mjs +76 -0
  25. package/dist/LwOutboundStockoutListView.d9a1e1bd.mjs +123 -0
  26. package/dist/MoveRandomWholeCaseView.c2742890.mjs +20 -0
  27. package/dist/MoveTaskWholeCaseDownView.5250c675.mjs +20 -0
  28. package/dist/MoveTaskWholeCaseUpView.824a2aee.mjs +20 -0
  29. package/dist/MoveTaskWholeIndexView.4de7edfc.mjs +20 -0
  30. package/dist/OutboundBlockBoxListView.dedc1292.mjs +83 -0
  31. package/dist/OutboundBlockExecuteView.db1ab452.mjs +166 -0
  32. package/dist/action.017a327c.mjs +26 -0
  33. package/dist/action.01da8ae9.mjs +26 -0
  34. package/dist/action.02bbb588.mjs +26 -0
  35. package/dist/action.034382ff.mjs +26 -0
  36. package/dist/action.04ee34d5.mjs +26 -0
  37. package/dist/action.0a1d10ad.mjs +26 -0
  38. package/dist/action.0cfc710c.mjs +26 -0
  39. package/dist/action.2baf8260.mjs +26 -0
  40. package/dist/action.4a3773c1.mjs +26 -0
  41. package/dist/action.4dc11c91.mjs +26 -0
  42. package/dist/action.54fe5fe2.mjs +26 -0
  43. package/dist/action.5aa67994.mjs +26 -0
  44. package/dist/action.5bb65cf2.mjs +22 -0
  45. package/dist/action.68f0c9ef.mjs +26 -0
  46. package/dist/action.6ba45e3b.mjs +26 -0
  47. package/dist/action.6be6f5d3.mjs +26 -0
  48. package/dist/action.7424605b.mjs +26 -0
  49. package/dist/action.88067120.mjs +26 -0
  50. package/dist/action.8e26827f.mjs +26 -0
  51. package/dist/action.8f655f2e.mjs +26 -0
  52. package/dist/action.8ffbd19f.mjs +26 -0
  53. package/dist/action.95aa8c94.mjs +26 -0
  54. package/dist/action.b0306402.mjs +26 -0
  55. package/dist/action.c1816f01.mjs +26 -0
  56. package/dist/action.ec9705f5.mjs +26 -0
  57. package/dist/action.eff389f9.mjs +26 -0
  58. package/dist/action.f03dbf79.mjs +26 -0
  59. package/dist/action.f8726b24.mjs +22 -0
  60. package/dist/add.2e5ce839.mjs +26 -0
  61. package/dist/addOrder.4f228676.mjs +26 -0
  62. package/dist/allCheck.c5c9395b.mjs +26 -0
  63. package/dist/aloneAction.43f83144.mjs +26 -0
  64. package/dist/boxAction.3d4eb6d9.mjs +26 -0
  65. package/dist/caseAction.74093bb0.mjs +26 -0
  66. package/dist/console.4232cad5.mjs +26 -0
  67. package/dist/consoleInfo.3eefa9b6.mjs +26 -0
  68. package/dist/content.44aa1b2c.mjs +26 -0
  69. package/dist/contentInfo.4b40e2e7.mjs +26 -0
  70. package/dist/customer.cc356336.mjs +26 -0
  71. package/dist/device.807dfeb7.mjs +26 -0
  72. package/dist/generate.72d6586b.mjs +26 -0
  73. package/dist/home.862fcd6d.mjs +22 -0
  74. package/dist/index.00779596.mjs +26 -0
  75. package/dist/index.11007dde.mjs +26 -0
  76. package/dist/index.1156af3a.mjs +26 -0
  77. package/dist/index.15f6f203.mjs +26 -0
  78. package/dist/index.1accff9d.mjs +26 -0
  79. package/dist/index.1fa9c485.mjs +26 -0
  80. package/dist/index.2186bd36.mjs +26 -0
  81. package/dist/index.22aef932.mjs +60561 -0
  82. package/dist/index.255f016c.mjs +26 -0
  83. package/dist/index.2833a061.mjs +26 -0
  84. package/dist/index.3330acfb.mjs +26 -0
  85. package/dist/index.3e28f529.mjs +26 -0
  86. package/dist/index.41e9615a.mjs +26 -0
  87. package/dist/index.5307f035.mjs +26 -0
  88. package/dist/index.53edfcba.mjs +22 -0
  89. package/dist/index.585c56c2.mjs +26 -0
  90. package/dist/index.5c3a5656.mjs +26 -0
  91. package/dist/index.5def9da7.mjs +26 -0
  92. package/dist/index.5ed3d1b8.mjs +26 -0
  93. package/dist/index.65987267.mjs +25 -0
  94. package/dist/index.68be1564.mjs +26 -0
  95. package/dist/index.69a0e492.mjs +58 -0
  96. package/dist/index.69c12a25.mjs +26 -0
  97. package/dist/index.6c35d72c.mjs +26 -0
  98. package/dist/index.6ce411ca.mjs +26 -0
  99. package/dist/index.88defcf5.mjs +26 -0
  100. package/dist/index.8fb5154c.mjs +26 -0
  101. package/dist/index.962f2cd9.mjs +45 -0
  102. package/dist/index.98d8e385.mjs +26 -0
  103. package/dist/index.9b2f3427.mjs +26 -0
  104. package/dist/index.9cc1b8cb.mjs +26 -0
  105. package/dist/index.a4868e2e.mjs +26 -0
  106. package/dist/index.af8fef71.mjs +26 -0
  107. package/dist/index.b13b9084.mjs +26 -0
  108. package/dist/index.b28a704f.mjs +26 -0
  109. package/dist/index.baeda2e1.mjs +26 -0
  110. package/dist/index.bc0f7742.mjs +26 -0
  111. package/dist/index.bcce7d7e.mjs +26 -0
  112. package/dist/index.bff4ac60.mjs +22 -0
  113. package/dist/index.c47c55d2.mjs +26 -0
  114. package/dist/index.c53a8678.mjs +22 -0
  115. package/dist/index.d1f6dd66.mjs +76 -0
  116. package/dist/index.db5c6017.mjs +26 -0
  117. package/dist/index.ddc65ec9.mjs +26 -0
  118. package/dist/index.de826989.mjs +38 -0
  119. package/dist/index.e751b3ad.mjs +26 -0
  120. package/dist/index.eccf6574.mjs +26 -0
  121. package/dist/index.es.js +5 -0
  122. package/dist/index.f35febce.mjs +26 -0
  123. package/dist/index.f82b4518.mjs +26 -0
  124. package/dist/index.fac867ec.mjs +26 -0
  125. package/dist/index.umd.js +24 -0
  126. package/dist/language.0238a2bb.mjs +26 -0
  127. package/dist/large.c0e2e5e2.mjs +26 -0
  128. package/dist/line.d6075059.mjs +26 -0
  129. package/dist/lpn.407d85bd.mjs +26 -0
  130. package/dist/lpnAction.53153261.mjs +26 -0
  131. package/dist/lpnAction.e02fa075.mjs +26 -0
  132. package/dist/lpnBatchAction.6616460e.mjs +26 -0
  133. package/dist/menuOne.01b2c0b4.mjs +38 -0
  134. package/dist/menuTwo.35fcbc35.mjs +36 -0
  135. package/dist/msg.3587e42c.mjs +26 -0
  136. package/dist/newBale.e62943b8.mjs +26 -0
  137. package/dist/newBale.fa567c88.mjs +26 -0
  138. package/dist/newLpn.2f06a7fb.mjs +26 -0
  139. package/dist/notAloneAction.12f5c1f0.mjs +26 -0
  140. package/dist/over.0897f137.mjs +26 -0
  141. package/dist/page.051e1c8c.mjs +26 -0
  142. package/dist/print.34afe6a8.mjs +26 -0
  143. package/dist/printLabel.efb743ab.mjs +26 -0
  144. package/dist/queryByLocationCode.5abdd79f.mjs +26 -0
  145. package/dist/queryBySkuCode.9b53e304.mjs +26 -0
  146. package/dist/sample.7c395c51.mjs +26 -0
  147. package/dist/search.49ecd7f6.mjs +26 -0
  148. package/dist/skuAction.8ed7a1c3.mjs +26 -0
  149. package/dist/skuCheck.279b82b0.mjs +26 -0
  150. package/dist/smallPage.dde66fc7.mjs +26 -0
  151. package/dist/sowAction.b1db1fc0.mjs +26 -0
  152. package/dist/style.css +1 -0
  153. package/dist/taskEntrance.7fe227a2.mjs +26 -0
  154. package/dist/timezone.6ced3ba0.mjs +26 -0
  155. package/dist/warehouse.94715780.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 +163 -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//351/224/231/350/257/257/346/217/220/347/244/272/346/241/206.md +1 -1
  542. package/src/components/ui/Form//350/241/250/345/215/225.md +1 -1
  543. package/src/components/ui/ImgLook/index.vue +105 -105
  544. package/src/components/ui/ImgLook//345/233/276/347/211/207/346/237/245/347/234/213.md +1 -1
  545. package/src/components/ui/ImgUpload/imgUploadAxios.js +37 -37
  546. package/src/components/ui/ImgUpload/index.vue +120 -120
  547. package/src/components/ui/ImgUpload//345/233/276/347/211/207/344/270/212/344/274/240.md +1 -1
  548. package/src/components/ui/Input/index.vue +567 -581
  549. package/src/components/ui/Loading/index.js +49 -49
  550. package/src/components/ui/Loading//345/212/240/350/275/275/346/241/206.md +1 -1
  551. package/src/components/ui/MenuItem//350/217/234/345/215/225/351/241/271.md +1 -1
  552. package/src/components/ui/NavBar/index.vue +4 -4
  553. package/src/components/ui/NotData//347/251/272/346/225/260/346/215/256/347/212/266/346/200/201.md +1 -1
  554. package/src/components/ui/NoticeBar/index.js +88 -0
  555. package/src/components/ui/NoticeBar/index.vue +98 -0
  556. package/src/components/ui/NoticeBar//351/200/232/347/237/245/346/240/217.md +0 -0
  557. package/src/components/ui/Pages/index.vue +4 -4
  558. package/src/components/ui/Pages//345/210/206/351/241/265/351/241/265/347/240/201.md +1 -1
  559. package/src/components/ui/Pagination/index.js +11 -11
  560. package/src/components/ui/Pagination/index.vue +274 -274
  561. package/src/components/ui/Pagination//345/210/206/351/241/265V2.md +1 -1
  562. package/src/components/ui/Popup/index.vue +242 -242
  563. package/src/components/ui/Popup//345/274/271/345/207/272/345/261/202.md +1 -1
  564. package/src/components/ui/PopupCheckbox/index.vue +27 -6
  565. package/src/components/ui/PopupCheckbox//345/244/232/351/200/211/345/274/271/346/241/206.md +1 -1
  566. package/src/components/ui/PopupRadio//345/215/225/351/200/211/345/274/271/346/241/206.md +1 -1
  567. package/src/components/ui/TabBar/index.vue +1 -1
  568. package/src/components/ui/Table//350/241/250/346/240/274.md +1 -1
  569. package/src/components/ui/Tag/index.vue +11 -11
  570. package/src/components/ui/Tag//346/240/207/347/255/276.md +1 -1
  571. package/src/components/ui/TitleValueCell/index.vue +90 -88
  572. package/src/components/ui/TitleValueCell//346/240/207/351/242/230/345/200/274/350/241/214.md +2 -2
  573. package/src/components/ui/index.js +92 -87
  574. package/src/mixins/loginAndInit/index.js +31 -31
  575. package/src/router/index.js +895 -742
  576. package/src/router/menu.js +754 -638
  577. package/src/test/file/index.js +11 -11
  578. package/src/utils/ApiUtils.js +59 -59
  579. package/src/utils/AppBack.js +43 -43
  580. package/src/utils/AppPower.js +621 -76
  581. package/src/utils/Axios.js +30 -0
  582. package/src/utils/BarcodeResolve.js +5 -5
  583. package/src/utils/DateTime.js +234 -233
  584. package/src/utils/DeepCopy.js +61 -61
  585. package/src/utils/Dialog.js +16 -0
  586. package/src/utils/Dict.js +89 -73
  587. package/src/utils/GetImgSrc.js +54 -54
  588. package/src/utils/Language.js +87 -79
  589. package/src/utils/LocalStorage.js +66 -66
  590. package/src/utils/Permissions.js +65 -65
  591. package/src/utils/Print.js +232 -177
  592. package/src/utils/README.md +60 -60
  593. package/src/utils/ScanRule.js +39 -39
  594. package/src/utils/SetColor.js +57 -57
  595. package/src/utils/TabBar.js +31 -31
  596. package/src/utils/Timezone.js +183 -179
  597. package/src/utils/Tip.js +26 -26
  598. package/src/utils/UUID.js +33 -39
  599. package/src/utils/Warehouse.js +30 -30
  600. package/src/utils/index.js +4 -1
  601. package/src/utils/windowGlobalData.js +114 -114
  602. package/src/views/common/init/index.vue +145 -138
  603. package/src/views/common/my/timezone.vue +23 -23
  604. package/src/views/common/task/search.vue +23 -0
  605. package/src/views/count/console.vue +23 -0
  606. package/src/views/inbound/receive/printLabel.vue +23 -0
  607. package/src/views/inbound/sorting/LwInboundSortingAsnView.vue +16 -0
  608. package/src/views/inbound/sorting/LwInboundSortingByContainerView.vue +16 -0
  609. package/src/views/inbound/sorting/LwInboundSortingByOrderView.vue +16 -0
  610. package/src/views/inbound/sorting/LwInboundSortingIndexView.vue +16 -0
  611. package/src/views/inbound/unload/action.vue +23 -0
  612. package/src/views/inbound/unload/add.vue +23 -0
  613. package/src/views/inbound/unload/index.vue +23 -0
  614. package/src/views/inner/caseQuickMove/index.vue +23 -0
  615. package/src/views/inner/check/action.vue +23 -0
  616. package/src/views/inner/dead/large.vue +23 -23
  617. package/src/views/inner/dead/putaway/action.vue +23 -23
  618. package/src/views/inner/dead/putaway/index.vue +23 -23
  619. package/src/views/inner/dead/query/action.vue +23 -0
  620. package/src/views/inner/dead/query/index.vue +23 -0
  621. package/src/views/inner/dead/smallPage.vue +23 -23
  622. package/src/views/inner/dead/taskEntrance.vue +23 -23
  623. package/src/views/inner/fragQuickMove/action.vue +23 -0
  624. package/src/views/inner/fragQuickMove/index.vue +23 -0
  625. package/src/views/inner/materialApply/action.vue +2 -2
  626. package/src/views/inner/materialApply/generate.vue +2 -2
  627. package/src/views/inner/taskMove/whole/MoveRandomWholeCaseView.vue +3 -0
  628. package/src/views/inner/taskMove/whole/MoveTaskWholeCaseDownView.vue +3 -0
  629. package/src/views/inner/taskMove/whole/MoveTaskWholeCaseUpView.vue +3 -0
  630. package/src/views/inner/taskMove/whole/MoveTaskWholeIndexView.vue +3 -0
  631. package/src/views/outbound/baleChange/action.vue +23 -23
  632. package/src/views/outbound/baleChange/index.vue +23 -23
  633. package/src/views/outbound/baleChange/skuCheck.vue +23 -23
  634. package/src/views/outbound/boxTransfer/action.vue +23 -23
  635. package/src/views/outbound/boxTransfer/index.vue +23 -23
  636. package/src/views/outbound/handover/customer.vue +23 -23
  637. package/src/views/outbound/handover/index.vue +23 -23
  638. package/src/views/outbound/handover/line.vue +23 -23
  639. package/src/views/outbound/handover/lpn.vue +23 -23
  640. package/src/views/outbound/lpnPack/action.vue +23 -23
  641. package/src/views/outbound/lpnPack/index.vue +23 -23
  642. package/src/views/outbound/lpnPack/newLpn.vue +23 -23
  643. package/src/views/outbound/lpnPack/over.vue +23 -23
  644. package/src/views/outbound/packCollect/index.vue +23 -0
  645. package/src/views/outbound/pickContainer/action.vue +23 -23
  646. package/src/views/outbound/pickContainer/index.vue +23 -23
  647. package/src/views/outbound/sowCollect/index.vue +23 -0
  648. package/src/views/process/action/action.vue +23 -23
  649. package/src/views/process/action/index.vue +23 -23
  650. package/src/views/process/prepare/index.vue +23 -23
  651. package/src/views/process/screen/display/index.vue +23 -0
  652. package/src/views/process/screen/index/index.vue +23 -0
  653. package/src/views/receive/putaway/lpnBatchAction.vue +23 -23
  654. package/dist/logwire-wms-pda-ui.js +0 -7
  655. package/src/assets/img/lwInputIcon/keyboard.png +0 -0
  656. package/src/components/page/outbound/bale/components/containerInfo/img.png +0 -0
  657. package/src/components/page/outbound/bale/components/containerSkuQty/img.png +0 -0
  658. package/src/components/page/outbound/bale/components/storeInfo/img.png +0 -0
@@ -1,779 +1,896 @@
1
- <!--
2
- 独立捆包 - 执行操作
3
- @author: 张文
4
- @date: 2022-07-01
5
- -->
6
- <template>
7
- <div>
8
-
9
- <lw-nav-bar :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.title','独立捆包')"/>
10
-
11
- <div class="lw-global-page-box">
12
-
13
- <template v-if="Object.keys(packContainer).length">
14
- <!-- 容器信息 -->
15
- <container-info
16
- :container="packContainer.pickContainer"
17
- :customer-count="packContainer.customerCount"
18
- :sku-count="packContainer.skuTypeCount"
19
- :over-count="packContainer.packQty"
20
- :wait-count="packContainer.waitPackQty"
21
- :abnormal-count="packContainer.abnormalQty"
22
- :sku-list="packContainer.packSkuList"
23
- show-abn-btn
24
- show-customer
25
- :abn-confirm="abnConfirm"
26
- @abnSuccess="mixinAbnSuccess"
27
- />
28
-
29
- <!-- 条码输入框 -->
30
- <div
31
- v-if="packContainer.waitPackQty > 0"
32
- style="margin-top: 10px;padding-top: 2px;"
33
- class="lw-global-model-box lw-global-border-2px"
34
- >
35
-
36
- <lw-input
37
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.skuCode','商品条码')"
38
- v-model="sku.value"
39
- :get-focus.sync="sku.focus"
40
- required
41
- input-over-blur
42
- auto-clear-val
43
- rule-key="sku"
44
- @confirm="skuConfirm"
45
- />
46
-
47
- <template v-if="Object.keys(nowScanSkuInfo).length">
48
- <lw-input
49
- v-if="sn.show"
50
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.sn','序列号')"
51
- v-model="sn.value"
52
- :get-focus.sync="sn.focus"
53
- required
54
- rule-key="sn"
55
- @confirm="snConfirm"
56
- />
57
-
58
- <lw-input
59
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.qty','复核数量')"
60
- v-model="qty.value"
61
- :get-focus.sync="qty.focus"
62
- :disabled="sn.show"
63
- required
64
- @confirm="qtyConfirm"
65
- >
66
-
67
- <template #button>
68
-
69
-
70
- <lw-tag
71
- v-if="sn.show"
72
- round
73
- plain
74
- type="danger"
75
- >{{ $lwLanguage.get('wms_project.pda.outbound.aloneBale.notChange', '不可修改') }}
76
- </lw-tag>
77
- <lw-button
78
- v-else
79
- round
80
- mini
81
- @click="qtyConfirm"
82
- >{{ $lwLanguage.get('wms_project.pda.outbound.aloneBale.confirm', '确认') }}
83
- </lw-button>
84
-
85
- </template>
86
-
87
- </lw-input>
88
-
89
- <lw-sku-info-module
90
- :sku-name="nowScanSkuInfo.skuName"
91
- :sku-code="nowScanSkuInfo.skuCode"
92
- is-row
93
- :show-right="false"
94
- />
95
-
96
- <lw-title-value-cell
97
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.needQty','当前客户需求量')"
98
- :value="nowScanSkuInfo.currentSkuCustomerNeedPackQty"
99
- val-bold
100
- val-red
101
- />
102
-
103
- <lw-title-value-cell
104
- style="padding-top: 8px"
105
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.material','建议捆包包材')"
106
- :value="nowScanSkuInfo.suggestPackMaterial || '-'"
107
- val-red
108
- val-bold
109
- val-size="16px"
110
- :is-row="false"
111
- />
112
-
113
- </template>
114
-
115
- </div>
116
-
117
- <!-- 上次捆包数据 -->
118
- <div
119
- v-if="Object.keys(submitSuccessData).length"
120
- style="margin-top: 10px"
121
- class="lw-global-model-box"
122
- >
123
- <div class="lw-global-row-start lw-global-title">
124
- {{ $lwLanguage.get('wms_project.pda.outbound.aloneBale.prev', '上次捆包数据') }}
125
- </div>
126
-
127
- <lw-sku-info-module
128
- :sku-name="submitSuccessData.skuName"
129
- :sku-code="submitSuccessData.skuCode"
130
- is-row
131
- :show-right="false"
132
- />
133
-
134
- <lw-title-value-cell
135
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.needQty','当前客户需求量')"
136
- :value="submitSuccessData.currentSkuCustomerNeedPackQty"
137
- val-bold
138
- val-red
139
- />
140
-
141
- <lw-title-value-cell
142
- style="padding-top: 8px"
143
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.material','建议捆包包材')"
144
- :value="submitSuccessData.suggestPackMaterial || '-'"
145
- val-red
146
- val-bold
147
- val-size="16px"
148
- :is-row="false"
149
- />
150
-
151
- </div>
152
- </template>
153
- <!-- 客户信息 -->
154
- <template v-if="showStoreModel">
155
-
156
-
157
- <div style="padding: 15px 0 5px ">
158
-
159
- <span class="lw-global-value-bold">{{ packBox.customerCode }}</span>
160
- <span> - </span>
161
- <span class="lw-global-title">{{ packBox.customerName }}</span>
162
-
163
- </div>
164
-
165
- <div v-if="Object.keys(packBox).length" class="lw-global-tab-box">
166
- <van-tabs
167
- type="card"
168
- animated
169
- v-model="tabActive"
170
- >
171
- <van-tab
172
- name="ing"
173
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.ing','正在捆包')"
174
- >
175
-
176
- <div
177
- v-if="packBox.boxNo"
178
- style="padding-top: 2px"
179
- class="lw-global-model-box"
180
- >
181
-
182
- <lw-title-value-cell
183
- style="margin-bottom: 8px"
184
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.box','箱号')"
185
- :value="packBox.boxNo"
186
- />
187
- <lw-sku-info-module
188
- v-for="(i,k) in packBox.packSkuList"
189
- :key="k"
190
- :qty-text="$lwLanguage.get('wms_project.pda.outbound.aloneBale.pack','已复核')"
191
- :sku-name="i.skuName"
192
- :sku-code="i.skuCode"
193
- :qty="i.qty"
194
- is-row
195
- />
196
-
197
- </div>
198
- <lw-not-data v-else/>
199
-
200
- </van-tab>
201
- <van-tab
202
- name="wait"
203
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.wait','待捆包')"
204
- >
205
-
206
- <div
207
- class="lw-global-model-box lw-global-animation-out"
208
- v-for="(i,k) in packBox.waitPackSkuList"
209
- :key="k"
210
- :style="{animationDelay: 50 * k + 'ms'}"
211
- >
212
- <lw-sku-info-module
213
- :qty="Number(i.totalQty || 0) - Number(i.packQty || 0)"
214
- :sku-code="i.skuCode"
215
- :sku-name="i.skuName"
216
- :qty-text="$lwLanguage.get('wms_project.pda.outbound.aloneBale.hasQty','需求量')"
217
- />
218
- </div>
219
- <lw-not-data v-if="!packBox.waitPackSkuList"/>
220
-
221
- </van-tab>
222
- </van-tabs>
223
- </div>
224
-
225
- </template>
226
-
227
-
228
- </div>
229
-
230
- <lw-bottom-bar-btn-hidden
231
- v-if="showStoreModel"
232
- :btn-list="btnList"
233
- />
234
-
235
- <!-- 完成捆包弹框 -->
236
- <lw-popup
237
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.overBale','完成捆包')"
238
- v-model="overBalePopup.show"
239
- @closed="mixinOverBaleOff"
240
- >
241
- <container-sku-qty
242
- v-if="packBox"
243
- :box-no="packBox.boxNo"
244
- :pack-qty="packBox.packQty"
245
- :type-count="packBox.skuTypeCount"
246
- />
247
-
248
- <lw-title-value-cell
249
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.standar','标准重量') + '(KG)'"
250
- :value="overBalePopup.data.standardWeight"
251
- val-bold
252
- />
253
-
254
- <lw-input
255
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.real','实际重量') + '(KG)'"
256
- v-model="overBalePopup.real.value"
257
- :get-focus.sync="overBalePopup.real.focus"
258
- type="number"
259
- @confirm="mixinRealConfirm"
260
- />
261
-
262
- <lw-title-value-cell
263
- style="padding-top: 8px"
264
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.material','建议捆包包材')"
265
- :value="overBalePopup.data.suggestPackMaterialCodeListStr || '-'"
266
- val-red
267
- val-bold
268
- val-size="16px"
269
- />
270
-
271
- <lw-input
272
- :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.packMaterial','捆包包材')"
273
- v-model="overBalePopup.materials.value"
274
- :get-focus.sync="overBalePopup.materials.focus"
275
- :show-bottom-border="false"
276
- @confirm="materialsConfirm"
277
- />
278
-
279
- <div
280
- v-if="overBalePopup.materials.list.length"
281
- class="materials-box"
282
- >
283
- <div
284
- class="lw-global-flex-between lw-global-row-start"
285
- style="padding: 5px 0"
286
- >
287
-
288
- <div class="lw-global-title col-1">
289
- {{ $lwLanguage.get('wms_project.pda.outbound.aloneBale.materialCode','包材编码') }}
290
- </div>
291
-
292
- <div class="lw-global-title col-2">
293
- {{ $lwLanguage.get('wms_project.pda.outbound.aloneBale.size','包材规格') }}
294
- </div>
295
-
296
- <div class="col-3"></div>
297
-
298
- </div>
299
-
300
- <div style="max-height: 84px;overflow-y: scroll">
301
- <div
302
- class="lw-global-flex-between lw-global-row"
303
- style="padding: 5px 0"
304
- v-for="(i,k) in overBalePopup.materials.list"
305
- :key="k"
306
- >
307
-
308
- <!-- 包材编码 -->
309
- <div class="lw-global-value-bold col-1">{{ i.packMaterialCode }}</div>
310
-
311
- <!-- 尺寸 -->
312
- <div class="lw-global-value-bold col-2">
313
- {{ i.length || '-' }} *
314
- {{ i.width || '-' }} *
315
- {{ i.height || '-' }}
316
- </div>
317
-
318
- <!-- 删除按钮 -->
319
- <div class="col-3">
320
- <van-icon
321
- color="#D50000"
322
- name="clear"
323
- size="20"
324
- @click="mixinDelMaterials(k)"
325
- />
326
- </div>
327
-
328
- </div>
329
- </div>
330
-
331
-
332
- </div>
333
-
334
- <template #button>
335
- <lw-button
336
- v-if="overBalePopup.materials.list.length"
337
- @click="overBaleConfirm"
338
- >
339
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.tcymvytr','完成复核(封箱)') }}
340
- </lw-button>
341
- <lw-button
342
- v-else
343
- @click="overBaleConfirm"
344
- >
345
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.txhmrfhk','无需包材(封箱)') }}
346
- </lw-button>
347
- </template>
348
-
349
- </lw-popup>
350
-
351
- <!-- 重新复核弹框 -->
352
- <repeat-check
353
- v-if="packBox"
354
- v-model="repeatPopupShow"
355
- :box-data="packBox"
356
- @repeatConfirm="repeatConfirm"
357
- />
358
-
359
- <!-- 剔除商品 -->
360
- <del-sku
361
- v-if="packBox"
362
- v-model="delPopupShow"
363
- :box-data="packBox"
364
- :sku-list="packBox.packSkuList"
365
- :sku-sn-list="packBox.packSnList"
366
- @delConfirm="delSkuConfirm"
367
- />
368
-
369
- <!-- 全部拦截 -->
370
- <all-block
371
- v-if="packContainer"
372
- v-model="allBlockShow"
373
- :container="packContainer.pickContainer"
374
- :type-count="packContainer.skuTypeCount"
375
- :qty="packContainer.blockQty"
376
- @confirm="allBlockConfirm"
377
- />
378
-
379
- <!-- 部分拦截 -->
380
- <part-block
381
- v-model="partBlockPopup.show"
382
- :pick-container="partBlockPopup.data.pickContainer"
383
- :type-count="partBlockPopup.data.skuTypeCount"
384
- :sku-qty="partBlockPopup.data.skuQty"
385
- :block-data="partBlockPopup.data.blockData"
386
- @confirm="partBlockConfirm"
387
- />
388
-
389
- </div>
390
- </template>
391
-
392
- <script>
393
- import {
394
- projectWmsAlonePackClose,
395
- projectWmsAlonePackComputeBoxSuggest,
396
- projectWmsAlonePackContainerSkuBlock,
397
- projectWmsAlonePackContainerWholeBlock,
398
- projectWmsAlonePackDeleteSku,
399
- projectWmsAlonePackDeleteSkuWithSn,
400
- projectWmsAlonePackRePack,
401
- projectWmsAlonePackScanSubmit,
402
- projectWmsAlonePackSubmit,
403
- projectWmsAlonePackSubmitAbnormal,
404
- projectWmsAlonePackSubmitWithSn,
405
- projectWmsOutboundQueryAlonePackContainerData,
406
- } from "../../../../../../api/outbound/bale/aloneBale/action";
407
- import {baleMixins} from "../../mixins";
408
-
409
- export default {
410
- name: "lwOutboundAloneBaleActionPage",
411
- mixins:[baleMixins],
412
- data() {
413
- return {
414
-
415
- // 显示剔除按钮
416
- showDelBtn: false,
417
-
418
- // 捆包箱数据
419
- packBox:{},
420
- // 拣选容器数据
421
- packContainer:{},
422
-
423
- // 当前扫描商品信息
424
- nowScanSkuInfo:{},
425
- // 上次提交成功的数据
426
- submitSuccessData:{},
427
- // 商品号
428
- sku:{
429
- value: '',
430
- focus: false
431
- },
432
- // 序列号
433
- sn:{
434
- value: '',
435
- focus: false,
436
- show: false
437
- },
438
- // 数量
439
- qty:{
440
- value: '',
441
- focus: false,
442
- // 是否禁用
443
- disabled: false
444
- },
445
- // tab 激活项
446
- tabActive: 'ing',
447
-
448
- // 剔除弹框
449
- delPopupShow: false
450
- }
451
- },
452
- computed:{
453
- // 是否显示客户模块
454
- showStoreModel(){
455
- return !!this.packBox.customerCode
456
- },
457
- },
458
- mounted() {
459
- this.getData()
460
- },
461
- methods: {
462
- // 数据处理
463
- formatData(res){
464
- this.packContainer = res.packContainer || {}
465
- this.packBox = res.packBox || {}
466
- },
467
- // 获取数据
468
- getData(){
469
- let queryContainer = this.packBox.boxNo || this.$route.query.lwBoxNo
470
-
471
- projectWmsOutboundQueryAlonePackContainerData({
472
- queryContainer
473
- }).then(res=>{
474
- this.dataCheck(res, false)
475
- }).catch(()=>history.go(-1))
476
- },
477
- // 数据检查
478
- dataCheck(res, first=true){
479
- this.formatData(res)
480
- this.showDelBtn = !!this.packBox.boxId;
481
- if (first && this.packContainer.waitPackQty === 0){
482
- this.overBaleOpen()
483
- }
484
- if (!first){
485
- this.packContainer.waitPackQty > 0 ? this.sku.focus = true : ''
486
- }
487
- },
488
-
489
- // 清空输入框及当前扫描的数据
490
- clearInputAndScanData(){
491
- this.nowScanSkuInfo = {}
492
- this.sku.value = ''
493
- this.sku.focus = true
494
- this.qty.value = ''
495
- this.sn.value = ''
496
- this.sn.show = false
497
- },
498
- // 商品号确认
499
- skuConfirm(val, {data}){
500
-
501
- // 判断是否输入了数据
502
- if (!data.key){
503
- this.sku.focus = true
504
- this.$lwShowErrorMsg(
505
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.uooumdoo','商品号不能为空')
506
- )
507
- return false
508
- }
509
-
510
- projectWmsAlonePackScanSubmit({
511
- boxId: this.packBox.boxId,
512
- customerCode: this.packBox.customerCode,
513
- packGroupNo: this.packBox.packGroupNo,
514
- pickContainer: this.packContainer.pickContainer,
515
- currentSkuId: this.nowScanSkuInfo.skuId || '',
516
- skuCode: data.skuCode || '',
517
- sn: data.sn || '',
518
- qty: data.qty || '',
519
- queryKey: data.key,
520
- }).then(res=>{
521
-
522
- this.submitSuccessFn(res)
523
-
524
- }).catch(()=>{
525
- this.sku.value = ''
526
- })
527
- },
528
- // 数量确认
529
- qtyConfirm(){
530
-
531
- const qty = Number(this.qty.value || 0)
532
-
533
- if (!qty){
534
- this.qty.focus = true
535
- this.$lwShowErrorMsg(
536
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.ywbtitmp','复核数量不能为空,且应当是大于0的整数')
537
- )
538
- return
539
- }
540
-
541
- if (qty > this.nowScanSkuInfo.currentSkuCustomerNeedPackQty){
542
- this.qty.focus = true
543
- this.$lwShowErrorMsg(
544
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.smmmcisz','复核数量不能大于待复核量')
545
- )
546
- this.qty.value = ''
547
- return
548
- }
549
-
550
- projectWmsAlonePackSubmit({
551
- boxId: this.packBox.boxId,
552
- pickContainer: this.packContainer.pickContainer,
553
- skuId: this.nowScanSkuInfo.skuId,
554
- packGroupNo: this.packBox.packGroupNo,
555
- currentPackQty: qty
556
- }).then(res=>{
557
- this.clearInputAndScanData()
558
- this.submitSuccessFn(res)
559
- })
560
- },
561
- // 序列号确认
562
- snConfirm(val,{data}){
563
- if (!data.key){
564
- this.sn.focus = true
565
- this.$lwShowErrorMsg(
566
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.qdjmpjpi','序列号不能为空')
567
- )
568
- return
569
- }
570
-
571
- projectWmsAlonePackSubmitWithSn({
572
- boxId: this.packBox.boxId,
573
- pickContainer: this.packContainer.pickContainer,
574
- skuId: this.nowScanSkuInfo.skuId,
575
- packGroupNo: this.packBox.packGroupNo,
576
- snList:[
577
- {
578
- sn: this.sn.value,
579
- qty: data.qty || ''
580
- }
581
- ]
582
- }).then(res=>{
583
- this.submitSuccessFn(res)
584
- })
585
- },
586
- // 成功处理后的方法
587
- submitSuccessFn(res){
588
- // 判断是否被拦截
589
- if (res.containerBlockData && Object.keys(res.containerBlockData).length){
590
- this.mixinCheckBlock(res)
591
- return
592
- }
593
-
594
- this.dataCheck(res)
595
-
596
- const skuData = {
597
- ...res.skuData,
598
- currentSkuCustomerNeedPackQty: res.currentSkuCustomerNeedPackQty,
599
- suggestPackMaterial: res.suggestPackMaterial
600
- }
601
-
602
- // 判断当前扫描数据是否被复核
603
- if (res.successPackQty && res.successPackQty > 0){
604
- this.$lwToast.success(
605
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.sgdxsnar','已复核')
606
- )
607
- this.submitSuccessData = skuData
608
- this.clearInputAndScanData()
609
- return
610
- }
611
-
612
- if (res.needHandleSn){
613
- this.sn.show = true
614
- this.sn.value = ''
615
- this.sn.focus = true
616
- }else {
617
- this.sku.focus = true
618
- }
619
-
620
- this.nowScanSkuInfo = skuData
621
- this.qty.value = Number(this.qty.value || 0) + skuData.qty
622
-
623
- if (this.qty.value === skuData.currentSkuCustomerNeedPackQty) this.qtyConfirm()
624
- },
625
-
626
-
627
- // 完成捆包 - 打开弹框
628
- overBaleOpen(){
629
- projectWmsAlonePackComputeBoxSuggest({
630
- boxId: this.packBox.boxId
631
- }).then(res=>{
632
- this.mixinOpenOverBale(res)
633
- })
634
- },
635
- // 完成捆包 - 封箱
636
- overBaleConfirm(){
637
- projectWmsAlonePackClose({
638
- boxId: this.packBox.boxId,
639
- packWeight: this.overBalePopup.real.value || this.overBalePopup.data.standardWeight,
640
- packMaterialList: this.mixinGetMaterials()
641
- }).then(()=>{
642
- this.$lwToast.success(
643
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.lwkdacwm','复核成功')
644
- )
645
- history.go(-1)
646
- })
647
-
648
- },
649
-
650
- // 重新复核 - 确认
651
- repeatConfirm(container){
652
- projectWmsAlonePackRePack({
653
- boxId: this.packBox.boxId,
654
- toPickContainer: container
655
- }).then(()=>{
656
- this.$lwToast.success(
657
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.cewbairm','操作成功')
658
- )
659
- history.go(-1)
660
- })
661
- },
662
-
663
- // 剔除商品 - 确认剔除
664
- delSkuConfirm(data){
665
-
666
- // 判断当前是需要sn还是不需要
667
- const fn = data.isSn ?
668
- projectWmsAlonePackDeleteSkuWithSn :
669
- projectWmsAlonePackDeleteSku
670
-
671
- fn({
672
- ...data,
673
- boxId: this.packBox.boxId
674
- }).then(res=>{
675
- if (res.boxDelAll){
676
- this.$lwToast.success(
677
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.eejcoipm','当前箱已全部剔除')
678
- )
679
- history.go(-1)
680
- return
681
- }
682
-
683
- this.$lwToast.success(
684
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.bwgwjbcd','剔除成功')
685
- )
686
-
687
- this.getData()
688
- this.delPopupShow = false
689
- })
690
- },
691
-
692
- // 校验是否拦截
693
- checkBlock(res){
694
- if (res.containerBlockData.blockStatus === '200') this.allBlockShow = true
695
- if (res.containerBlockData.blockStatus === '100') {
696
- this.partBlockPopup.data={
697
- pickContainer: res.packContainer.pickContainer,
698
- skuTypeCount:res.packContainer.skuTypeCount,
699
- skuQty:res.packContainer.packQty,
700
- blockData:res.containerBlockData.blockSkuList[0]
701
- }
702
- this.partBlockPopup.show = true
703
- }
704
- },
705
- // 全部拦截
706
- allBlockConfirm(){
707
- projectWmsAlonePackContainerWholeBlock({
708
- pickContainer: this.packContainer.pickContainer
709
- }).then(()=>{
710
- this.$lwToast.success(
711
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.ikkbinvx','已全部拦截')
712
- )
713
- history.go(-1)
714
- })
715
- },
716
- // 部分拦截
717
- async partBlockConfirm(data){
718
-
719
- const res = await projectWmsAlonePackContainerSkuBlock({
720
- pickContainer: data.container,
721
- currentBlockQty: data.qty,
722
- skuId: this.partBlockPopup.data.blockData.skuId
723
- })
724
-
725
- await this.getData()
726
-
727
- this.partBlockPopup.show = false
728
-
729
- // 判断是否已经完成捆包
730
- if (res.containerPackFinish){
731
- this.$lwToast.success(
732
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.hquzbaev','当前容器已全部捆包')
733
- )
734
- this.overBaleOpen()
735
- return
736
- }
737
-
738
- this.$lwToast.success(
739
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.xpbgngny','拦截成功')
740
- )
741
- },
742
-
743
- // 异常确认
744
- abnConfirm(data){
745
- return projectWmsAlonePackSubmitAbnormal({
746
- pickContainer: this.packContainer.pickContainer,
747
- ...data
748
- })
749
- },
750
-
751
- // 包材确认
752
- materialsConfirm(){
753
- const materials = this.overBalePopup.materials.value
754
- if (!materials){
755
- this.overBalePopup.materials.focus = true
756
- this.$lwShowErrorMsg(
757
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.components.mixins.null','捆包包材不能为空')
758
- )
759
- return
760
- }
761
-
762
- if (this.overBalePopup.data.suggestPackMaterialList.some(item=>item.packMaterialCode === materials)){
763
- this.mixinMaterialsConfirm()
764
- }else {
765
- this.overBalePopup.materials.focus = true
766
- this.$lwShowErrorMsg(
767
- materials + this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.xpbgndgny','不是推荐包材')
768
- )
769
- this.overBalePopup.materials.value = ''
770
- }
771
-
772
- }
773
- }
774
- }
775
- </script>
776
-
777
- <style scoped lang="less">
778
-
779
- </style>
1
+ <!--
2
+ 独立捆包 - 执行操作
3
+ @author: 张文
4
+ @date: 2022-07-01
5
+ -->
6
+ <template>
7
+ <div>
8
+
9
+ <lw-nav-bar :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.title','独立捆包')"/>
10
+
11
+ <div class="lw-global-page-box">
12
+
13
+ <check-pack-config/>
14
+
15
+ <template v-if="Object.keys(packContainer).length">
16
+ <!-- 容器信息 -->
17
+ <container-info
18
+ :container="packContainer.pickContainer"
19
+ :customer-count="packContainer.customerCount"
20
+ :sku-count="packContainer.skuTypeCount"
21
+ :over-count="packContainer.packQty"
22
+ :wait-count="packContainer.waitPackQty"
23
+ :abnormal-count="packContainer.abnormalQty"
24
+ :sku-list="packContainer.packSkuList"
25
+ show-abn-btn
26
+ show-customer
27
+ :abn-confirm="abnConfirm"
28
+ @abnSuccess="mixinAbnSuccess"
29
+ />
30
+
31
+ <!-- 条码输入框 -->
32
+ <div
33
+ v-if="packContainer.waitPackQty > 0"
34
+ style="margin-top: 10px;padding-top: 2px;"
35
+ class="lw-global-model-box lw-global-border-2px"
36
+ >
37
+
38
+ <lw-input
39
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.skuCode','商品条码')"
40
+ v-model="sku.value"
41
+ :get-focus.sync="sku.focus"
42
+ required
43
+ rule-key="sku"
44
+ @confirm="skuConfirm"
45
+ />
46
+
47
+ <template v-if="Object.keys(nowScanSkuInfo).length">
48
+ <lw-input
49
+ v-if="sn.show"
50
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.sn','序列号')"
51
+ v-model="sn.value"
52
+ :get-focus.sync="sn.focus"
53
+ required
54
+ rule-key="sn"
55
+ @confirm="snConfirm"
56
+ />
57
+
58
+ <lw-input
59
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.qty','复核数量')"
60
+ v-model="qty.value"
61
+ :get-focus.sync="qty.focus"
62
+ :disabled="sn.show"
63
+ required
64
+ @confirm="qtyConfirm"
65
+ >
66
+
67
+ <template #button>
68
+
69
+
70
+ <lw-tag
71
+ v-if="sn.show"
72
+ round
73
+ plain
74
+ type="danger"
75
+ >{{ $lwLanguage.get('wms_project.pda.outbound.aloneBale.notChange', '不可修改') }}
76
+ </lw-tag>
77
+ <lw-button
78
+ v-else
79
+ round
80
+ mini
81
+ @click="qtyConfirm"
82
+ >{{ $lwLanguage.get('wms_project.pda.outbound.aloneBale.confirm', '确认') }}
83
+ </lw-button>
84
+
85
+ </template>
86
+
87
+ </lw-input>
88
+
89
+ <lw-sku-info-module
90
+ :sku-name="nowScanSkuInfo.skuName"
91
+ :sku-code="nowScanSkuInfo.skuCode"
92
+ is-row
93
+ :show-right="false"
94
+ />
95
+
96
+ <lw-title-value-cell
97
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.needQty','当前客户需求量')"
98
+ :value="nowScanSkuInfo.currentSkuCustomerNeedPackQty"
99
+ val-bold
100
+ val-red
101
+ />
102
+
103
+ <lw-title-value-cell
104
+ style="padding-top: 8px"
105
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.material','建议捆包包材')"
106
+ :value="nowScanSkuInfo.suggestPackMaterial || '-'"
107
+ val-red
108
+ val-bold
109
+ val-size="16px"
110
+ :is-row="false"
111
+ />
112
+
113
+ </template>
114
+
115
+ </div>
116
+
117
+ <!-- 上次捆包数据 -->
118
+ <div
119
+ v-if="Object.keys(submitSuccessData).length"
120
+ style="margin-top: 10px"
121
+ class="lw-global-model-box"
122
+ >
123
+ <div class="lw-global-row-start lw-global-title">
124
+ {{ $lwLanguage.get('wms_project.pda.outbound.aloneBale.prev', '上次捆包数据') }}
125
+ </div>
126
+
127
+ <lw-sku-info-module
128
+ :sku-name="submitSuccessData.skuName"
129
+ :sku-code="submitSuccessData.skuCode"
130
+ is-row
131
+ :show-right="false"
132
+ />
133
+
134
+ <lw-title-value-cell
135
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.needQty','当前客户需求量')"
136
+ :value="submitSuccessData.currentSkuCustomerNeedPackQty"
137
+ val-bold
138
+ val-red
139
+ />
140
+
141
+ <lw-title-value-cell
142
+ style="padding-top: 8px"
143
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.material','建议捆包包材')"
144
+ :value="submitSuccessData.suggestPackMaterial || '-'"
145
+ val-red
146
+ val-bold
147
+ val-size="16px"
148
+ :is-row="false"
149
+ />
150
+
151
+ </div>
152
+ </template>
153
+ <!-- 客户信息 -->
154
+ <template v-if="showStoreModel">
155
+
156
+
157
+ <div style="padding: 15px 0 5px ">
158
+
159
+ <span class="lw-global-value-bold">{{ packBox.customerCode }}</span>
160
+ <span> - </span>
161
+ <span class="lw-global-title">{{ packBox.customerName }}</span>
162
+
163
+ </div>
164
+
165
+ <div v-if="Object.keys(packBox).length" class="lw-global-tab-box">
166
+ <van-tabs
167
+ type="card"
168
+ animated
169
+ v-model="tabActive"
170
+ >
171
+ <van-tab
172
+ name="ing"
173
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.ing','正在捆包')"
174
+ >
175
+
176
+ <div
177
+ v-if="packBox.boxNo"
178
+ class="lw-global-model-box"
179
+ >
180
+
181
+ <div class="lw-global-row-start lw-global-flex-between">
182
+ <lw-title-value-cell
183
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.box','箱号')"
184
+ :value="packBox.boxNo"
185
+ :is-row="false"
186
+ />
187
+
188
+ <lw-button
189
+ style="flex-shrink: 0"
190
+ mini
191
+ round
192
+ @click="printClick"
193
+ >
194
+ {{$lwLanguage.get('','打印')}}
195
+ </lw-button>
196
+ </div>
197
+
198
+
199
+ <lw-sku-info-module
200
+ v-for="(i,k) in packBox.packSkuList"
201
+ :key="k"
202
+ :qty-text="$lwLanguage.get('wms_project.pda.outbound.aloneBale.pack','已复核')"
203
+ :sku-name="i.skuName"
204
+ :sku-code="i.skuCode"
205
+ :qty="i.qty"
206
+ is-row
207
+ />
208
+
209
+ </div>
210
+ <lw-not-data v-else/>
211
+
212
+ </van-tab>
213
+ <van-tab
214
+ name="wait"
215
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.wait','待捆包')"
216
+ >
217
+
218
+ <div
219
+ class="lw-global-model-box lw-global-animation-out"
220
+ v-for="(i,k) in packBox.waitPackSkuList"
221
+ :key="k"
222
+ :style="{animationDelay: 50 * k + 'ms'}"
223
+ >
224
+ <lw-sku-info-module
225
+ :qty="Number(i.totalQty || 0) - Number(i.packQty || 0)"
226
+ :sku-code="i.skuCode"
227
+ :sku-name="i.skuName"
228
+ :qty-text="$lwLanguage.get('wms_project.pda.outbound.aloneBale.hasQty','需求量')"
229
+ />
230
+ </div>
231
+ <lw-not-data v-if="!packBox.waitPackSkuList"/>
232
+
233
+ </van-tab>
234
+ </van-tabs>
235
+ </div>
236
+
237
+
238
+
239
+ </template>
240
+
241
+
242
+ </div>
243
+
244
+ <lw-bottom-bar-btn-hidden
245
+ v-if="showStoreModel"
246
+ :btn-list="btnList"
247
+ />
248
+
249
+ <!-- 完成捆包弹框 -->
250
+ <lw-popup
251
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.overBale','完成捆包')"
252
+ v-model="overBalePopup.show"
253
+ @closed="mixinOverBaleOff"
254
+ >
255
+ <container-sku-qty
256
+ v-if="packBox"
257
+ :box-no="packBox.boxNo"
258
+ :pack-qty="packBox.packQty"
259
+ :type-count="packBox.skuTypeCount"
260
+ />
261
+
262
+ <lw-title-value-cell
263
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.standar','标准重量') + '(KG)'"
264
+ :value="overBalePopup.data.standardWeight"
265
+ val-bold
266
+ />
267
+
268
+ <lw-input
269
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.real','实际重量') + '(KG)'"
270
+ v-model="overBalePopup.real.value"
271
+ :get-focus.sync="overBalePopup.real.focus"
272
+ type="number"
273
+ @confirm="mixinRealConfirm"
274
+ />
275
+
276
+ <lw-title-value-cell
277
+ style="padding-top: 8px"
278
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.material','建议捆包包材')"
279
+ :value="overBalePopup.data.suggestPackMaterialCodeListStr || '-'"
280
+ val-red
281
+ val-bold
282
+ val-size="16px"
283
+ />
284
+
285
+ <lw-input
286
+ :title="$lwLanguage.get('wms_project.pda.outbound.aloneBale.packMaterial','捆包包材')"
287
+ v-model="overBalePopup.materials.value"
288
+ :get-focus.sync="overBalePopup.materials.focus"
289
+ :show-bottom-border="false"
290
+ :required="packTableConfig.forceUseSuggestPackMaterial && overBalePopup.data.suggestPackMaterialCodeListStr"
291
+ @confirm="materialsConfirm"
292
+ />
293
+
294
+ <div
295
+ v-if="overBalePopup.materials.list.length"
296
+ class="materials-box"
297
+ >
298
+ <div
299
+ class="lw-global-flex-between lw-global-row-start"
300
+ style="padding: 5px 0"
301
+ >
302
+
303
+ <div class="lw-global-title col-1">
304
+ {{ $lwLanguage.get('wms_project.pda.outbound.aloneBale.materialCode','包材编码') }}
305
+ </div>
306
+
307
+ <div class="lw-global-title col-2">
308
+ {{ $lwLanguage.get('wms_project.pda.outbound.aloneBale.size','包材规格') }}
309
+ </div>
310
+
311
+ <div class="col-3"></div>
312
+
313
+ </div>
314
+
315
+ <div style="max-height: 84px;overflow-y: scroll">
316
+ <div
317
+ class="lw-global-flex-between lw-global-row"
318
+ style="padding: 5px 0"
319
+ v-for="(i,k) in overBalePopup.materials.list"
320
+ :key="k"
321
+ >
322
+
323
+ <!-- 包材编码 -->
324
+ <div class="lw-global-value-bold col-1">{{ i.packMaterialCode }}</div>
325
+
326
+ <!-- 尺寸 -->
327
+ <div class="lw-global-value-bold col-2">
328
+ {{ i.length || '-' }} *
329
+ {{ i.width || '-' }} *
330
+ {{ i.height || '-' }}
331
+ </div>
332
+
333
+ <!-- 删除按钮 -->
334
+ <div class="col-3">
335
+ <van-icon
336
+ color="#D50000"
337
+ name="clear"
338
+ size="20"
339
+ @click="mixinDelMaterials(k)"
340
+ />
341
+ </div>
342
+
343
+ </div>
344
+ </div>
345
+
346
+
347
+ </div>
348
+
349
+ <lw-input
350
+ v-if="packTableConfig.needPackedLocation"
351
+ :title="$lwLanguage.get('','放置库位')"
352
+ v-model="overBalePopup.packedLocation.value"
353
+ :get-focus.sync="overBalePopup.packedLocation.focus"
354
+ :show-bottom-border="false"
355
+ rule-key="packedLocation"
356
+ :create-rule="$lwScanRule.create('复核捆包 - 执行捆包 - 放置库位','LOCATION')"
357
+ required
358
+ @confirm="overBaleConfirm"
359
+ />
360
+
361
+ <template #button>
362
+ <lw-button
363
+ v-if="
364
+ overBalePopup.materials.list.length ||
365
+ (overBalePopup.data.suggestPackMaterialCodeListStr && packTableConfig.forceUseSuggestPackMaterial)
366
+ "
367
+ @click="overBaleConfirm"
368
+ >
369
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.tcymvytr','完成复核(封箱)') }}
370
+ </lw-button>
371
+ <lw-button
372
+ v-else
373
+ @click="overBaleConfirm"
374
+ >
375
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.txhmrfhk','无需包材(封箱)') }}
376
+ </lw-button>
377
+ </template>
378
+
379
+ </lw-popup>
380
+
381
+ <!-- 重新复核弹框 -->
382
+ <repeat-check
383
+ v-if="packBox"
384
+ v-model="repeatPopupShow"
385
+ :box-data="packBox"
386
+ @repeatConfirm="repeatConfirm"
387
+ />
388
+
389
+ <!-- 剔除商品 -->
390
+ <del-sku
391
+ v-if="packBox"
392
+ v-model="delPopupShow"
393
+ :box-data="packBox"
394
+ :sku-list="packBox.packSkuList"
395
+ :sku-sn-list="packBox.packSnList"
396
+ @delConfirm="delSkuConfirm"
397
+ />
398
+
399
+ <!-- 全部拦截 -->
400
+ <all-block
401
+ v-if="packContainer"
402
+ v-model="allBlockShow"
403
+ :container="packContainer.pickContainer"
404
+ :type-count="packContainer.skuTypeCount"
405
+ :qty="packContainer.blockQty"
406
+ @confirm="allBlockConfirm"
407
+ />
408
+
409
+ <!-- 部分拦截 -->
410
+ <part-block
411
+ v-model="partBlockPopup.show"
412
+ :pick-container="partBlockPopup.data.pickContainer"
413
+ :type-count="partBlockPopup.data.skuTypeCount"
414
+ :sku-qty="partBlockPopup.data.skuQty"
415
+ :block-data="partBlockPopup.data.blockData"
416
+ @confirm="partBlockConfirm"
417
+ />
418
+
419
+ </div>
420
+ </template>
421
+
422
+ <script>
423
+ import checkPackConfig from "../../components/checkPackConfig/index.vue";
424
+ import suggestMaterial from "../../components/suggestMaterial/index.vue";
425
+ import {
426
+ projectWmsAlonePackClose,
427
+ projectWmsAlonePackComputeBoxSuggest,
428
+ projectWmsAlonePackContainerSkuBlock,
429
+ projectWmsAlonePackContainerWholeBlock,
430
+ projectWmsAlonePackDeleteSku,
431
+ projectWmsAlonePackDeleteSkuWithSn,
432
+ projectWmsAlonePackRePack,
433
+ projectWmsAlonePackScanSubmit,
434
+ projectWmsAlonePackSubmit,
435
+ projectWmsAlonePackSubmitAbnormal,
436
+ projectWmsAlonePackSubmitWithSn,
437
+ projectWmsOutboundQueryAlonePackContainerData,
438
+ } from "../../../../../../api/outbound/bale/aloneBale/action";
439
+ import {baleMixins} from "../../mixins";
440
+ import {projectWmsOutboundMobileGetPackConfig} from "../../../../../../api/outbound/bale/packTableConfig";
441
+ import {projectWmsGetPrintBoxData} from "../../../../../../api/outbound/bale/checkBale/action";
442
+
443
+ export default {
444
+ name: "lwOutboundAloneBaleActionPage",
445
+ mixins:[baleMixins],
446
+ components:{
447
+ checkPackConfig,
448
+ suggestMaterial,
449
+ },
450
+ data() {
451
+ return {
452
+
453
+ // 显示剔除按钮
454
+ showDelBtn: false,
455
+
456
+ // 捆包箱数据
457
+ packBox:{},
458
+ // 拣选容器数据
459
+ packContainer:{},
460
+
461
+ // 当前扫描商品信息
462
+ nowScanSkuInfo:{},
463
+ // 上次提交成功的数据
464
+ submitSuccessData:{},
465
+ // 商品号
466
+ sku:{
467
+ value: '',
468
+ focus: false
469
+ },
470
+ // 序列号
471
+ sn:{
472
+ value: '',
473
+ focus: false,
474
+ show: false
475
+ },
476
+ // 数量
477
+ qty:{
478
+ value: '',
479
+ focus: false,
480
+ // 是否禁用
481
+ disabled: false
482
+ },
483
+ // tab 激活项
484
+ tabActive: 'ing',
485
+
486
+ // 剔除弹框
487
+ delPopupShow: false,
488
+
489
+ // 捆包台配置信息
490
+ packTableConfig:{},
491
+
492
+ // 打印机数据
493
+ printData:{},
494
+ }
495
+ },
496
+ computed:{
497
+ // 是否显示客户模块
498
+ showStoreModel(){
499
+ return !!this.packBox.customerCode
500
+ },
501
+ },
502
+ mounted() {
503
+
504
+ // 判断当前是否配置了打印机
505
+ const {success,printData} = this.$lwPrint.test(
506
+ 'OUTBOUND_BOX_LABEL',
507
+ this.$lwLanguage.get('','出库箱票标签')
508
+ )
509
+ if (!success){
510
+ history.go(-1)
511
+ return
512
+ }
513
+ this.printData = printData
514
+
515
+ this.init()
516
+ },
517
+ methods: {
518
+ // 初始化
519
+ async init(){
520
+ this.packTableConfig = await projectWmsOutboundMobileGetPackConfig()
521
+
522
+ await this.getData()
523
+ },
524
+
525
+ // 数据处理
526
+ formatData(res){
527
+ this.packContainer = res.packContainer || {}
528
+ this.packBox = res.packBox || {}
529
+ this.suggestMaterialList = res.suggestMaterialList || []
530
+ },
531
+ // 获取数据
532
+ getData(){
533
+ let queryContainer = this.packBox.boxNo || this.$route.query.lwBoxNo
534
+
535
+ projectWmsOutboundQueryAlonePackContainerData({
536
+ queryContainer
537
+ }).then(res=>{
538
+ this.dataCheck(res, false)
539
+ }).catch(()=>history.go(-1))
540
+ },
541
+ // 数据检查
542
+ dataCheck(res, first=true){
543
+ this.formatData(res)
544
+ this.showDelBtn = !!this.packBox.boxId;
545
+ if (first && this.packContainer.waitPackQty === 0){
546
+ this.overBaleOpen()
547
+ }
548
+ if (!first){
549
+ this.packContainer.waitPackQty > 0 ? this.sku.focus = true : ''
550
+ }
551
+ },
552
+
553
+ // 清空输入框及当前扫描的数据
554
+ clearInputAndScanData(){
555
+ this.nowScanSkuInfo = {}
556
+ this.sku.value = ''
557
+ this.sku.focus = true
558
+ this.qty.value = ''
559
+ this.sn.value = ''
560
+ this.sn.show = false
561
+ },
562
+ // 商品号确认
563
+ skuConfirm(val, {data}){
564
+
565
+ // 判断是否输入了数据
566
+ if (!data.key){
567
+ this.sku.focus = true
568
+ this.$lwShowErrorMsg(
569
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.uooumdoo','商品号不能为空')
570
+ )
571
+ return false
572
+ }
573
+
574
+ if (this.sn.show){
575
+ this.packBox = {}
576
+ this.nowScanSkuInfo = {}
577
+ this.qty.value = 0
578
+ }
579
+
580
+ projectWmsAlonePackScanSubmit({
581
+ boxId: this.packBox.boxId,
582
+ customerCode: this.packBox.customerCode,
583
+ packGroupNo: this.packBox.packGroupNo,
584
+ pickContainer: this.packContainer.pickContainer,
585
+ currentSkuId: this.nowScanSkuInfo.skuId || '',
586
+ skuCode: data.skuCode || '',
587
+ sn: data.sn || '',
588
+ qty: data.qty || '',
589
+ queryKey: data.key,
590
+ }).then(res=>{
591
+
592
+ this.submitSuccessFn(res)
593
+
594
+ }).catch(()=>{
595
+ this.sku.value = ''
596
+ })
597
+ },
598
+ // 数量确认
599
+ qtyConfirm(){
600
+
601
+ const qty = Number(this.qty.value || 0)
602
+
603
+ if (!qty){
604
+ this.qty.focus = true
605
+ this.$lwShowErrorMsg(
606
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.ywbtitmp','复核数量不能为空,且应当是大于0的整数')
607
+ )
608
+ return
609
+ }
610
+
611
+ if (qty > this.nowScanSkuInfo.currentSkuCustomerNeedPackQty){
612
+ this.qty.focus = true
613
+ this.$lwShowErrorMsg(
614
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.smmmcisz','复核数量不能大于待复核量')
615
+ )
616
+ this.qty.value = ''
617
+ return
618
+ }
619
+
620
+ projectWmsAlonePackSubmit({
621
+ boxId: this.packBox.boxId,
622
+ pickContainer: this.packContainer.pickContainer,
623
+ skuId: this.nowScanSkuInfo.skuId,
624
+ packGroupNo: this.packBox.packGroupNo,
625
+ currentPackQty: qty
626
+ }).then(res=>{
627
+ this.clearInputAndScanData()
628
+ this.submitSuccessFn(res)
629
+ })
630
+ },
631
+ // 序列号确认
632
+ snConfirm(val,{data}){
633
+ if (!data.key){
634
+ this.sn.focus = true
635
+ this.$lwShowErrorMsg(
636
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.qdjmpjpi','序列号不能为空')
637
+ )
638
+ return
639
+ }
640
+
641
+ projectWmsAlonePackSubmitWithSn({
642
+ boxId: this.packBox.boxId,
643
+ pickContainer: this.packContainer.pickContainer,
644
+ skuId: this.nowScanSkuInfo.skuId,
645
+ packGroupNo: this.packBox.packGroupNo,
646
+ snList:[
647
+ {
648
+ sn: this.sn.value,
649
+ qty: data.qty || ''
650
+ }
651
+ ]
652
+ }).then(res=>{
653
+ this.submitSuccessFn(res)
654
+ })
655
+ },
656
+ // 成功处理后的方法
657
+ submitSuccessFn(res){
658
+ // 判断是否被拦截
659
+ if (res.containerBlockData && Object.keys(res.containerBlockData).length){
660
+ this.mixinCheckBlock(res)
661
+ return
662
+ }
663
+
664
+ this.dataCheck(res)
665
+
666
+ const skuData = {
667
+ ...res.skuData,
668
+ currentSkuCustomerNeedPackQty: res.currentSkuCustomerNeedPackQty,
669
+ suggestPackMaterial: res.suggestPackMaterial
670
+ }
671
+
672
+ // 判断当前扫描数据是否被复核
673
+ if (res.successPackQty && res.successPackQty > 0){
674
+ this.$lwToast.success(
675
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.sgdxsnar','已复核')
676
+ )
677
+ this.submitSuccessData = skuData
678
+
679
+ // 判断当前商品是否还需要复核
680
+ if (!res.currentSkuCustomerNeedPackQty){
681
+ this.clearInputAndScanData()
682
+ return
683
+ }
684
+ }
685
+
686
+ if (res.needHandleSn){
687
+ this.sn.show = true
688
+ this.sn.value = ''
689
+ this.sn.focus = true
690
+ }else {
691
+ this.sku.value = ''
692
+ this.sku.focus = true
693
+ }
694
+
695
+ this.nowScanSkuInfo = skuData
696
+
697
+ if (this.nowScanSkuInfo.sn){
698
+ this.qty.value = skuData.qty
699
+ }else {
700
+ this.qty.value = Number(this.qty.value || 0) + skuData.qty
701
+ if (this.qty.value === skuData.currentSkuCustomerNeedPackQty) this.qtyConfirm()
702
+ }
703
+ },
704
+
705
+
706
+ // 完成捆包 - 打开弹框
707
+ overBaleOpen(){
708
+ projectWmsAlonePackComputeBoxSuggest({
709
+ boxId: this.packBox.boxId
710
+ }).then(res=>{
711
+ this.mixinOpenOverBale(res)
712
+ })
713
+ },
714
+ // 完成捆包 - 封箱
715
+ async overBaleConfirm(){
716
+ let packedLocation = this.overBalePopup.packedLocation.value
717
+ if (this.packTableConfig.needPackedLocation && !packedLocation){
718
+ this.overBalePopup.packedLocation.focus = true
719
+ this.$lwShowErrorMsg(
720
+ this.$lwLanguage.get('','放置库位不能为空')
721
+ )
722
+ return
723
+ }
724
+ await projectWmsAlonePackClose({
725
+ boxId: this.packBox.boxId,
726
+ packWeight: this.overBalePopup.real.value || this.overBalePopup.data.standardWeight,
727
+ packMaterialList: this.mixinGetMaterials(),
728
+ packTableId: this.packTableConfig.needPackTable ? this.$lwLocalStorage.get('lwPackTableData').packTableId : '',
729
+ packedLocation
730
+ })
731
+
732
+
733
+ this.$lwToast.success(
734
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.lwkdacwm','复核成功')
735
+ )
736
+
737
+ try {
738
+ await this.printClick()
739
+ }finally {
740
+ history.go(-1)
741
+ }
742
+
743
+ },
744
+
745
+ // 重新复核 - 确认
746
+ repeatConfirm(container){
747
+ projectWmsAlonePackRePack({
748
+ boxId: this.packBox.boxId,
749
+ toPickContainer: container
750
+ }).then(()=>{
751
+ this.$lwToast.success(
752
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.cewbairm','操作成功')
753
+ )
754
+ history.go(-1)
755
+ })
756
+ },
757
+
758
+ // 剔除商品 - 确认剔除
759
+ delSkuConfirm(data){
760
+
761
+ // 判断当前是需要sn还是不需要
762
+ const fn = data.isSn ?
763
+ projectWmsAlonePackDeleteSkuWithSn :
764
+ projectWmsAlonePackDeleteSku
765
+
766
+ fn({
767
+ ...data,
768
+ boxId: this.packBox.boxId
769
+ }).then(res=>{
770
+ if (res.boxDelAll){
771
+ this.$lwToast.success(
772
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.eejcoipm','当前箱已全部剔除')
773
+ )
774
+ history.go(-1)
775
+ return
776
+ }
777
+
778
+ this.$lwToast.success(
779
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.bwgwjbcd','剔除成功')
780
+ )
781
+
782
+ this.getData()
783
+ this.delPopupShow = false
784
+ })
785
+ },
786
+
787
+ // 校验是否拦截
788
+ checkBlock(res){
789
+ if (res.containerBlockData.blockStatus === '200') this.allBlockShow = true
790
+ if (res.containerBlockData.blockStatus === '100') {
791
+ this.partBlockPopup.data={
792
+ pickContainer: res.packContainer.pickContainer,
793
+ skuTypeCount:res.packContainer.skuTypeCount,
794
+ skuQty:res.packContainer.packQty,
795
+ blockData:res.containerBlockData.blockSkuList[0]
796
+ }
797
+ this.partBlockPopup.show = true
798
+ }
799
+ },
800
+ // 全部拦截
801
+ allBlockConfirm(){
802
+ projectWmsAlonePackContainerWholeBlock({
803
+ pickContainer: this.packContainer.pickContainer
804
+ }).then(()=>{
805
+ this.$lwToast.success(
806
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.ikkbinvx','已全部拦截')
807
+ )
808
+ history.go(-1)
809
+ })
810
+ },
811
+ // 部分拦截
812
+ async partBlockConfirm(data){
813
+
814
+ const res = await projectWmsAlonePackContainerSkuBlock({
815
+ pickContainer: data.container,
816
+ currentBlockQty: data.qty,
817
+ skuId: this.partBlockPopup.data.blockData.skuId
818
+ })
819
+
820
+ await this.getData()
821
+
822
+ this.partBlockPopup.show = false
823
+
824
+ // 判断是否已经完成捆包
825
+ if (res.containerPackFinish){
826
+ this.$lwToast.success(
827
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.hquzbaev','当前容器已全部捆包')
828
+ )
829
+ this.overBaleOpen()
830
+ return
831
+ }
832
+
833
+ this.$lwToast.success(
834
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.aloneBale.action.xpbgngny','拦截成功')
835
+ )
836
+ },
837
+
838
+ // 异常确认
839
+ abnConfirm(data){
840
+ return projectWmsAlonePackSubmitAbnormal({
841
+ pickContainer: this.packContainer.pickContainer,
842
+ ...data
843
+ })
844
+ },
845
+
846
+ // 包材确认
847
+ materialsConfirm(){
848
+ const materials = this.overBalePopup.materials.value
849
+ if (!materials){
850
+ this.overBalePopup.materials.focus = true
851
+ this.$lwShowErrorMsg(
852
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.bale.components.mixins.null','捆包包材不能为空')
853
+ )
854
+ return
855
+ }
856
+
857
+ const materialList = this.overBalePopup.data.suggestPackMaterialList
858
+ // 判断是否使用推荐包材
859
+ if (
860
+ this.packTableConfig.forceUseSuggestPackMaterial &&
861
+ materialList.length &&
862
+ !materialList.some(item=>item.packMaterialCode === materials)
863
+ ){
864
+
865
+ this.overBalePopup.materials.focus = true
866
+ this.$lwShowErrorMsg(
867
+ this.$lwLanguage.get('','捆包包材必须使用推荐的捆包包材,推荐包材:{code}',{code:this.overBalePopup.data.suggestPackMaterialCodeListStr})
868
+ )
869
+ this.overBalePopup.materials.value = ''
870
+ return
871
+ }
872
+
873
+ this.mixinMaterialsConfirm()
874
+ },
875
+
876
+ // 打印
877
+ async printClick(){
878
+
879
+ try {
880
+ const res = await projectWmsGetPrintBoxData({
881
+ boxId: this.packBox.boxId,
882
+ printDeviceId: this.printData.printId
883
+ })
884
+
885
+ await this.$lwPrint.bluetoothPrint({taskId:res.id})
886
+ }catch (e){
887
+ console.log(e)
888
+ }
889
+ }
890
+ }
891
+ }
892
+ </script>
893
+
894
+ <style scoped lang="less">
895
+
896
+ </style>