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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (662) hide show
  1. package/README.md +117 -117
  2. package/dist/BlockInfo.3487efb0.mjs +47 -0
  3. package/dist/InboundQualityExecuteView.a6d80f60.mjs +23 -0
  4. package/dist/InboundQualityTaskListView.ae990a72.mjs +23 -0
  5. package/dist/InboundReceiveAllocSkuExecuteView.95b7981d.mjs +23 -0
  6. package/dist/InboundReceiveAllocSnExecuteView.484c2620.mjs +23 -0
  7. package/dist/InboundReceiveAllocTabListView.461436d3.mjs +23 -0
  8. package/dist/InboundReceiveCaseExecuteView.bb1b67a3.mjs +217 -0
  9. package/dist/InboundReceiveCaseScanView.e10901f0.mjs +83 -0
  10. package/dist/InboundReceiveLpnBatchExecuteView.ca08118b.mjs +23 -0
  11. package/dist/InboundReceiveLpnExecuteView.8dad3f06.mjs +23 -0
  12. package/dist/InboundReceiveLpnScanView.09bc3a30.mjs +23 -0
  13. package/dist/InboundReceiveRandomSkuExecuteView.38abae97.mjs +23 -0
  14. package/dist/InboundReceiveRandomSkuScanView.9b6d5afe.mjs +23 -0
  15. package/dist/InboundReceiveRandomSkuSnExecuteView.f87c58dc.mjs +23 -0
  16. package/dist/InboundReceiveSkuAdvanceView.e3b3cf46.mjs +23 -0
  17. package/dist/InboundReceiveSkuDirectView.3804b727.mjs +23 -0
  18. package/dist/InboundReceiveSkuScanView.97c6d301.mjs +23 -0
  19. package/dist/LwInboundSortingAsnView.146bc442.mjs +23 -0
  20. package/dist/LwInboundSortingByContainerView.31d39da9.mjs +23 -0
  21. package/dist/LwInboundSortingByOrderView.724e2bab.mjs +23 -0
  22. package/dist/LwInboundSortingIndexView.42d87950.mjs +23 -0
  23. package/dist/LwOutboundReprintBoxView.9b848144.mjs +180 -0
  24. package/dist/LwOutboundStockoutExecuteView.a3725330.mjs +76 -0
  25. package/dist/LwOutboundStockoutListView.dedaa8b9.mjs +123 -0
  26. package/dist/MoveRandomWholeCaseView.f88904ff.mjs +20 -0
  27. package/dist/MoveTaskWholeCaseDownView.c41d4e56.mjs +20 -0
  28. package/dist/MoveTaskWholeCaseUpView.88056e7d.mjs +20 -0
  29. package/dist/MoveTaskWholeIndexView.7423ada1.mjs +20 -0
  30. package/dist/OutboundBlockBoxListView.7b0db7db.mjs +83 -0
  31. package/dist/OutboundBlockExecuteView.c3eec33f.mjs +166 -0
  32. package/dist/action.0234330b.mjs +26 -0
  33. package/dist/action.12b64d92.mjs +26 -0
  34. package/dist/action.1657efd5.mjs +26 -0
  35. package/dist/action.1ac0d530.mjs +26 -0
  36. package/dist/action.3323de3b.mjs +26 -0
  37. package/dist/action.368c9235.mjs +26 -0
  38. package/dist/action.4a89bd61.mjs +26 -0
  39. package/dist/action.4f6ba001.mjs +26 -0
  40. package/dist/action.51830209.mjs +26 -0
  41. package/dist/action.66b154f0.mjs +26 -0
  42. package/dist/action.674d5079.mjs +26 -0
  43. package/dist/action.684e20cd.mjs +26 -0
  44. package/dist/action.6c1e4592.mjs +26 -0
  45. package/dist/action.709285c2.mjs +26 -0
  46. package/dist/action.7b4fb35c.mjs +26 -0
  47. package/dist/action.96c2b54b.mjs +26 -0
  48. package/dist/action.979e886f.mjs +26 -0
  49. package/dist/action.b7e8794e.mjs +26 -0
  50. package/dist/action.bb169b8d.mjs +26 -0
  51. package/dist/action.bdf4d219.mjs +26 -0
  52. package/dist/action.c4543175.mjs +26 -0
  53. package/dist/action.cc8b6482.mjs +22 -0
  54. package/dist/action.d1bc2cc4.mjs +26 -0
  55. package/dist/action.e3c182ba.mjs +26 -0
  56. package/dist/action.ebd52caf.mjs +22 -0
  57. package/dist/action.ef70b920.mjs +26 -0
  58. package/dist/action.f25bd0c2.mjs +26 -0
  59. package/dist/action.f9dba895.mjs +26 -0
  60. package/dist/add.dd390a20.mjs +26 -0
  61. package/dist/addOrder.6fd7cb00.mjs +26 -0
  62. package/dist/allCheck.87b682df.mjs +26 -0
  63. package/dist/aloneAction.b44cee97.mjs +26 -0
  64. package/dist/boxAction.057da96b.mjs +26 -0
  65. package/dist/caseAction.2c4fc2bc.mjs +26 -0
  66. package/dist/console.7840ce91.mjs +26 -0
  67. package/dist/consoleInfo.6a9e23f4.mjs +26 -0
  68. package/dist/content.4e9e0afd.mjs +26 -0
  69. package/dist/contentInfo.e46095fe.mjs +26 -0
  70. package/dist/customer.79633ad1.mjs +26 -0
  71. package/dist/device.d43bd03a.mjs +26 -0
  72. package/dist/generate.8b91a9d8.mjs +26 -0
  73. package/dist/home.a8091216.mjs +22 -0
  74. package/dist/index.003274c3.mjs +26 -0
  75. package/dist/index.03c9bc30.mjs +26 -0
  76. package/dist/index.0b1c7ecb.mjs +26 -0
  77. package/dist/index.1086f5db.mjs +38 -0
  78. package/dist/index.11d753a1.mjs +26 -0
  79. package/dist/index.193dd1b9.mjs +26 -0
  80. package/dist/index.2338d10c.mjs +26 -0
  81. package/dist/index.253cf171.mjs +26 -0
  82. package/dist/index.2987600f.mjs +26 -0
  83. package/dist/index.2b10d6da.mjs +26 -0
  84. package/dist/index.2c13370e.mjs +45 -0
  85. package/dist/index.3cd0d854.mjs +26 -0
  86. package/dist/index.3eee7c36.mjs +26 -0
  87. package/dist/index.426b0236.mjs +26 -0
  88. package/dist/index.4aa0533f.mjs +26 -0
  89. package/dist/index.4ca99f5f.mjs +26 -0
  90. package/dist/index.5293dbda.mjs +58 -0
  91. package/dist/index.5cf6bd1b.mjs +60659 -0
  92. package/dist/index.6285d960.mjs +26 -0
  93. package/dist/index.6367d8bb.mjs +25 -0
  94. package/dist/index.6dfe9f62.mjs +26 -0
  95. package/dist/index.724911f7.mjs +26 -0
  96. package/dist/index.7539d91b.mjs +22 -0
  97. package/dist/index.7a69c9fa.mjs +26 -0
  98. package/dist/index.7d5c0004.mjs +22 -0
  99. package/dist/index.7d940910.mjs +26 -0
  100. package/dist/index.7dcf630d.mjs +26 -0
  101. package/dist/index.9008d54c.mjs +26 -0
  102. package/dist/index.93b09268.mjs +26 -0
  103. package/dist/index.95b0f7f5.mjs +76 -0
  104. package/dist/index.96780357.mjs +26 -0
  105. package/dist/index.9b8d0de7.mjs +26 -0
  106. package/dist/index.9d353631.mjs +26 -0
  107. package/dist/index.9e5eab15.mjs +26 -0
  108. package/dist/index.a3384e66.mjs +26 -0
  109. package/dist/index.a889e1f0.mjs +26 -0
  110. package/dist/index.b0c8bf7d.mjs +26 -0
  111. package/dist/index.b0c8d29a.mjs +26 -0
  112. package/dist/index.b1f56e66.mjs +26 -0
  113. package/dist/index.bfb835a9.mjs +26 -0
  114. package/dist/index.cc9cfbbc.mjs +26 -0
  115. package/dist/index.d552b591.mjs +26 -0
  116. package/dist/index.dc6c5c7c.mjs +26 -0
  117. package/dist/index.e0b1afe0.mjs +26 -0
  118. package/dist/index.e278bd59.mjs +26 -0
  119. package/dist/index.e31e3db7.mjs +26 -0
  120. package/dist/index.es.js +5 -0
  121. package/dist/index.f218d2f1.mjs +26 -0
  122. package/dist/index.fa89c5c8.mjs +22 -0
  123. package/dist/index.fcfe4e56.mjs +26 -0
  124. package/dist/index.fd8fb4a5.mjs +26 -0
  125. package/dist/index.umd.js +24 -0
  126. package/dist/language.d6a1849c.mjs +26 -0
  127. package/dist/large.0a8ca190.mjs +26 -0
  128. package/dist/line.ebcb7dab.mjs +26 -0
  129. package/dist/lpn.1d1e4768.mjs +26 -0
  130. package/dist/lpnAction.b26481e4.mjs +26 -0
  131. package/dist/lpnAction.cd5b7aa7.mjs +26 -0
  132. package/dist/lpnBatchAction.40f98816.mjs +26 -0
  133. package/dist/menuOne.7d125654.mjs +38 -0
  134. package/dist/menuTwo.46c8b970.mjs +36 -0
  135. package/dist/msg.91f58378.mjs +26 -0
  136. package/dist/newBale.90588bd0.mjs +26 -0
  137. package/dist/newBale.e51a5aaf.mjs +26 -0
  138. package/dist/newLpn.a19ce053.mjs +26 -0
  139. package/dist/notAloneAction.e289ff12.mjs +26 -0
  140. package/dist/over.13b511ab.mjs +26 -0
  141. package/dist/page.c4821cc4.mjs +26 -0
  142. package/dist/print.08bc5962.mjs +26 -0
  143. package/dist/printLabel.83d4f9a6.mjs +26 -0
  144. package/dist/queryByLocationCode.df46cf21.mjs +26 -0
  145. package/dist/queryBySkuCode.39bfe2d6.mjs +26 -0
  146. package/dist/sample.d791b154.mjs +26 -0
  147. package/dist/search.a080cb08.mjs +26 -0
  148. package/dist/skuAction.37fab7ab.mjs +26 -0
  149. package/dist/skuCheck.67853719.mjs +26 -0
  150. package/dist/smallPage.57acfec8.mjs +26 -0
  151. package/dist/sowAction.1cac1ba3.mjs +26 -0
  152. package/dist/style.css +1 -0
  153. package/dist/taskEntrance.18082375.mjs +26 -0
  154. package/dist/timezone.9574e603.mjs +26 -0
  155. package/dist/warehouse.70d15a21.mjs +26 -0
  156. package/package.json +57 -43
  157. package/src/api/common/Msg.js +34 -34
  158. package/src/api/common/Print.js +9 -1
  159. package/src/api/common/Task.js +16 -0
  160. package/src/api/common/UUID.js +2 -0
  161. package/src/api/common/User.js +15 -0
  162. package/src/api/common/barcode.js +165 -165
  163. package/src/api/common/common.js +72 -48
  164. package/src/api/inbound/index.js +3 -1
  165. package/src/api/inbound/printLabel.js +34 -0
  166. package/src/api/inbound/quality.js +1 -1
  167. package/src/api/inbound/receive.js +20 -0
  168. package/src/api/inbound/sorting.js +198 -0
  169. package/src/api/inner/check/action.js +32 -0
  170. package/src/api/inner/count/console.js +61 -0
  171. package/src/api/inner/dead/action.js +24 -24
  172. package/src/api/inner/dead/large.js +78 -78
  173. package/src/api/inner/dead/query.js +17 -0
  174. package/src/api/inner/dead/small.js +8 -0
  175. package/src/api/inner/disposeAbnormal/action.js +24 -0
  176. package/src/api/inner/materialApply/index.js +1 -1
  177. package/src/api/inner/move/quickMove.js +51 -0
  178. package/src/api/inner/move/taskMove.js +176 -19
  179. package/src/api/inner/quality/action.js +2 -2
  180. package/src/api/inner/quality/sample.js +9 -0
  181. package/src/api/inner/snCheck/snCheck.js +58 -0
  182. package/src/api/inventory/inventory.js +23 -0
  183. package/src/api/outbound/bale/aloneBale/action.js +123 -123
  184. package/src/api/outbound/bale/aloneBale/index.js +24 -24
  185. package/src/api/outbound/bale/baleChange/action.js +51 -51
  186. package/src/api/outbound/bale/baleChange/addCheck.js +33 -33
  187. package/src/api/outbound/bale/checkBale/action.js +141 -132
  188. package/src/api/outbound/bale/checkBale/index.js +52 -52
  189. package/src/api/outbound/bale/packTableConfig.js +25 -0
  190. package/src/api/outbound/handover/index.js +42 -33
  191. package/src/api/outbound/handover/lpn.js +33 -33
  192. package/src/api/outbound/handover/mixin.js +42 -42
  193. package/src/api/outbound/handover/pageBox.js +24 -24
  194. package/src/api/outbound/lpnPack/index.js +79 -0
  195. package/src/api/outbound/packCollect/index.js +24 -0
  196. package/src/api/outbound/pick/sow.js +9 -0
  197. package/src/api/outbound/pickMerge/index.js +9 -0
  198. package/src/api/outbound/reprint-box/index.js +9 -0
  199. package/src/api/outbound/sow/action.js +9 -0
  200. package/src/api/outbound/sow/index.js +18 -0
  201. package/src/api/outbound/sowCollect/index.js +24 -0
  202. package/src/api/outbound/summary/box.js +9 -0
  203. package/src/api/process/order.js +149 -0
  204. package/src/api/process/work_process.js +17 -0
  205. package/src/api/process/work_process_screen.js +27 -0
  206. package/src/api/process/work_table.js +120 -0
  207. package/src/api/receive/putaway.js +32 -1
  208. package/src/assets/css/changeVant.less +29 -29
  209. package/src/assets/css/global.less +468 -428
  210. package/src/assets/css/var.less +99 -99
  211. package/src/assets/css//345/205/250/345/261/200/346/240/267/345/274/217.md +1 -1
  212. package/src/assets/img/lwInputIcon/scanIcon.png +0 -0
  213. package/src/assets/img/lwLoginModel/captcha.png +0 -0
  214. package/src/assets/img/menu/packCollect.png +0 -0
  215. package/src/assets/img/menu/sorting.png +0 -0
  216. package/src/assets/img/menu/sowCollect.png +0 -0
  217. package/src/components/module/AbnormalInput/index.js +11 -11
  218. package/src/components/module/AbnormalInput/index.vue +322 -322
  219. package/src/components/module/AbnormalInput//345/274/202/345/270/270/350/276/223/345/205/245/346/250/241/345/235/227.md +1 -1
  220. package/src/components/module/InnerAbnormal/index.js +11 -11
  221. package/src/components/module/InnerAbnormal/index.vue +120 -120
  222. package/src/components/module/InnerAbnormal//345/234/250/345/272/223/345/274/202/345/270/270/346/250/241/345/235/227.md +1 -1
  223. package/src/components/module/Login/index.vue +84 -5
  224. package/src/components/module/Login//347/231/273/345/275/225/346/250/241/345/235/227.md +1 -1
  225. package/src/components/module/Lot/index.vue +205 -205
  226. package/src/components/module/Lot//346/211/271/346/254/241/345/261/236/346/200/247.md +4 -4
  227. package/src/components/module/LotLook/index.vue +93 -93
  228. package/src/components/module/LotLook//346/225/260/346/215/256/346/237/245/347/234/213.md +3 -3
  229. package/src/components/module/Menu//350/217/234/345/215/225/346/240/217.md +1 -1
  230. package/src/components/module/MsgItem/index.vue +124 -124
  231. package/src/components/module/MsgItem//346/266/210/346/201/257/345/210/227/350/241/250/345/217/212/345/210/206/351/241/265/346/250/241/345/235/227.md +1 -1
  232. package/src/components/module/OffLinePopup/index.js +12 -0
  233. package/src/components/module/OffLinePopup/index.vue +110 -0
  234. package/src/components/module/OffLinePopup//344/270/213/347/272/277/347/220/206/347/224/261/345/274/271/346/241/206.md +0 -0
  235. package/src/components/module/OnLine/index.vue +217 -195
  236. package/src/components/module/OnLine//344/270/212/344/270/213/347/272/277/347/256/241/347/220/206/346/250/241/345/235/227.md +1 -1
  237. package/src/components/module/ReceiveAbnormal/index.vue +956 -956
  238. package/src/components/module/ReceiveAbnormal//346/224/266/350/264/247/345/274/202/345/270/270/346/250/241/345/235/227.md +1 -1
  239. package/src/components/module/ScanDataList/index.vue +357 -333
  240. package/src/components/module/ScanDataList//346/211/253/346/217/217/346/225/260/346/215/256/345/261/225/347/244/272/345/217/212/345/210/240/351/231/244.md +2 -2
  241. package/src/components/module/SkuInfo/index.vue +68 -68
  242. package/src/components/module/SkuInfo//346/237/245/347/234/213/345/225/206/345/223/201/344/277/241/346/201/257.md +4 -4
  243. package/src/components/module/SnSearchSku/index.js +11 -0
  244. package/src/components/module/SnSearchSku/index.vue +150 -0
  245. package/src/components/module/SnSearchSku//351/200/232/350/277/207/345/272/217/345/210/227/345/217/267/346/220/234/347/264/242/345/225/206/345/223/201/345/217/267.md +2 -0
  246. package/src/components/module/SystemInfo/index.vue +229 -227
  247. package/src/components/module/SystemInfo//347/263/273/347/273/237/344/277/241/346/201/257/344/270/216/344/270/212/347/272/277/347/212/266/346/200/201/346/250/241/345/235/227.md +1 -1
  248. package/src/components/module/index.js +54 -48
  249. package/src/components/page/common/Device/index.vue +186 -186
  250. package/src/components/page/common/Language/index.vue +12 -7
  251. package/src/components/page/common/Login/index.vue +2 -2
  252. package/src/components/page/common/Msg/index.vue +8 -1
  253. package/src/components/page/common/My/index.vue +6 -5
  254. package/src/components/page/common/Print/index.vue +311 -311
  255. package/src/components/page/common/Task/components/itemContent.vue +74 -0
  256. package/src/components/page/common/Task/components/itemHeader.vue +61 -0
  257. package/src/components/page/common/Task/components/lookTaskContentPopup.vue +180 -0
  258. package/src/components/page/common/Task/components/overTaskPopup.vue +108 -0
  259. package/src/components/page/common/Task/components/taskItem.vue +87 -0
  260. package/src/components/page/common/Task/{index.js → index/index.js} +0 -0
  261. package/src/components/page/common/Task/{index.vue → index/index.vue} +80 -266
  262. package/src/components/page/common/Task/{ → index/}/344/273/273/345/212/241/351/241/265.md +0 -0
  263. package/src/components/page/common/Task/searchTask/index.js +11 -0
  264. package/src/components/page/common/Task/searchTask/index.vue +196 -0
  265. package/src/components/page/common/Task/searchTask//344/273/273/345/212/241/351/241/265/346/220/234/347/264/242.md +1 -0
  266. package/src/components/page/common/Timezone/index.js +11 -11
  267. package/src/components/page/common/Timezone/index.vue +85 -82
  268. package/src/components/page/common/Warehouse/index.vue +221 -221
  269. package/src/components/page/common/index.js +45 -42
  270. package/src/components/page/config/masterLocation/masterLocationConfig/action/index.vue +33 -20
  271. package/src/components/page/config/masterLocation/masterLocationConfig/index/index.vue +129 -112
  272. package/src/components/page/config/masterLocation/masterLocationQuery/action/queryBySkuCode.vue +1 -0
  273. package/src/components/page/config/newProject/action/index.vue +16 -24
  274. package/src/components/page/count/components/CountBoard.vue +6 -1
  275. package/src/components/page/count/components/RandomCount.vue +168 -154
  276. package/src/components/page/count/console/components/itemContent.vue +74 -0
  277. package/src/components/page/count/console/components/itemHeader.vue +61 -0
  278. package/src/components/page/count/console/components/lookTaskContentPopup.vue +180 -0
  279. package/src/components/page/count/console/components/overTaskPopup.vue +108 -0
  280. package/src/components/page/count/console/components/randomCountItem.vue +146 -0
  281. package/src/components/page/count/console/components/taskItem.vue +87 -0
  282. package/src/components/page/count/console/index/index.js +11 -0
  283. package/src/components/page/count/console/index/index.vue +922 -0
  284. package/src/components/page/count/console/index//347/233/230/347/202/271/346/216/247/345/210/266/345/217/260.md +0 -0
  285. package/src/components/page/count/index.js +4 -0
  286. package/src/components/page/count/inv/action/index.vue +64 -10
  287. package/src/components/page/count/inv/index/index.vue +13 -3
  288. package/src/components/page/count/loc/action/index.vue +561 -546
  289. package/src/components/page/count/loc/index/index.vue +8 -2
  290. package/src/components/page/count//347/233/230/347/202/271.md +0 -0
  291. package/src/components/page/inbound/components/AllocScanListItem.vue +14 -2
  292. package/src/components/page/inbound/components/AsnInfo.vue +17 -2
  293. package/src/components/page/inbound/components/AsnSkuInfo.vue +17 -2
  294. package/src/components/page/inbound/components/QualityCard.vue +552 -171
  295. package/src/components/page/inbound/components/SearchBar.vue +1 -1
  296. package/src/components/page/inbound/components/SkuReceiveInfo.vue +2 -2
  297. package/src/components/page/inbound/components/SnsList.vue +103 -103
  298. package/src/components/page/inbound/components/SortingAsnInfo.vue +243 -0
  299. package/src/components/page/inbound/components/SortingBoxInfo.vue +118 -0
  300. package/src/components/page/inbound/components/printLabelPopup.vue +353 -0
  301. package/src/components/page/inbound/index.js +10 -2
  302. package/src/components/page/inbound/receive/home/index.vue +29 -16
  303. package/src/components/page/inbound/receive/index/index.vue +101 -92
  304. package/src/components/page/inbound/receive/printLabel/index.js +10 -0
  305. package/src/components/page/inbound/receive/printLabel/index.vue +209 -0
  306. package/src/components/page/inbound/receive/printLabel//346/211/223/345/215/260/346/240/207/347/255/276.md +0 -0
  307. package/src/components/page/inbound/receive/quality/LwInboundQualityExecutePage.vue +457 -457
  308. package/src/components/page/inbound/receive/quality/LwInboundQualityTaskListPage.vue +195 -164
  309. package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSkuExecutePage.vue +598 -595
  310. package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSnExecutePage.vue +235 -233
  311. package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseExecutePage.vue +327 -312
  312. package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseScanPage.vue +92 -80
  313. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnBatchExecutePage.vue +385 -386
  314. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnExecutePage.vue +222 -216
  315. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnScanPage.vue +80 -80
  316. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuExecutePage.vue +345 -340
  317. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuScanPage.vue +111 -111
  318. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuSnExecutePage.vue +345 -340
  319. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuAdvancePage.vue +373 -330
  320. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuDirectPage.vue +467 -424
  321. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuScanPage.vue +162 -161
  322. package/src/components/page/inbound/sorting/LwInboundSortingAsnPage.vue +81 -0
  323. package/src/components/page/inbound/sorting/LwInboundSortingByContainerPage.vue +588 -0
  324. package/src/components/page/inbound/sorting/LwInboundSortingByOrderPage.vue +548 -0
  325. package/src/components/page/inbound/sorting/LwInboundSortingIndexPage.vue +59 -0
  326. package/src/components/page/inbound/sorting/index.js +22 -0
  327. package/src/components/page/inbound/sorting//345/210/206/346/213/243.md +0 -0
  328. package/src/components/page/inbound/unload/action/index.js +11 -0
  329. package/src/components/page/inbound/unload/action/index.vue +557 -0
  330. package/src/components/page/inbound/unload/add/index.js +11 -0
  331. package/src/components/page/inbound/unload/add/index.vue +308 -0
  332. package/src/components/page/inbound/unload/index/index.js +11 -0
  333. package/src/components/page/inbound/unload/index/index.vue +159 -0
  334. package/src/components/page/inbound/unload/index.js +15 -0
  335. package/src/components/page/inbound/unload//345/215/270/350/264/247.md +0 -0
  336. package/src/components/page/index.js +41 -41
  337. package/src/components/page/inner/abnormalMove/index/index.vue +466 -466
  338. package/src/components/page/inner/borrow/action/index.vue +875 -831
  339. package/src/components/page/inner/borrow/index/index.vue +249 -249
  340. package/src/components/page/inner/caseQuickMove/index/index.js +11 -0
  341. package/src/components/page/inner/caseQuickMove/index/index.vue +431 -0
  342. package/src/components/page/inner/caseQuickMove//351/232/217/346/234/272/345/277/253/351/200/237/347/247/273/345/212/250-/346/225/264/347/256/261.md +0 -0
  343. package/src/components/page/inner/check/action/action.vue +867 -0
  344. package/src/components/page/inner/check/action/index.js +11 -0
  345. package/src/components/page/inner/dead/components/abnPopup.vue +83 -83
  346. package/src/components/page/inner/dead/components/bagItem.vue +110 -104
  347. package/src/components/page/inner/dead/components/boxListItem.vue +135 -135
  348. package/src/components/page/inner/dead/components/dataInfo.vue +94 -94
  349. package/src/components/page/inner/dead/components/lackPopup.vue +190 -190
  350. package/src/components/page/inner/dead/components/lpnListItem.vue +115 -115
  351. package/src/components/page/inner/dead/components/taskItem.vue +621 -570
  352. package/src/components/page/inner/dead/components/waitOverLpn.vue +74 -74
  353. package/src/components/page/inner/dead/large/index.vue +381 -376
  354. package/src/components/page/inner/dead/putaway/action/index.js +11 -11
  355. package/src/components/page/inner/dead/putaway/action/index.vue +131 -131
  356. package/src/components/page/inner/dead/putaway/components/collapseItem.vue +128 -128
  357. package/src/components/page/inner/dead/putaway/index/index.js +11 -11
  358. package/src/components/page/inner/dead/putaway/index/index.vue +63 -63
  359. package/src/components/page/inner/dead/query/action/action.vue +809 -0
  360. package/src/components/page/inner/dead/query/action/index.js +11 -0
  361. package/src/components/page/inner/dead/query/index/index.js +11 -0
  362. package/src/components/page/inner/dead/query/index/index.vue +130 -0
  363. package/src/components/page/inner/dead/small/index.js +11 -11
  364. package/src/components/page/inner/dead/small/index.vue +27 -13
  365. package/src/components/page/inner/dead/taskEntrance/index.js +11 -11
  366. package/src/components/page/inner/disposeAbnormal/action/index.vue +634 -524
  367. package/src/components/page/inner/disposeAbnormal/components/abnInfo/index.vue +5 -1
  368. package/src/components/page/inner/disposeAbnormal/components/disposePopup/index.vue +308 -229
  369. package/src/components/page/inner/disposeAbnormal/components/searchBar/index.vue +264 -264
  370. package/src/components/page/inner/disposeAbnormal/index/index.vue +248 -248
  371. package/src/components/page/inner/fragQuickMove/action/index.js +11 -0
  372. package/src/components/page/inner/fragQuickMove/action/index.vue +498 -0
  373. package/src/components/page/inner/fragQuickMove/index/index.js +11 -0
  374. package/src/components/page/inner/fragQuickMove/index/index.vue +222 -0
  375. package/src/components/page/inner/fragQuickMove//351/232/217/346/234/272/345/277/253/351/200/237/347/247/273/345/212/250-/351/233/266/346/225/243.md +0 -0
  376. package/src/components/page/inner/index.js +30 -2
  377. package/src/components/page/inner/lpnMove/action/index.vue +244 -243
  378. package/src/components/page/inner/lpnMove/index/index.vue +155 -155
  379. package/src/components/page/inner/materialApply/action/index.js +2 -2
  380. package/src/components/page/inner/materialApply/action/index.vue +555 -555
  381. package/src/components/page/inner/materialApply/generate/index.js +2 -2
  382. package/src/components/page/inner/materialApply/generate/index.vue +385 -385
  383. package/src/components/page/inner/movePutAway/index/index.vue +363 -363
  384. package/src/components/page/inner/quality/action/index.vue +713 -720
  385. package/src/components/page/inner/quality/components/lookData.vue +15 -10
  386. package/src/components/page/inner/quality/components/sampleInfo.vue +5 -5
  387. package/src/components/page/inner/quality/sample/index.vue +418 -426
  388. package/src/components/page/inner/randomMove/components/Down/index.vue +564 -507
  389. package/src/components/page/inner/randomMove/components/Up/index.vue +663 -587
  390. package/src/components/page/inner/randomMove/index/index.vue +123 -10
  391. package/src/components/page/inner/reportAbnormal/index/index.vue +251 -251
  392. package/src/components/page/inner/taskMove/index/index.vue +426 -49
  393. package/src/components/page/inner/taskMove/whole/MoveRandomWholeCase.vue +459 -0
  394. package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseDown.vue +328 -0
  395. package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseUp.vue +282 -0
  396. package/src/components/page/inner/taskMove/whole/MoveTaskWholeIndex.vue +519 -0
  397. package/src/components/page/inner/taskMove/whole/index.js +22 -0
  398. package/src/components/page/inventory/inventoryItem/index.vue +72 -0
  399. package/src/components/page/inventory/inventoryLotPage/index.vue +2 -1
  400. package/src/components/page/inventory/queryInventory/index/index.vue +368 -231
  401. package/src/components/page/inventory/queryInventory/page/index.vue +146 -9
  402. package/src/components/page/outbound/bale/aloneBale/action/index.vue +896 -779
  403. package/src/components/page/outbound/bale/aloneBale/index/index.vue +34 -5
  404. package/src/components/page/outbound/bale/aloneBale/newBale/index.vue +19 -0
  405. package/src/components/page/outbound/bale/baleChange/action/index.js +11 -11
  406. package/src/components/page/outbound/bale/baleChange/action/index.vue +604 -585
  407. package/src/components/page/outbound/bale/baleChange/index/index.js +11 -11
  408. package/src/components/page/outbound/bale/baleChange/skuCheck/index.js +11 -11
  409. package/src/components/page/outbound/bale/baleChange/skuCheck/index.vue +351 -351
  410. package/src/components/page/outbound/bale/checkBale/action/index.vue +1052 -941
  411. package/src/components/page/outbound/bale/checkBale/allCheck/index.vue +19 -3
  412. package/src/components/page/outbound/bale/checkBale/index/index.vue +41 -5
  413. package/src/components/page/outbound/bale/checkBale/newBale/index.vue +20 -3
  414. package/src/components/page/outbound/bale/components/checkPackConfig/index.vue +177 -0
  415. package/src/components/page/outbound/bale/components/checkPackConfig//345/275/223/345/211/215/346/215/206/345/214/205/345/217/260.md +0 -0
  416. package/src/components/page/outbound/bale/components/containerInfo/index.vue +242 -242
  417. package/src/components/page/outbound/bale/components/containerSkuQty//345/275/223/345/211/215/346/215/206/345/214/205/345/256/271/345/231/250/345/217/212/345/223/201/347/247/215/346/225/260.md +1 -1
  418. package/src/components/page/outbound/bale/components/delSku/index.vue +317 -317
  419. package/src/components/page/outbound/bale/components/partBlock/index.vue +201 -201
  420. package/src/components/page/outbound/bale/components/planCollapse/index.vue +392 -392
  421. package/src/components/page/outbound/bale/components/repeatCheck/index.vue +101 -101
  422. package/src/components/page/outbound/bale/components/storeInfo/index.vue +135 -135
  423. package/src/components/page/outbound/bale/components/storeInfoSkuList/index.vue +148 -128
  424. package/src/components/page/outbound/bale/components/suggestMaterial/index.vue +107 -0
  425. package/src/components/page/outbound/bale/components/suggestMaterial//346/216/250/350/215/220/345/214/205/346/235/220/346/212/230/345/217/240/346/240/217.md +0 -0
  426. package/src/components/page/outbound/bale/mixins.js +236 -212
  427. package/src/components/page/outbound/block/LwOutboundBlockExecutePage.vue +316 -316
  428. package/src/components/page/outbound/boxTransfer/action/index.js +11 -11
  429. package/src/components/page/outbound/boxTransfer/action/index.vue +214 -214
  430. package/src/components/page/outbound/boxTransfer/index/index.js +11 -11
  431. package/src/components/page/outbound/boxTransfer/index/index.vue +174 -174
  432. package/src/components/page/outbound/delivery/action/index.vue +784 -784
  433. package/src/components/page/outbound/delivery/addOrder/index.vue +281 -281
  434. package/src/components/page/outbound/delivery/components/boxItem/index.vue +154 -154
  435. package/src/components/page/outbound/delivery/components/soAndLpnItem/index.vue +199 -199
  436. package/src/components/page/outbound/delivery/index/index.vue +205 -205
  437. package/src/components/page/outbound/handover/components/boxInfo.vue +51 -51
  438. package/src/components/page/outbound/handover/components/boxNumList.vue +158 -158
  439. package/src/components/page/outbound/handover/components/collapseItem.vue +136 -136
  440. package/src/components/page/outbound/handover/components/pageBox.vue +524 -524
  441. package/src/components/page/outbound/handover/customer/index.js +11 -11
  442. package/src/components/page/outbound/handover/index/index.js +11 -11
  443. package/src/components/page/outbound/handover/index/index.vue +5 -2
  444. package/src/components/page/outbound/handover/line/index.js +11 -11
  445. package/src/components/page/outbound/handover/lpn/index.js +11 -11
  446. package/src/components/page/outbound/index.js +162 -152
  447. package/src/components/page/outbound/lpnPack/action/index.js +11 -11
  448. package/src/components/page/outbound/lpnPack/action/index.vue +437 -287
  449. package/src/components/page/outbound/lpnPack/components/boxItem.vue +90 -0
  450. package/src/components/page/outbound/lpnPack/components/lpnActionInfo.vue +132 -113
  451. package/src/components/page/outbound/lpnPack/components/lpnItem.vue +126 -126
  452. package/src/components/page/outbound/lpnPack/index/index.js +11 -11
  453. package/src/components/page/outbound/lpnPack/index/index.vue +304 -166
  454. package/src/components/page/outbound/lpnPack/newLpnPack/index.js +11 -11
  455. package/src/components/page/outbound/lpnPack/newLpnPack/index.vue +95 -80
  456. package/src/components/page/outbound/lpnPack/over/index.js +11 -11
  457. package/src/components/page/outbound/lpnPack/over/index.vue +114 -85
  458. package/src/components/page/outbound/packCollect/components/containerInfo.vue +108 -0
  459. package/src/components/page/outbound/packCollect/index/index.js +11 -0
  460. package/src/components/page/outbound/packCollect/index/index.vue +192 -0
  461. package/src/components/page/outbound/packCollect//351/233/206/350/264/247/346/215/206/345/214/205.md +0 -0
  462. package/src/components/page/outbound/pick/alone/index.vue +551 -504
  463. package/src/components/page/outbound/pick/box/index.vue +380 -371
  464. package/src/components/page/outbound/pick/components/dataLookAndChange/index.vue +709 -671
  465. package/src/components/page/outbound/pick/components/splitPutDown/index.vue +208 -208
  466. package/src/components/page/outbound/pick/index/index.vue +579 -622
  467. package/src/components/page/outbound/pick/lpn/index.vue +326 -321
  468. package/src/components/page/outbound/pick/mixin/all.js +98 -98
  469. package/src/components/page/outbound/pick/mixin/aloneAndNotAlone.js +132 -132
  470. package/src/components/page/outbound/pick/notAlone/index.vue +692 -533
  471. package/src/components/page/outbound/pick/sow/index.vue +1387 -1290
  472. package/src/components/page/outbound/pickContainer/action/index.js +11 -11
  473. package/src/components/page/outbound/pickContainer/index/index.js +11 -11
  474. package/src/components/page/outbound/pickMerge/content/index.vue +179 -170
  475. package/src/components/page/outbound/reprint-box/LwOutboundReprintBoxListPage.vue +115 -118
  476. package/src/components/page/outbound/reprint-box/collapseItem.vue +71 -0
  477. package/src/components/page/outbound/sow/action/index.vue +80 -29
  478. package/src/components/page/outbound/sow/components/sowLotItem/index.vue +142 -0
  479. package/src/components/page/outbound/sow/components/sowLotItem//346/222/255/347/247/215/346/211/271/346/254/241/344/277/241/346/201/257.md +0 -0
  480. package/src/components/page/outbound/sow/index/index.vue +399 -371
  481. package/src/components/page/outbound/sowCollect/index/index.js +11 -0
  482. package/src/components/page/outbound/sowCollect/index/index.vue +234 -0
  483. package/src/components/page/outbound/sowCollect//346/222/255/347/247/215/351/233/206/350/264/247.md +0 -0
  484. package/src/components/page/outbound/stockout/LwOutboundStockoutListPage.vue +103 -103
  485. package/src/components/page/outbound/summary/box/index/index.vue +648 -645
  486. package/src/components/page/outbound/summary/lpn/action/index.vue +254 -254
  487. package/src/components/page/outbound/summary/lpn/index/index.vue +5 -0
  488. package/src/components/page/process/index.js +25 -21
  489. package/src/components/page/process/prepare/index.js +11 -11
  490. package/src/components/page/process/prepare/index.vue +770 -841
  491. package/src/components/page/process/process/action/index.js +11 -11
  492. package/src/components/page/process/process/action/index.vue +56 -75
  493. package/src/components/page/process/process/components/FinishView.vue +299 -0
  494. package/src/components/page/process/process/components/craftCollapse.vue +91 -130
  495. package/src/components/page/process/process/components/dockInfo.vue +73 -79
  496. package/src/components/page/process/process/components/dockTaskInfo.vue +172 -192
  497. package/src/components/page/process/process/components/overCollapse.vue +385 -376
  498. package/src/components/page/process/process/components/rawCollapse.vue +82 -113
  499. package/src/components/page/process/process/components/stopPopup.vue +108 -90
  500. package/src/components/page/process/process/console/index.js +11 -11
  501. package/src/components/page/process/process/console/index.vue +149 -436
  502. package/src/components/page/process/process/content/index.js +11 -11
  503. package/src/components/page/process/process/content/index.vue +340 -367
  504. package/src/components/page/process/process/index/index.js +11 -11
  505. package/src/components/page/process/process/index/index.vue +71 -68
  506. package/src/components/page/process/screen/display/index.js +11 -0
  507. package/src/components/page/process/screen/display/index.vue +161 -0
  508. package/src/components/page/process/screen/index/index.js +11 -0
  509. package/src/components/page/process/screen/index/index.vue +76 -0
  510. package/src/components/page/receive/putaway/caseAction/index.vue +548 -542
  511. package/src/components/page/receive/putaway/components/CaseInfo/index.vue +6 -0
  512. package/src/components/page/receive/putaway/components/SkuInfo/index.vue +19 -3
  513. package/src/components/page/receive/putaway/components/SkuPutAwayInfo/index.vue +203 -203
  514. package/src/components/page/receive/putaway/components/TaskInfo/index.vue +61 -32
  515. package/src/components/page/receive/putaway/index/index.vue +585 -450
  516. package/src/components/page/receive/putaway/lpnAction/index.vue +362 -362
  517. package/src/components/page/receive/putaway/lpnBatchAction/index.js +11 -11
  518. package/src/components/page/receive/putaway/lpnBatchAction/index.vue +213 -213
  519. package/src/components/page/receive/putaway/skuAction/index.vue +989 -742
  520. package/src/components/page/receive/receipt/action/index.vue +276 -276
  521. package/src/components/page/receive/receipt/index/index.vue +132 -132
  522. package/src/components/ui/BottomBar/index.vue +102 -98
  523. package/src/components/ui/BottomBar//345/272/225/351/203/250/345/233/272/345/256/232/346/240/217.md +1 -1
  524. package/src/components/ui/BottomBarBtnHidden/index.vue +91 -91
  525. package/src/components/ui/BottomBarBtnHidden//345/272/225/351/203/250/346/214/211/351/222/256/346/240/217/351/232/220/350/227/217/345/244/232/344/275/231/346/214/211/351/222/256.md +1 -1
  526. package/src/components/ui/Button/index.vue +183 -183
  527. package/src/components/ui/Button//346/214/211/351/222/256.md +1 -1
  528. package/src/components/ui/CarPlate/index.vue +501 -495
  529. package/src/components/ui/Cell/index.vue +259 -259
  530. package/src/components/ui/Cell//345/215/225/345/205/203/346/240/274.md +1 -1
  531. package/src/components/ui/CellPopupCheckbox/index.js +11 -0
  532. package/src/components/ui/CellPopupCheckbox/index.vue +158 -0
  533. package/src/components/ui/CellPopupCheckbox//350/241/214/345/212/240/345/244/232/351/200/211/345/274/271/345/207/272/346/241/206.md +0 -0
  534. package/src/components/ui/CellPopupDate/index.vue +217 -212
  535. package/src/components/ui/CellPopupRadio/index.vue +136 -136
  536. package/src/components/ui/CellPopupSelect/index.js +11 -0
  537. package/src/components/ui/CellPopupSelect/index.vue +303 -0
  538. package/src/components/ui/CellPopupSelect//345/215/225/345/205/203/350/241/214/345/212/240/351/200/211/346/213/251/345/231/250.md +1 -0
  539. package/src/components/ui/CutCard/index.vue +0 -11
  540. package/src/components/ui/DataLookBg//346/225/260/346/215/256/347/234/213/346/235/277.md +1 -1
  541. package/src/components/ui/ErrorMsg/index.js +10 -3
  542. package/src/components/ui/ErrorMsg/index.vue +3 -2
  543. package/src/components/ui/ErrorMsg//351/224/231/350/257/257/346/217/220/347/244/272/346/241/206.md +1 -1
  544. package/src/components/ui/Form//350/241/250/345/215/225.md +1 -1
  545. package/src/components/ui/ImgLook/index.vue +105 -105
  546. package/src/components/ui/ImgLook//345/233/276/347/211/207/346/237/245/347/234/213.md +1 -1
  547. package/src/components/ui/ImgUpload/imgUploadAxios.js +37 -37
  548. package/src/components/ui/ImgUpload/index.vue +120 -120
  549. package/src/components/ui/ImgUpload/request.js +1 -1
  550. package/src/components/ui/ImgUpload//345/233/276/347/211/207/344/270/212/344/274/240.md +1 -1
  551. package/src/components/ui/Input/index.vue +567 -581
  552. package/src/components/ui/Loading/index.js +50 -49
  553. package/src/components/ui/Loading//345/212/240/350/275/275/346/241/206.md +1 -1
  554. package/src/components/ui/MenuItem//350/217/234/345/215/225/351/241/271.md +1 -1
  555. package/src/components/ui/NavBar/index.vue +4 -4
  556. package/src/components/ui/NotData//347/251/272/346/225/260/346/215/256/347/212/266/346/200/201.md +1 -1
  557. package/src/components/ui/NoticeBar/index.js +94 -0
  558. package/src/components/ui/NoticeBar/index.vue +97 -0
  559. package/src/components/ui/NoticeBar//351/200/232/347/237/245/346/240/217.md +0 -0
  560. package/src/components/ui/Pages/index.vue +4 -4
  561. package/src/components/ui/Pages//345/210/206/351/241/265/351/241/265/347/240/201.md +1 -1
  562. package/src/components/ui/Pagination/index.js +11 -11
  563. package/src/components/ui/Pagination/index.vue +274 -274
  564. package/src/components/ui/Pagination//345/210/206/351/241/265V2.md +1 -1
  565. package/src/components/ui/Popup/index.vue +242 -242
  566. package/src/components/ui/Popup//345/274/271/345/207/272/345/261/202.md +1 -1
  567. package/src/components/ui/PopupCheckbox/index.vue +27 -6
  568. package/src/components/ui/PopupCheckbox//345/244/232/351/200/211/345/274/271/346/241/206.md +1 -1
  569. package/src/components/ui/PopupRadio//345/215/225/351/200/211/345/274/271/346/241/206.md +1 -1
  570. package/src/components/ui/TabBar/index.vue +1 -1
  571. package/src/components/ui/Table//350/241/250/346/240/274.md +1 -1
  572. package/src/components/ui/Tag/index.vue +11 -11
  573. package/src/components/ui/Tag//346/240/207/347/255/276.md +1 -1
  574. package/src/components/ui/TitleValueCell/index.vue +90 -88
  575. package/src/components/ui/TitleValueCell//346/240/207/351/242/230/345/200/274/350/241/214.md +2 -2
  576. package/src/components/ui/index.js +92 -87
  577. package/src/directive/Permissions.js +2 -2
  578. package/src/mixins/loginAndInit/index.js +31 -31
  579. package/src/router/index.js +895 -742
  580. package/src/router/menu.js +754 -638
  581. package/src/test/file/index.js +11 -11
  582. package/src/utils/ApiUtils.js +59 -59
  583. package/src/utils/AppBack.js +43 -43
  584. package/src/utils/AppPower.js +621 -76
  585. package/src/utils/Axios.js +42 -12
  586. package/src/utils/BarcodeResolve.js +10 -10
  587. package/src/utils/DateTime.js +234 -233
  588. package/src/utils/DeepCopy.js +61 -61
  589. package/src/utils/Dialog.js +16 -0
  590. package/src/utils/Dict.js +89 -73
  591. package/src/utils/GetImgSrc.js +54 -54
  592. package/src/utils/Language.js +87 -79
  593. package/src/utils/LocalStorage.js +66 -66
  594. package/src/utils/Permissions.js +65 -65
  595. package/src/utils/Print.js +232 -177
  596. package/src/utils/README.md +60 -60
  597. package/src/utils/ScanRule.js +39 -39
  598. package/src/utils/SetColor.js +57 -57
  599. package/src/utils/TabBar.js +31 -31
  600. package/src/utils/Timezone.js +183 -179
  601. package/src/utils/Tip.js +26 -26
  602. package/src/utils/UUID.js +33 -39
  603. package/src/utils/Warehouse.js +30 -30
  604. package/src/utils/index.js +10 -7
  605. package/src/utils/windowGlobalData.js +114 -114
  606. package/src/views/common/init/index.vue +145 -138
  607. package/src/views/common/my/timezone.vue +23 -23
  608. package/src/views/common/task/search.vue +23 -0
  609. package/src/views/count/console.vue +23 -0
  610. package/src/views/inbound/receive/printLabel.vue +23 -0
  611. package/src/views/inbound/sorting/LwInboundSortingAsnView.vue +16 -0
  612. package/src/views/inbound/sorting/LwInboundSortingByContainerView.vue +16 -0
  613. package/src/views/inbound/sorting/LwInboundSortingByOrderView.vue +16 -0
  614. package/src/views/inbound/sorting/LwInboundSortingIndexView.vue +16 -0
  615. package/src/views/inbound/unload/action.vue +23 -0
  616. package/src/views/inbound/unload/add.vue +23 -0
  617. package/src/views/inbound/unload/index.vue +23 -0
  618. package/src/views/inner/caseQuickMove/index.vue +23 -0
  619. package/src/views/inner/check/action.vue +23 -0
  620. package/src/views/inner/dead/large.vue +23 -23
  621. package/src/views/inner/dead/putaway/action.vue +23 -23
  622. package/src/views/inner/dead/putaway/index.vue +23 -23
  623. package/src/views/inner/dead/query/action.vue +23 -0
  624. package/src/views/inner/dead/query/index.vue +23 -0
  625. package/src/views/inner/dead/smallPage.vue +23 -23
  626. package/src/views/inner/dead/taskEntrance.vue +23 -23
  627. package/src/views/inner/fragQuickMove/action.vue +23 -0
  628. package/src/views/inner/fragQuickMove/index.vue +23 -0
  629. package/src/views/inner/materialApply/action.vue +2 -2
  630. package/src/views/inner/materialApply/generate.vue +2 -2
  631. package/src/views/inner/taskMove/whole/MoveRandomWholeCaseView.vue +3 -0
  632. package/src/views/inner/taskMove/whole/MoveTaskWholeCaseDownView.vue +3 -0
  633. package/src/views/inner/taskMove/whole/MoveTaskWholeCaseUpView.vue +3 -0
  634. package/src/views/inner/taskMove/whole/MoveTaskWholeIndexView.vue +3 -0
  635. package/src/views/outbound/baleChange/action.vue +23 -23
  636. package/src/views/outbound/baleChange/index.vue +23 -23
  637. package/src/views/outbound/baleChange/skuCheck.vue +23 -23
  638. package/src/views/outbound/boxTransfer/action.vue +23 -23
  639. package/src/views/outbound/boxTransfer/index.vue +23 -23
  640. package/src/views/outbound/handover/customer.vue +23 -23
  641. package/src/views/outbound/handover/index.vue +23 -23
  642. package/src/views/outbound/handover/line.vue +23 -23
  643. package/src/views/outbound/handover/lpn.vue +23 -23
  644. package/src/views/outbound/lpnPack/action.vue +23 -23
  645. package/src/views/outbound/lpnPack/index.vue +23 -23
  646. package/src/views/outbound/lpnPack/newLpn.vue +23 -23
  647. package/src/views/outbound/lpnPack/over.vue +23 -23
  648. package/src/views/outbound/packCollect/index.vue +23 -0
  649. package/src/views/outbound/pickContainer/action.vue +23 -23
  650. package/src/views/outbound/pickContainer/index.vue +23 -23
  651. package/src/views/outbound/sowCollect/index.vue +23 -0
  652. package/src/views/process/action/action.vue +23 -23
  653. package/src/views/process/action/index.vue +23 -23
  654. package/src/views/process/prepare/index.vue +23 -23
  655. package/src/views/process/screen/display/index.vue +23 -0
  656. package/src/views/process/screen/index/index.vue +23 -0
  657. package/src/views/receive/putaway/lpnBatchAction.vue +23 -23
  658. package/dist/logwire-wms-pda-ui.js +0 -7
  659. package/src/assets/img/lwInputIcon/keyboard.png +0 -0
  660. package/src/components/page/outbound/bale/components/containerInfo/img.png +0 -0
  661. package/src/components/page/outbound/bale/components/containerSkuQty/img.png +0 -0
  662. package/src/components/page/outbound/bale/components/storeInfo/img.png +0 -0
@@ -1,841 +1,770 @@
1
- <!--
2
- 加工 - 备料
3
- @author: 张文
4
- @date: 2022-08-10
5
- -->
6
- <template>
7
- <div>
8
-
9
- <lw-nav-bar :title="$lwLanguage.get('','加工 - 备料')"/>
10
-
11
- <div class="lw-global-page-box">
12
-
13
- <!-- 数据看板 -->
14
- <template>
15
- <div class="lw-global-model-top-radius">
16
- <lw-title-value-cell
17
- :title="$lwLanguage.get('','加工线')"
18
- value="PL-001"
19
- val-bold
20
- is-row-start
21
- />
22
- <!-- 时间统计 -->
23
- <div class="lw-global-row-end">
24
-
25
- <span class="lw-global-value-bold">{{ $lwDate.format(new Date(), 'MM-dd hh:mm') }}</span>
26
-
27
- <span
28
- class="lw-global-value-bold-red"
29
- style="display: inline-block;margin-left: 10px"
30
- >
31
- {{ $lwLanguage.get('','已过') }}
32
- {{
33
- $lwDate.timeToStr({
34
- l:$lwDate.format('2022-08-10T10:00:00.000Z','yyyy-MM-dd hh:mm:ss'),
35
- n: $lwTimezone.getTimezoneDate({format:'yyyy-MM-dd hh:mm:ss'}),
36
- minType: 'min'
37
- }).text
38
- }}
39
- </span>
40
-
41
- </div>
42
-
43
- </div>
44
- <lw-data-look-bg
45
- type="bottom"
46
- :data="lookData"
47
- />
48
- </template>
49
-
50
- <!-- tab -->
51
- <div
52
- style="margin-top: 10px"
53
- class="lw-global-tab-box"
54
- >
55
- <van-tabs
56
- type="card"
57
- animated
58
- v-model="tabActive"
59
- >
60
-
61
- <van-tab
62
- name="down"
63
- :title="$lwLanguage.get('','备料下架')"
64
- >
65
-
66
- <div v-if="down.data.length" class="lw-global-model-box">
67
-
68
- <!-- 备件信息 -->
69
- <lw-sku-info-module
70
- :sku-code="downData.skuCode"
71
- :sku-name="downData.skuName"
72
- :qty="downData.qty"
73
- :qty-text="$lwLanguage.get('','待备量')"
74
- />
75
-
76
- <!-- 标签 -->
77
- <div class="lw-global-row">
78
- <lw-tag
79
- v-for="(i,k) in downData.tagList"
80
- :key="k"
81
- round
82
- plain
83
- >{{ i }}</lw-tag>
84
- </div>
85
-
86
- <!-- 扩展字段 -->
87
- <div class="lw-global-row">
88
- <lw-lot-look-module
89
- :columns="downData.lot"
90
- :show-row="false"
91
- value-key="value"
92
- title-key="title"
93
- />
94
- </div>
95
-
96
- <!-- 库位 -->
97
- <lw-title-value-cell
98
- :title="$lwLanguage.get('','库位')"
99
- :value="downData.locationCode"
100
- val-bold
101
- />
102
-
103
- <!-- 托盘号 -->
104
- <lw-title-value-cell
105
- v-if="downHasLpn"
106
- :title="$lwLanguage.get('','托盘号')"
107
- :value="downData.lpn"
108
- val-bold
109
- />
110
-
111
- <!-- 箱号 -->
112
- <lw-title-value-cell
113
- v-if="downHasBox"
114
- :title="$lwLanguage.get('','箱号')"
115
- :value="downData.box"
116
- val-bold
117
- />
118
-
119
- <!-- 确认库位 -->
120
- <lw-input
121
- :title="$lwLanguage.get('','确认库位')"
122
- v-model="down.loc.value"
123
- :get-focus.sync="down.loc.focus"
124
- rule-key="downLoc"
125
- required
126
- @confirm="downLocConfirm"
127
- />
128
-
129
- <!-- 确认托盘号 -->
130
- <lw-input
131
- :title="$lwLanguage.get('','确认托盘号')"
132
- v-model="down.lpn.value"
133
- :get-focus.sync="down.lpn.focus"
134
- rule-key="lpn"
135
- required
136
- @confirm="downLpnConfirm"
137
- />
138
-
139
- <!-- 物料编码 -->
140
- <lw-input
141
- :title="$lwLanguage.get('','物料编码')"
142
- v-model="down.sku.value"
143
- :get-focus.sync="down.sku.focus"
144
- rule-key="sku"
145
- required
146
- @confirm="downSkuConfirm"
147
- />
148
-
149
- <!-- 备料数量 -->
150
- <lw-input
151
- :title="$lwLanguage.get('','备料数量')"
152
- v-model="down.num.value"
153
- :get-focus.sync="down.num.focus"
154
- type="digit"
155
- required
156
- @confirm="downNumConfirm"
157
- />
158
-
159
- <!-- 目标托盘号 -->
160
- <lw-input
161
- :title="$lwLanguage.get('','目标托盘号')"
162
- v-model="down.toLpn.value"
163
- :get-focus.sync="down.toLpn.focus"
164
- rule-key="toLpn"
165
- required
166
- @confirm="downToLpnConfirm"
167
- />
168
-
169
- <!-- 任务切换 -->
170
- <lw-cut-card
171
- v-model="down.index"
172
- :length="down.data.length"
173
- :cut-start="downCutStart"
174
- :cut-end="downCutEnd"
175
- />
176
-
177
- </div>
178
- <lw-not-data v-else/>
179
-
180
- </van-tab>
181
-
182
-
183
- <van-tab
184
- name="up"
185
- :title="$lwLanguage.get('','备料上架')"
186
- >
187
-
188
- <div v-if="up.data.length" class="lw-global-model-box">
189
-
190
- <div
191
- style="font-size: 16px"
192
- class="lw-global-row-start lw-global-value-bold-red"
193
- >{{ upData.lpn }}</div>
194
-
195
- <div
196
- class="lw-global-row"
197
- v-for="(i,k) in upData.skuList"
198
- :key="k"
199
- >
200
- <lw-sku-info-module
201
- style="margin-bottom: 5px"
202
- :sku-code="i.skuCode"
203
- :sku-name="i.skuName"
204
- :qty="i.qty"
205
- :qty-text="$lwLanguage.get('','待上架')"
206
- />
207
-
208
- <lw-lot-look-module
209
- :columns="i.lot"
210
- :show-row="false"
211
- value-key="value"
212
- title-key="title"
213
- />
214
-
215
- </div>
216
-
217
- <lw-title-value-cell
218
- :title="$lwLanguage.get('','推荐上架库位')"
219
- :value="upData.locationCode"
220
- val-red
221
- val-bold
222
- val-size="16px"
223
- />
224
-
225
- <lw-input
226
- :title="$lwLanguage.get('','确认目标库位')"
227
- v-model="up.loc.value"
228
- :get-focus.sync="up.loc.focus"
229
- required
230
- rule-key="upLoc"
231
- @confirm="confirmUp"
232
- />
233
-
234
- <lw-cut-card
235
- v-model="up.index"
236
- :length="up.data.length"
237
- :cut-start="upCutStart"
238
- :cut-end="upCutEnd"
239
- />
240
-
241
- </div>
242
- <lw-not-data v-else/>
243
-
244
- </van-tab>
245
- </van-tabs>
246
- </div>
247
-
248
- </div>
249
-
250
- <lw-bottom-bar v-if="tabActive === 'down'">
251
-
252
- <lw-button
253
- type="last"
254
- plain
255
- @click="downAbnClick"
256
- >{{ $lwLanguage.get('','下架异常') }}</lw-button>
257
-
258
- <lw-button @click="confirmDown">
259
- {{ $lwLanguage.get('','备料下架') }}
260
- </lw-button>
261
-
262
- </lw-bottom-bar>
263
-
264
- <lw-bottom-bar v-if="tabActive === 'up'">
265
-
266
- <lw-button @click="confirmUp">
267
- {{ $lwLanguage.get('','备件上架') }}
268
- </lw-button>
269
-
270
- </lw-bottom-bar>
271
-
272
-
273
-
274
- <!-- 异常 -->
275
- <lw-popup
276
- v-model="abnDown.show"
277
- :title="$lwLanguage.get('','备件异常上报')"
278
- background="#f0f0f0"
279
- @closed="abnDown.showCom=false"
280
- >
281
-
282
- <template v-if="abnDown.showCom">
283
-
284
- <!-- 基础信息 -->
285
- <div class="lw-global-model-box">
286
- <lw-title-value-cell
287
- :title="$lwLanguage.get('','加工台')"
288
- :value="downData.prepare"
289
- text-align="right"
290
- is-row-start
291
- />
292
-
293
- <lw-title-value-cell
294
- :title="$lwLanguage.get('','备料任务号')"
295
- :value="downData.taskNo"
296
- text-align="right"
297
- />
298
-
299
- <div class="lw-global-row lw-global-flex-between">
300
-
301
- <div
302
- style="flex-shrink: 0"
303
- class="lw-global-title"
304
- >
305
- {{ $lwLanguage.get('','物料') }}
306
- </div>
307
-
308
- <lw-sku-info-module
309
- :sku-name="downData.skuName"
310
- :sku-code="downData.skuCode"
311
- :show-right="false"
312
- />
313
-
314
- </div>
315
-
316
- <lw-title-value-cell
317
- :title="$lwLanguage.get('','货主')"
318
- :value="(downData.ownerCode || '-') + ' / ' +(downData.ownerName || '-')"
319
- text-align="right"
320
- />
321
-
322
- <lw-title-value-cell
323
- :title="$lwLanguage.get('','待备量')"
324
- :value="downData.qty"
325
- text-align="right"
326
- val-bold
327
- val-red
328
- />
329
-
330
- <lw-title-value-cell
331
- :title="$lwLanguage.get('','下架库位')"
332
- :value="downData.locationCode"
333
- text-align="right"
334
- />
335
-
336
- <lw-title-value-cell
337
- :title="$lwLanguage.get('','托盘号')"
338
- :value="downData.lpn || '-'"
339
- text-align="right"
340
- />
341
- </div>
342
-
343
- <!-- 批次信息 -->
344
- <div class="lw-global-model-box lw-global-collapse-box">
345
- <van-collapse
346
- v-model="abnDown.collapseAction"
347
- :border="false"
348
- >
349
- <van-collapse-item
350
- name="1"
351
- :title="$lwLanguage.get('','批次信息')"
352
- >
353
-
354
- <lw-lot-look-module
355
- :columns="downData.lot"
356
- title-key="title"
357
- value-key="value"
358
- />
359
-
360
- </van-collapse-item>
361
- </van-collapse>
362
- </div>
363
-
364
- <!-- 异常输入框 -->
365
- <lw-abnormal-input-module
366
- class="lw-global-model-box"
367
- ref="abnInput"
368
- :type="$lwLanguage.get('','加工')"
369
- :ab-type="$lwLanguage.get('','备料')"
370
- :abn-type-key="['QTY', 'QUALITY']"
371
- :qty="downData.qty"
372
- />
373
-
374
- </template>
375
-
376
-
377
-
378
- <template #button>
379
-
380
- <lw-button @click="confirmAbn">
381
- {{ $lwLanguage.get('','上报') }}
382
- </lw-button>
383
-
384
- </template>
385
- </lw-popup>
386
-
387
- </div>
388
- </template>
389
-
390
- <script>
391
-
392
- export default {
393
- name: "lwProcessPrepareIndexPage",
394
- data() {
395
- return {
396
- // 数据看板
397
- lookData:{
398
- plan:{
399
- title: this.$lwLanguage.get('','计划量'),
400
- value: 100
401
- },
402
- over:{
403
- title: this.$lwLanguage.get('','已备量'),
404
- value: 40
405
- },
406
- wait:{
407
- title: this.$lwLanguage.get('','待备量'),
408
- value: 50
409
- },
410
- abn:{
411
- title: this.$lwLanguage.get('','异常量'),
412
- value: 10,
413
- color: 'yellow'
414
- },
415
- },
416
-
417
- // tab激活项
418
- tabActive: '',
419
-
420
- // 备料下架
421
- down:{
422
- // 当前索引
423
- index: 0,
424
- // 下架数据
425
- data: [
426
- {
427
- skuCode:'BL-001',
428
- skuName:'备料-001',
429
- qty: 100,
430
- tagList:['中件','快移','BO'],
431
- lot:[
432
- {title:'订单号',value:'DD-001'},
433
- {title:'收货日期',value:'2022-08-10T10:00:00.00Z'},
434
- {title:'生产日期',value:'2022-08-09T10:00:00.00Z'},
435
- ],
436
- locationCode:'LOC-001',
437
- lpn: 'LPN-001',
438
- box: 'BOX-001',
439
- prepare: 'JGT-001',
440
- taskNo:'RW-001',
441
- ownerCode:'HZ-001',
442
- ownerName:'货主-001'
443
- },
444
- {
445
- skuCode:'BL-002',
446
- skuName:'备料-002',
447
- qty: 200,
448
- tagList:['中件','快移','BO'],
449
- lot:[
450
- {title:'订单号',value:'DD-001'},
451
- {title:'收货日期',value:'2022-08-10T10:00:00.00Z'},
452
- {title:'生产日期',value:'2022-08-09T10:00:00.00Z'},
453
- ],
454
- locationCode:'LOC-002',
455
- lpn: 'LPN-002',
456
- },
457
- {
458
- skuCode:'BL-003',
459
- skuName:'备料-003',
460
- qty: 300,
461
- tagList:['中件','快移','BO'],
462
- lot:[
463
- {title:'订单号',value:'DD-001'},
464
- {title:'收货日期',value:'2022-08-10T10:00:00.00Z'},
465
- {title:'生产日期',value:'2022-08-09T10:00:00.00Z'},
466
- ],
467
- locationCode:'LOC-003',
468
- },
469
- ],
470
- // 确认库位
471
- loc:{
472
- value:'',
473
- focus: false
474
- },
475
- // 确认托盘号
476
- lpn:{
477
- value:'',
478
- focus: false
479
- },
480
- // 物料编码
481
- sku:{
482
- value:'',
483
- focus: false
484
- },
485
- // 备料数量
486
- num:{
487
- value:'',
488
- focus: false
489
- },
490
- // 目标托盘
491
- toLpn:{
492
- value:'',
493
- focus: false
494
- }
495
- },
496
-
497
- // 备料上架
498
- up:{
499
- index: 0,
500
- data:[
501
- {
502
- skuList:[
503
- {
504
- skuCode:'BL-001',
505
- skuName:'备料-001',
506
- qty: 100,
507
- lot:[
508
- {title:'订单号',value:'DD-001'},
509
- {title:'收货日期',value:'2022-08-10T10:00:00.00Z'},
510
- {title:'生产日期',value:'2022-08-09T10:00:00.00Z'},
511
- ],
512
- },
513
- {
514
- skuCode:'BL-002',
515
- skuName:'备料-002',
516
- qty: 200,
517
- lot:[
518
- {title:'订单号',value:'DD-001'},
519
- {title:'收货日期',value:'2022-08-10T10:00:00.00Z'},
520
- {title:'生产日期',value:'2022-08-09T10:00:00.00Z'},
521
- ],
522
- },
523
- {
524
- skuCode:'BL-003',
525
- skuName:'备料-003',
526
- qty: 300,
527
- lot:[
528
- {title:'订单号',value:'DD-001'},
529
- {title:'收货日期',value:'2022-08-10T10:00:00.00Z'},
530
- {title:'生产日期',value:'2022-08-09T10:00:00.00Z'},
531
- ],
532
- },
533
- ],
534
- locationCode: 'TJ-001',
535
- lpn: 'LPN-001'
536
- },
537
- {
538
- skuList:[
539
- {
540
- skuCode:'BL-001',
541
- skuName:'备料-001',
542
- qty: 100,
543
- lot:[
544
- {title:'订单号',value:'DD-001'},
545
- {title:'收货日期',value:'2022-08-10T10:00:00.00Z'},
546
- {title:'生产日期',value:'2022-08-09T10:00:00.00Z'},
547
- ],
548
- },
549
- {
550
- skuCode:'BL-002',
551
- skuName:'备料-002',
552
- qty: 200,
553
- lot:[
554
- {title:'订单号',value:'DD-001'},
555
- {title:'收货日期',value:'2022-08-10T10:00:00.00Z'},
556
- {title:'生产日期',value:'2022-08-09T10:00:00.00Z'},
557
- ],
558
- },
559
- {
560
- skuCode:'BL-003',
561
- skuName:'备料-003',
562
- qty: 300,
563
- lot:[
564
- {title:'订单号',value:'DD-001'},
565
- {title:'收货日期',value:'2022-08-10T10:00:00.00Z'},
566
- {title:'生产日期',value:'2022-08-09T10:00:00.00Z'},
567
- ],
568
- },
569
- ],
570
- locationCode: 'TJ-002',
571
- lpn: 'LPN-002'
572
- },
573
- ],
574
- loc:{
575
- value: '',
576
- focus: false
577
- }
578
- },
579
-
580
- // 异常弹框
581
- abnDown:{
582
- show: false,
583
- showCom: false,
584
- collapseAction: []
585
- }
586
- }
587
- },
588
- computed:{
589
- // 下架数据
590
- downData(){
591
- return this.down.data[this.down.index] || {}
592
- },
593
- // 下架 - 是否存在托盘号
594
- downHasLpn(){
595
- return !!this.downData.lpn
596
- },
597
- // 下架 - 是否存在箱号
598
- downHasBox(){
599
- return !!this.downData.box
600
- },
601
-
602
- // 上架数据
603
- upData(){
604
- return this.up.data[this.up.index] || {}
605
- }
606
- },
607
- methods: {
608
-
609
- // 数据检查
610
- inputCheck(key, nullMsg, checkVal, errorMsg){
611
- const val = this.down[key].value
612
-
613
- if (!val){
614
- this.down[key].focus = true
615
- this.$lwShowErrorMsg(nullMsg)
616
- return false
617
- }
618
-
619
- if (checkVal && val !== checkVal){
620
- this.down[key].focus = true
621
- this.$lwShowErrorMsg(errorMsg)
622
- this.down[key].value = ''
623
- return false
624
- }
625
-
626
- return true
627
- },
628
- // 任务切换前的校验
629
- cutStart(data){
630
- return new Promise((res,err)=>{
631
- if (data){
632
- this.$lwDialog.confirm({
633
- title: this.$lwLanguage.get('','提示'),
634
- message: this.$lwLanguage.get('','切换后当前输入内容将被清空')
635
- }).then(()=>res()).catch(()=>err())
636
- }else {
637
- res()
638
- }
639
- })
640
- },
641
-
642
- // 下架 - 库位确认
643
- downLocConfirm(){
644
- if (this.downLocCheck()){
645
- if (this.downHasLpn){
646
- this.down.lpn.focus = true
647
- return
648
- }
649
- this.down.num.focus = true
650
- }
651
- },
652
- // 下架 - 库位检查
653
- downLocCheck(){
654
- return this.inputCheck(
655
- 'loc',
656
- this.$lwLanguage.get('','请确认库位'),
657
- this.downData.locationCode,
658
- this.$lwLanguage.get('','当前库位与任务库位不一致')
659
- )
660
- },
661
-
662
- // 下架 - 托盘号确认
663
- downLpnConfirm(){
664
- if (this.downLpnCheck()) this.down.num.focus = true
665
- },
666
- // 下架 - 托盘校验
667
- downLpnCheck(){
668
- if (!this.downHasLpn) return true
669
- return this.inputCheck(
670
- 'lpn',
671
- this.$lwLanguage.get('','请确认托盘号'),
672
- this.downData.lpn,
673
- this.$lwLanguage.get('','当前托盘号与任务托盘号不一致')
674
- )
675
- },
676
-
677
- // 下架 - 物料编码确认
678
- downSkuConfirm(){
679
- if(this.downSkuCheck()) this.down.num.focus = true
680
- },
681
- // 下架 - 物料编码检查
682
- downSkuCheck(){
683
- return this.inputCheck(
684
- 'sku',
685
- this.$lwLanguage.get('','物料编码不能为空'),
686
- this.downData.skuCode,
687
- this.$lwLanguage.get('','当前物料编码与任务物料编码不一致'),
688
- )
689
- },
690
-
691
- // 下架 - 备料数量
692
- downNumConfirm(){
693
- if (this.downNumCheck()) this.down.toLpn.focus = ''
694
- },
695
- // 下架 - 备料数量检查
696
- downNumCheck(){
697
- const num = Number(this.down.num.value || 0)
698
-
699
- if (!num){
700
- this.down.num.focus = true
701
- this.$lwShowErrorMsg(
702
- this.$lwLanguage.get('','备料数量不能为空,且应当是大于0的整数')
703
- )
704
- return false
705
- }
706
-
707
- if(num > this.downData.qty){
708
- this.down.num.focus = true
709
- this.$lwShowErrorMsg(
710
- this.$lwLanguage.get('','备料数量不能大于待备量')
711
- )
712
- this.down.num.value = ''
713
- return false
714
- }
715
-
716
- return true
717
- },
718
-
719
- // 下架 - 目标托盘确认
720
- downToLpnConfirm(){
721
- if (this.downToLpnCheck()) this.confirmDown()
722
- },
723
- // 下架 - 目标托盘校验
724
- downToLpnCheck(){
725
- return this.inputCheck(
726
- 'toLpn',
727
- this.$lwLanguage.get('','目标托盘不能为空')
728
- )
729
- },
730
-
731
- // 下架 - 确认备料下架
732
- confirmDown(){
733
- // 校验必填项
734
- if (
735
- !(
736
- this.downLocCheck() &&
737
- this.downLpnCheck() &&
738
- this.downSkuCheck() &&
739
- this.downNumCheck() &&
740
- this.downToLpnCheck()
741
- )
742
- ) return
743
-
744
- console.log('备件下架确认')
745
- },
746
-
747
- // 任务切换前
748
- downCutStart(){
749
- const down = this.down
750
- const data = down.loc.value ||
751
- down.lpn.value ||
752
- down.sku.value ||
753
- Number(down.num.value || 0) ||
754
- down.toLpn.value
755
-
756
- return this.cutStart(data)
757
- },
758
- // 任务切换后
759
- downCutEnd(){
760
- const down = this.down
761
- down.loc.value = ''
762
- down.lpn.value = ''
763
- down.sku.value = ''
764
- down.num.value = ''
765
- down.toLpn.value = ''
766
- down.loc.focus = true
767
- },
768
-
769
- // 下架异常
770
- downAbnClick(){
771
- this.abnDown.showCom = true
772
- this.abnDown.show = true
773
- },
774
- // 下架 - 确认异常上报
775
- confirmAbn(){
776
- const {success, data} = this.$refs.abnInput.getAbnormalInputData()
777
-
778
- if(!success) return
779
-
780
- console.log(data)
781
- },
782
-
783
- // 上架 - 任务切换前
784
- upCutStart(){
785
- return this.cutStart(!!this.up.loc.value)
786
- },
787
- // 上架 - 任务切换后
788
- upCutEnd(){
789
- this.up.loc.value = ''
790
- this.up.loc.focus = true
791
- },
792
-
793
- // 确认上架
794
- confirmUp(){
795
-
796
- if (!this.up.loc.value){
797
- this.up.loc.focus = true
798
- this.$lwShowErrorMsg(
799
- this.$lwLanguage.get('','请确认目标库位')
800
- )
801
- return
802
- }
803
-
804
- if (this.upData.locationCode === this.up.loc.value){
805
- this.confirmUpAction()
806
- return
807
- }
808
-
809
- this.$lwDialog.confirm({
810
- title: this.$lwLanguage.get('','提示'),
811
- message: this.$lwLanguage.get('','目标库位不是推荐库位,确认上架?'),
812
- msgList: [
813
- {
814
- key:this.$lwLanguage.get('','推荐上架库位'),
815
- value: this.upData.locationCode
816
- },
817
- {
818
- key:this.$lwLanguage.get('','目标库位'),
819
- value: this.up.loc.value
820
- },
821
- ]
822
- }).then(()=>{
823
- this.confirmUpAction()
824
- }).catch(()=>{
825
- this.up.loc.value = ''
826
- this.up.loc.focus = true
827
- })
828
-
829
- },
830
- // 确认上架 - 提交后台
831
- confirmUpAction(){
832
- console.log('上架提交')
833
- }
834
-
835
- }
836
- }
837
- </script>
838
-
839
- <style scoped lang="less">
840
-
841
- </style>
1
+ <!--
2
+ 加工 - 备料
3
+ @author: 张文
4
+ @date: 2022-08-10
5
+ -->
6
+ <template>
7
+ <div>
8
+
9
+ <lw-nav-bar :title="$lwLanguage.get('','加工 - 备料')"/>
10
+
11
+ <div class="lw-global-page-box">
12
+
13
+ <!-- 数据看板 -->
14
+ <template>
15
+ <div class="lw-global-model-top-radius">
16
+ <lw-title-value-cell
17
+ :title="$lwLanguage.get('','加工线')"
18
+ :value="task.workTableCode"
19
+ val-bold
20
+ is-row-start/>
21
+ <!-- 时间统计 -->
22
+ <div class="lw-global-row-end">
23
+ <span class="lw-global-value-bold">{{ $lwDate.format(task.createTime, 'MM-dd hh:mm') }}</span>
24
+ <span class="lw-global-value-bold-red" style="display: inline-block;margin-left: 10px">
25
+ {{ $lwLanguage.get('', '已过') }}
26
+ {{
27
+ $lwDate.timeToStr({
28
+ l: $lwDate.format(task.createTime, 'yyyy-MM-dd hh:mm:ss'),
29
+ n: $lwTimezone.getTimezoneDate({ format: 'yyyy-MM-dd hh:mm:ss' }),
30
+ minType: 'min'
31
+ }).text
32
+ }}
33
+ </span>
34
+ </div>
35
+ </div>
36
+ <lw-data-look-bg
37
+ type="bottom"
38
+ :data="lookData"/>
39
+ </template>
40
+
41
+ <!-- tab -->
42
+ <div style="margin-top: 10px" class="lw-global-tab-box">
43
+ <van-tabs
44
+ type="card"
45
+ animated
46
+ v-model="tabActive">
47
+ <van-tab name="down" :title="$lwLanguage.get('','备料下架')">
48
+ <div v-if="down.data.length" class="lw-global-model-box">
49
+
50
+ <!-- 备件信息 -->
51
+ <lw-sku-info-module
52
+ :sku-code="downData.skuCode"
53
+ :sku-name="downData.skuName"
54
+ :qty="downData.toDownQty"
55
+ :qty-text="$lwLanguage.get('','待备量')"/>
56
+
57
+ <!-- 标签 -->
58
+ <div class="lw-global-row">
59
+ <lw-tag v-if="task.skuFastMove" round plain>快移</lw-tag>
60
+ <lw-tag v-if="task.skuUrgency" round plain>BO</lw-tag>
61
+ <lw-tag v-if="task.skuSizeType" round plain>{{ $lwDict.getDictLabel('size_type_choice', task.skuSizeType) }}</lw-tag>
62
+ </div>
63
+
64
+ <!-- 扩展字段 -->
65
+ <div class="lw-global-row">
66
+ <lw-lot-look-module
67
+ :columns="downData.lot.items"
68
+ :show-row="false"
69
+ title-key="displayName"
70
+ value-key="formatValue"/>
71
+ </div>
72
+
73
+ <!-- 库位 -->
74
+ <lw-title-value-cell
75
+ :title="$lwLanguage.get('','库位')"
76
+ :value="downData.fromLocCode"
77
+ val-bold/>
78
+
79
+ <!-- 托盘号 -->
80
+ <lw-title-value-cell
81
+ v-if="downHasLpn"
82
+ :title="$lwLanguage.get('','托盘号')"
83
+ :value="downData.fromLpn"
84
+ val-bold/>
85
+
86
+ <!-- 箱号 -->
87
+ <lw-title-value-cell
88
+ v-if="downHasBox"
89
+ :title="$lwLanguage.get('','箱号')"
90
+ :value="downData.fromCaseNum"
91
+ val-bold/>
92
+
93
+ <!-- 确认库位 -->
94
+ <lw-input
95
+ :title="$lwLanguage.get('','确认库位')"
96
+ v-model="down.loc.value"
97
+ :get-focus.sync="down.loc.focus"
98
+ rule-key="downLoc"
99
+ required
100
+ @confirm="downLocConfirm"/>
101
+
102
+ <!-- 确认托盘号 -->
103
+ <lw-input
104
+ v-if="downHasLpn"
105
+ :title="$lwLanguage.get('','确认托盘号')"
106
+ v-model="down.lpn.value"
107
+ :get-focus.sync="down.lpn.focus"
108
+ rule-key="lpn"
109
+ required
110
+ @confirm="downLpnConfirm"/>
111
+
112
+ <!-- 物料编码 -->
113
+ <lw-input
114
+ :title="$lwLanguage.get('','原料编码')"
115
+ v-model="down.sku.value"
116
+ :get-focus.sync="down.sku.focus"
117
+ rule-key="sku"
118
+ required
119
+ @confirm="downSkuConfirm"/>
120
+
121
+ <!-- 备料数量 -->
122
+ <lw-input
123
+ :title="$lwLanguage.get('','备料数量')"
124
+ v-model="down.num.value"
125
+ :get-focus.sync="down.num.focus"
126
+ type="digit"
127
+ required
128
+ @confirm="downNumConfirm"/>
129
+
130
+ <!-- 目标托盘号 -->
131
+ <lw-input
132
+ :title="$lwLanguage.get('','目标托盘号')"
133
+ v-model="down.toLpn.value"
134
+ :get-focus.sync="down.toLpn.focus"
135
+ rule-key="toLpn"
136
+ required
137
+ @confirm="downToLpnConfirm"/>
138
+
139
+ <!-- 任务切换 -->
140
+ <lw-cut-card
141
+ v-model="down.index"
142
+ :length="down.data.length"
143
+ :cut-start="downCutStart"
144
+ :cut-end="downCutEnd"/>
145
+
146
+ </div>
147
+ <lw-not-data v-else/>
148
+ </van-tab>
149
+
150
+
151
+ <van-tab
152
+ name="up"
153
+ :title="$lwLanguage.get('','备料上架')">
154
+
155
+ <div v-if="up.data.length" class="lw-global-model-box">
156
+
157
+ <div
158
+ style="font-size: 16px"
159
+ class="lw-global-row-start lw-global-value-bold-red">{{ upData.lpn }}
160
+ </div>
161
+
162
+ <div
163
+ class="lw-global-row"
164
+ v-for="(i,k) in upData.skuList"
165
+ :key="k">
166
+ <lw-sku-info-module
167
+ style="margin-bottom: 5px"
168
+ :sku-code="i.skuCode"
169
+ :sku-name="i.skuName"
170
+ :qty="i.toUpQty"
171
+ :qty-text="$lwLanguage.get('','待上架')"/>
172
+
173
+ <lw-lot-look-module
174
+ :columns="i.lot.items"
175
+ :show-row="false"
176
+ title-key="displayName"
177
+ value-key="formatValue"/>
178
+
179
+ </div>
180
+
181
+ <lw-title-value-cell
182
+ :title="$lwLanguage.get('','推荐上架库位')"
183
+ :value="task.recommendPutLocCode"
184
+ val-red
185
+ val-bold
186
+ val-size="16px"/>
187
+
188
+ <lw-input
189
+ :title="$lwLanguage.get('','确认目标库位')"
190
+ v-model="up.loc.value"
191
+ :get-focus.sync="up.loc.focus"
192
+ required
193
+ rule-key="upLoc"
194
+ @confirm="confirmUp"/>
195
+
196
+ <lw-cut-card
197
+ v-model="up.index"
198
+ :length="up.data.length"
199
+ :cut-start="upCutStart"
200
+ :cut-end="upCutEnd"/>
201
+
202
+ </div>
203
+ <lw-not-data v-else/>
204
+
205
+ </van-tab>
206
+ </van-tabs>
207
+ </div>
208
+
209
+ </div>
210
+
211
+ <lw-bottom-bar v-if="tabActive === 'down' && down.data.length">
212
+
213
+ <lw-button
214
+ type="last"
215
+ plain
216
+ @click="downAbnClick">{{ $lwLanguage.get('', '下架异常') }}
217
+ </lw-button>
218
+
219
+ <lw-button @click="confirmDown">
220
+ {{ $lwLanguage.get('', '备料下架') }}
221
+ </lw-button>
222
+
223
+ </lw-bottom-bar>
224
+
225
+ <lw-bottom-bar v-if="tabActive === 'up' && up.data.length">
226
+
227
+ <lw-button @click="confirmUp">
228
+ {{ $lwLanguage.get('', '备料上架') }}
229
+ </lw-button>
230
+
231
+ </lw-bottom-bar>
232
+
233
+
234
+ <!-- 异常 -->
235
+ <lw-popup
236
+ v-model="abnDown.show"
237
+ :title="$lwLanguage.get('','备件异常上报')"
238
+ background="#f0f0f0"
239
+ @closed="abnDown.showCom=false">
240
+
241
+ <template v-if="abnDown.showCom">
242
+
243
+ <!-- 基础信息 -->
244
+ <div class="lw-global-model-box">
245
+ <lw-title-value-cell
246
+ :title="$lwLanguage.get('','加工台')"
247
+ :value="task.workTableCode"
248
+ text-align="right"
249
+ is-row-start/>
250
+
251
+ <lw-title-value-cell
252
+ :title="$lwLanguage.get('','备料任务号')"
253
+ :value="downData.taskNo"
254
+ text-align="right"/>
255
+
256
+ <div class="lw-global-row lw-global-flex-between">
257
+
258
+ <div
259
+ style="flex-shrink: 0"
260
+ class="lw-global-title">
261
+ {{ $lwLanguage.get('', '物料') }}
262
+ </div>
263
+
264
+ <lw-sku-info-module
265
+ :sku-name="downData.skuName"
266
+ :sku-code="downData.skuCode"
267
+ :show-right="false"/>
268
+
269
+ </div>
270
+
271
+ <lw-title-value-cell
272
+ :title="$lwLanguage.get('','货主')"
273
+ :value="(downData.ownerCode || '-') + ' / ' +(downData.ownerName || '-')"
274
+ text-align="right"/>
275
+
276
+ <lw-title-value-cell
277
+ :title="$lwLanguage.get('','待备量')"
278
+ :value="downData.qty"
279
+ text-align="right"
280
+ val-bold
281
+ val-red/>
282
+
283
+ <lw-title-value-cell
284
+ :title="$lwLanguage.get('','下架库位')"
285
+ :value="downData.fromLocCode"
286
+ text-align="right"/>
287
+
288
+ <lw-title-value-cell
289
+ :title="$lwLanguage.get('','托盘号')"
290
+ :value="downData.fromLpn || '-'"
291
+ text-align="right"/>
292
+ </div>
293
+
294
+ <!-- 批次信息 -->
295
+ <div class="lw-global-model-box lw-global-collapse-box">
296
+ <van-collapse
297
+ v-model="abnDown.collapseAction"
298
+ :border="false">
299
+ <van-collapse-item
300
+ name="1"
301
+ :title="$lwLanguage.get('','批次信息')">
302
+ <lw-lot-look-module
303
+ :columns="downData.lot.items"
304
+ title-key="displayName"
305
+ value-key="formatValue"/>
306
+ </van-collapse-item>
307
+ </van-collapse>
308
+ </div>
309
+
310
+ <!-- 异常输入框 -->
311
+ <lw-abnormal-input-module
312
+ class="lw-global-model-box"
313
+ ref="abnInput"
314
+ :type="$lwLanguage.get('','加工')"
315
+ :ab-type="$lwLanguage.get('','备料')"
316
+ :abn-type-key="['QTY', 'QUALITY']"
317
+ :qty="downData.qty"/>
318
+
319
+ </template>
320
+ <template #button>
321
+ <lw-button @click="confirmAbn">
322
+ {{ $lwLanguage.get('', '上报') }}
323
+ </lw-button>
324
+ </template>
325
+ </lw-popup>
326
+
327
+ </div>
328
+ </template>
329
+
330
+ <script>
331
+ import * as api from '../../../../api/process/order'
332
+
333
+ export default {
334
+ name: 'lwProcessPrepareIndexPage',
335
+ data () {
336
+ return {
337
+ // 数据看板
338
+ lookData: {
339
+ plan: {
340
+ title: this.$lwLanguage.get('', '计划量'),
341
+ value: 0
342
+ },
343
+ over: {
344
+ title: this.$lwLanguage.get('', '已备量'),
345
+ value: 0
346
+ },
347
+ wait: {
348
+ title: this.$lwLanguage.get('', '待备量'),
349
+ value: 0
350
+ },
351
+ abn: {
352
+ title: this.$lwLanguage.get('', '异常量'),
353
+ value: 0,
354
+ color: 'yellow'
355
+ },
356
+ },
357
+
358
+ task: {},
359
+
360
+ // tab激活项
361
+ tabActive: '',
362
+
363
+ // 备料下架
364
+ down: {
365
+ // 当前索引
366
+ index: 0,
367
+ // 下架数据
368
+ data: [],
369
+ // 确认库位
370
+ loc: {
371
+ value: '',
372
+ focus: false
373
+ },
374
+ // 确认托盘号
375
+ lpn: {
376
+ value: '',
377
+ focus: false
378
+ },
379
+ // 物料编码
380
+ sku: {
381
+ value: '',
382
+ focus: false
383
+ },
384
+ // 备料数量
385
+ num: {
386
+ value: '',
387
+ focus: false
388
+ },
389
+ // 目标托盘
390
+ toLpn: {
391
+ value: '',
392
+ focus: false
393
+ }
394
+ },
395
+
396
+ // 备料上架
397
+ up: {
398
+ index: 0,
399
+ data: [],
400
+ loc: {
401
+ value: '',
402
+ focus: false
403
+ }
404
+ },
405
+
406
+ // 异常弹框
407
+ abnDown: {
408
+ show: false,
409
+ showCom: false,
410
+ collapseAction: []
411
+ }
412
+ }
413
+ },
414
+ computed: {
415
+ // 下架数据
416
+ downData () {
417
+ return this.down.data[this.down.index] || {}
418
+ },
419
+ // 下架 - 是否存在托盘号
420
+ downHasLpn () {
421
+ return !!this.downData.fromLpn
422
+ },
423
+ // 下架 - 是否存在箱号
424
+ downHasBox () {
425
+ return !!this.downData.fromCaseNum
426
+ },
427
+
428
+ // 上架数据
429
+ upData () {
430
+ return this.up.data[this.up.index] || {}
431
+ }
432
+ },
433
+ created () {
434
+ const { lwTaskId } = this.$route.query
435
+ if (!lwTaskId) {
436
+ this.$lwShowErrorMsg('需要指定任务')
437
+ return
438
+ }
439
+ this.loadTask(lwTaskId)
440
+ },
441
+ methods: {
442
+ async loadTask (taskId) {
443
+ const task = await api.getPrepareMaterialTaskByTaskId(taskId)
444
+ this.initTaskData(task)
445
+ },
446
+
447
+ initTaskData (task) {
448
+ for (const i of task.materialLines) {
449
+ i.toDownQty = i.qty - i.abnormalQty
450
+ i.toUpQty = i.pickQty - i.prepareQty
451
+ }
452
+
453
+ this.task = task
454
+
455
+ this.down.data = task.materialLines.filter(i => i.prepareStatus === '400')
456
+ const toUps = task.materialLines.filter(i => i.prepareStatus === '500')
457
+ if (!toUps.length) {
458
+ this.up.data = []
459
+ }
460
+ const groups = toUps.reduce((m, i) => {
461
+ const key = i.currentLpn
462
+ if (!m[key]) {
463
+ m[key] = {
464
+ workOrderId: i.workOrderId,
465
+ taskId: i.taskId,
466
+ locationCode: i.currentLocCode,
467
+ lpn: i.currentLpn,
468
+ skuList: []
469
+ }
470
+ }
471
+ m[key].skuList.push(i)
472
+ return m
473
+ }, {})
474
+ this.up.data = Object.values(groups)
475
+
476
+ this.lookData.plan.value = task.qty - task.cancelQty
477
+ this.lookData.over.value = task.prepareQty
478
+ this.lookData.wait.value = task.qty - task.cancelQty - task.abnormalQty - task.prepareQty
479
+ this.lookData.abn.value = task.abnormalQty
480
+
481
+ if (this.down.data.length) {
482
+ this.tabActive = 'down'
483
+ this.down.loc.focus = true
484
+ } else if (this.up.data.length) {
485
+ this.tabActive = 'up'
486
+ this.up.loc.focus = true
487
+ } else {
488
+ this.$router.back()
489
+ }
490
+ },
491
+
492
+ // 数据检查
493
+ inputCheck (key, nullMsg, checkVal, errorMsg) {
494
+ const val = this.down[key].value
495
+
496
+ if (!val) {
497
+ this.down[key].focus = true
498
+ this.$lwShowErrorMsg(nullMsg)
499
+ return false
500
+ }
501
+
502
+ if (checkVal && val !== checkVal) {
503
+ this.down[key].focus = true
504
+ this.$lwShowErrorMsg(errorMsg)
505
+ this.down[key].value = ''
506
+ return false
507
+ }
508
+
509
+ return true
510
+ },
511
+ // 任务切换前的校验
512
+ cutStart (data) {
513
+ return new Promise((res, err) => {
514
+ if (data) {
515
+ this.$lwDialog.confirm({
516
+ title: this.$lwLanguage.get('', '提示'),
517
+ message: this.$lwLanguage.get('', '切换后当前输入内容将被清空')
518
+ }).then(() => res()).catch(() => err())
519
+ } else {
520
+ res()
521
+ }
522
+ })
523
+ },
524
+
525
+ // 下架 - 库位确认
526
+ downLocConfirm () {
527
+ if (this.downLocCheck()) {
528
+ if (this.downHasLpn) {
529
+ this.down.lpn.focus = true
530
+ return
531
+ }
532
+ this.down.sku.focus = true
533
+ }
534
+ },
535
+ // 下架 - 库位检查
536
+ downLocCheck () {
537
+ return this.inputCheck(
538
+ 'loc',
539
+ this.$lwLanguage.get('', '请确认库位'),
540
+ this.downData.fromLocCode,
541
+ this.$lwLanguage.get('', '当前库位与任务库位不一致')
542
+ )
543
+ },
544
+
545
+ // 下架 - 托盘号确认
546
+ downLpnConfirm () {
547
+ if (this.downLpnCheck()) this.down.sku.focus = true
548
+ },
549
+ // 下架 - 托盘校验
550
+ downLpnCheck () {
551
+ if (!this.downHasLpn) return true
552
+ return this.inputCheck(
553
+ 'lpn',
554
+ this.$lwLanguage.get('', '请确认托盘号'),
555
+ this.downData.fromLpn,
556
+ this.$lwLanguage.get('', '当前托盘号与任务托盘号不一致')
557
+ )
558
+ },
559
+
560
+ // 下架 - 物料编码确认
561
+ downSkuConfirm () {
562
+ if (this.downSkuCheck()) this.down.num.focus = true
563
+ },
564
+ // 下架 - 物料编码检查
565
+ downSkuCheck () {
566
+ return this.inputCheck(
567
+ 'sku',
568
+ this.$lwLanguage.get('', '物料编码不能为空'),
569
+ this.downData.skuCode,
570
+ this.$lwLanguage.get('', '当前物料编码与任务物料编码不一致'),
571
+ )
572
+ },
573
+
574
+ // 下架 - 备料数量
575
+ downNumConfirm () {
576
+ if (this.downNumCheck()) this.down.toLpn.focus = ''
577
+ },
578
+ // 下架 - 备料数量检查
579
+ downNumCheck () {
580
+ const num = Number(this.down.num.value || 0)
581
+
582
+ if (!num) {
583
+ this.down.num.focus = true
584
+ this.$lwShowErrorMsg(
585
+ this.$lwLanguage.get('', '备料数量不能为空,且应当是大于0的整数')
586
+ )
587
+ return false
588
+ }
589
+
590
+ if (num > this.downData.qty) {
591
+ this.down.num.focus = true
592
+ this.$lwShowErrorMsg(
593
+ this.$lwLanguage.get('', '备料数量不能大于待备量')
594
+ )
595
+ this.down.num.value = ''
596
+ return false
597
+ }
598
+
599
+ return true
600
+ },
601
+
602
+ // 下架 - 目标托盘确认
603
+ downToLpnConfirm () {
604
+ if (this.downToLpnCheck()) this.confirmDown()
605
+ },
606
+ // 下架 - 目标托盘校验
607
+ downToLpnCheck () {
608
+ return this.inputCheck(
609
+ 'toLpn',
610
+ this.$lwLanguage.get('', '目标托盘不能为空')
611
+ )
612
+ },
613
+
614
+ // 下架 - 确认备料下架
615
+ confirmDown () {
616
+ // 校验必填项
617
+ if (
618
+ !(
619
+ this.downLocCheck() &&
620
+ this.downLpnCheck() &&
621
+ this.downSkuCheck() &&
622
+ this.downNumCheck() &&
623
+ this.downToLpnCheck()
624
+ )
625
+ ) return
626
+
627
+ const param = {
628
+ "workOrderId": this.downData.workOrderId,
629
+ "materialLineId": this.downData.id,
630
+ "locCode": this.down.loc.value,
631
+ "lpn": this.down.toLpn.value,
632
+ "qty": this.down.num.value
633
+ }
634
+ api.doPrepareMaterialDown(param).then(res => {
635
+ this.down.loc.value = ''
636
+ this.down.lpn.value = ''
637
+ this.down.sku.value = ''
638
+ this.down.num.value = ''
639
+ this.down.toLpn.value = ''
640
+ this.initTaskData(res)
641
+ })
642
+ },
643
+
644
+ // 任务切换前
645
+ downCutStart () {
646
+ const down = this.down
647
+ const data = down.loc.value ||
648
+ down.lpn.value ||
649
+ down.sku.value ||
650
+ Number(down.num.value || 0) ||
651
+ down.toLpn.value
652
+
653
+ return this.cutStart(data)
654
+ },
655
+ // 任务切换后
656
+ downCutEnd () {
657
+ const down = this.down
658
+ down.loc.value = ''
659
+ down.lpn.value = ''
660
+ down.sku.value = ''
661
+ down.num.value = ''
662
+ down.toLpn.value = ''
663
+ down.loc.focus = true
664
+ },
665
+
666
+ // 下架异常
667
+ downAbnClick () {
668
+ this.abnDown.showCom = true
669
+ this.abnDown.show = true
670
+ },
671
+ // 下架 - 确认异常上报
672
+ confirmAbn () {
673
+ const { success, data } = this.$refs.abnInput.getAbnormalInputData()
674
+ if (!success) return
675
+
676
+ const param = {
677
+ warehouseId: this.downData.warehouseId,
678
+ workOrderId: this.downData.workOrderId,
679
+ taskId: this.downData.taskId,
680
+ materialLineId: this.downData.id,
681
+ type: data.abnType,
682
+ subType: data.abnSubType,
683
+ images: data.abnImg,
684
+ abnormalLocationCode: data.abnLocationCode,
685
+ abnormalLpn: data.abnLpn,
686
+ qty: data.abnQty,
687
+ remark: data.abnRemark,
688
+ }
689
+
690
+ api.doPrepareMaterialDownAbnormal(param).then(res => {
691
+ this.abnDown.showCom = false
692
+ this.abnDown.show = false
693
+
694
+ this.initTaskData(res)
695
+ })
696
+ },
697
+
698
+ // 上架 - 任务切换前
699
+ upCutStart () {
700
+ return this.cutStart(!!this.up.loc.value)
701
+ },
702
+ // 上架 - 任务切换后
703
+ upCutEnd () {
704
+ this.up.loc.value = ''
705
+ this.up.loc.focus = true
706
+ },
707
+
708
+ // 确认上架
709
+ confirmUp () {
710
+
711
+ if (!this.up.loc.value) {
712
+ this.up.loc.focus = true
713
+ this.$lwShowErrorMsg(
714
+ this.$lwLanguage.get('', '请确认目标库位')
715
+ )
716
+ return
717
+ }
718
+
719
+ if (this.task.recommendPutLocCode === this.up.loc.value) {
720
+ this.confirmUpAction()
721
+ return
722
+ }
723
+
724
+ this.$lwDialog.confirm({
725
+ title: this.$lwLanguage.get('', '提示'),
726
+ message: this.$lwLanguage.get('', '目标库位不是推荐库位,确认上架?'),
727
+ msgList: [
728
+ {
729
+ key: this.$lwLanguage.get('', '推荐上架库位'),
730
+ value: this.task.recommendPutLocCode
731
+ },
732
+ {
733
+ key: this.$lwLanguage.get('', '目标库位'),
734
+ value: this.up.loc.value
735
+ },
736
+ ]
737
+ }).then(() => {
738
+ this.confirmUpAction()
739
+ }).catch(() => {
740
+ this.up.loc.value = ''
741
+ this.up.loc.focus = true
742
+ })
743
+
744
+ },
745
+ // 确认上架 - 提交后台
746
+ confirmUpAction () {
747
+ const param = {
748
+ "workOrderId": this.upData.workOrderId,
749
+ "taskId": this.upData.taskId,
750
+ "materialLineIds": this.upData.skuList.map(i => i.id),
751
+ "lpn": this.upData.lpn,
752
+ "toLocCode": this.up.loc.value,
753
+ }
754
+ api.doPrepareMaterialUp(param).then(res => {
755
+ this.up.loc.value = ''
756
+ this.$lwDialog.alert({
757
+ title: '完成',
758
+ message: '上架完成',
759
+ })
760
+ this.initTaskData(res)
761
+ })
762
+ }
763
+
764
+ }
765
+ }
766
+ </script>
767
+
768
+ <style scoped lang="less">
769
+
770
+ </style>