@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,1290 +1,1387 @@
1
- <!--
2
- 边拣边分
3
- @author: 张文
4
- @date: 2022-08-15
5
- -->
6
- <template>
7
- <div>
8
-
9
- <lw-nav-bar :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.kbenunwi','边拣边分')"/>
10
-
11
- <div class="lw-global-page-box">
12
-
13
- <!-- 任务看板 -->
14
- <task-info :item="pickData">
15
-
16
- <template>
17
-
18
- <!-- 拣选小车 -->
19
- <lw-input
20
- style="margin: 10px 0 0 0"
21
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.dptuorvg','拣选小车')"
22
- v-model="sowCar.car.value"
23
- :get-focus.sync="sowCar.car.focus"
24
- :rule-production-data="$lwScanRule.production('拣选小车', 'LPN')"
25
- rule-key="sowCar"
26
- :show-bottom-border="false"
27
- :disabled="!sowCar.needBind"
28
- @confirm="bindCarConfirm"
29
- >
30
-
31
- <template #button>
32
- <lw-button
33
- v-if="canUnbind"
34
- mini
35
- round
36
- @click="unbindCar"
37
- >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.kngqtmkz','解除绑定') }}</lw-button>
38
- </template>
39
-
40
- </lw-input>
41
- </template>
42
-
43
- </task-info>
44
-
45
- <!-- 绑定小车提示 -->
46
- <div
47
- v-if="sowCar.needBind"
48
- style="text-align: center"
49
- class="lw-global-model-box lw-global-value-bold-red"
50
- >
51
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.kzqbuxih','请绑定拣选小车') }}
52
- </div>
53
-
54
- <!-- 绑定播种位 -->
55
- <template v-if="!sowCar.needBind && needContainer">
56
- <div
57
- style="text-align: center"
58
- class="lw-global-model-box lw-global-value-bold-red"
59
- >
60
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.xxtpvmjs','请绑定容器号到拣选小车的播种位') }}
61
- </div>
62
-
63
- <sow-list :item="pickData.sowLineList"/>
64
- </template>
65
-
66
- <!-- 执行拣选tab -->
67
- <div
68
- v-if="!needContainer"
69
- class="lw-global-tab-box"
70
- >
71
-
72
- <van-tabs
73
- type="card"
74
- animated
75
- v-model="tabAction"
76
- >
77
-
78
- <van-tab
79
- name="ing"
80
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.fuanucax','正在拣选')"
81
- >
82
-
83
- <div class="lw-global-model-box">
84
-
85
- <sku-location-info
86
- :item="pickLineData"
87
- wait-pick
88
- />
89
-
90
- <!-- 托盘号 -->
91
- <lw-title-value-cell
92
- v-if="hasLpn"
93
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.icbazuab','托盘号')"
94
- :value="pickLineData.fromLpn"
95
- val-bold
96
- />
97
-
98
- <!-- 库位 -->
99
- <lw-input
100
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rriutzfg','拣选库位')"
101
- v-model="locationCode.value"
102
- :get-focus.sync="locationCode.focus"
103
- required
104
- :rule-production-data="$lwScanRule.production('拣选 - 边拣边分 - 拣选库位', 'LOCATION')"
105
- rule-key="location"
106
- @confirm="locationCodeConfirm"
107
- />
108
-
109
- <!-- 托盘号 -->
110
- <lw-input
111
- v-if="hasLpn"
112
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.icbazuab','托盘号')"
113
- v-model="lpn.value"
114
- :get-focus.sync="lpn.focus"
115
- required
116
- :rule-production-data="$lwScanRule.production('拣选 - 边拣边分 - 托盘号', 'LPN')"
117
- rule-key="lpn"
118
- @confirm="lpnConfirm"
119
- />
120
-
121
- <!-- 商品号 -->
122
- <lw-input
123
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.bzpcrokx','商品号')"
124
- v-model="sku.value"
125
- :get-focus.sync="sku.focus"
126
- required
127
- :rule-production-data="$lwScanRule.production('拣选 - 边拣边分 - 商品号', 'SKU')"
128
- rule-key="sku"
129
- @confirm="skuConfirm"
130
- />
131
- <lw-input
132
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.busfurmf','数量')"
133
- v-model="qty.value"
134
- :get-focus.sync="qty.focus"
135
- required
136
- type="digit"
137
- @confirm="qtyConfirm"
138
- >
139
- <template #button>
140
- <lw-button
141
- v-if="!qty.disabled"
142
- mini
143
- round
144
- @click="qtyConfirm"
145
- >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pbzrsvah','确认') }}</lw-button>
146
- </template>
147
- </lw-input>
148
-
149
-
150
-
151
- <lw-cut-card
152
- v-model="taskIndex"
153
- :length="pickData.pendingPickLineList.length"
154
- :cut-start="cutStart"
155
- :cut-end="cutEnd"
156
- >
157
-
158
- <template #numLast>
159
- <lw-button
160
- round
161
- mini
162
- plain
163
- type="last"
164
- @click="abnClick"
165
- >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.saobucrh','异常') }}</lw-button>
166
- </template>
167
-
168
- </lw-cut-card>
169
-
170
- </div>
171
-
172
-
173
- </van-tab>
174
-
175
- <van-tab
176
- name="line"
177
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rrpdyewp','拣选明细行')"
178
- >
179
-
180
- <div
181
- class="lw-global-model-box lw-global-animation-out"
182
- v-for="(i,k) in pickData.allLineList"
183
- :key="k"
184
- :style="{animationDelay: 50 * k + 'ms'}"
185
- >
186
-
187
- <lw-sku-info-module
188
- :sku-name="i.skuCode"
189
- :sku-code="i.skuCode"
190
- is-row
191
- >
192
-
193
- <!-- 尺寸 -->
194
- <lw-tag
195
- v-if="i.skuSizeLabel"
196
- plain
197
- round
198
- >{{ i.skuSizeLabel}}</lw-tag>
199
-
200
- <!-- 拣选状态 -->
201
- <lw-tag
202
- plain
203
- round
204
- :type="pickStatus(i).type"
205
- >{{ pickStatus(i).msg }}</lw-tag>
206
-
207
- </lw-sku-info-module>
208
-
209
- <div class="lw-global-flex-between lw-global-row">
210
-
211
- <lw-title-value-cell
212
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rriutzfg','拣选库位')"
213
- :value="i.fromLocationCode"
214
- val-bold
215
- :is-row="false"
216
- />
217
-
218
- <lw-title-value-cell
219
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.fzrxibbu','已拣选/计划')"
220
- :value="(i.pickQty || 0) + '/' + (i.totalQty || 0)"
221
- val-bold
222
- val-red
223
- :is-row="false"
224
- />
225
-
226
- </div>
227
-
228
- <div
229
- v-if="i.groupFieldList && i.groupFieldList.length"
230
- style="padding: 5px;border-radius: 5px;border: solid 1px #f0f0f0"
231
- >
232
- <lw-lot-look-module
233
- :columns="i.groupFieldList"
234
- title-key="title"
235
- value-key="value"
236
- :show-row="false"
237
- />
238
- </div>
239
-
240
- </div>
241
-
242
- </van-tab>
243
-
244
- <van-tab
245
- name="sow"
246
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.fhhgummc','播种位列表')"
247
- >
248
- <sow-list :item="pickData.sowLineList"/>
249
- </van-tab>
250
- </van-tabs>
251
-
252
-
253
- </div>
254
-
255
- </div>
256
-
257
-
258
- <lw-bottom-bar v-if="!sowCar.needBind && needContainer">
259
-
260
- <lw-button @click="bindContainerBtn">
261
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.hhsjgjuu','绑定周转箱') }}
262
- </lw-button>
263
-
264
- </lw-bottom-bar>
265
-
266
-
267
- <!-- 拣选的底部操作按钮 -->
268
- <template v-if="!sowCar.needBind && !needContainer">
269
- <lw-bottom-bar v-if="tabAction==='ing'">
270
-
271
- <lw-button
272
- type="last"
273
- plain
274
- @click="pickLack"
275
- >
276
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jgqiivzh','拣选缺货') }}
277
- </lw-button>
278
-
279
- <lw-button
280
- type="last"
281
- @click="pickFullChangeContainer"
282
- >
283
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.xnmcssvu','拣满换容器') }}
284
- </lw-button>
285
-
286
- <lw-button @click="pickConfirm">
287
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.tyssildd','确认拣选播种') }}
288
- </lw-button>
289
-
290
- </lw-bottom-bar>
291
- <lw-bottom-bar v-if="tabAction==='sow'">
292
-
293
- <lw-button
294
- type="last"
295
- @click="pickFullChangeContainer"
296
- >
297
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.xnmcssvu','拣满换容器') }}
298
- </lw-button>
299
-
300
- </lw-bottom-bar>
301
- </template>
302
-
303
-
304
-
305
-
306
-
307
- <!-- 绑定周转箱弹框 -->
308
- <lw-popup
309
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jnvqlhev','绑定播种容器号')"
310
- v-model="bindContainerPopup.show"
311
- @closed="confirmBind"
312
- >
313
-
314
- <lw-title-value-cell
315
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.dptuorvg','拣选小车')"
316
- :value="sowCar.car.value"
317
- val-bold
318
- />
319
-
320
- <lw-title-value-cell
321
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.txqcvgff','当前绑定播种位')"
322
- :value="bindPopupNowBindSowLoc"
323
- val-bold
324
- val-red
325
- val-size="16px"
326
- />
327
-
328
- <lw-input
329
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.wqvqagej','周转箱号')"
330
- v-model="bindContainerPopup.container.value"
331
- :get-focus.sync="bindContainerPopup.container.focus"
332
- :rule-production-data="$lwScanRule.production('周转箱号', 'CONTAINER')"
333
- rule-key="containerBox"
334
- input-over-blur
335
- @confirm="sowLocationBindContainerConfirm"
336
- >
337
-
338
- <template #button>
339
- <lw-button
340
- mini
341
- round
342
- @click="sowLocationBindContainerConfirm"
343
- >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.qmcncpny','绑定') }}</lw-button>
344
- </template>
345
-
346
- </lw-input>
347
-
348
- <div
349
- class="lw-global-flex-between lw-global-row lw-global-click-style"
350
- v-for="(i,k) in bindContainerPopup.sowList"
351
- :key="k"
352
- @click="selectSowLocation(k)"
353
- >
354
-
355
- <div class="lw-global-value-bold">{{ i.sowLineCode }}</div>
356
- <div class="lw-global-value-bold">{{ i.containerNo }}</div>
357
-
358
- </div>
359
-
360
- <template #button>
361
- <lw-button
362
- type="normal"
363
- plain
364
- @click="repeatBind"
365
- >
366
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.lioqvzcr','重绑') }}
367
- </lw-button>
368
- <lw-button @click="bindContainerPopup.show = false">
369
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pbzrsvah','确认') }}
370
- </lw-button>
371
- </template>
372
-
373
- </lw-popup>
374
-
375
- <!-- 计算播种位并调整数量的弹框 -->
376
- <lw-popup
377
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.docqgrky','拣选分拨')"
378
- v-model="sowLocPopup.show"
379
- @closed="sowLocPopupOff"
380
- >
381
-
382
- <lw-sku-info-module
383
- :sku-name="pickLineData.skuName"
384
- :sku-code="pickLineData.skuCode"
385
- :qty="qty.value"
386
- :qty-text="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.bcvasnej','当前拣选量')"
387
- is-row-first
388
- />
389
-
390
- <div>
391
- <div class="lw-global-flex-between lw-global-title lw-global-row">
392
-
393
- <div class="col-1">
394
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pmnizgyn','播种位') }}
395
- </div>
396
-
397
- <div class="col-1">
398
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.cwctmizc','待播量') }}
399
- </div>
400
-
401
- <div class="col-1">
402
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.nvgmqsxt','分配数量') }}
403
- </div>
404
-
405
- </div>
406
-
407
- <div
408
- class="lw-global-flex-between lw-global-animation-out lw-global-row"
409
- v-for="(i,k) in sowLocPopup.list"
410
- :key="k"
411
- :style="{animationDelay: 50 * k + 'ms'}"
412
- >
413
- <div class="col-1 lw-global-value-bold">{{ i.sowLineCode }}</div>
414
- <div class="col-1 lw-global-value-bold-red">{{ i.waitSowQty }}</div>
415
- <div class="col-1">
416
- <lw-input
417
- v-model="i.allocateSowQty"
418
- type="digit"
419
- input-align="center"
420
- :show-bottom-border="false"
421
- />
422
- </div>
423
- </div>
424
- </div>
425
-
426
- <lw-title-value-cell
427
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.briipqfg','调整后拣选总量')"
428
- :value="pickChangeTotal"
429
- val-bold
430
- val-red
431
- is-row
432
- val-size="18px"
433
- />
434
-
435
-
436
- <template #button>
437
-
438
- <lw-button @click="confirmSow">
439
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jhzdrrpy','确认播种拣选') }}
440
- </lw-button>
441
-
442
- </template>
443
-
444
-
445
- </lw-popup>
446
-
447
- <!-- 异常 -->
448
- <lw-popup
449
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.saobucrh','异常')"
450
- v-model="abnPopup.show"
451
- @closed="abnPopup.comShow = false"
452
- >
453
-
454
- <lw-inner-abnormal-module
455
- v-if="abnPopup.comShow"
456
- ref="abnormal"
457
- :sku-code="pickLineData.skuCode"
458
- :sku-name="pickLineData.skuName"
459
- :location="pickLineData.fromLocationCode"
460
- :qty="waitPickQty"
461
- :type="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.nmwudjru','在库')"
462
- :ab-type="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.nzhpvyuv','拣选')"
463
- />
464
-
465
- <template #button>
466
- <lw-button @click="abnConfirm"
467
- >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pbzrsvah','确认') }}</lw-button>
468
- </template>
469
-
470
- </lw-popup>
471
-
472
- <!-- 拣选缺货 -->
473
- <lw-popup
474
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jgqiivzh','拣选缺货')"
475
- v-model="lackPopup.show"
476
- >
477
-
478
- <lw-sku-info-module
479
- :sku-code="pickLineData.skuCode"
480
- :sku-name="pickLineData.skuName"
481
- >
482
- <lw-tag
483
- v-if="pickLineData.skuSizeLabel"
484
- plain
485
- round
486
- >{{ pickLineData.skuSizeLabel }}</lw-tag>
487
- </lw-sku-info-module>
488
-
489
- <div class="lw-global-flex-between lw-global-row">
490
-
491
- <lw-title-value-cell
492
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rriutzfg','拣选库位')"
493
- :value="pickLineData.fromLocationCode"
494
- val-bold
495
- :is-row="false"
496
- />
497
-
498
- <div>
499
- <span class="lw-global-title">
500
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.mqmhprin','最小销售量') }}
501
- </span>
502
- <span class="lw-global-value-bold-red">
503
- {{ pickLineData.uomQty }}
504
- </span>
505
- </div>
506
-
507
- </div>
508
-
509
- <lw-title-value-cell
510
- class="lw-global-row"
511
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.vxauexbo','待拣量')"
512
- :value="waitPickQty"
513
- val-bold
514
- val-red
515
- :is-row="false"
516
- />
517
-
518
-
519
- <lw-input
520
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.btfrzivy','缺货量')"
521
- v-model="lackPopup.lackQty"
522
- :get-focus.sync="lackPopup.lackQtyFocus"
523
- type="digit"
524
- @confirm="lackConfirm"
525
- />
526
-
527
- <template #button>
528
- <lw-button @click="lackConfirm"
529
- >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pbzrsvah','确认') }}</lw-button>
530
- </template>
531
-
532
- </lw-popup>
533
-
534
- <!-- 拣满换容器 -->
535
- <lw-popup
536
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.xnmcssvu','拣满换容器')"
537
- v-model="fullContainerPopup.show"
538
- @closed="fullContainerPopupOff"
539
- >
540
- <lw-input
541
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.xkmdfmdo','已满容器')"
542
- v-model="fullContainerPopup.full.value"
543
- :get-focus.sync="fullContainerPopup.full.focus"
544
- :rule-production-data="$lwScanRule.production('拣选 - 边拣边分 - 拣满换容器 - 已满容器', 'CONTAINER')"
545
- rule-key="fullContainer"
546
- @confirm="fullContainerConfirm"
547
- />
548
-
549
- <template v-if="Object.keys(fullContainerPopup.sowData).length">
550
-
551
- <lw-title-value-cell
552
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ficfyipk','已满容器号')"
553
- :value="fullContainerPopup.sowData.containerNo"
554
- val-bold
555
- />
556
-
557
- <div class="lw-global-flex-between lw-global-row">
558
-
559
- <lw-title-value-cell
560
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pmnizgyn','播种位')"
561
- :value="fullContainerPopup.sowData.sowLineCode"
562
- val-red
563
- val-bold
564
- :is-row="false"
565
- />
566
-
567
- <div>
568
-
569
- <span class="lw-global-title">
570
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.busfurmf','数量') }}
571
- </span>
572
- <span class="lw-global-value-bold">
573
- <span class="lw-global-value-bold-red">
574
- {{ fullContainerPopup.sowData.pickQty }}
575
- </span>
576
- / {{ fullContainerPopup.sowData.totalQty }}
577
- </span>
578
-
579
- </div>
580
-
581
- </div>
582
-
583
- <lw-input
584
- :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.uqcdsbxl','新容器')"
585
- v-model="fullContainerPopup.new.value"
586
- :get-focus.sync="fullContainerPopup.new.focus"
587
- :rule-production-data="$lwScanRule.production('拣选 - 边拣边分 - 拣满换容器 - 新容器', 'CONTAINER')"
588
- rule-key="newContainer"
589
- @confirm="changeContainerConfirm"
590
- />
591
-
592
- <div class="lw-global-value-bold-red">
593
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.zjngylzp','拿下已播满容器号!因为没有播种完成,还需要扫码新空容器号,继续播种接货') }}
594
- </div>
595
-
596
- </template>
597
-
598
- <template
599
- v-if="Object.keys(fullContainerPopup.sowData).length"
600
- #button
601
- >
602
-
603
- <lw-button @click="changeContainerConfirm">
604
- {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.kubytulz','确认更换') }}
605
- </lw-button>
606
-
607
- </template>
608
- </lw-popup>
609
-
610
-
611
-
612
- </div>
613
- </template>
614
-
615
- <script>
616
- import taskInfo from "../components/taskInfo.vue";
617
- import sowList from "../components/sowList.vue";
618
- import skuLocationInfo from './../components/skuLocationInfo/index.vue'
619
- import {
620
- projectQueryPickSowData,
621
- projectWmsOutboundSubmitPickAbnormal,
622
- projectWmsOutboundSubmitPickStockout,
623
- projectWmsPickSowBind,
624
- projectWmsPickSowBindContainer,
625
- projectWmsPickSowChangeContainer,
626
- projectWmsPickSowComputePosition,
627
- projectWmsPickSowRebindContainer,
628
- projectWmsPickSowSubmitPick,
629
- projectWmsPickSowUnbind
630
- } from "../../../../../api/outbound/pick/sow";
631
- import {all} from "../mixin/all";
632
- import {aloneAndNotAlone} from "../mixin/aloneAndNotAlone";
633
-
634
- export default {
635
- name: "lwOutboundPickSowPage",
636
- components:{
637
- taskInfo,
638
- sowList,
639
- skuLocationInfo
640
- },
641
- mixins:[all, aloneAndNotAlone],
642
- data() {
643
- return {
644
- // 任务数据
645
- pickData:{},
646
-
647
- // 拣选小车
648
- sowCar:{
649
- // 是否已绑定
650
- needBind: true,
651
- // 小车输入框
652
- car:{
653
- value: '',
654
- focus: false
655
- },
656
- },
657
- // 是否需要绑定拣选容器
658
- needContainer: true,
659
- // 是否能解绑
660
- canUnbind: false,
661
-
662
- // 绑定播种容器号弹框
663
- bindContainerPopup:{
664
- show: false,
665
- sowList:[],
666
- sowIndex: 0,
667
- container:{
668
- value: '',
669
- focus: false
670
- }
671
- },
672
-
673
-
674
- // 拣选tab激活项
675
- tabAction:'',
676
-
677
- // 正在拣选的任务索引
678
- taskIndex: 0,
679
- // 拣选库位
680
- locationCode:{
681
- value: '',
682
- focus: false
683
- },
684
- lpn:{
685
- value: '',
686
- focus: false
687
- },
688
- sku:{
689
- value: '',
690
- focus: false
691
- },
692
- qty:{
693
- value: '',
694
- focus: false
695
- },
696
-
697
- // 计算播种位弹框
698
- sowLocPopup:{
699
- show: false,
700
- list: []
701
- },
702
-
703
- // 异常弹框
704
- abnPopup:{
705
- show: false,
706
- comShow: false
707
- },
708
-
709
- // 拣选缺货
710
- lackPopup:{
711
- show: false,
712
- lackQty: '',
713
- lackQtyFocus: false
714
- },
715
-
716
- // 拣满换容器
717
- fullContainerPopup:{
718
- show: false,
719
- full:{
720
- value: '',
721
- focus: false
722
- },
723
- new:{
724
- value: '',
725
- focus: false
726
- },
727
- sowData:{}
728
- }
729
- }
730
- },
731
- computed:{
732
- // 当前拣选行数据
733
- pickLineData(){
734
- const list = this.pickData.pendingPickLineList
735
- return list && list.length ? list[this.taskIndex] : {}
736
- },
737
-
738
- // 当前拣选行是否需要校验LPN
739
- hasLpn(){
740
- return !!this.pickLineData.fromLpn
741
- },
742
-
743
- // 拣选播种调整后的拣选总量
744
- pickChangeTotal(){
745
- let num = 0
746
- this.sowLocPopup.list.filter(item=>{
747
- num+=Number(item.allocateSowQty)
748
- })
749
- return num
750
- },
751
-
752
- // 待拣选量
753
- waitPickQty(){
754
- return Number(this.pickLineData.totalQty || 0) - Number(this.pickLineData.pickQty || 0)
755
- },
756
-
757
- // 绑定弹框 - 当前绑定的播种位
758
- bindPopupNowBindSowLoc(){
759
- const list = this.bindContainerPopup.sowList
760
- if (list && list.length){
761
- return list[this.bindContainerPopup.sowIndex].sowLineCode
762
- }
763
- return ''
764
- },
765
-
766
- // 调用接口时候需要的数据
767
- actionQuery(){
768
- return {
769
- pickId: this.pickData.pickId,
770
- pickNo: this.pickData.pickNo,
771
- pickSowToolCode: this.pickData.pickSowToolCode,
772
- fromLocationId: this.pickLineData.fromLocationId,
773
- fromLpn: this.pickLineData.fromLpn,
774
- ownerId: this.pickLineData.ownerId,
775
- skuId: this.pickLineData.skuId,
776
- uom: this.pickLineData.uom,
777
- uomQty: this.pickLineData.uomQty,
778
- lineGroupKey: this.pickLineData.lineGroupKey,
779
- }
780
- }
781
-
782
- },
783
- mounted() {
784
- this.getTaskData()
785
- },
786
- methods: {
787
- // 获取任务数据
788
- getTaskData(){
789
- projectQueryPickSowData({
790
- pickId: this.$route.query.lwPickId
791
- }).then(res=>{
792
- this.sowCar.car.value = res.pickSowToolCode || ''
793
- this.sowCar.needBind = !this.sowCar.car.value
794
- this.canUnbind = res.canUnbind
795
- this.needContainer = res.needBindContainer
796
-
797
- if (this.sowCar.needBind) {
798
- this.$nextTick(()=>{
799
- this.sowCar.car.focus = true
800
- })
801
- }
802
-
803
- this.pickData = this.formatData(res)
804
- this.checkTaskIndex(this.pickData.pendingPickLineList.length)
805
- })
806
- },
807
- // 全部拣选完成
808
- allPickOver(){
809
- this.$lwToast.success(
810
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jwlhnlca','当前任务已全部拣选完成')
811
- )
812
- history.go(-1)
813
- },
814
- // 操作成功后的提示并重新请求数据
815
- changeSuccessGetData(msg){
816
- this.$lwToast.success(msg)
817
- this.getTaskData()
818
- },
819
- // 徽标
820
- pickStatus(item) {
821
- switch (item.pickStatus) {
822
- case '100':
823
- return {
824
- type: 'danger',
825
- msg: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.oidxrkta','未拣选')
826
- }
827
- case '200':
828
- return {
829
- type: 'warning',
830
- msg: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.llqymbwx','拣选中')
831
- }
832
- case '300':
833
- return {
834
- type: 'success',
835
- msg: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ytgzgfkn','已拣选')
836
- }
837
- default:
838
- return {
839
- type: 'primary',
840
- msg: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.htflqesv','未知')
841
- }
842
- }
843
- },
844
-
845
- // 确认绑定小车
846
- bindCarConfirm(){
847
- const val = this.sowCar.car.value
848
-
849
- if (!val){
850
- this.sowCar.car.focus = true
851
- this.$lwShowErrorMsg(
852
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jzjxgygr','请输入拣选小车')
853
- )
854
- return
855
- }
856
-
857
- projectWmsPickSowBind({
858
- pickId: this.pickData.pickId,
859
- pickSowToolCode: val
860
- }).then(()=>{
861
- this.getTaskData()
862
- })
863
- },
864
- // 解除绑定小车
865
- unbindCar(){
866
- this.$lwDialog.confirm({
867
- title: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ppfjowab','提示'),
868
- message: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.vtdombtl','解除绑定后,当前绑定容器将会被清空')
869
- }).then(()=>{
870
-
871
- projectWmsPickSowUnbind({
872
- pickId: this.pickData.pickId,
873
- pickSowToolCode: this.sowCar.car.value
874
- }).then(()=>{
875
- this.$lwToast.success(
876
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pgvgwclm','解绑成功')
877
- )
878
- this.getTaskData()
879
- })
880
- }).catch(()=>{})
881
- },
882
-
883
-
884
- // 绑定周转箱按钮点击
885
- bindContainerBtn(){
886
- const sowList = this.$lwDeepCopy(this.pickData.sowLineList || [])
887
- this.bindContainerPopup.sowList = sowList
888
- let index = 0
889
- for (let i=0;i<sowList.length;i++){
890
- if (!sowList[i].containerNo){
891
- index = i
892
- break
893
- }
894
- }
895
- this.bindContainerPopup.sowIndex = index
896
- this.bindContainerPopup.show = true
897
- this.bindContainerPopup.container.focus = true
898
- },
899
- // 绑定播种容器号弹框 - 确认绑定
900
- sowLocationBindContainerConfirm(){
901
- const popup = this.bindContainerPopup
902
- const sowItem = popup.sowList[popup.sowIndex]
903
-
904
- if(!popup.container.value){
905
- popup.container.focus = true
906
- this.$lwShowErrorMsg(
907
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.nqbmbqkw','请输入播种位【{0}】需要绑定的周转箱',[sowItem.sowLineCode])
908
- )
909
- return
910
- }
911
-
912
- projectWmsPickSowBindContainer({
913
- pickId: this.pickData.pickId,
914
- pickSowToolCode: this.sowCar.car.value,
915
- sowLineCode: sowItem.sowLineCode,
916
- bindContainer: popup.container.value,
917
- }).then(()=>{
918
- sowItem.containerNo = popup.container.value
919
- popup.container.value = ''
920
- popup.container.focus = true
921
- popup.sowIndex++
922
- if (popup.sowIndex >= popup.sowList.length){
923
- this.$lwToast.success(
924
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rfapmpwd','所有播种位已全部绑定容器')
925
- )
926
- popup.sowIndex = 0
927
- }
928
- })
929
- },
930
- // 绑定播种容器号弹框 - 选择绑定
931
- selectSowLocation(index){
932
- this.bindContainerPopup.sowIndex = index
933
- this.bindContainerPopup.container.focus = true
934
- this.bindContainerPopup.container.value = ''
935
- },
936
- // 绑定播种容器号弹框 - 重新绑定
937
- repeatBind(){
938
- this.$lwDialog.confirm({
939
- title: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ppfjowab','提示'),
940
- message: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.aekhpwnr','当前绑定容器将会被全部清空')
941
- }).then(()=>{
942
- projectWmsPickSowRebindContainer({
943
- pickId: this.pickData.pickId,
944
- pickSowToolCode: this.sowCar.car.value
945
- }).then(()=>{
946
- this.bindContainerPopup.sowList.forEach(item=>{
947
- item.containerNo = ''
948
- })
949
- this.bindContainerPopup.sowIndex = 0
950
- this.bindContainerPopup.container.value = ''
951
- this.bindContainerPopup.container.focus = true
952
- })
953
- }).catch(()=>{})
954
- },
955
- // 绑定播种容器号弹框 - 确认绑定
956
- confirmBind(){
957
- this.bindContainerPopup.container.value=''
958
- this.getTaskData()
959
- },
960
-
961
-
962
- // 拣选库位确认
963
- locationCodeConfirm(){
964
- if (this.locationCodeCheck()){
965
- if (this.hasLpn){
966
- this.lpn.focus = true
967
- }else {
968
- this.sku.focus = true
969
- }
970
- }
971
- },
972
- // 检查拣选库位
973
- locationCodeCheck(){
974
-
975
- return this.inputCheck({
976
- key: 'locationCode',
977
- checkVal: this.pickLineData.fromLocationCode,
978
- })
979
- },
980
-
981
- // 托盘号确认
982
- lpnConfirm(){
983
- if (this.lpnCheck()) this.sku.focus = true
984
- },
985
- // 托盘号校验
986
- lpnCheck(){
987
-
988
- if (!this.hasLpn) return true
989
-
990
- return this.inputCheck({
991
- key: 'lpn',
992
- checkVal: this.pickLineData.fromLpn,
993
- needCheck: false
994
- })
995
- },
996
-
997
- // 商品确认
998
- skuConfirm(val,{data}){
999
-
1000
- if (!this.skuCheck()) return
1001
-
1002
- let newQty = 0
1003
- // 如果条码解析成功,并且能解析出数量就加法运算
1004
- if (data.qty){
1005
- newQty = data.qty
1006
- }
1007
-
1008
- newQty = Number(this.pickLineData.uomQty)
1009
- this.qty.value = Number(this.qty.value || 0) + newQty
1010
- this.qty.focus = true
1011
- },
1012
- // 商品检查
1013
- skuCheck(){
1014
- return this.inputCheck({
1015
- key: 'sku',
1016
- checkVal: this.pickLineData.skuCode,
1017
- })
1018
- },
1019
-
1020
- // 数量确认
1021
- qtyConfirm(){
1022
- if (this.qtyCheck()) this.pickConfirm()
1023
- },
1024
- // 数量校验
1025
- qtyCheck(){
1026
- const qty = Number(this.qty.value || 0)
1027
- if (!qty){
1028
- this.qty.focus = true
1029
- this.$lwShowErrorMsg(
1030
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.mvkcfove','拣选数量不能为空,且应当是大于0的整数')
1031
- )
1032
- this.qty.value = ''
1033
- return false
1034
- }
1035
-
1036
- const item = this.pickLineData
1037
- const uomQty = Number(item.uomQty || 0)
1038
-
1039
- if (uomQty === 0){
1040
- console.warn('拣选最小单位数据异常,值为:', uomQty)
1041
- return true
1042
- }
1043
-
1044
- if (qty%item.uomQty !== 0){
1045
- this.qty.focus = true
1046
- this.$lwShowErrorMsg(
1047
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.cyjdoamc','拣选数量应当为{0}的倍数',[item.uomLabel.top])
1048
- )
1049
- this.qty.value = ''
1050
- return false
1051
- }
1052
-
1053
- const waitQty = Number(item.totalQty || 0) - Number(item.pickQty || 0)
1054
- if (qty > waitQty){
1055
- this.qty.focus = true
1056
- this.$lwShowErrorMsg(
1057
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ommmlsnz','拣选数量不能大于待拣量')
1058
- )
1059
- this.qty.value = ''
1060
- return false
1061
- }
1062
-
1063
- return true
1064
- },
1065
-
1066
- // 任务行切换前
1067
- cutStart(){
1068
- return this.checkInputVal(
1069
- ['locationCode', 'lpn', 'sku', 'qty'],
1070
- )
1071
-
1072
- },
1073
- // 任务行切换后
1074
- cutEnd(){
1075
- this.clearInputVal(
1076
- ['locationCode', 'lpn', 'sku', 'qty'],
1077
- )
1078
- },
1079
-
1080
- // 确认拣选
1081
- pickConfirm(){
1082
- if (!(
1083
- this.locationCodeCheck() &&
1084
- this.lpnCheck() &&
1085
- this.skuCheck() &&
1086
- this.qtyCheck()
1087
- )) return
1088
-
1089
- projectWmsPickSowComputePosition({
1090
- ...this.actionQuery,
1091
- currentPickQty: this.qty.value,
1092
- }).then(res=>{
1093
- this.sowLocPopup.list = res
1094
- this.sowLocPopup.show = true
1095
- })
1096
- },
1097
- // 确认播种拣选
1098
- confirmSow(){
1099
- if (this.pickChangeTotal === 0){
1100
- this.$lwShowErrorMsg(
1101
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.abhnbixj','请输入分配量')
1102
- )
1103
- return
1104
- }
1105
-
1106
- if (this.pickChangeTotal > Number(this.qty.value || 0)){
1107
- this.$lwShowErrorMsg(
1108
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.cjiegwjf','调整后的拣选量不能大于当前拣选量')
1109
- )
1110
- return
1111
- }
1112
-
1113
- const list = this.sowLocPopup.list.filter(item=>item.allocateSowQty > item.waitSowQty)
1114
- if(list.length){
1115
- const str = list.join(',')
1116
- this.$lwShowErrorMsg(
1117
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jgaepbnm','播种位:{0},调整数量不能大于待播种量',[str])
1118
- )
1119
- return
1120
- }
1121
-
1122
- projectWmsPickSowSubmitPick({
1123
- ...this.actionQuery,
1124
- sowLineList: this.sowLocPopup.list.filter(item=>{
1125
- item.currentPickQty = item.allocateSowQty
1126
- return !!Number(item.currentPickQty || 0)
1127
- })
1128
- }).then(res=>{
1129
- if(res.pickOrderFinish){
1130
- this.allPickOver()
1131
- return
1132
- }
1133
-
1134
- this.changeSuccessGetData(
1135
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rluwnhce','拣选成功')
1136
- )
1137
- this.sowLocPopup.show = false
1138
- })
1139
- },
1140
- // 确认播种拣选弹框关闭
1141
- sowLocPopupOff(){
1142
- this.cutEnd()
1143
- },
1144
-
1145
-
1146
- // 异常
1147
- abnClick(){
1148
- this.abnPopup.comShow = true
1149
- this.abnPopup.show = true
1150
- },
1151
- // 异常确认
1152
- abnConfirm(){
1153
- const {success, data} = this.$refs.abnormal.getAbnormalData()
1154
-
1155
- if (!success) return
1156
-
1157
- projectWmsOutboundSubmitPickAbnormal({
1158
- ...this.actionQuery,
1159
- ...data
1160
- }).then(res=>{
1161
- if (res.taskFinishStatus){
1162
- this.allPickOver()
1163
- return
1164
- }
1165
-
1166
- this.changeSuccessGetData(
1167
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.uzpvcags','异常上报成功')
1168
- )
1169
- this.abnPopup.show = false
1170
- })
1171
- },
1172
-
1173
-
1174
- // 拣选缺货
1175
- pickLack(){
1176
- this.lackPopup.show = true
1177
- this.lackPopup.lackQtyFocus = true
1178
- },
1179
- // 确认拣选缺货
1180
- lackConfirm(){
1181
- const qty = Number(this.lackPopup.lackQty || 0)
1182
- if (!qty){
1183
- this.lackPopup.lackQtyFocus = true
1184
- this.$lwShowErrorMsg(
1185
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.eowiwjep','缺货量不能为空,且应当是大于0的整数')
1186
- )
1187
- this.lackPopup.lackQty = ''
1188
- return
1189
- }
1190
-
1191
-
1192
- // 判断是否大于待拣量
1193
- if (this.waitPickQty < qty){
1194
- this.lackPopup.lackQtyFocus = true
1195
- this.$lwShowErrorMsg(
1196
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.oqzvdfeq','缺货量不能大于待拣量')
1197
- )
1198
- this.lackPopup.lackQty = ''
1199
- return
1200
- }
1201
-
1202
- projectWmsOutboundSubmitPickStockout({
1203
- ...this.actionQuery,
1204
- stockoutQty: qty
1205
- }).then((res)=>{
1206
- if (res.taskFinishStatus){
1207
- this.allPickOver()
1208
- return
1209
- }
1210
- this.changeSuccessGetData(
1211
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.kfuarlea','缺货上报成功')
1212
- )
1213
- this.lackPopup.show = false
1214
- })
1215
- },
1216
-
1217
-
1218
- // 拣满换容器
1219
- pickFullChangeContainer(){
1220
- this.fullContainerPopup.show = true
1221
- this.fullContainerPopup.full.focus = true
1222
- },
1223
- // 拣满换容器弹框 - 已满容器确认
1224
- fullContainerConfirm(){
1225
- const val = this.fullContainerPopup.full.value
1226
- if(!val){
1227
- this.fullContainerPopup.full.focus = true
1228
- this.$lwShowErrorMsg(
1229
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ochqlial','请输入已满容器')
1230
- )
1231
- return
1232
- }
1233
-
1234
- const list = this.pickData.sowLineList.filter(item=>item.containerNo === val)
1235
-
1236
- if(!list.length){
1237
- this.fullContainerPopup.full.value = ''
1238
- this.fullContainerPopup.full.focus = true
1239
- this.$lwShowErrorMsg(
1240
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.oavxgmht','输入的已满容器没有在播种容器中找到')
1241
- )
1242
- return
1243
- }
1244
-
1245
- this.fullContainerPopup.sowData = list[0]
1246
- this.fullContainerPopup.full.value = ''
1247
- this.fullContainerPopup.new.focus = true
1248
-
1249
- },
1250
- // 拣满换容器弹框 - 确认更换
1251
- changeContainerConfirm(){
1252
- const val = this.fullContainerPopup.new.value
1253
- if(!val){
1254
- this.fullContainerPopup.full.focus = true
1255
- this.$lwShowErrorMsg(
1256
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.sujifzbk','请输入新容器')
1257
- )
1258
- return
1259
- }
1260
-
1261
- projectWmsPickSowChangeContainer({
1262
- ...this.actionQuery,
1263
- sowLineCode: this.fullContainerPopup.sowData.sowLineCode,
1264
- bindContainer: this.fullContainerPopup.new.value
1265
- }).then(()=>{
1266
- this.changeSuccessGetData(
1267
- this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.wnzjpnad','更换成功')
1268
- )
1269
- this.fullContainerPopup.show = false
1270
- })
1271
- },
1272
- // 拣满换容器弹框 - 关闭
1273
- fullContainerPopupOff(){
1274
- this.fullContainerPopup.full.value = ''
1275
- this.fullContainerPopup.new.value = ''
1276
- this.fullContainerPopup.sowData = {}
1277
- }
1278
- }
1279
- }
1280
- </script>
1281
-
1282
- <style scoped lang="less">
1283
-
1284
- .col-1{
1285
- width: 33%;
1286
- flex-shrink: 0;
1287
- text-align: center;
1288
- }
1289
-
1290
- </style>
1
+ <!--
2
+ 边拣边分
3
+ @author: 张文
4
+ @date: 2022-08-15
5
+ -->
6
+ <template>
7
+ <div>
8
+
9
+ <lw-nav-bar :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.kbenunwi','边拣边分')"/>
10
+
11
+ <div class="lw-global-page-box">
12
+
13
+ <!-- 任务看板 -->
14
+ <task-info :item="pickData">
15
+
16
+ <template>
17
+
18
+ <!-- 拣选小车 -->
19
+ <lw-input
20
+ style="margin: 10px 0 0 0"
21
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.dptuorvg','拣选小车')"
22
+ v-model="sowCar.car.value"
23
+ :get-focus.sync="sowCar.car.focus"
24
+ :create-rule="$lwScanRule.create('拣选小车', 'LPN')"
25
+ rule-key="sowCar"
26
+ :show-bottom-border="false"
27
+ :disabled="!sowCar.needBind"
28
+ @confirm="bindCarConfirm"
29
+ >
30
+
31
+ <template #button>
32
+ <lw-button
33
+ v-if="canUnbind"
34
+ mini
35
+ round
36
+ @click="unbindCar"
37
+ >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.kngqtmkz','解除绑定') }}</lw-button>
38
+ </template>
39
+
40
+ </lw-input>
41
+ </template>
42
+
43
+ </task-info>
44
+
45
+ <!-- 绑定小车提示 -->
46
+ <div
47
+ v-if="sowCar.needBind"
48
+ style="text-align: center"
49
+ class="lw-global-model-box lw-global-value-bold-red"
50
+ >
51
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.kzqbuxih','请绑定拣选小车') }}
52
+ </div>
53
+
54
+ <!-- 绑定播种位 -->
55
+ <template v-if="!sowCar.needBind && needContainer">
56
+ <div
57
+ style="text-align: center"
58
+ class="lw-global-model-box lw-global-value-bold-red"
59
+ >
60
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.xxtpvmjs','请绑定容器号到拣选小车的播种位') }}
61
+ </div>
62
+
63
+ <sow-list :item="pickData.sowLineList"/>
64
+ </template>
65
+
66
+ <!-- 执行拣选tab -->
67
+ <div
68
+ v-if="!needContainer"
69
+ class="lw-global-tab-box"
70
+ >
71
+
72
+ <van-tabs
73
+ type="card"
74
+ animated
75
+ v-model="tabAction"
76
+ >
77
+
78
+ <van-tab
79
+ name="ing"
80
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.fuanucax','正在拣选')"
81
+ >
82
+
83
+ <div class="lw-global-model-box">
84
+
85
+ <sku-location-info
86
+ :item="pickLineData"
87
+ wait-pick
88
+ />
89
+
90
+ <!-- 托盘号 -->
91
+ <lw-title-value-cell
92
+ v-if="pickLineData.fromLpn"
93
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.icbazuab','托盘号')"
94
+ :value="pickLineData.fromLpn"
95
+ val-bold
96
+ />
97
+
98
+ <!-- -->
99
+ <lw-title-value-cell
100
+ v-if="pickLineData.fromCase"
101
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.icbazuaxb','箱号')"
102
+ :value="pickLineData.fromCase"
103
+ val-bold
104
+ />
105
+
106
+ <!-- 库位 -->
107
+ <lw-input
108
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rriutzfg','拣选库位')"
109
+ v-model="locationCode.value"
110
+ :get-focus.sync="locationCode.focus"
111
+ required
112
+ :create-rule="$lwScanRule.create('拣选 - 边拣边分 - 拣选库位', 'LOCATION')"
113
+ rule-key="location"
114
+ @confirm="locationCodeConfirm"
115
+ />
116
+
117
+ <!-- 托盘号 -->
118
+ <lw-input
119
+ v-if="hasLpn"
120
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.icbazuab','托盘号')"
121
+ v-model="lpn.value"
122
+ :get-focus.sync="lpn.focus"
123
+ required
124
+ :create-rule="$lwScanRule.create('拣选 - 边拣边分 - 托盘号', 'LPN')"
125
+ rule-key="lpn"
126
+ @confirm="lpnConfirm"
127
+ />
128
+
129
+ <!-- 箱号 -->
130
+ <lw-input
131
+ v-if="pickLineData.fromCase"
132
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.icbazuaxb','箱号')"
133
+ v-model="box.value"
134
+ :get-focus.sync="box.focus"
135
+ required
136
+ rule-key="case"
137
+ :create-rule="$lwScanRule.create('边拣边分-箱号','CASE')"
138
+ @confirm="boxConfirm"
139
+ />
140
+
141
+ <!-- 商品号 -->
142
+ <lw-input
143
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.bzpcrokx','商品号')"
144
+ v-model="sku.value"
145
+ :get-focus.sync="sku.focus"
146
+ required
147
+ :create-rule="$lwScanRule.create('拣选 - 边拣边分 - 商品号', 'SKU')"
148
+ rule-key="sku"
149
+ @confirm="skuConfirm"
150
+ />
151
+ <lw-title-value-cell
152
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.wsbghnsh','当前扫描')"
153
+ :value="nowSkuCode"
154
+ />
155
+ <lw-input
156
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.busfurmf','数量')"
157
+ v-model="qty.value"
158
+ :get-focus.sync="qty.focus"
159
+ required
160
+ type="digit"
161
+ @confirm="qtyConfirm"
162
+ >
163
+ <template #button>
164
+ <lw-button
165
+ v-if="!qty.disabled"
166
+ mini
167
+ round
168
+ @click="pickConfirm"
169
+ >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pbzrsvah','确认') }}</lw-button>
170
+ </template>
171
+ </lw-input>
172
+
173
+
174
+
175
+ <lw-cut-card
176
+ v-model="taskIndex"
177
+ :length="pickData.pendingPickLineList.length"
178
+ :cut-start="cutStart"
179
+ :cut-end="cutEnd"
180
+ >
181
+
182
+ <template #numLast>
183
+ <lw-button
184
+ round
185
+ mini
186
+ plain
187
+ type="last"
188
+ @click="abnClick"
189
+ >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.saobucrh','异常') }}</lw-button>
190
+ </template>
191
+
192
+ </lw-cut-card>
193
+
194
+ </div>
195
+
196
+
197
+ </van-tab>
198
+
199
+ <van-tab
200
+ name="line"
201
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rrpdyewp','拣选明细行')"
202
+ >
203
+
204
+ <div
205
+ class="lw-global-model-box lw-global-animation-out"
206
+ v-for="(i,k) in pickData.allLineList"
207
+ :key="k"
208
+ :style="{animationDelay: 50 * k + 'ms'}"
209
+ >
210
+
211
+ <lw-sku-info-module
212
+ :sku-name="i.skuCode"
213
+ :sku-code="i.skuCode"
214
+ is-row
215
+ >
216
+
217
+ <!-- 尺寸 -->
218
+ <lw-tag
219
+ v-if="i.skuSizeLabel"
220
+ plain
221
+ round
222
+ >{{ i.skuSizeLabel}}</lw-tag>
223
+
224
+ <!-- 拣选状态 -->
225
+ <lw-tag
226
+ plain
227
+ round
228
+ :type="pickStatus(i).type"
229
+ >{{ pickStatus(i).msg }}</lw-tag>
230
+
231
+ </lw-sku-info-module>
232
+
233
+ <div class="lw-global-flex-between lw-global-row">
234
+
235
+ <lw-title-value-cell
236
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rriutzfg','拣选库位')"
237
+ :value="i.fromLocationCode"
238
+ val-bold
239
+ :is-row="false"
240
+ />
241
+
242
+ <lw-title-value-cell
243
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.fzrxibbu','已拣选/计划')"
244
+ :value="(i.pickQty || 0) + '/' + (i.totalQty || 0)"
245
+ val-bold
246
+ val-red
247
+ :is-row="false"
248
+ />
249
+
250
+ </div>
251
+
252
+ <div
253
+ v-if="i.groupFieldList && i.groupFieldList.length"
254
+ style="padding: 5px;border-radius: 5px;border: solid 1px #f0f0f0"
255
+ >
256
+ <lw-lot-look-module
257
+ :columns="i.groupFieldList"
258
+ title-key="title"
259
+ value-key="value"
260
+ :show-row="false"
261
+ />
262
+ </div>
263
+
264
+ </div>
265
+
266
+ </van-tab>
267
+
268
+ <van-tab
269
+ name="sow"
270
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.fhhgummc','播种位列表')"
271
+ >
272
+ <sow-list :item="pickData.sowLineList"/>
273
+ </van-tab>
274
+ </van-tabs>
275
+
276
+
277
+ </div>
278
+
279
+ </div>
280
+
281
+
282
+ <lw-bottom-bar v-if="!sowCar.needBind && needContainer">
283
+
284
+ <lw-button @click="bindContainerBtn">
285
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.hhsjgjuu','绑定周转箱') }}
286
+ </lw-button>
287
+
288
+ </lw-bottom-bar>
289
+
290
+
291
+ <!-- 拣选的底部操作按钮 -->
292
+ <lw-bottom-bar v-if="showBottomBar && tabAction==='ing'">
293
+
294
+ <lw-button
295
+ type="last"
296
+ plain
297
+ @click="pickLack"
298
+ >
299
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jgqiivzh','拣选缺货') }}
300
+ </lw-button>
301
+
302
+ <lw-button
303
+ type="last"
304
+ @click="pickFullChangeContainer"
305
+ >
306
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.xnmcssvu','拣满换容器') }}
307
+ </lw-button>
308
+
309
+ <lw-button @click="pickConfirm">
310
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.tyssildd','确认拣选播种') }}
311
+ </lw-button>
312
+
313
+ </lw-bottom-bar>
314
+
315
+ <lw-bottom-bar v-if="showBottomBar && tabAction==='sow'">
316
+
317
+ <lw-button
318
+ type="last"
319
+ @click="pickFullChangeContainer"
320
+ >
321
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.xnmcssvu','拣满换容器') }}
322
+ </lw-button>
323
+
324
+ </lw-bottom-bar>
325
+
326
+
327
+
328
+
329
+
330
+ <!-- 绑定周转箱弹框 -->
331
+ <lw-popup
332
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jnvqlhev','绑定播种容器号')"
333
+ v-model="bindContainerPopup.show"
334
+ @closed="confirmBind"
335
+ >
336
+
337
+ <lw-title-value-cell
338
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.dptuorvg','拣选小车')"
339
+ :value="sowCar.car.value"
340
+ val-bold
341
+ />
342
+
343
+ <lw-title-value-cell
344
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.txqcvgff','当前绑定播种位')"
345
+ :value="bindPopupNowBindSowLoc"
346
+ val-bold
347
+ val-red
348
+ val-size="16px"
349
+ />
350
+
351
+ <lw-input
352
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.wqvqagej','周转箱号')"
353
+ v-model="bindContainerPopup.container.value"
354
+ :get-focus.sync="bindContainerPopup.container.focus"
355
+ :create-rule="$lwScanRule.create('周转箱号', 'CONTAINER')"
356
+ rule-key="containerBox"
357
+ input-over-blur
358
+ @confirm="sowLocationBindContainerConfirm"
359
+ >
360
+
361
+ <template #button>
362
+ <lw-button
363
+ mini
364
+ round
365
+ @click="sowLocationBindContainerConfirm"
366
+ >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.qmcncpny','绑定') }}</lw-button>
367
+ </template>
368
+
369
+ </lw-input>
370
+
371
+ <div
372
+ class="lw-global-flex-between lw-global-row lw-global-click-style"
373
+ v-for="(i,k) in bindContainerPopup.sowList"
374
+ :key="k"
375
+ @click="selectSowLocation(k)"
376
+ >
377
+
378
+ <div class="lw-global-value-bold">{{ i.sowLineCode }}</div>
379
+ <div class="lw-global-value-bold">{{ i.containerNo }}</div>
380
+
381
+ </div>
382
+
383
+ <template #button>
384
+ <lw-button
385
+ type="normal"
386
+ plain
387
+ @click="repeatBind"
388
+ >
389
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.lioqvzcr','重绑') }}
390
+ </lw-button>
391
+ <lw-button @click="bindContainerPopup.show = false">
392
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pbzrsvah','确认') }}
393
+ </lw-button>
394
+ </template>
395
+
396
+ </lw-popup>
397
+
398
+ <!-- 计算播种位并调整数量的弹框 -->
399
+ <lw-popup
400
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.docqgrky','拣选分拨')"
401
+ v-model="sowLocPopup.show"
402
+ @closed="sowLocPopupOff"
403
+ >
404
+
405
+ <lw-sku-info-module
406
+ :sku-name="pickLineData.skuName"
407
+ :sku-code="pickLineData.skuCode"
408
+ :qty="qty.value"
409
+ :qty-text="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.bcvasnej','当前拣选量')"
410
+ is-row-first
411
+ />
412
+
413
+ <div>
414
+ <div class="lw-global-flex-between lw-global-title lw-global-row">
415
+
416
+ <div class="col-1">
417
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pmnizgyn','播种位') }}
418
+ </div>
419
+
420
+ <div class="col-1">
421
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.cwctmizc','待播量') }}
422
+ </div>
423
+
424
+ <div class="col-1">
425
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.nvgmqsxt','分配数量') }}
426
+ </div>
427
+
428
+ </div>
429
+
430
+ <div
431
+ class="lw-global-flex-between lw-global-animation-out lw-global-row"
432
+ v-for="(i,k) in sowLocPopup.list"
433
+ :key="k"
434
+ :style="{animationDelay: 50 * k + 'ms'}"
435
+ >
436
+ <div class="col-1 lw-global-value-bold">{{ i.sowLineCode }}</div>
437
+ <div class="col-1 lw-global-value-bold-red">{{ i.waitSowQty }}</div>
438
+ <div class="col-1">
439
+ <lw-input
440
+ v-model="i.allocateSowQty"
441
+ type="digit"
442
+ input-align="center"
443
+ :show-bottom-border="false"
444
+ />
445
+ </div>
446
+ </div>
447
+ </div>
448
+
449
+ <lw-title-value-cell
450
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.briipqfg','调整后拣选总量')"
451
+ :value="pickChangeTotal"
452
+ val-bold
453
+ val-red
454
+ is-row
455
+ val-size="18px"
456
+ />
457
+
458
+
459
+ <template #button>
460
+
461
+ <lw-button @click="confirmSow">
462
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jhzdrrpy','确认播种拣选') }}
463
+ </lw-button>
464
+
465
+ </template>
466
+
467
+
468
+ </lw-popup>
469
+
470
+ <!-- 异常 -->
471
+ <lw-popup
472
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.saobucrh','异常')"
473
+ v-model="abnPopup.show"
474
+ @closed="abnPopup.comShow = false"
475
+ >
476
+
477
+ <lw-inner-abnormal-module
478
+ v-if="abnPopup.comShow"
479
+ ref="abnormal"
480
+ :sku-code="pickLineData.skuCode"
481
+ :sku-name="pickLineData.skuName"
482
+ :location="pickLineData.fromLocationCode"
483
+ :qty="waitPickQty"
484
+ :type="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.nmwudjru','在库')"
485
+ :ab-type="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.nzhpvyuv','拣选')"
486
+ />
487
+
488
+ <template #button>
489
+ <lw-button @click="abnConfirm"
490
+ >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pbzrsvah','确认') }}</lw-button>
491
+ </template>
492
+
493
+ </lw-popup>
494
+
495
+ <!-- 拣选缺货 -->
496
+ <lw-popup
497
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jgqiivzh','拣选缺货')"
498
+ v-model="lackPopup.show"
499
+ >
500
+
501
+ <lw-sku-info-module
502
+ :sku-code="pickLineData.skuCode"
503
+ :sku-name="pickLineData.skuName"
504
+ >
505
+ <lw-tag
506
+ v-if="pickLineData.skuSizeLabel"
507
+ plain
508
+ round
509
+ >{{ pickLineData.skuSizeLabel }}</lw-tag>
510
+ </lw-sku-info-module>
511
+
512
+ <div class="lw-global-flex-between lw-global-row">
513
+
514
+ <lw-title-value-cell
515
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rriutzfg','拣选库位')"
516
+ :value="pickLineData.fromLocationCode"
517
+ val-bold
518
+ :is-row="false"
519
+ />
520
+
521
+ <div>
522
+ <span class="lw-global-title">
523
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.mqmhprin','最小销售量') }}
524
+ </span>
525
+ <span class="lw-global-value-bold-red">
526
+ {{ pickLineData.uomQty }}
527
+ </span>
528
+ </div>
529
+
530
+ </div>
531
+
532
+ <lw-title-value-cell
533
+ class="lw-global-row"
534
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.vxauexbo','待拣量')"
535
+ :value="waitPickQty"
536
+ val-bold
537
+ val-red
538
+ :is-row="false"
539
+ />
540
+
541
+
542
+ <lw-input
543
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.btfrzivy','缺货量')"
544
+ v-model="lackPopup.lackQty"
545
+ :get-focus.sync="lackPopup.lackQtyFocus"
546
+ type="digit"
547
+ @confirm="lackConfirm"
548
+ />
549
+
550
+ <template #button>
551
+ <lw-button @click="lackConfirm"
552
+ >{{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pbzrsvah','确认') }}</lw-button>
553
+ </template>
554
+
555
+ </lw-popup>
556
+
557
+ <!-- 拣满换容器 -->
558
+ <lw-popup
559
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.xnmcssvu','拣满换容器')"
560
+ v-model="fullContainerPopup.show"
561
+ @closed="fullContainerPopupOff"
562
+ >
563
+ <lw-input
564
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.xkmdfmdo','已满容器')"
565
+ v-model="fullContainerPopup.full.value"
566
+ :get-focus.sync="fullContainerPopup.full.focus"
567
+ :create-rule="$lwScanRule.create('拣选 - 边拣边分 - 拣满换容器 - 已满容器', 'CONTAINER')"
568
+ rule-key="fullContainer"
569
+ @confirm="fullContainerConfirm"
570
+ />
571
+
572
+ <template v-if="Object.keys(fullContainerPopup.sowData).length">
573
+
574
+ <lw-title-value-cell
575
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ficfyipk','已满容器号')"
576
+ :value="fullContainerPopup.sowData.containerNo"
577
+ val-bold
578
+ />
579
+
580
+ <div class="lw-global-flex-between lw-global-row">
581
+
582
+ <lw-title-value-cell
583
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pmnizgyn','播种位')"
584
+ :value="fullContainerPopup.sowData.sowLineCode"
585
+ val-red
586
+ val-bold
587
+ :is-row="false"
588
+ />
589
+
590
+ <div>
591
+
592
+ <span class="lw-global-title">
593
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.busfurmf','数量') }}
594
+ </span>
595
+ <span class="lw-global-value-bold">
596
+ <span class="lw-global-value-bold-red">
597
+ {{ fullContainerPopup.sowData.pickQty }}
598
+ </span>
599
+ / {{ fullContainerPopup.sowData.totalQty }}
600
+ </span>
601
+
602
+ </div>
603
+
604
+ </div>
605
+
606
+ <lw-input
607
+ :title="$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.uqcdsbxl','新容器')"
608
+ v-model="fullContainerPopup.new.value"
609
+ :get-focus.sync="fullContainerPopup.new.focus"
610
+ :create-rule="$lwScanRule.create('拣选 - 边拣边分 - 拣满换容器 - 新容器', 'CONTAINER')"
611
+ rule-key="newContainer"
612
+ @confirm="changeContainerConfirm"
613
+ />
614
+
615
+ <div class="lw-global-value-bold-red">
616
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.zjngylzp','拿下已播满容器号!因为没有播种完成,还需要扫码新空容器号,继续播种接货') }}
617
+ </div>
618
+
619
+ </template>
620
+
621
+ <template
622
+ v-if="Object.keys(fullContainerPopup.sowData).length"
623
+ #button
624
+ >
625
+
626
+ <lw-button @click="changeContainerConfirm">
627
+ {{ $lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.kubytulz','确认更换') }}
628
+ </lw-button>
629
+
630
+ </template>
631
+ </lw-popup>
632
+
633
+
634
+
635
+ </div>
636
+ </template>
637
+
638
+ <script>
639
+ import taskInfo from "../components/taskInfo.vue";
640
+ import sowList from "../components/sowList.vue";
641
+ import skuLocationInfo from './../components/skuLocationInfo/index.vue'
642
+ import {
643
+ projectQueryPickSowData, projectWmsGetSkuBySn,
644
+ projectWmsOutboundSubmitPickAbnormal,
645
+ projectWmsOutboundSubmitPickStockout,
646
+ projectWmsPickSowBind,
647
+ projectWmsPickSowBindContainer,
648
+ projectWmsPickSowChangeContainer,
649
+ projectWmsPickSowComputePosition,
650
+ projectWmsPickSowRebindContainer,
651
+ projectWmsPickSowSubmitPick,
652
+ projectWmsPickSowUnbind
653
+ } from "../../../../../api/outbound/pick/sow";
654
+ import {all} from "../mixin/all";
655
+ import {aloneAndNotAlone} from "../mixin/aloneAndNotAlone";
656
+
657
+ export default {
658
+ name: "lwOutboundPickSowPage",
659
+ components:{
660
+ taskInfo,
661
+ sowList,
662
+ skuLocationInfo
663
+ },
664
+ mixins:[all, aloneAndNotAlone],
665
+ data() {
666
+ return {
667
+ // 任务数据
668
+ pickData:{},
669
+
670
+ // 拣选小车
671
+ sowCar:{
672
+ // 是否已绑定
673
+ needBind: true,
674
+ // 小车输入框
675
+ car:{
676
+ value: '',
677
+ focus: false
678
+ },
679
+ },
680
+ // 是否需要绑定拣选容器
681
+ needContainer: true,
682
+ // 是否能解绑
683
+ canUnbind: false,
684
+
685
+ // 绑定播种容器号弹框
686
+ bindContainerPopup:{
687
+ show: false,
688
+ sowList:[],
689
+ sowIndex: 0,
690
+ container:{
691
+ value: '',
692
+ focus: false
693
+ }
694
+ },
695
+
696
+
697
+ // 拣选tab激活项
698
+ tabAction:'',
699
+
700
+ // 正在拣选的任务索引
701
+ taskIndex: 0,
702
+ // 拣选库位
703
+ locationCode:{
704
+ value: '',
705
+ focus: true
706
+ },
707
+ lpn:{
708
+ value: '',
709
+ focus: false
710
+ },
711
+ box:{
712
+ value: '',
713
+ focus: false
714
+ },
715
+ sku:{
716
+ value: '',
717
+ focus: false
718
+ },
719
+ // 当前扫描
720
+ nowSkuCode: '',
721
+ qty:{
722
+ value: '',
723
+ focus: false
724
+ },
725
+
726
+ // 计算播种位弹框
727
+ sowLocPopup:{
728
+ show: false,
729
+ clearData: false,
730
+ list: []
731
+ },
732
+
733
+ // 异常弹框
734
+ abnPopup:{
735
+ show: false,
736
+ comShow: false
737
+ },
738
+
739
+ // 拣选缺货
740
+ lackPopup:{
741
+ show: false,
742
+ lackQty: '',
743
+ lackQtyFocus: false
744
+ },
745
+
746
+ // 拣满换容器
747
+ fullContainerPopup:{
748
+ show: false,
749
+ full:{
750
+ value: '',
751
+ focus: false
752
+ },
753
+ new:{
754
+ value: '',
755
+ focus: false
756
+ },
757
+ sowData:{}
758
+ }
759
+ }
760
+ },
761
+ computed:{
762
+ // 当前拣选行数据
763
+ pickLineData(){
764
+ const list = this.pickData.pendingPickLineList
765
+ return list && list.length ? list[this.taskIndex] : {}
766
+ },
767
+
768
+ // 当前拣选行是否需要校验LPN
769
+ hasLpn(){
770
+ return !this.pickLineData.fromCase && this.pickLineData.fromLpn
771
+ },
772
+
773
+ // 拣选播种调整后的拣选总量
774
+ pickChangeTotal(){
775
+ let num = 0
776
+ this.sowLocPopup.list.filter(item=>{
777
+ num+=Number(item.allocateSowQty)
778
+ })
779
+ return num
780
+ },
781
+
782
+ // 待拣选量
783
+ waitPickQty(){
784
+ return Number(this.pickLineData.totalQty || 0) - Number(this.pickLineData.pickQty || 0)
785
+ },
786
+
787
+ // 绑定弹框 - 当前绑定的播种位
788
+ bindPopupNowBindSowLoc(){
789
+ const list = this.bindContainerPopup.sowList
790
+ if (list && list.length){
791
+ return list[this.bindContainerPopup.sowIndex].sowLineCode
792
+ }
793
+ return ''
794
+ },
795
+
796
+ // 调用接口时候需要的数据
797
+ actionQuery(){
798
+ return {
799
+ pickId: this.pickData.pickId,
800
+ pickNo: this.pickData.pickNo,
801
+ pickSowToolCode: this.pickData.pickSowToolCode,
802
+ fromLocationId: this.pickLineData.fromLocationId,
803
+ fromLpn: this.pickLineData.fromLpn,
804
+ ownerId: this.pickLineData.ownerId,
805
+ skuId: this.pickLineData.skuId,
806
+ uom: this.pickLineData.uom,
807
+ uomQty: this.pickLineData.uomQty,
808
+ lineGroupKey: this.pickLineData.lineGroupKey,
809
+ }
810
+ },
811
+
812
+ // 显示底部按钮
813
+ showBottomBar(){
814
+ return !this.sowCar.needBind && !this.needContainer
815
+ }
816
+
817
+ },
818
+ mounted() {
819
+ this.getTaskData()
820
+ },
821
+ methods: {
822
+ // 获取任务数据
823
+ getTaskData(){
824
+ projectQueryPickSowData({
825
+ pickId: this.$route.query.lwPickId
826
+ }).then(res=>{
827
+ this.sowCar.car.value = res.pickSowToolCode || ''
828
+ this.sowCar.needBind = !this.sowCar.car.value
829
+ this.canUnbind = res.canUnbind
830
+ this.needContainer = res.needBindContainer
831
+
832
+ if (this.sowCar.needBind) {
833
+ this.$nextTick(()=>{
834
+ this.sowCar.car.focus = true
835
+ })
836
+ }
837
+
838
+ this.pickData = this.formatData(res)
839
+ this.checkTaskIndex(this.pickData.pendingPickLineList.length)
840
+ })
841
+ },
842
+ // 全部拣选完成
843
+ allPickOver(){
844
+ this.$lwToast.success(
845
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jwlhnlca','当前任务已全部拣选完成')
846
+ )
847
+ history.go(-1)
848
+ },
849
+ // 操作成功后的提示并重新请求数据
850
+ changeSuccessGetData(msg){
851
+ this.$lwToast.success(msg)
852
+ this.getTaskData()
853
+ },
854
+ // 徽标
855
+ pickStatus(item) {
856
+ switch (item.pickStatus) {
857
+ case '100':
858
+ return {
859
+ type: 'danger',
860
+ msg: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.oidxrkta','未拣选')
861
+ }
862
+ case '200':
863
+ return {
864
+ type: 'warning',
865
+ msg: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.llqymbwx','拣选中')
866
+ }
867
+ case '300':
868
+ return {
869
+ type: 'success',
870
+ msg: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ytgzgfkn','已拣选')
871
+ }
872
+ default:
873
+ return {
874
+ type: 'primary',
875
+ msg: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.htflqesv','未知')
876
+ }
877
+ }
878
+ },
879
+
880
+ // 确认绑定小车
881
+ bindCarConfirm(){
882
+ const val = this.sowCar.car.value
883
+
884
+ if (!val){
885
+ this.sowCar.car.focus = true
886
+ this.$lwShowErrorMsg(
887
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jzjxgygr','请输入拣选小车')
888
+ )
889
+ return
890
+ }
891
+
892
+ projectWmsPickSowBind({
893
+ pickId: this.pickData.pickId,
894
+ pickSowToolCode: val
895
+ }).then(()=>{
896
+ this.getTaskData()
897
+ })
898
+ },
899
+ // 解除绑定小车
900
+ unbindCar(){
901
+ this.$lwDialog.confirm({
902
+ title: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ppfjowab','提示'),
903
+ message: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.vtdombtl','解除绑定后,当前绑定容器将会被清空')
904
+ }).then(()=>{
905
+
906
+ projectWmsPickSowUnbind({
907
+ pickId: this.pickData.pickId,
908
+ pickSowToolCode: this.sowCar.car.value
909
+ }).then(()=>{
910
+ this.$lwToast.success(
911
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.pgvgwclm','解绑成功')
912
+ )
913
+ this.getTaskData()
914
+ })
915
+ }).catch(()=>{})
916
+ },
917
+
918
+
919
+ // 绑定周转箱按钮点击
920
+ bindContainerBtn(){
921
+ const sowList = this.$lwDeepCopy(this.pickData.sowLineList || [])
922
+ this.bindContainerPopup.sowList = sowList
923
+ let index = 0
924
+ for (let i=0;i<sowList.length;i++){
925
+ if (!sowList[i].containerNo){
926
+ index = i
927
+ break
928
+ }
929
+ }
930
+ this.bindContainerPopup.sowIndex = index
931
+ this.bindContainerPopup.show = true
932
+ this.bindContainerPopup.container.focus = true
933
+ },
934
+ // 绑定播种容器号弹框 - 确认绑定
935
+ sowLocationBindContainerConfirm(){
936
+ const popup = this.bindContainerPopup
937
+ const sowItem = popup.sowList[popup.sowIndex]
938
+
939
+ if(!popup.container.value){
940
+ popup.container.focus = true
941
+ this.$lwShowErrorMsg(
942
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.nqbmbqkw','请输入播种位【{0}】需要绑定的周转箱',[sowItem.sowLineCode])
943
+ )
944
+ return
945
+ }
946
+
947
+ projectWmsPickSowBindContainer({
948
+ pickId: this.pickData.pickId,
949
+ pickSowToolCode: this.sowCar.car.value,
950
+ sowLineCode: sowItem.sowLineCode,
951
+ bindContainer: popup.container.value,
952
+ }).then(()=>{
953
+ sowItem.containerNo = popup.container.value
954
+ popup.container.value = ''
955
+ popup.container.focus = true
956
+ popup.sowIndex++
957
+ if (popup.sowIndex >= popup.sowList.length){
958
+ this.$lwToast.success(
959
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rfapmpwd','所有播种位已全部绑定容器')
960
+ )
961
+ popup.sowIndex = 0
962
+ }
963
+ })
964
+ },
965
+ // 绑定播种容器号弹框 - 选择绑定
966
+ selectSowLocation(index){
967
+ this.bindContainerPopup.sowIndex = index
968
+ this.bindContainerPopup.container.focus = true
969
+ this.bindContainerPopup.container.value = ''
970
+ },
971
+ // 绑定播种容器号弹框 - 重新绑定
972
+ repeatBind(){
973
+ this.$lwDialog.confirm({
974
+ title: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ppfjowab','提示'),
975
+ message: this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.aekhpwnr','当前绑定容器将会被全部清空')
976
+ }).then(()=>{
977
+ projectWmsPickSowRebindContainer({
978
+ pickId: this.pickData.pickId,
979
+ pickSowToolCode: this.sowCar.car.value
980
+ }).then(()=>{
981
+ this.bindContainerPopup.sowList.forEach(item=>{
982
+ item.containerNo = ''
983
+ })
984
+ this.bindContainerPopup.sowIndex = 0
985
+ this.bindContainerPopup.container.value = ''
986
+ this.bindContainerPopup.container.focus = true
987
+ })
988
+ }).catch(()=>{})
989
+ },
990
+ // 绑定播种容器号弹框 - 确认绑定
991
+ confirmBind(){
992
+ this.bindContainerPopup.container.value=''
993
+ this.getTaskData()
994
+ },
995
+
996
+
997
+ // 拣选库位确认
998
+ locationCodeConfirm(){
999
+ if (this.locationCodeCheck()){
1000
+ if (this.hasLpn){
1001
+ this.lpn.focus = true
1002
+ }else if (this.pickLineData.fromCase){
1003
+ this.box.focus = true
1004
+ }else {
1005
+ this.sku.focus = true
1006
+ }
1007
+ }
1008
+ },
1009
+ // 检查拣选库位
1010
+ locationCodeCheck(){
1011
+ return this.inputCheck({
1012
+ key: 'locationCode',
1013
+ checkVal: this.pickLineData.fromLocationCode,
1014
+ })
1015
+ },
1016
+
1017
+ // 托盘号确认
1018
+ lpnConfirm(){
1019
+ if (this.lpnCheck()) this.sku.focus = true
1020
+ },
1021
+ // 托盘号校验
1022
+ lpnCheck(){
1023
+
1024
+ if (!this.hasLpn) return true
1025
+
1026
+ return this.inputCheck({
1027
+ key: 'lpn',
1028
+ needCheck: false
1029
+ })
1030
+ },
1031
+
1032
+ // 箱号确认
1033
+ boxConfirm(){
1034
+ if (this.boxCheck()) this.sku.focus = true
1035
+ },
1036
+ // 箱号校验
1037
+ boxCheck(){
1038
+
1039
+ if (!this.pickLineData.fromCase) return true
1040
+
1041
+ return this.inputCheck({
1042
+ key: 'box',
1043
+ needCheck: false
1044
+ })
1045
+ },
1046
+
1047
+ // 商品确认
1048
+ async skuConfirm(val,{data}){
1049
+
1050
+ if (!this.skuCheck()) return
1051
+
1052
+ // 有可能是sn
1053
+ if (this.pickLineData.skuCode !== this.sku.value){
1054
+ const res = await projectWmsGetSkuBySn({
1055
+ sn: this.sku.value,
1056
+ skuId: this.pickLineData.skuId,
1057
+ ownerId: this.pickLineData.ownerId
1058
+ })
1059
+
1060
+ if (res !== this.pickLineData.skuCode){
1061
+ this.sku.focus = true
1062
+ this.$lwShowErrorMsg(
1063
+ this.$lwLanguage.get('','当前商品与拣选商品不一致')
1064
+ )
1065
+ this.sku.value = ''
1066
+ return
1067
+ }
1068
+
1069
+ this.sku.value = res
1070
+ }
1071
+
1072
+ this.nowSkuCode = this.sku.value
1073
+
1074
+ let newQty = Number(this.pickLineData.uomQty)
1075
+ // 如果条码解析成功,并且能解析出数量就加法运算
1076
+ if (data.qty){
1077
+ newQty = data.qty
1078
+ }
1079
+
1080
+ this.qty.value = Number(this.qty.value || 0) + newQty
1081
+
1082
+ const waitQty = Number(this.pickLineData.totalQty || 0) - Number(this.pickLineData.pickQty || 0)
1083
+ if (this.qty.value === waitQty){
1084
+ this.pickConfirm()
1085
+ return;
1086
+ }
1087
+ this.sku.focus = true
1088
+ this.sku.value = ''
1089
+ },
1090
+ // 商品检查
1091
+ skuCheck(){
1092
+ return this.inputCheck({
1093
+ key: 'sku',
1094
+ needCheck: false
1095
+ })
1096
+ },
1097
+
1098
+ // 数量确认
1099
+ qtyConfirm(){
1100
+ if (this.qtyCheck()) this.pickConfirm()
1101
+ },
1102
+ // 数量校验
1103
+ qtyCheck(){
1104
+ const qty = Number(this.qty.value || 0)
1105
+ if (!qty){
1106
+ this.qty.focus = true
1107
+ this.$lwShowErrorMsg(
1108
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.mvkcfove','拣选数量不能为空,且应当是大于0的整数')
1109
+ )
1110
+ this.qty.value = ''
1111
+ return false
1112
+ }
1113
+
1114
+ const item = this.pickLineData
1115
+ const uomQty = Number(item.uomQty || 0)
1116
+
1117
+ if (uomQty === 0){
1118
+ console.warn('拣选最小单位数据异常,值为:', uomQty)
1119
+ return true
1120
+ }
1121
+
1122
+ if (qty%item.uomQty !== 0){
1123
+ this.qty.focus = true
1124
+ this.$lwShowErrorMsg(
1125
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.cyjdoamc','拣选数量应当为{0}的倍数',[item.uomLabel.top])
1126
+ )
1127
+ this.qty.value = ''
1128
+ return false
1129
+ }
1130
+
1131
+ const waitQty = Number(item.totalQty || 0) - Number(item.pickQty || 0)
1132
+ if (qty > waitQty){
1133
+ this.qty.focus = true
1134
+ this.$lwShowErrorMsg(
1135
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ommmlsnz','拣选数量不能大于待拣量')
1136
+ )
1137
+ this.qty.value = ''
1138
+ return false
1139
+ }
1140
+
1141
+ return true
1142
+ },
1143
+
1144
+ // 任务行切换前
1145
+ cutStart(){
1146
+ return this.checkInputVal(
1147
+ ['locationCode', 'lpn', 'box', 'sku', 'qty'],
1148
+ )
1149
+
1150
+ },
1151
+ // 任务行切换后
1152
+ cutEnd(){
1153
+ this.clearInputVal(
1154
+ ['locationCode', 'lpn', 'box', 'sku', 'qty'],
1155
+ )
1156
+ this.nowSkuCode = ''
1157
+ this.tabActive === 'ing' ? this.locationCode.focus = true : ''
1158
+ },
1159
+
1160
+ // 确认拣选
1161
+ pickConfirm(){
1162
+ const checkSku = ()=>{
1163
+ if (this.nowSkuCode) return true
1164
+ this.$lwShowErrorMsg(
1165
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jpnjblpx','请确认商品')
1166
+ )
1167
+ this.sku.focus = true
1168
+ return false
1169
+ }
1170
+ if (!(
1171
+ this.locationCodeCheck() &&
1172
+ this.lpnCheck() &&
1173
+ this.boxCheck() &&
1174
+ checkSku() &&
1175
+ this.qtyCheck()
1176
+ )) return
1177
+
1178
+ projectWmsPickSowComputePosition({
1179
+ ...this.actionQuery,
1180
+ currentPickQty: this.qty.value,
1181
+ }).then(res=>{
1182
+ this.sowLocPopup.list = res
1183
+ this.sowLocPopup.show = true
1184
+ })
1185
+ },
1186
+ // 确认播种拣选
1187
+ confirmSow(){
1188
+ if (this.pickChangeTotal === 0){
1189
+ this.$lwShowErrorMsg(
1190
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.abhnbixj','请输入分配量')
1191
+ )
1192
+ return
1193
+ }
1194
+
1195
+ if (this.pickChangeTotal > Number(this.qty.value || 0)){
1196
+ this.$lwShowErrorMsg(
1197
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.cjiegwjf','调整后的拣选量不能大于当前拣选量')
1198
+ )
1199
+ return
1200
+ }
1201
+
1202
+ const list = this.sowLocPopup.list.filter(item=>item.allocateSowQty > item.waitSowQty)
1203
+ if(list.length){
1204
+ const str = list.join(',')
1205
+ this.$lwShowErrorMsg(
1206
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.jgaepbnm','播种位:{0},调整数量不能大于待播种量',[str])
1207
+ )
1208
+ return
1209
+ }
1210
+
1211
+ projectWmsPickSowSubmitPick({
1212
+ ...this.actionQuery,
1213
+ sowLineList: this.sowLocPopup.list.filter(item=>{
1214
+ item.currentPickQty = item.allocateSowQty
1215
+ return !!Number(item.currentPickQty || 0)
1216
+ }),
1217
+ actualPickLpn: this.lpn.value,
1218
+ actualPickCaseNum: this.box.value
1219
+ }).then(res=>{
1220
+ if(res.pickOrderFinish){
1221
+ this.allPickOver()
1222
+ return
1223
+ }
1224
+
1225
+ this.changeSuccessGetData(
1226
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.rluwnhce','拣选成功')
1227
+ )
1228
+ this.sowLocPopup.clearData = true
1229
+ this.sowLocPopup.show = false
1230
+ this.locationCode.focus = true
1231
+ })
1232
+ },
1233
+ // 确认播种拣选弹框关闭
1234
+ sowLocPopupOff(){
1235
+ if (this.sowLocPopup.clearData){
1236
+ this.cutEnd()
1237
+ this.sowLocPopup.clearData = false
1238
+ }
1239
+ },
1240
+
1241
+
1242
+ // 异常
1243
+ abnClick(){
1244
+ this.abnPopup.comShow = true
1245
+ this.abnPopup.show = true
1246
+ },
1247
+ // 异常确认
1248
+ abnConfirm(){
1249
+ const {success, data} = this.$refs.abnormal.getAbnormalData()
1250
+
1251
+ if (!success) return
1252
+
1253
+ projectWmsOutboundSubmitPickAbnormal({
1254
+ ...this.actionQuery,
1255
+ ...data
1256
+ }).then(res=>{
1257
+ if (res.taskFinishStatus){
1258
+ this.allPickOver()
1259
+ return
1260
+ }
1261
+
1262
+ this.changeSuccessGetData(
1263
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.uzpvcags','异常上报成功')
1264
+ )
1265
+ this.abnPopup.show = false
1266
+ })
1267
+ },
1268
+
1269
+
1270
+ // 拣选缺货
1271
+ pickLack(){
1272
+ this.lackPopup.show = true
1273
+ this.lackPopup.lackQtyFocus = true
1274
+ },
1275
+ // 确认拣选缺货
1276
+ lackConfirm(){
1277
+ const qty = Number(this.lackPopup.lackQty || 0)
1278
+ if (!qty){
1279
+ this.lackPopup.lackQtyFocus = true
1280
+ this.$lwShowErrorMsg(
1281
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.eowiwjep','缺货量不能为空,且应当是大于0的整数')
1282
+ )
1283
+ this.lackPopup.lackQty = ''
1284
+ return
1285
+ }
1286
+
1287
+
1288
+ // 判断是否大于待拣量
1289
+ if (this.waitPickQty < qty){
1290
+ this.lackPopup.lackQtyFocus = true
1291
+ this.$lwShowErrorMsg(
1292
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.oqzvdfeq','缺货量不能大于待拣量')
1293
+ )
1294
+ this.lackPopup.lackQty = ''
1295
+ return
1296
+ }
1297
+
1298
+ projectWmsOutboundSubmitPickStockout({
1299
+ ...this.actionQuery,
1300
+ stockoutQty: qty
1301
+ }).then((res)=>{
1302
+ if (res.taskFinishStatus){
1303
+ this.allPickOver()
1304
+ return
1305
+ }
1306
+ this.changeSuccessGetData(
1307
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.kfuarlea','缺货上报成功')
1308
+ )
1309
+ this.lackPopup.show = false
1310
+ })
1311
+ },
1312
+
1313
+
1314
+ // 拣满换容器
1315
+ pickFullChangeContainer(){
1316
+ this.fullContainerPopup.show = true
1317
+ this.fullContainerPopup.full.focus = true
1318
+ },
1319
+ // 拣满换容器弹框 - 已满容器确认
1320
+ fullContainerConfirm(){
1321
+ const val = this.fullContainerPopup.full.value
1322
+ if(!val){
1323
+ this.fullContainerPopup.full.focus = true
1324
+ this.$lwShowErrorMsg(
1325
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.ochqlial','请输入已满容器')
1326
+ )
1327
+ return
1328
+ }
1329
+
1330
+ const list = this.pickData.sowLineList.filter(item=>item.containerNo === val)
1331
+
1332
+ if(!list.length){
1333
+ this.fullContainerPopup.full.value = ''
1334
+ this.fullContainerPopup.full.focus = true
1335
+ this.$lwShowErrorMsg(
1336
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.oavxgmht','输入的已满容器没有在播种容器中找到')
1337
+ )
1338
+ return
1339
+ }
1340
+
1341
+ this.fullContainerPopup.sowData = list[0]
1342
+ this.fullContainerPopup.full.value = ''
1343
+ this.fullContainerPopup.new.focus = true
1344
+
1345
+ },
1346
+ // 拣满换容器弹框 - 确认更换
1347
+ changeContainerConfirm(){
1348
+ const val = this.fullContainerPopup.new.value
1349
+ if(!val){
1350
+ this.fullContainerPopup.full.focus = true
1351
+ this.$lwShowErrorMsg(
1352
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.sujifzbk','请输入新容器')
1353
+ )
1354
+ return
1355
+ }
1356
+
1357
+ projectWmsPickSowChangeContainer({
1358
+ ...this.actionQuery,
1359
+ sowLineCode: this.fullContainerPopup.sowData.sowLineCode,
1360
+ bindContainer: this.fullContainerPopup.new.value
1361
+ }).then(()=>{
1362
+ this.changeSuccessGetData(
1363
+ this.$lwLanguage.get('wms_project.pda.components.page.outbound.pick.sow.index.wnzjpnad','更换成功'),
1364
+ false
1365
+ )
1366
+ this.fullContainerPopup.show = false
1367
+ })
1368
+ },
1369
+ // 拣满换容器弹框 - 关闭
1370
+ fullContainerPopupOff(){
1371
+ this.fullContainerPopup.full.value = ''
1372
+ this.fullContainerPopup.new.value = ''
1373
+ this.fullContainerPopup.sowData = {}
1374
+ }
1375
+ }
1376
+ }
1377
+ </script>
1378
+
1379
+ <style scoped lang="less">
1380
+
1381
+ .col-1{
1382
+ width: 33%;
1383
+ flex-shrink: 0;
1384
+ text-align: center;
1385
+ }
1386
+
1387
+ </style>