@logwire/logwire-wms-pda-ui 1.1.17 → 1.2.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 (753) hide show
  1. package/README.md +4 -21
  2. package/dist/logwire-wms-pda-ui.js +7 -0
  3. package/package.json +16 -42
  4. package/src/api/common/Device.js +43 -43
  5. package/src/api/common/Dict.js +19 -19
  6. package/src/api/common/GetImgSrc.js +20 -20
  7. package/src/api/common/Language.js +31 -31
  8. package/src/api/common/Lot.js +20 -20
  9. package/src/api/common/Msg.js +8 -0
  10. package/src/api/common/Permissions.js +22 -22
  11. package/src/api/common/Print.js +65 -65
  12. package/src/api/common/Task.js +61 -61
  13. package/src/api/common/UUID.js +28 -28
  14. package/src/api/common/User.js +53 -53
  15. package/src/api/common/Waerhouse.js +28 -28
  16. package/src/api/common/common.js +16 -1
  17. package/src/api/common/index.js +37 -37
  18. package/src/api/config/masterLocation/masterLocationConfig/action.js +61 -0
  19. package/src/api/config/masterLocation/masterLocationConfig/index.js +18 -0
  20. package/src/api/config/masterLocation/masterLocationQuery/action.js +28 -0
  21. package/src/api/{inner → config}/newProject/action.js +88 -88
  22. package/src/api/{inner → config}/newProject/index.js +17 -17
  23. package/src/api/inbound/index.js +6 -6
  24. package/src/api/inbound/quality.js +109 -99
  25. package/src/api/inbound/receive.js +438 -119
  26. package/src/api/inner/borrow/index.js +51 -0
  27. package/src/api/inner/count/index.js +97 -97
  28. package/src/api/inner/dead/action.js +24 -0
  29. package/src/api/inner/dead/large.js +78 -0
  30. package/src/api/inner/dead/small.js +96 -0
  31. package/src/api/inner/disposeAbnormal/action.js +69 -69
  32. package/src/api/inner/disposeAbnormal/index.js +33 -33
  33. package/src/api/inner/materialApply/index.js +51 -51
  34. package/src/api/inner/move/abnormalMove.js +25 -25
  35. package/src/api/inner/move/lpnMove.js +25 -25
  36. package/src/api/inner/move/taskMove.js +57 -57
  37. package/src/api/inner/quality/action.js +51 -0
  38. package/src/api/inner/quality/sample.js +24 -0
  39. package/src/api/inner/reportAbnormal/index.js +34 -34
  40. package/src/api/inventory/inventory.js +63 -0
  41. package/src/api/outbound/bale/aloneBale/action.js +123 -0
  42. package/src/api/outbound/bale/aloneBale/index.js +24 -0
  43. package/src/api/outbound/bale/baleChange/action.js +51 -0
  44. package/src/api/outbound/bale/baleChange/addCheck.js +33 -0
  45. package/src/api/outbound/bale/checkBale/action.js +9 -0
  46. package/src/api/outbound/bale/checkBale/allCheck.js +25 -25
  47. package/src/api/outbound/bale/checkBale/index.js +2 -2
  48. package/src/api/outbound/block/index.js +68 -0
  49. package/src/api/outbound/delivery/action.js +181 -149
  50. package/src/api/outbound/delivery/addOrder.js +32 -32
  51. package/src/api/outbound/delivery/index.js +25 -25
  52. package/src/api/outbound/handover/index.js +33 -0
  53. package/src/api/outbound/handover/lpn.js +33 -0
  54. package/src/api/outbound/handover/mixin.js +42 -0
  55. package/src/api/outbound/handover/pageBox.js +24 -0
  56. package/src/api/outbound/pick/alone.js +60 -60
  57. package/src/api/outbound/pick/box.js +42 -42
  58. package/src/api/outbound/pick/index.js +68 -60
  59. package/src/api/outbound/pick/lpn.js +42 -42
  60. package/src/api/outbound/pick/notAlone.js +33 -33
  61. package/src/api/outbound/pick/sow.js +105 -0
  62. package/src/api/outbound/pickMerge/index.js +69 -69
  63. package/src/api/outbound/reprint-box/index.js +17 -0
  64. package/src/api/outbound/sow/action.js +123 -123
  65. package/src/api/outbound/sow/index.js +24 -24
  66. package/src/api/outbound/stockout/index.js +54 -0
  67. package/src/api/outbound/summary/box.js +33 -33
  68. package/src/api/outbound/summary/lpn.js +23 -23
  69. package/src/api/outbound/transfer/index.js +23 -0
  70. package/src/api/receive/abnormal.js +34 -34
  71. package/src/api/receive/putaway.js +116 -82
  72. package/src/api/receive/randomMove.js +43 -43
  73. package/src/api/receive/receipt.js +32 -25
  74. package/src/assets/css/changeVant.less +7 -0
  75. package/src/assets/css/global.less +27 -10
  76. package/src/assets/css/index.less +4 -4
  77. package/src/assets/css/var.less +11 -29
  78. package/src/assets/css//345/205/250/345/261/200/346/240/267/345/274/217.md +1 -31
  79. package/src/assets/img/close_red.png +0 -0
  80. package/src/assets/img/lwLoginModel/language.png +0 -0
  81. package/src/assets/img/lwLoginModel/timezone.png +0 -0
  82. package/src/assets/img/lwNotData/noneData.png +0 -0
  83. package/src/assets/img/menu/allotReceive.png +0 -0
  84. package/src/assets/img/menu/baleChange.png +0 -0
  85. package/src/assets/img/menu/borrowPick.png +0 -0
  86. package/src/assets/img/menu/boxTransfer.png +0 -0
  87. package/src/assets/img/menu/confirmStockOut.png +0 -0
  88. package/src/assets/img/menu/count.png +0 -0
  89. package/src/assets/img/menu/deadPutaway.png +0 -0
  90. package/src/assets/img/menu/disposeAbnormal.png +0 -0
  91. package/src/assets/img/menu/handover.png +0 -0
  92. package/src/assets/img/menu/lpnPack.png +0 -0
  93. package/src/assets/img/menu/mainData.png +0 -0
  94. package/src/assets/img/menu/mainLoc.png +0 -0
  95. package/src/assets/img/menu/mainLocSearch.png +0 -0
  96. package/src/assets/img/menu/moveUp.png +0 -0
  97. package/src/assets/img/menu/newConfig.png +0 -0
  98. package/src/assets/img/menu/outboundBlock.png +0 -0
  99. package/src/assets/img/menu/outboundReprint.png +0 -0
  100. package/src/assets/img/menu/pickContainer.png +0 -0
  101. package/src/assets/img/menu/process.png +0 -0
  102. package/src/assets/img/menu/processTable.png +0 -0
  103. package/src/assets/img/menu/quality.png +0 -0
  104. package/src/assets/img/menu/receive-case.png +0 -0
  105. package/src/assets/img/menu/receive-lpn.png +0 -0
  106. package/src/assets/img/menu/receive-sku.png +0 -0
  107. package/src/assets/img/menu/receive_random.png +0 -0
  108. package/src/assets/img/menu/stockSearch.png +0 -0
  109. package/src/assets/img/my/timezone.png +0 -0
  110. package/src/assets/img/timezone.png +0 -0
  111. package/src/components/module/AbnormalInput/index.js +11 -0
  112. package/src/components/module/AbnormalInput/index.vue +322 -0
  113. 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 -0
  114. package/src/components/module/BoxInfo/index.js +10 -0
  115. package/src/components/module/BoxInfo/index.vue +69 -0
  116. package/src/components/{page/inbound/newProject/action/index.less → module/BoxInfo//346/237/245/347/234/213/347/256/261/344/277/241/346/201/257.md} +0 -0
  117. package/src/components/module/InnerAbnormal/index.js +1 -1
  118. package/src/components/module/InnerAbnormal/index.vue +12 -259
  119. 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 -0
  120. package/src/components/module/Login/index.js +11 -11
  121. package/src/components/module/Login/index.vue +355 -328
  122. package/src/components/module/Login//347/231/273/345/275/225/346/250/241/345/235/227.md +1 -1
  123. package/src/components/module/Lot/index.js +11 -11
  124. package/src/components/module/Lot/index.vue +28 -4
  125. package/src/components/module/Lot//346/211/271/346/254/241/345/261/236/346/200/247.md +4 -2
  126. package/src/components/module/LotLook/index.js +11 -11
  127. package/src/components/module/LotLook/index.vue +36 -23
  128. package/src/components/module/LotLook//346/225/260/346/215/256/346/237/245/347/234/213.md +3 -0
  129. package/src/components/module/Menu/index.js +12 -12
  130. package/src/components/module/Menu/index.vue +122 -118
  131. package/src/components/module/Menu//350/217/234/345/215/225/346/240/217.md +1 -1
  132. package/src/components/module/MsgItem/index.js +11 -11
  133. package/src/components/module/MsgItem/index.vue +42 -27
  134. 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
  135. package/src/components/module/OnLine/index.js +11 -11
  136. package/src/components/module/OnLine/index.vue +1 -1
  137. 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
  138. package/src/components/module/ReceiveAbnormal/index.js +11 -11
  139. package/src/components/module/ReceiveAbnormal/index.vue +123 -32
  140. 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 -0
  141. package/src/components/module/ScanDataList/index.js +11 -11
  142. package/src/components/module/ScanDataList/index.vue +34 -27
  143. 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 -0
  144. package/src/components/module/SkuInfo/index.js +11 -11
  145. package/src/components/module/SkuInfo/index.vue +6 -3
  146. 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 -0
  147. package/src/components/module/SystemInfo/index.js +11 -11
  148. package/src/components/module/SystemInfo/index.vue +20 -10
  149. 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
  150. package/src/components/module/index.js +20 -14
  151. package/src/components/page/common/Device/index.js +11 -11
  152. package/src/components/page/common/Device/index.vue +2 -2
  153. package/src/components/page/common/Device//350/256/276/345/244/207/347/256/241/347/220/206/351/241/265.md +1 -1
  154. package/src/components/page/common/Home/index.js +11 -11
  155. package/src/components/page/common/Home/index.vue +113 -113
  156. package/src/components/page/common/Home//344/270/273/351/241/265.md +1 -1
  157. package/src/components/page/common/Language/index.js +11 -11
  158. package/src/components/page/common/Language/index.vue +143 -142
  159. package/src/components/page/common/Language//350/257/255/350/250/200.md +1 -1
  160. package/src/components/page/common/Login/index.js +11 -11
  161. package/src/components/page/common/Login/index.vue +155 -157
  162. package/src/components/page/common/Login//347/231/273/345/275/225/351/241/265.md +1 -1
  163. package/src/components/page/common/Menu/index.js +11 -11
  164. package/src/components/page/common/Menu/index.vue +77 -71
  165. package/src/components/page/common/Menu//350/217/234/345/215/225/351/241/265.md +1 -1
  166. package/src/components/page/common/Msg/index.js +11 -11
  167. package/src/components/page/common/Msg/index.vue +260 -152
  168. package/src/components/page/common/Msg//346/266/210/346/201/257/351/241/265.md +1 -1
  169. package/src/components/page/common/My/index.js +11 -11
  170. package/src/components/page/common/My/index.vue +520 -477
  171. package/src/components/page/common/My//346/210/221/347/232/204/347/256/241/347/220/206/351/241/265.md +1 -1
  172. package/src/components/page/common/Print/index.js +11 -11
  173. package/src/components/page/common/Print/index.vue +7 -10
  174. package/src/components/page/common/Print//346/211/223/345/215/260/346/234/272/350/256/276/347/275/256/351/241/265.md +1 -1
  175. package/src/components/page/common/Task/index.js +11 -11
  176. package/src/components/page/common/Task/index.vue +707 -699
  177. package/src/components/page/common/Task//344/273/273/345/212/241/351/241/265.md +1 -1
  178. package/src/components/page/common/Timezone/index.js +11 -0
  179. package/src/components/page/common/Timezone/index.vue +82 -0
  180. package/src/components/page/{inbound/newProject/index/index.less → common/Timezone//346/227/266/345/214/272/351/200/211/346/213/251/351/241/265.md} +0 -0
  181. package/src/components/page/common/Warehouse/index.js +11 -11
  182. package/src/components/page/common/Warehouse/index.vue +11 -3
  183. package/src/components/page/common/Warehouse//344/273/223/345/272/223/351/200/211/346/213/251/351/241/265.md +1 -1
  184. package/src/components/page/common/index.js +4 -1
  185. package/src/components/page/config/index.js +28 -0
  186. package/src/components/page/config/masterLocation/masterLocationConfig/action/index.js +11 -0
  187. package/src/components/page/{inbound/newProject//346/226/260/345/223/201/351/205/215/347/275/256.md → config/masterLocation/masterLocationConfig/action/index.less} +0 -0
  188. package/src/components/page/config/masterLocation/masterLocationConfig/action/index.vue +780 -0
  189. package/src/components/page/config/masterLocation/masterLocationConfig/index/index.js +11 -0
  190. package/src/components/page/{inner/lpnPutAway//344/270/212/346/236/266/347/247/273/345/212/250.md → config/masterLocation/masterLocationConfig/index/index.less} +0 -0
  191. package/src/components/page/config/masterLocation/masterLocationConfig/index/index.vue +112 -0
  192. package/src/components/page/{outbound/bale/components/mainPage//351/241/265/351/235/242/345/244/226/346/241/206/347/273/204/344/273/266.md → config/masterLocation/masterLocationConfig//344/270/273/345/272/223/344/275/215/351/205/215/347/275/256.md} +0 -0
  193. package/src/components/page/config/masterLocation/masterLocationQuery/action/index.js +18 -0
  194. package/src/components/page/config/masterLocation/masterLocationQuery/action/queryByLocationCode.vue +165 -0
  195. package/src/components/page/config/masterLocation/masterLocationQuery/action/queryBySkuCode.vue +168 -0
  196. package/src/components/page/config/masterLocation/masterLocationQuery/index/index.js +11 -0
  197. package/src/components/page/config/masterLocation/masterLocationQuery/index/index.less +0 -0
  198. package/src/components/page/config/masterLocation/masterLocationQuery/index/index.vue +114 -0
  199. package/src/components/page/config/masterLocation/masterLocationQuery//344/270/273/345/272/223/344/275/215/346/237/245/350/257/242.md +0 -0
  200. package/src/components/page/config/masterLocation//344/270/273/345/272/223/344/275/215.md +0 -0
  201. package/src/components/page/{inbound → config}/newProject/action/index.js +13 -13
  202. package/src/components/page/config/newProject/action/index.less +0 -0
  203. package/src/components/page/{inbound → config}/newProject/action/index.vue +1595 -1469
  204. package/src/components/page/{inbound → config}/newProject/index/index.js +13 -13
  205. package/src/components/page/config/newProject/index/index.less +0 -0
  206. package/src/components/page/{inbound → config}/newProject/index/index.vue +122 -122
  207. package/src/components/page/config/newProject//346/226/260/345/223/201/351/205/215/347/275/256.md +0 -0
  208. package/src/components/page/count/components/CountBoard.vue +115 -115
  209. package/src/components/page/count/components/RandomCount.vue +16 -16
  210. package/src/components/page/count/index.js +21 -21
  211. package/src/components/page/count/inv/action/index.js +5 -5
  212. package/src/components/page/count/inv/action/index.vue +294 -272
  213. package/src/components/page/count/inv/index/index.js +5 -5
  214. package/src/components/page/count/inv/index/index.vue +190 -190
  215. package/src/components/page/count/loc/action/index.js +5 -5
  216. package/src/components/page/count/loc/action/index.vue +53 -53
  217. package/src/components/page/count/loc/index/index.js +5 -5
  218. package/src/components/page/count/loc/index/index.vue +184 -184
  219. package/src/components/page/inbound/components/AllocReceiveResult.vue +129 -0
  220. package/src/components/page/inbound/components/AllocScanListItem.vue +147 -0
  221. package/src/components/page/inbound/components/AllocSkuListItem.vue +148 -0
  222. package/src/components/page/inbound/components/AsnInfo.vue +243 -181
  223. package/src/components/page/inbound/components/AsnSkuInfo.vue +66 -46
  224. package/src/components/page/inbound/components/QualityCard.vue +230 -230
  225. package/src/components/page/inbound/components/QualityTaskInfo.vue +88 -88
  226. package/src/components/page/inbound/components/SearchBar.vue +85 -0
  227. package/src/components/page/inbound/components/SkuReceiveInfo.vue +69 -0
  228. package/src/components/page/inbound/components/SnsList.vue +10 -6
  229. package/src/components/page/inbound/index.js +23 -17
  230. package/src/components/page/inbound/receive/home/index.js +5 -5
  231. package/src/components/page/inbound/receive/home/index.vue +145 -73
  232. package/src/components/page/inbound/receive/index/index.js +5 -5
  233. package/src/components/page/inbound/receive/index/index.vue +17 -14
  234. package/src/components/page/inbound/receive/quality/LwInboundQualityExecutePage.vue +110 -59
  235. package/src/components/page/inbound/receive/quality/LwInboundQualityTaskListPage.vue +19 -19
  236. package/src/components/page/inbound/receive/quality/index.js +16 -16
  237. package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSkuExecutePage.vue +595 -0
  238. package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSnExecutePage.vue +233 -0
  239. package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocTabListPage.vue +247 -0
  240. package/src/components/page/inbound/receive/receive-alloc/index.js +19 -0
  241. package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseExecutePage.vue +312 -0
  242. package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseScanPage.vue +80 -0
  243. package/src/components/page/inbound/receive/receive-case/index.js +16 -0
  244. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnBatchExecutePage.vue +386 -0
  245. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnExecutePage.vue +216 -0
  246. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnScanPage.vue +80 -0
  247. package/src/components/page/inbound/receive/receive-lpn/index.js +19 -0
  248. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuExecutePage.vue +340 -0
  249. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuScanPage.vue +111 -0
  250. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuSnExecutePage.vue +340 -0
  251. package/src/components/page/inbound/receive/receive-random/index.js +19 -0
  252. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuAdvancePage.vue +85 -76
  253. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuDirectPage.vue +103 -87
  254. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuScanPage.vue +65 -54
  255. package/src/components/page/inbound/receive/receive-sku/index.js +19 -19
  256. package/src/components/page/inbound/util/InboundUtils.js +72 -0
  257. package/src/components/page/index.js +8 -0
  258. package/src/components/page/inner/abnormalMove/index/index.js +11 -11
  259. package/src/components/page/inner/abnormalMove/index/index.vue +9 -11
  260. package/src/components/page/inner/borrow/action/index.js +11 -0
  261. package/src/components/page/inner/borrow/action/index.vue +831 -0
  262. package/src/components/page/inner/borrow/index/index.js +11 -0
  263. package/src/components/page/inner/borrow/index/index.vue +249 -0
  264. package/src/components/page/inner/borrow//345/200/237/344/273/266.md +0 -0
  265. package/src/components/page/inner/dead/components/abnPopup.vue +83 -0
  266. package/src/components/page/inner/dead/components/bagItem.vue +104 -0
  267. package/src/components/page/inner/dead/components/boxListItem.vue +135 -0
  268. package/src/components/page/inner/dead/components/dataInfo.vue +94 -0
  269. package/src/components/page/inner/dead/components/lackPopup.vue +190 -0
  270. package/src/components/page/inner/dead/components/lpnListItem.vue +115 -0
  271. package/src/components/page/inner/dead/components/taskItem.vue +570 -0
  272. package/src/components/page/inner/dead/components/waitOverLpn.vue +74 -0
  273. package/src/components/page/inner/dead/large/index.js +11 -0
  274. package/src/components/page/inner/dead/large/index.vue +376 -0
  275. package/src/components/page/inner/dead/large//344/270/255/345/244/247/344/273/266 - /346/211/223/346/211/230.md +0 -0
  276. package/src/components/page/inner/dead/putaway/action/index.js +11 -0
  277. package/src/components/page/inner/dead/putaway/action/index.vue +131 -0
  278. package/src/components/page/inner/dead/putaway/components/collapseItem.vue +128 -0
  279. package/src/components/page/inner/dead/putaway/index/index.js +11 -0
  280. package/src/components/page/inner/dead/putaway/index/index.vue +63 -0
  281. package/src/components/page/inner/dead/putaway//345/221/206/346/273/236/345/223/201/344/270/212/346/236/266.md +0 -0
  282. package/src/components/page/inner/dead/small/index.js +11 -0
  283. package/src/components/page/inner/dead/small/index.vue +656 -0
  284. package/src/components/page/inner/dead/small//345/260/217/344/273/266 - /350/243/205/347/256/261.md +0 -0
  285. package/src/components/page/inner/dead/taskEntrance/index.js +11 -0
  286. package/src/components/page/inner/dead/taskEntrance/index.vue +49 -0
  287. package/src/components/page/inner/dead/taskEntrance//344/273/273/345/212/241/345/205/245/345/217/243/351/241/265/351/235/242.md +0 -0
  288. package/src/components/page/inner/dead//345/221/206/346/273/236/345/223/201/346/225/264/347/220/206.md +0 -0
  289. package/src/components/page/inner/disposeAbnormal/action/index.js +11 -11
  290. package/src/components/page/inner/disposeAbnormal/action/index.vue +37 -37
  291. package/src/components/page/inner/disposeAbnormal/components/abnInfo/index.vue +655 -655
  292. package/src/components/page/inner/disposeAbnormal/components/disposePopup/index.vue +17 -17
  293. package/src/components/page/inner/disposeAbnormal/components/listItem/index.vue +213 -213
  294. package/src/components/page/inner/disposeAbnormal/components/searchBar/index.vue +13 -13
  295. package/src/components/page/inner/disposeAbnormal/index/index.js +11 -11
  296. package/src/components/page/inner/disposeAbnormal/index/index.vue +16 -5
  297. package/src/components/page/inner/index.js +119 -62
  298. package/src/components/page/inner/lpnMove/action/index.js +11 -11
  299. package/src/components/page/inner/lpnMove/action/index.vue +24 -3
  300. package/src/components/page/inner/lpnMove/index/index.js +11 -11
  301. package/src/components/page/inner/materialApply/action/index.js +10 -10
  302. package/src/components/page/inner/materialApply/action/index.vue +10 -18
  303. package/src/components/page/inner/materialApply/generate/index.js +10 -10
  304. package/src/components/page/inner/materialApply/generate/index.vue +10 -1
  305. package/src/components/page/inner/movePutAway/index/index.js +11 -11
  306. package/src/components/page/inner/movePutAway/index/index.vue +5 -5
  307. package/src/components/page/inner/quality/action/index.js +11 -0
  308. package/src/components/page/inner/quality/action/index.vue +720 -0
  309. package/src/components/page/inner/quality/components/lookData.vue +109 -0
  310. package/src/components/page/inner/quality/components/sampleInfo.vue +62 -0
  311. package/src/components/page/inner/quality/sample/index.js +11 -0
  312. package/src/components/page/inner/quality/sample/index.vue +426 -0
  313. package/src/components/page/inner/quality/sample//346/212/275/346/243/200.md +0 -0
  314. package/src/components/page/inner/quality//350/264/250/346/243/200.md +0 -0
  315. package/src/components/page/inner/randomMove/components/Down/index.vue +61 -24
  316. package/src/components/page/inner/randomMove/components/Up/index.vue +100 -36
  317. package/src/components/page/inner/randomMove/index/index.js +11 -11
  318. package/src/components/page/inner/randomMove/index/index.vue +152 -152
  319. package/src/components/page/inner/reportAbnormal/action/index.js +11 -11
  320. package/src/components/page/inner/reportAbnormal/action/index.vue +244 -246
  321. package/src/components/page/inner/reportAbnormal/index/index.js +11 -11
  322. package/src/components/page/inner/reportAbnormal/index/index.vue +9 -1
  323. package/src/components/page/inner/taskMove/index/index.js +11 -11
  324. package/src/components/page/inner/taskMove/index/index.vue +1495 -1374
  325. package/src/components/page/inventory/index.js +17 -0
  326. package/src/components/page/inventory/inventoryItem/index.vue +127 -0
  327. package/src/components/page/inventory/inventoryLotPage/index.vue +208 -0
  328. package/src/components/page/inventory/queryInventory/index/index.js +11 -0
  329. package/src/components/page/inventory/queryInventory/index/index.less +0 -0
  330. package/src/components/page/inventory/queryInventory/index/index.vue +231 -0
  331. package/src/components/page/inventory/queryInventory/page/index.js +11 -0
  332. package/src/components/page/inventory/queryInventory/page/index.less +0 -0
  333. package/src/components/page/inventory/queryInventory/page/index.vue +525 -0
  334. package/src/components/page/outbound/bale/aloneBale/action/index.js +11 -11
  335. package/src/components/page/outbound/bale/aloneBale/action/index.vue +699 -112
  336. package/src/components/page/outbound/bale/aloneBale/index/index.js +11 -11
  337. package/src/components/page/outbound/bale/aloneBale/index/index.vue +148 -86
  338. package/src/components/page/outbound/bale/aloneBale/newBale/index.js +11 -11
  339. package/src/components/page/outbound/bale/aloneBale/newBale/index.vue +67 -53
  340. package/src/components/page/outbound/bale/baleChange/action/index.js +11 -0
  341. package/src/components/page/outbound/bale/baleChange/action/index.vue +585 -0
  342. package/src/components/page/outbound/bale/baleChange/index/index.js +11 -0
  343. package/src/components/page/outbound/bale/baleChange/index/index.vue +67 -0
  344. package/src/components/page/outbound/bale/baleChange/skuCheck/index.js +11 -0
  345. package/src/components/page/outbound/bale/baleChange/skuCheck/index.vue +351 -0
  346. package/src/components/page/outbound/bale/baleChange//346/215/206/345/214/205/347/256/261/350/260/203/346/225/264.md +0 -0
  347. package/src/components/page/outbound/bale/checkBale/action/index.js +11 -11
  348. package/src/components/page/outbound/bale/checkBale/action/index.vue +247 -636
  349. package/src/components/page/outbound/bale/checkBale/allCheck/index.js +11 -11
  350. package/src/components/page/outbound/bale/checkBale/allCheck/index.vue +119 -119
  351. package/src/components/page/outbound/bale/checkBale/index/index.js +11 -11
  352. package/src/components/page/outbound/bale/checkBale/index/index.vue +261 -259
  353. package/src/components/page/outbound/bale/checkBale/newBale/index.js +11 -11
  354. package/src/components/page/outbound/bale/checkBale/newBale/index.vue +68 -62
  355. package/src/components/page/outbound/bale/components/allBlock/index.vue +97 -97
  356. package/src/components/page/outbound/bale/components/containerInfo/index.vue +43 -38
  357. package/src/components/page/outbound/bale/components/containerInfo//346/215/206/345/214/205/345/256/271/345/231/250/344/277/241/346/201/257.md +2 -2
  358. package/src/components/page/outbound/bale/components/containerSkuQty/img.png +0 -0
  359. package/src/components/page/outbound/bale/components/containerSkuQty/index.vue +58 -58
  360. 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 -0
  361. package/src/components/page/outbound/bale/components/delSku/index.vue +317 -0
  362. package/src/components/page/outbound/bale/components/delSku//345/211/224/351/231/244/345/225/206/345/223/201/345/274/271/346/241/206.md +0 -0
  363. package/src/components/page/outbound/bale/components/partBlock/index.vue +17 -13
  364. package/src/components/page/outbound/bale/components/planCollapse/index.vue +21 -25
  365. package/src/components/page/outbound/bale/components/repeatCheck/index.vue +101 -0
  366. package/src/components/page/outbound/bale/components/repeatCheck//351/207/215/346/226/260/345/244/215/346/240/270/345/274/271/346/241/206.md +0 -0
  367. package/src/components/page/outbound/bale/components/storeInfo/index.vue +9 -9
  368. package/src/components/page/outbound/bale/components/storeInfo//345/256/242/346/210/267/346/215/206/345/214/205/344/277/241/346/201/257.md +1 -1
  369. package/src/components/page/outbound/bale/components/storeInfoSkuList/index.vue +18 -11
  370. package/src/components/page/outbound/bale/components//346/215/206/345/214/205/344/275/277/347/224/250/347/232/204/347/273/204/344/273/266.md +0 -0
  371. package/src/components/page/outbound/bale/mixins.js +212 -0
  372. package/src/components/page/outbound/bale//346/215/206/345/214/205/347/233/270/345/205/263/351/241/265/351/235/242-/345/244/215/346/240/270/346/215/206/345/214/205-/347/213/254/347/253/213/346/215/206/345/214/205-/346/215/206/345/214/205/347/256/261/350/260/203/346/225/264.md +0 -0
  373. package/src/components/page/outbound/block/LwOutboundBlockBoxListPage.vue +67 -0
  374. package/src/components/page/outbound/block/LwOutboundBlockExecutePage.vue +316 -0
  375. package/src/components/page/outbound/block/components/BlockInfo.vue +56 -0
  376. package/src/components/page/outbound/block/index.js +16 -0
  377. package/src/components/page/outbound/block//345/207/272/345/272/223/346/213/246/346/210/252.txt +0 -0
  378. package/src/components/page/outbound/boxTransfer/action/index.js +11 -0
  379. package/src/components/page/outbound/boxTransfer/action/index.vue +214 -0
  380. package/src/components/page/outbound/boxTransfer/index/index.js +11 -0
  381. package/src/components/page/outbound/boxTransfer/index/index.vue +174 -0
  382. package/src/components/page/outbound/boxTransfer//346/273/236/347/225/231/344/273/266/350/275/254/345/255/230.md +0 -0
  383. package/src/components/page/outbound/delivery/action/index.js +11 -11
  384. package/src/components/page/outbound/delivery/action/index.vue +383 -245
  385. package/src/components/page/outbound/delivery/addOrder/index.js +11 -11
  386. package/src/components/page/outbound/delivery/addOrder/index.vue +24 -24
  387. package/src/components/page/outbound/delivery/components/boxItem/index.vue +68 -32
  388. package/src/components/page/outbound/delivery/components/orderContent/index.vue +177 -143
  389. package/src/components/page/outbound/delivery/components/orderContentTitle/index.vue +525 -239
  390. package/src/components/page/outbound/delivery/components/soAndLpnItem/index.vue +91 -44
  391. package/src/components/page/outbound/delivery/index/index.js +11 -11
  392. package/src/components/page/outbound/delivery/index/index.vue +63 -12
  393. package/src/components/page/outbound/handover/components/boxInfo.vue +51 -0
  394. package/src/components/page/outbound/handover/components/boxNumList.vue +158 -0
  395. package/src/components/page/outbound/handover/components/collapseItem.vue +136 -0
  396. package/src/components/page/outbound/handover/components/customerAndLine.vue +179 -0
  397. package/src/components/page/outbound/handover/components/customerList.vue +94 -0
  398. package/src/components/page/outbound/handover/components/lineInfo.vue +129 -0
  399. package/src/components/page/outbound/handover/components/lpnListItem.vue +119 -0
  400. package/src/components/page/outbound/handover/components/nowScan.vue +59 -0
  401. package/src/components/page/outbound/handover/components/pageBox.vue +524 -0
  402. package/src/components/page/outbound/handover/components/storeInfo.vue +128 -0
  403. package/src/components/page/outbound/handover/customer/index.js +11 -0
  404. package/src/components/page/outbound/handover/customer/index.vue +34 -0
  405. package/src/components/page/outbound/handover/index/index.js +11 -0
  406. package/src/components/page/outbound/handover/index/index.vue +217 -0
  407. package/src/components/page/outbound/handover/line/index.js +11 -0
  408. package/src/components/page/outbound/handover/line/index.vue +32 -0
  409. package/src/components/page/outbound/handover/lpn/index.js +11 -0
  410. package/src/components/page/outbound/handover/lpn/index.vue +262 -0
  411. package/src/components/page/outbound/handover/mixin.js +207 -0
  412. package/src/components/page/outbound/handover//345/207/272/345/272/223/344/272/244/346/216/245.md +0 -0
  413. package/src/components/page/outbound/index.js +58 -0
  414. package/src/components/page/outbound/lpnPack/action/index.js +11 -0
  415. package/src/components/page/outbound/lpnPack/action/index.vue +287 -0
  416. package/src/components/page/outbound/lpnPack/components/lpnActionInfo.vue +113 -0
  417. package/src/components/page/outbound/lpnPack/components/lpnItem.vue +126 -0
  418. package/src/components/page/outbound/lpnPack/index/index.js +11 -0
  419. package/src/components/page/outbound/lpnPack/index/index.vue +166 -0
  420. package/src/components/page/outbound/lpnPack/newLpnPack/index.js +11 -0
  421. package/src/components/page/outbound/lpnPack/newLpnPack/index.vue +80 -0
  422. package/src/components/page/outbound/lpnPack/newLpnPack//346/226/260/346/211/223/346/211/230.md +0 -0
  423. package/src/components/page/outbound/lpnPack/over/index.js +11 -0
  424. package/src/components/page/outbound/lpnPack/over/index.vue +85 -0
  425. package/src/components/page/outbound/lpnPack/over//345/267/262/346/211/223/346/211/230.md +0 -0
  426. package/src/components/page/outbound/lpnPack//346/211/223/346/211/230.md +0 -0
  427. package/src/components/page/outbound/pick/alone/index.js +11 -11
  428. package/src/components/page/outbound/pick/alone/index.vue +34 -27
  429. package/src/components/page/outbound/pick/box/index.js +11 -11
  430. package/src/components/page/outbound/pick/box/index.vue +34 -26
  431. package/src/components/page/outbound/pick/components/dataLookAndChange/index.vue +57 -134
  432. package/src/components/page/outbound/pick/components/skuLocationInfo/index.vue +209 -208
  433. package/src/components/page/outbound/pick/components/sowList.vue +190 -0
  434. package/src/components/page/outbound/pick/components/splitPutDown/index.vue +13 -13
  435. package/src/components/page/outbound/pick/components/taskInfo.vue +129 -0
  436. package/src/components/page/outbound/pick/index/index.js +11 -11
  437. package/src/components/page/outbound/pick/index/index.vue +76 -78
  438. package/src/components/page/outbound/pick/lpn/index.js +11 -11
  439. package/src/components/page/outbound/pick/lpn/index.vue +36 -20
  440. package/src/components/page/outbound/pick/mixin/all.js +14 -16
  441. package/src/components/page/outbound/pick/mixin/aloneAndNotAlone.js +13 -13
  442. package/src/components/page/outbound/pick/notAlone/index.js +11 -11
  443. package/src/components/page/outbound/pick/notAlone/index.vue +39 -30
  444. package/src/components/page/outbound/pick/sow/index.js +11 -0
  445. package/src/components/page/outbound/pick/sow/index.vue +1290 -0
  446. package/src/components/page/outbound/pick/sow//350/276/271/346/213/243/350/276/271/345/210/206.md +0 -0
  447. package/src/components/page/outbound/pickContainer/action/index.js +11 -0
  448. package/src/components/page/outbound/pickContainer/action/index.vue +219 -0
  449. package/src/components/page/outbound/pickContainer/index/index.js +11 -0
  450. package/src/components/page/outbound/pickContainer/index/index.vue +63 -0
  451. package/src/components/page/outbound/pickContainer//346/213/243/351/200/211/345/256/271/345/231/250/346/237/245/350/257/242.md +0 -0
  452. package/src/components/page/outbound/pickMerge/action/index.js +11 -11
  453. package/src/components/page/outbound/pickMerge/action/index.vue +543 -543
  454. package/src/components/page/outbound/pickMerge/components/containerInfo/index.vue +89 -89
  455. package/src/components/page/outbound/pickMerge/components/finishPopup/index.vue +88 -88
  456. package/src/components/page/outbound/pickMerge/components/skuInfo/index.vue +132 -132
  457. package/src/components/page/outbound/pickMerge/content/index.js +11 -11
  458. package/src/components/page/outbound/pickMerge/content/index.vue +9 -9
  459. package/src/components/page/outbound/pickMerge/index/index.js +11 -11
  460. package/src/components/page/outbound/pickMerge/index/index.vue +77 -77
  461. package/src/components/page/outbound/reprint-box/LwOutboundReprintBoxListPage.vue +206 -0
  462. package/src/components/page/outbound/reprint-box/index.js +13 -0
  463. package/src/components/page/outbound/reprint-box//347/256/261/347/245/250/350/241/245/346/211/223.txt +0 -0
  464. package/src/components/page/outbound/sow/action/index.js +11 -11
  465. package/src/components/page/outbound/sow/action/index.vue +1406 -1420
  466. package/src/components/page/outbound/sow/components/sowLocationList/index.vue +94 -80
  467. package/src/components/page/outbound/sow/components/waitSowCollapse/index.vue +105 -105
  468. package/src/components/page/outbound/sow/index/index.js +11 -11
  469. package/src/components/page/outbound/sow/index/index.vue +23 -26
  470. package/src/components/page/outbound/stockout/LwOutboundStockoutExecutePage.vue +108 -0
  471. package/src/components/page/outbound/stockout/LwOutboundStockoutListPage.vue +103 -0
  472. package/src/components/page/outbound/stockout/components/StockoutInfo.vue +42 -0
  473. package/src/components/page/outbound/stockout/index.js +16 -0
  474. package/src/components/page/outbound/stockout//347/274/272/350/264/247.txt +0 -0
  475. package/src/components/page/outbound/summary/box/index/index.js +11 -11
  476. package/src/components/page/outbound/summary/box/index/index.vue +39 -39
  477. package/src/components/page/outbound/summary/lpn/action/index.js +12 -12
  478. package/src/components/page/outbound/summary/lpn/action/index.vue +13 -12
  479. package/src/components/page/outbound/summary/lpn/index/index.js +12 -12
  480. package/src/components/page/outbound/summary/lpn/index/index.vue +70 -70
  481. package/src/components/page/process/index.js +21 -0
  482. package/src/components/page/process/prepare/index.js +11 -0
  483. package/src/components/page/process/prepare/index.vue +841 -0
  484. package/src/components/page/process/process/action/index.js +11 -0
  485. package/src/components/page/process/process/action/index.vue +158 -0
  486. package/src/components/page/process/process/components/craftCollapse.vue +130 -0
  487. package/src/components/page/process/process/components/dockInfo.vue +79 -0
  488. package/src/components/page/process/process/components/dockTaskInfo.vue +192 -0
  489. package/src/components/page/process/process/components/overCollapse.vue +376 -0
  490. package/src/components/page/process/process/components/rawCollapse.vue +113 -0
  491. package/src/components/page/process/process/components/stopPopup.vue +90 -0
  492. package/src/components/page/process/process/console/index.js +11 -0
  493. package/src/components/page/process/process/console/index.vue +525 -0
  494. package/src/components/page/process/process/content/index.js +11 -0
  495. package/src/components/page/process/process/content/index.vue +367 -0
  496. package/src/components/page/process/process/index/index.js +11 -0
  497. package/src/components/page/process/process/index/index.vue +68 -0
  498. package/src/components/page/process//345/212/240/345/267/245.md +0 -0
  499. package/src/components/page/receive/abnormal/action/index.js +11 -11
  500. package/src/components/page/receive/abnormal/action/index.vue +45 -45
  501. package/src/components/page/receive/abnormal/index/index.js +11 -11
  502. package/src/components/page/receive/abnormal/index/index.vue +73 -73
  503. package/src/components/page/receive/index.js +40 -36
  504. package/src/components/page/receive/putaway/caseAction/index.js +9 -0
  505. package/src/components/page/receive/putaway/caseAction/index.vue +542 -0
  506. package/src/components/page/receive/putaway/components/CaseInfo/index.vue +178 -0
  507. package/src/components/page/receive/putaway/components/SkuInfo/index.vue +291 -247
  508. package/src/components/page/receive/putaway/components/SkuPutAwayInfo/index.vue +5 -5
  509. package/src/components/page/receive/putaway/components/TaskInfo/index.vue +241 -216
  510. package/src/components/page/receive/putaway/components/lpnBatchItem.vue +112 -0
  511. package/src/components/page/receive/putaway/components/overPutawayItem.vue +119 -0
  512. package/src/components/page/receive/putaway/index/index.js +11 -11
  513. package/src/components/page/receive/putaway/index/index.vue +254 -92
  514. package/src/components/page/receive/putaway/lpnAction/index.js +11 -11
  515. package/src/components/page/receive/putaway/lpnAction/index.vue +42 -12
  516. package/src/components/page/receive/putaway/lpnBatchAction/index.js +11 -0
  517. package/src/components/page/receive/putaway/lpnBatchAction/index.vue +213 -0
  518. package/src/components/page/receive/putaway/lpnBatchAction//346/225/264/346/211/230/347/233/230/346/211/271/351/207/217/344/270/212/346/236/266.md +0 -0
  519. package/src/components/page/receive/putaway/skuAction/index.js +11 -11
  520. package/src/components/page/receive/putaway/skuAction/index.vue +4 -3
  521. package/src/components/page/receive/receipt/action/index.js +11 -11
  522. package/src/components/page/receive/receipt/action/index.vue +60 -44
  523. package/src/components/page/receive/receipt/index/index.js +11 -11
  524. package/src/components/page/receive/receipt/index/index.vue +11 -3
  525. package/src/components/ui/BottomBar/index.js +5 -5
  526. package/src/components/ui/BottomBar/index.vue +31 -5
  527. package/src/components/ui/BottomBarBtnHidden/index.js +11 -11
  528. package/src/components/ui/BottomBarBtnHidden/index.vue +1 -1
  529. 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 -0
  530. package/src/components/ui/Button/index.js +5 -5
  531. package/src/components/ui/Button/index.vue +8 -8
  532. package/src/components/ui/CarPlate/index.js +11 -11
  533. package/src/components/ui/CarPlate/index.vue +202 -85
  534. package/src/components/ui/CarPlate//350/275/246/347/211/214/345/217/267.md +1 -1
  535. package/src/components/ui/Cell/index.js +5 -5
  536. package/src/components/ui/CellPopupDate/index.js +11 -11
  537. package/src/components/ui/CellPopupDate/index.vue +57 -12
  538. package/src/components/ui/CellPopupDate//345/215/225/345/205/203/350/241/214/345/212/240/346/227/266/351/227/264/351/200/211/346/213/251/345/231/250.md +1 -1
  539. package/src/components/ui/CellPopupRadio/index.js +11 -11
  540. package/src/components/ui/CellPopupRadio//350/241/214/345/212/240/345/215/225/351/200/211/345/274/271/345/207/272/346/241/206.md +1 -1
  541. package/src/components/ui/CutCard/index.js +11 -11
  542. package/src/components/ui/CutCard/index.vue +143 -132
  543. package/src/components/ui/CutCard//345/215/241/347/211/207/351/241/265/351/235/242/345/210/207/346/215/242.md +1 -1
  544. package/src/components/ui/DataLookBg/index.js +11 -11
  545. package/src/components/ui/DataLookBg/index.vue +134 -104
  546. package/src/components/ui/DataLookBg//346/225/260/346/215/256/347/234/213/346/235/277.md +1 -0
  547. package/src/components/ui/ErrorMsg/index.js +59 -59
  548. package/src/components/ui/ErrorMsg/index.vue +141 -141
  549. package/src/components/ui/Form/index.js +5 -5
  550. package/src/components/ui/Form/index.vue +36 -36
  551. package/src/components/ui/ImgLook/index.js +5 -5
  552. package/src/components/ui/ImgLook/index.vue +12 -3
  553. package/src/components/ui/ImgUpload/index.js +12 -12
  554. package/src/components/ui/ImgUpload/index.vue +1 -1
  555. package/src/components/ui/ImgUpload/request.js +39 -39
  556. package/src/components/ui/Input/index.js +5 -5
  557. package/src/components/ui/Input/index.vue +51 -16
  558. package/src/components/ui/Input//350/276/223/345/205/245/346/241/206.md +1 -1
  559. package/src/components/ui/Loading/index.js +1 -1
  560. package/src/components/ui/Loading/index.vue +61 -61
  561. package/src/components/ui/MenuItem/index.js +5 -5
  562. package/src/components/ui/MenuItem/index.vue +170 -170
  563. package/src/components/ui/NavBar/index.js +5 -5
  564. package/src/components/ui/NavBar/index.vue +143 -143
  565. package/src/components/ui/NavBar//351/241/266/351/203/250/345/257/274/350/210/252/346/240/217.md +1 -1
  566. package/src/components/ui/NotData/index.js +5 -5
  567. package/src/components/ui/NotData/index.vue +81 -75
  568. package/src/components/ui/Pages/index.js +5 -5
  569. package/src/components/ui/Pages/index.vue +187 -186
  570. package/src/components/ui/Pagination/index.js +11 -0
  571. package/src/components/ui/Pagination/index.vue +274 -0
  572. package/src/components/ui/Pagination//345/210/206/351/241/265V2.md +1 -0
  573. package/src/components/ui/Popup/index.js +5 -5
  574. package/src/components/ui/Popup/index.vue +3 -6
  575. package/src/components/ui/PopupCheckbox/index.js +5 -5
  576. package/src/components/ui/PopupCheckbox/index.vue +207 -207
  577. package/src/components/ui/PopupRadio/index.js +5 -5
  578. package/src/components/ui/PopupRadio/index.vue +124 -124
  579. package/src/components/ui/TabBar/index.js +11 -11
  580. package/src/components/ui/TabBar/index.vue +132 -132
  581. package/src/components/ui/TabBar//345/272/225/351/203/250/345/257/274/350/210/252/346/240/217.md +1 -1
  582. package/src/components/ui/Table/index.js +5 -5
  583. package/src/components/ui/Table/index.vue +213 -213
  584. package/src/components/ui/Tag/index.js +5 -5
  585. package/src/components/ui/Tag/index.vue +142 -142
  586. package/src/components/ui/TitleValueCell/index.js +11 -11
  587. package/src/components/ui/TitleValueCell/index.vue +33 -6
  588. package/src/components/ui/TitleValueCell//346/240/207/351/242/230/345/200/274/350/241/214.md +2 -0
  589. package/src/components/ui/index.js +3 -0
  590. package/src/directive/Permissions.js +35 -35
  591. package/src/directive/index.js +12 -12
  592. package/src/index.js +67 -67
  593. package/src/mixins/loginAndInit/index.js +31 -0
  594. package/src/mixins/loginAndInit//346/234/211token/346/227/266/345/200/231/345/222/214/346/234/211/344/273/223/345/272/223id/346/227/266/351/234/200/350/246/201/345/210/235/345/247/213/345/214/226/347/232/204/346/225/260/346/215/256.md +0 -0
  595. package/src/mixins//346/267/267/345/205/245.md +0 -0
  596. package/src/router/index.js +342 -5
  597. package/src/router/menu.js +316 -45
  598. package/src/test/file/index.js +1 -1
  599. package/src/test/file/index.vue +25 -25
  600. package/src/utils/ApiUtils.js +17 -6
  601. package/src/utils/AppBack.js +5 -6
  602. package/src/utils/AppPower.js +191 -183
  603. package/src/utils/Axios.js +164 -160
  604. package/src/utils/BarcodeResolve.js +322 -281
  605. package/src/utils/DateTime.js +22 -8
  606. package/src/utils/DeepCopy.js +1 -1
  607. package/src/utils/Dialog.js +58 -0
  608. package/src/utils/Dict.js +7 -7
  609. package/src/utils/GetImgSrc.js +1 -0
  610. package/src/utils/Init.js +12 -12
  611. package/src/utils/Language.js +41 -21
  612. package/src/utils/LocalStorage.js +41 -5
  613. package/src/utils/Permissions.js +21 -7
  614. package/src/utils/Print.js +13 -15
  615. package/src/utils/README.md +60 -2
  616. package/src/utils/RouteInit.js +14 -14
  617. package/src/utils/ScanRule.js +23 -134
  618. package/src/utils/SetColor.js +46 -11
  619. package/src/utils/TabBar.js +4 -3
  620. package/src/utils/Timezone.js +179 -0
  621. package/src/utils/Tip.js +6 -6
  622. package/src/utils/Toast.js +41 -41
  623. package/src/utils/UUID.js +7 -1
  624. package/src/utils/Utils.js +34 -0
  625. package/src/utils/Warehouse.js +6 -2
  626. package/src/utils/index.js +69 -63
  627. package/src/utils/windowGlobalData.js +27 -1
  628. package/src/views/common/home/index.vue +67 -67
  629. package/src/views/common/init/index.vue +25 -11
  630. package/src/views/common/login/index.vue +23 -23
  631. package/src/views/common/menu/menuOne.vue +36 -36
  632. package/src/views/common/menu/menuTwo.vue +33 -33
  633. package/src/views/common/my/device.vue +23 -23
  634. package/src/views/common/my/index.vue +23 -23
  635. package/src/views/common/my/language.vue +23 -23
  636. package/src/views/common/my/msg.vue +23 -23
  637. package/src/views/common/my/print.vue +23 -23
  638. package/src/views/common/my/timezone.vue +23 -0
  639. package/src/views/common/my/warehouse.vue +25 -25
  640. package/src/views/common/task/index.vue +23 -23
  641. package/src/views/config/masterLocation/masterLocationConfig/action.vue +23 -0
  642. package/src/views/config/masterLocation/masterLocationConfig/index.vue +23 -0
  643. package/src/views/config/masterLocation/masterLocationQuery/index.vue +23 -0
  644. package/src/views/config/masterLocation/masterLocationQuery/queryByLocationCode.vue +23 -0
  645. package/src/views/config/masterLocation/masterLocationQuery/queryBySkuCode.vue +23 -0
  646. package/src/views/{inbound → config}/newProject/action.vue +23 -23
  647. package/src/views/{inbound → config}/newProject/index.vue +23 -23
  648. package/src/views/count/index.vue +88 -88
  649. package/src/views/count/inv/action.vue +12 -12
  650. package/src/views/count/inv/index.vue +12 -12
  651. package/src/views/count/loc/action.vue +12 -12
  652. package/src/views/count/loc/index.vue +12 -12
  653. package/src/views/inbound/quality/InboundQualityExecuteView.vue +12 -12
  654. package/src/views/inbound/quality/InboundQualityTaskListView.vue +12 -12
  655. package/src/views/inbound/receive/alloc/InboundReceiveAllocSkuExecuteView.vue +13 -0
  656. package/src/views/inbound/receive/alloc/InboundReceiveAllocSnExecuteView.vue +13 -0
  657. package/src/views/inbound/receive/alloc/InboundReceiveAllocTabListView.vue +13 -0
  658. package/src/views/inbound/receive/case/InboundReceiveCaseExecuteView.vue +13 -0
  659. package/src/views/inbound/receive/case/InboundReceiveCaseScanView.vue +13 -0
  660. package/src/views/inbound/receive/home.vue +14 -14
  661. package/src/views/inbound/receive/index.vue +13 -13
  662. package/src/views/inbound/receive/lpn/InboundReceiveLpnBatchExecuteView.vue +13 -0
  663. package/src/views/inbound/receive/lpn/InboundReceiveLpnExecuteView.vue +13 -0
  664. package/src/views/inbound/receive/lpn/InboundReceiveLpnScanView.vue +13 -0
  665. package/src/views/inbound/receive/random/InboundReceiveRandomSkuExecuteView.vue +13 -0
  666. package/src/views/inbound/receive/random/InboundReceiveRandomSkuScanView.vue +13 -0
  667. package/src/views/inbound/receive/random/InboundReceiveRandomSkuSnExecuteView.vue +13 -0
  668. package/src/views/inbound/receive/sku/InboundReceiveSkuAdvanceView.vue +13 -13
  669. package/src/views/inbound/receive/sku/InboundReceiveSkuDirectView.vue +13 -13
  670. package/src/views/inbound/receive/sku/InboundReceiveSkuScanView.vue +13 -13
  671. package/src/views/inner/abnormalMove/index.vue +23 -23
  672. package/src/views/inner/borrow/action.vue +23 -0
  673. package/src/views/inner/borrow/index.vue +23 -0
  674. package/src/views/inner/dead/large.vue +23 -0
  675. package/src/views/inner/dead/putaway/action.vue +23 -0
  676. package/src/views/inner/dead/putaway/index.vue +23 -0
  677. package/src/views/inner/dead/smallPage.vue +23 -0
  678. package/src/views/inner/dead/taskEntrance.vue +23 -0
  679. package/src/views/inner/disposeAbnormal/action.vue +23 -23
  680. package/src/views/inner/disposeAbnormal/index.vue +23 -23
  681. package/src/views/inner/lpnMove/action.vue +23 -23
  682. package/src/views/inner/lpnMove/index.vue +23 -23
  683. package/src/views/inner/materialApply/action.vue +22 -22
  684. package/src/views/inner/materialApply/generate.vue +22 -22
  685. package/src/views/inner/movePutAway/index.vue +22 -22
  686. package/src/views/inner/quality/action.vue +23 -0
  687. package/src/views/inner/quality/sample.vue +23 -0
  688. package/src/views/inner/randomMove/index.vue +23 -23
  689. package/src/views/inner/reportAbnormal/action.vue +23 -23
  690. package/src/views/inner/reportAbnormal/index.vue +23 -23
  691. package/src/views/inner/taskMove/index.vue +23 -23
  692. package/src/views/inventory/queryInventory/index.vue +23 -0
  693. package/src/views/inventory/queryInventory/page.vue +23 -0
  694. package/src/views/outbound/aloneBale/action.vue +23 -23
  695. package/src/views/outbound/aloneBale/index.vue +23 -23
  696. package/src/views/outbound/aloneBale/newBale.vue +23 -23
  697. package/src/views/outbound/bale/action.vue +23 -23
  698. package/src/views/outbound/bale/allCheck.vue +23 -23
  699. package/src/views/outbound/bale/index.vue +23 -23
  700. package/src/views/outbound/bale/newBale.vue +23 -23
  701. package/src/views/outbound/baleChange/action.vue +23 -0
  702. package/src/views/outbound/baleChange/index.vue +23 -0
  703. package/src/views/outbound/baleChange/skuCheck.vue +23 -0
  704. package/src/views/outbound/block/OutboundBlockBoxListView.vue +12 -0
  705. package/src/views/outbound/block/OutboundBlockExecuteView.vue +12 -0
  706. package/src/views/outbound/boxTransfer/action.vue +23 -0
  707. package/src/views/outbound/boxTransfer/index.vue +23 -0
  708. package/src/views/outbound/delivery/action.vue +23 -23
  709. package/src/views/outbound/delivery/addOrder.vue +23 -23
  710. package/src/views/outbound/delivery/index.vue +23 -23
  711. package/src/views/outbound/handover/customer.vue +23 -0
  712. package/src/views/outbound/handover/index.vue +23 -0
  713. package/src/views/outbound/handover/line.vue +23 -0
  714. package/src/views/outbound/handover/lpn.vue +23 -0
  715. package/src/views/outbound/lpnPack/action.vue +23 -0
  716. package/src/views/outbound/lpnPack/index.vue +23 -0
  717. package/src/views/outbound/lpnPack/newLpn.vue +23 -0
  718. package/src/views/outbound/lpnPack/over.vue +23 -0
  719. package/src/views/outbound/pick/aloneAction.vue +23 -23
  720. package/src/views/outbound/pick/boxAction.vue +23 -23
  721. package/src/views/outbound/pick/index.vue +23 -23
  722. package/src/views/outbound/pick/lpnAction.vue +23 -23
  723. package/src/views/outbound/pick/notAloneAction.vue +23 -23
  724. package/src/views/outbound/pick/sowAction.vue +23 -0
  725. package/src/views/outbound/pickContainer/action.vue +23 -0
  726. package/src/views/outbound/pickContainer/index.vue +23 -0
  727. package/src/views/outbound/pickMerge/action.vue +23 -23
  728. package/src/views/outbound/pickMerge/content.vue +23 -23
  729. package/src/views/outbound/pickMerge/index.vue +23 -23
  730. package/src/views/outbound/reprint-box/LwOutboundReprintBoxView.vue +13 -0
  731. package/src/views/outbound/sow/action.vue +23 -23
  732. package/src/views/outbound/sow/index.vue +23 -23
  733. package/src/views/outbound/stockout/LwOutboundStockoutExecuteView.vue +12 -0
  734. package/src/views/outbound/stockout/LwOutboundStockoutListView.vue +12 -0
  735. package/src/views/outbound/summary/box/index.vue +23 -23
  736. package/src/views/outbound/summary/lpn/action.vue +23 -23
  737. package/src/views/outbound/summary/lpn/index.vue +23 -23
  738. package/src/views/process/action/action.vue +23 -0
  739. package/src/views/process/action/consoleInfo.vue +23 -0
  740. package/src/views/process/action/contentInfo.vue +23 -0
  741. package/src/views/process/action/index.vue +23 -0
  742. package/src/views/process/prepare/index.vue +23 -0
  743. package/src/views/receive/abnormal/action.vue +23 -23
  744. package/src/views/receive/abnormal/index.vue +24 -24
  745. package/src/views/receive/putaway/caseAction.vue +21 -0
  746. package/src/views/receive/putaway/index.vue +23 -23
  747. package/src/views/receive/putaway/lpnAction.vue +23 -23
  748. package/src/views/receive/putaway/lpnBatchAction.vue +23 -0
  749. package/src/views/receive/putaway/skuAction.vue +23 -23
  750. package/src/views/receive/receipt/action.vue +25 -25
  751. package/src/views/receive/receipt/index.vue +25 -25
  752. package/src/components/page/outbound/bale/components/mainPage/index.vue +0 -620
  753. package/src/components/ui/DataLookBg//346/225/260/346/215/256/347/234/213/346/235/277/350/203/214/346/231/257/345/233/276.md +0 -1
@@ -1,1469 +1,1595 @@
1
- <!--
2
- 新品配置
3
- @author: 杨震天
4
- @date: 2022-06-28
5
- -->
6
-
7
- <template>
8
- <div>
9
-
10
- <lw-nav-bar
11
- title="新品配置"/>
12
-
13
- <div class="lw-global-page-box">
14
- <div class="lw-global-model-box">
15
- <div class="lw-global-row lw-global-flex-between">
16
- <div class="lw-global-value-bold">{{ skuNewProjectSkuInfo.skuCode }}</div>
17
-
18
- <div class="lw-tag-box">
19
- <lw-tag round plain >{{ $lwLanguage.get('', 'BO') }}</lw-tag>
20
-
21
-
22
- </div>
23
- </div>
24
- <div class="lw-global-row">
25
-
26
- <lw-title-value-cell
27
- :value="skuNewProjectSkuInfo.skuName"
28
- val-bold
29
- :is-row="false"
30
- />
31
-
32
- <lw-title-value-cell
33
- :title="$lwLanguage.get('','货主')"
34
- :value="skuNewProjectSkuInfo.ownerCode + ' ' + skuNewProjectSkuInfo.ownerName"
35
- val-bold
36
- :is-row="false"
37
- />
38
-
39
-
40
- </div>
41
-
42
- </div>
43
-
44
- <div class="lw-global-tab-box" style="margin-top: 10px;">
45
- <van-tabs type="card" animated v-model="tabActive">
46
-
47
- <!-- 基础信息 -->
48
- <van-tab
49
- name="skuInfo"
50
- title="基础信息"
51
- >
52
- <template v-if="skuNewProjectSkuInfo">
53
-
54
- <div class="lw-global-model-box">
55
-
56
- <lw-input
57
- v-model="skuNewProjectSkuInfo.referCode"
58
- title="参考代码"
59
- :show-bottom-border="false"
60
- />
61
-
62
- <!-- <lw-input-->
63
- <!-- v-model="skuNewProjectSkuInfo.categoryName"-->
64
- <!-- title="商品类型"-->
65
- <!-- :show-bottom-border="false"-->
66
- <!-- />-->
67
-
68
- <lw-cell-popup-radio
69
- v-model="skuNewProjectSkuInfo.category"
70
- title="商品类型"
71
-
72
- :columns="skuTypeList"
73
- value-key="id"
74
- label-key="name"
75
- @confirm="skuTypeConfirm"
76
-
77
- />
78
-
79
-
80
- <lw-cell-popup-radio
81
- v-model="skuNewProjectSkuInfo.category1"
82
- title="商品属性"
83
- :columns="skuAttributeList"
84
- value-key="id"
85
- label-key="name"
86
-
87
- />
88
-
89
-
90
- <lw-cell-popup-radio
91
- v-model="skuNewProjectSkuInfo.sizeType"
92
- title="尺寸类型"
93
- dict-key="size_type_choice"
94
- />
95
-
96
-
97
- <lw-cell-popup-radio
98
- v-model="skuNewProjectSkuInfo.packType"
99
- title="包装属性"
100
- dict-key="pack_type_choice"
101
- :show-bottom-border="false"
102
- />
103
-
104
-
105
- <!-- ship_pack_type_choice-->
106
- <lw-cell-popup-radio
107
- v-model="skuNewProjectSkuInfo.shipPackType"
108
- title="捆包类型"
109
- dict-key="ship_pack_type_choice"
110
- :show-bottom-border="false"
111
- />
112
-
113
- <lw-input
114
- v-model="skuNewProjectSkuInfo.minSellQty"
115
- title="最小销售数"
116
- type="number"
117
- :show-bottom-border="false"
118
- />
119
-
120
-
121
- <lw-cell-popup-radio
122
- v-model="skuNewProjectSkuInfo.abcType"
123
- title="库存频度"
124
- dict-key="abc_type"
125
-
126
- />
127
-
128
- <lw-input
129
- v-model="skuNewProjectSkuInfo.qualityPeriod"
130
- title="保质期"
131
- type="number"
132
- :show-bottom-border="false"
133
- />
134
- <lw-input
135
- v-model="skuNewProjectSkuInfo.bestQualityPeriod"
136
- title="最佳保质期"
137
- type="number"
138
- :show-bottom-border="false"
139
- />
140
-
141
- <lw-input
142
- v-model="skuNewProjectSkuInfo.remainQualityPercent"
143
- title="剩余效期比例"
144
- type="number"
145
- :show-bottom-border="false"
146
- />
147
-
148
- <lw-input
149
- v-model="skuNewProjectSkuInfo.length"
150
- title="裸件长(mm)"
151
- type="number"
152
-
153
- :show-bottom-border="false"
154
- />
155
- <lw-input
156
- v-model="skuNewProjectSkuInfo.width"
157
- title="裸件宽(mm)"
158
- type="number"
159
- :show-bottom-border="false"
160
- />
161
-
162
- <lw-input
163
- v-model="skuNewProjectSkuInfo.height"
164
- title="裸件高(mm)"
165
- type="number"
166
- :show-bottom-border="false"
167
- />
168
-
169
- <lw-input
170
- v-model="skuNewProjectSkuInfo.weight"
171
- title="裸件重量(Kg)"
172
- type="number"
173
- :show-bottom-border="false"
174
- />
175
-
176
- <lw-cell-popup-radio
177
- v-model="skuNewProjectSkuInfo.warehouseId"
178
- title="采购收货仓"
179
- :show-bottom-border="false"
180
- :columns="warehouseList"
181
- value-key="id"
182
- label-key="code"
183
- />
184
-
185
- <lw-cell-popup-radio
186
- v-model="skuNewProjectSkuInfo.supplyType"
187
- title="供应类型"
188
- dict-key="supply_type_choice"
189
- :show-bottom-border="false"
190
- />
191
-
192
- <lw-cell-popup-radio
193
- v-model="skuNewProjectSkuInfo.supplierId"
194
- title="首先供应商"
195
- :columns="supplierList"
196
- value-key="supplierId"
197
- label-key="supplierCode"
198
- :show-bottom-border="false"
199
- />
200
- <lw-input
201
- v-model="skuNewProjectSkuInfo.arrivalPeriod"
202
- title="到货周期"
203
- type="number"
204
- :show-bottom-border="false"
205
- />
206
-
207
- <lw-cell-popup-radio
208
- v-model="skuNewProjectSkuInfo.qualityType"
209
- title="品检方式"
210
- dict-key="quality_type_choice"
211
- :show-bottom-border="false"
212
- />
213
-
214
- <lw-cell
215
- :title="$lwLanguage.get('', '快收件')"
216
- :is-link="false"
217
- >
218
- <template #value>
219
- <van-switch
220
- v-model="skuNewProjectSkuInfo.fastReceive"
221
- size="18px"
222
- />
223
- </template>
224
- </lw-cell>
225
-
226
-
227
- <lw-cell
228
- :title="$lwLanguage.get('', '需要处理序列号')"
229
- :is-link="false"
230
- >
231
- <template #value>
232
-
233
- <van-switch
234
- v-model="skuNewProjectSkuInfo.needHandleSn"
235
- size="18px"
236
- />
237
- </template>
238
- </lw-cell>
239
-
240
-
241
- <lw-cell
242
- :title="$lwLanguage.get('', '先进先出')"
243
- :is-link="false"
244
- >
245
- <template #value>
246
-
247
- <van-switch
248
- v-model="skuNewProjectSkuInfo.fifo"
249
- size="18px"
250
- />
251
- </template>
252
- </lw-cell>
253
-
254
-
255
- <lw-cell
256
- :title="$lwLanguage.get('', '需要质检')"
257
- :is-link="false"
258
- >
259
- <template #value>
260
-
261
- <van-switch
262
- v-model="skuNewProjectSkuInfo.needQualityTest"
263
- size="18px"
264
- />
265
- </template>
266
- </lw-cell>
267
-
268
-
269
- <lw-cell
270
- :title="$lwLanguage.get('', '贵重品')"
271
- :is-link="false"
272
- >
273
- <template #value>
274
-
275
- <van-switch
276
- v-model="skuNewProjectSkuInfo.valuable"
277
- size="18px"
278
- />
279
- </template>
280
- </lw-cell>
281
-
282
-
283
- <lw-cell
284
- :title="$lwLanguage.get('', '重物')"
285
- :is-link="false"
286
- >
287
- <template #value>
288
-
289
- <van-switch
290
- v-model="skuNewProjectSkuInfo.heavy"
291
- size="18px"
292
- />
293
- </template>
294
- </lw-cell>
295
-
296
- <lw-cell
297
- :title="$lwLanguage.get('', '冬季发运')"
298
- :is-link="false"
299
- >
300
- <template #value>
301
-
302
- <van-switch
303
- v-model="skuNewProjectSkuInfo.winterShipment"
304
- size="18px"
305
- />
306
- </template>
307
- </lw-cell>
308
-
309
- <lw-cell
310
- :title="$lwLanguage.get('', '易碎')"
311
- :is-link="false"
312
- >
313
- <template #value>
314
-
315
- <van-switch
316
- v-model="skuNewProjectSkuInfo.fragile"
317
- size="18px"
318
- />
319
- </template>
320
- </lw-cell>
321
-
322
- <lw-cell
323
- :title="$lwLanguage.get('', '快移件')"
324
- :is-link="false"
325
- >
326
- <template #value>
327
-
328
- <van-switch
329
- v-model="skuNewProjectSkuInfo.fastMove"
330
- size="18px"
331
- />
332
- </template>
333
- </lw-cell>
334
-
335
- <lw-cell
336
- :title="$lwLanguage.get('', '直供分仓')"
337
- :is-link="false"
338
- >
339
- <template #value>
340
-
341
- <van-switch
342
- v-model="skuNewProjectSkuInfo.directSupply"
343
- size="18px"
344
- />
345
- </template>
346
- </lw-cell>
347
-
348
-
349
- <lw-cell
350
- :title="$lwLanguage.get('', '直发门店')"
351
- :is-link="false"
352
- >
353
- <template #value>
354
-
355
- <van-switch
356
- v-model="skuNewProjectSkuInfo.directSend"
357
- size="18px"
358
- />
359
- </template>
360
- </lw-cell>
361
-
362
-
363
- <lw-cell
364
- :title="$lwLanguage.get('', '左右键')"
365
- :is-link="false"
366
- >
367
- <template #value>
368
-
369
- <van-switch
370
- v-model="skuNewProjectSkuInfo.leftRight"
371
- size="18px"
372
- />
373
- </template>
374
- </lw-cell>
375
-
376
- <lw-cell
377
- :title="$lwLanguage.get('', '打刻件')"
378
- :is-link="false"
379
- >
380
- <template #value>
381
-
382
- <van-switch
383
- v-model="skuNewProjectSkuInfo.engraving"
384
- size="18px"
385
- />
386
- </template>
387
- </lw-cell>
388
-
389
- <lw-cell
390
- :title="$lwLanguage.get('', '调拨捆包')"
391
- :is-link="false"
392
- >
393
- <template #value>
394
-
395
- <van-switch
396
- v-model="skuNewProjectSkuInfo.outPack"
397
- size="18px"
398
- />
399
- </template>
400
- </lw-cell>
401
-
402
-
403
- <lw-cell
404
- :is-link="false"
405
- >
406
- <template #title>
407
- <div>
408
- <div>
409
- {{ $lwLanguage.get('', '裸件图片') }}
410
- </div>
411
- <div>
412
- {{ $lwLanguage.get('', '可上传多张') }}
413
- </div>
414
- </div>
415
- </template>
416
- <template #value>
417
- <lw-img-upload v-if="imageLoad" v-model="skuNewProjectSkuInfo.image"/>
418
-
419
-
420
- </template>
421
- </lw-cell>
422
-
423
-
424
- </div>
425
- </template>
426
- <lw-not-data v-else/>
427
-
428
-
429
- <div class=" lw-global-flex-center lw-global-model-box ">
430
- <lw-button @click="complete">完成配置</lw-button>
431
- <lw-button @click="saveSkuBaseInfo">保存基础信息</lw-button>
432
- </div>
433
-
434
-
435
- </van-tab>
436
-
437
-
438
- <!-- 包装 -->
439
- <van-tab
440
- name="skuPack"
441
- title="包装"
442
- >
443
-
444
- <template v-if="skuNewProjectPackInfoList.length">
445
- <div
446
- class="lw-global-model-box lw-global-click-style"
447
- v-for="(packInfo,index) in skuNewProjectPackInfoList"
448
- :key="index"
449
- @click="openPopupPackInfo(index)">
450
- <div class="lw-global-row-start lw-global-flex-between">
451
- <div style="flex-shrink: 0">{{ packInfo.packCode }}</div>
452
- <div>{{
453
- $lwDict.getDictLabel('WmsSkuPackModel1Type', skuNewProjectPackInfoList[index].model1)
454
- }}
455
- </div>
456
-
457
- <lw-tag
458
- round
459
- plain
460
- v-if="packInfo.defaultPack"
461
- >{{ $lwLanguage.get('', '默认') }}
462
- </lw-tag>
463
- </div>
464
-
465
- <lw-img-look
466
- :img-list="packInfo.skuImage"
467
- />
468
-
469
- <lw-cell
470
- :is-link="false">
471
- <template #title>
472
- <div>
473
- {{ $lwLanguage.get('', 'EA:最小单位') }}
474
- </div>
475
- <div>
476
- {{ $lwLanguage.get('', 'EA长宽高:mm毫米') }}
477
- </div>
478
-
479
- </template>
480
- <template #value>
481
- <div>
482
- {{ $lwLanguage.get('', '数量') }}:1
483
- </div>
484
- <div>
485
- {{ packInfo.eachLength }} * {{ packInfo.eachWidth }} *{{ packInfo.eachHeight }}
486
- </div>
487
-
488
- </template>
489
- </lw-cell>
490
-
491
-
492
- <lw-img-look
493
- :img-list="packInfo.innerImage"
494
- />
495
-
496
- <lw-cell
497
- :is-link="false">
498
- <template #title>
499
- <div>
500
- {{ $lwLanguage.get('', 'IP:内包装') }}
501
- </div>
502
- <div>
503
- {{ $lwLanguage.get('', 'IP长宽高:mm毫米') }}
504
- </div>
505
-
506
- </template>
507
- <template #value>
508
- <div>
509
- {{ $lwLanguage.get('', '数量') }}:{{ packInfo.innerQty }}
510
- </div>
511
- <div>
512
- {{ packInfo.innerLength }} * {{ packInfo.innerWidth }} *{{ packInfo.innerHeight }}
513
- </div>
514
-
515
- </template>
516
-
517
-
518
- </lw-cell>
519
-
520
- <lw-img-look
521
-
522
- :img-list="packInfo.caseImage"
523
- />
524
-
525
- <lw-cell
526
- :is-link="false">
527
- <template #title>
528
- <div>
529
- {{ $lwLanguage.get('', 'CS:箱') }}
530
- </div>
531
- <div>
532
- {{ $lwLanguage.get('', 'CS长宽高:mm毫米') }}
533
- </div>
534
-
535
- </template>
536
- <template #value>
537
- <div>
538
- {{ $lwLanguage.get('', '数量') }}:{{ packInfo.caseQty }}
539
- </div>
540
- <div>
541
- {{ packInfo.caseLength }} * {{ packInfo.caseWidth }} *{{ packInfo.caseHeight }}
542
- </div>
543
-
544
- </template>
545
-
546
-
547
- </lw-cell>
548
-
549
- <lw-img-look
550
- :img-list="packInfo.palletImage"
551
- />
552
-
553
- <lw-cell
554
- :is-link="false">
555
- <template #title>
556
- <div>
557
- {{ $lwLanguage.get('', 'PL:托') }}
558
- </div>
559
- <div>
560
- {{ $lwLanguage.get('', 'PL长宽高:mm毫米') }}
561
- </div>
562
-
563
- <div>
564
- {{ $lwLanguage.get('', 'Ti*Hi') }} {{ packInfo.palletTi }} * {{ packInfo.palletHi }}
565
- </div>
566
-
567
- </template>
568
- <template #value>
569
- <div>
570
- {{ $lwLanguage.get('', '数量') }}:{{ packInfo.palletQty }}
571
- </div>
572
- <div>
573
- {{ packInfo.palletLength }} * {{ packInfo.palletWidth }} *{{ packInfo.palletHeight }}
574
- </div>
575
- <div>
576
-
577
- {{ $lwLanguage.get('', '托盘规格') }}:{{ packInfo.palletContainerStdCode }}
578
- </div>
579
- </template>
580
-
581
-
582
- </lw-cell>
583
-
584
-
585
- </div>
586
-
587
- </template>
588
-
589
- <lw-not-data v-else/>
590
-
591
-
592
- <div class=" lw-global-flex-center lw-global-model-box ">
593
- <lw-button @click="complete">完成配置</lw-button>
594
- <lw-button @click="addSkuPack">添加包装</lw-button>
595
- </div>
596
-
597
-
598
-
599
-
600
- </van-tab>
601
-
602
- <!-- 品检卡 -->
603
- <van-tab
604
- name="qualityCard"
605
- title="品检卡"
606
- >
607
-
608
- <div v-if="skuNewProjectSkuQualityCardInfoList.length===0"
609
- class="lw-global-model-box lw-global-click-style"
610
- >
611
- <div>
612
- <lw-cell>
613
- <template #title>
614
- <div>
615
- {{ $lwLanguage.get('', '质检方式') }}
616
- </div>
617
- </template>
618
- <template #value>
619
- <div>
620
- {{ $lwDict.getDictLabel('quality_type_choice', skuNewProjectSkuInfo.qualityType) }}
621
-
622
-
623
- </div>
624
- </template>
625
- </lw-cell>
626
- </div>
627
- <div class="lw-global-flex-center">
628
- <lw-button @click="addQualityCard">添加品鉴卡</lw-button>
629
- </div>
630
- </div>
631
-
632
- <div v-else
633
- class="lw-global-model-box lw-global-click-style"
634
- v-for="(qualityCard,index) in skuNewProjectSkuQualityCardInfoList"
635
- :key="'qc'+index"
636
- >
637
- <lw-cell>
638
- <template #title>
639
- <div class="lw-global-flex-between">
640
- <div>
641
- {{ $lwLanguage.get('', '质检方式') }}
642
- </div>
643
- <div>
644
- {{ $lwDict.getDictLabel('quality_type_choice', skuNewProjectSkuInfo.qualityType) }}
645
- </div>
646
- </div>
647
- </template>
648
- <template #value>
649
-
650
- <div class="lw-global-flex-center">
651
- <lw-button @click="qualityCardPopShow(index)">编辑</lw-button>
652
- </div>
653
- </template>
654
- </lw-cell>
655
-
656
-
657
-
658
-
659
-
660
- <div class="lw-global-title" style="padding: 8px 0">
661
- {{ $lwLanguage.get('', '正面') }}
662
- </div>
663
- <lw-img-look :img-list="qualityCard.frontImage"/>
664
- <lw-input
665
- disabled
666
- :title="$lwLanguage.get('','正面要点')"
667
- v-model="qualityCard.frontDescribe"
668
- type="textarea"
669
- input-align="right" :rows="4"/>
670
- <div class="lw-global-title" style="padding: 8px 0">
671
- {{ $lwLanguage.get('', '背面') }}
672
- </div>
673
- <lw-img-look :img-list="qualityCard.backImage"/>
674
- <lw-input
675
- disabled
676
- :title="$lwLanguage.get('','背面要点')"
677
- v-model="qualityCard.backDescribe"
678
- type="textarea"
679
- input-align="right" :rows="4"/>
680
- <div class="lw-global-title" style="padding: 8px 0">
681
- {{ $lwLanguage.get('', '特殊') }}
682
- </div>
683
- <lw-img-look :img-list="qualityCard.markingImage"/>
684
- <lw-input
685
- disabled
686
- :title="$lwLanguage.get('','打刻号要点')"
687
- v-model="qualityCard.markingDescribe"
688
- type="textarea"
689
- input-align="right" :rows="4"/>
690
- <div class="lw-global-title" style="padding: 8px 0">
691
- {{ $lwLanguage.get('', '过往破损') }}
692
- </div>
693
- <lw-img-look :img-list="qualityCard.beforeDamagedImage"/>
694
- <lw-input
695
- disabled
696
- :title="$lwLanguage.get('','过往破损描述')"
697
- v-model="qualityCard.beforeDamagedDescribe"
698
- type="textarea" input-align="right" :rows="4"/>
699
-
700
- </div>
701
-
702
-
703
- <div class=" lw-global-flex-center lw-global-model-box ">
704
- <lw-button @click="complete">完成配置</lw-button>
705
-
706
- </div>
707
-
708
-
709
- </van-tab>
710
- </van-tabs>
711
- </div>
712
- </div>
713
-
714
-
715
- <lw-popup
716
- :title="$lwLanguage.get('','包材信息')"
717
- v-model="packInfoPop.show"
718
- @close="packInfoPopClose"
719
- >
720
-
721
- <template v-if="packInfoPop.showCom">
722
-
723
- <div class="lw-global-flex-between">
724
- <div>{{ editSkuPackInfo.packCode }}</div>
725
- </div>
726
-
727
-
728
- <div class="lw-global-flex-between">
729
- <lw-cell :is-link="false">
730
- <template #title>
731
- <div>
732
- {{ $lwLanguage.get('', '默认包装') }}
733
- </div>
734
- </template>
735
- <template #value>
736
- <van-switch
737
- :disabled="packInfoEditDisable"
738
- v-model="editSkuPackInfo.defaultPack"
739
- size="18px"
740
- />
741
- </template>
742
-
743
- </lw-cell>
744
-
745
- <lw-cell-popup-radio
746
- style="width: 50%"
747
- :disabled="packInfoEditDisable"
748
- v-model="editSkuPackInfo.model1"
749
- title="类型"
750
- dict-key="WmsSkuPackModel1Type"
751
- />
752
-
753
- </div>
754
-
755
-
756
- <lw-cell :disabled="packInfoEditDisable"
757
- :is-link="false">
758
- <template #title>
759
- <div>
760
- {{ $lwLanguage.get('', 'EA:最小单位') }}
761
- </div>
762
-
763
-
764
- </template>
765
- <template #value>
766
- <div>
767
- {{ $lwLanguage.get('', '数量') }}:1
768
- </div>
769
-
770
- </template>
771
- </lw-cell>
772
-
773
- <lw-cell>
774
- <template #title>
775
- <div>
776
- {{ $lwLanguage.get('', 'EA长宽高:mm毫米') }}
777
- </div>
778
- </template>
779
- <template #value>
780
- <div class="lw-global-flex-between">
781
- <lw-input
782
- type="number"
783
- :disabled="packInfoEditDisable"
784
- :show-keyboard='false'
785
- v-model="editSkuPackInfo.eachLength "
786
- :show-bottom-border="false"
787
- />
788
- <lw-input
789
- type="number"
790
- :disabled="packInfoEditDisable"
791
- :show-keyboard='false'
792
- v-model="editSkuPackInfo.eachWidth "
793
- :show-bottom-border="false"
794
- />
795
- <lw-input
796
- type="number"
797
- :disabled="packInfoEditDisable"
798
- :show-keyboard='false'
799
- v-model="editSkuPackInfo.eachHeight "
800
- :show-bottom-border="false"
801
- />
802
- </div>
803
- </template>
804
-
805
- </lw-cell>
806
-
807
-
808
- <lw-img-look v-if="packInfoEditDisable"
809
- :img-list="editSkuPackInfo.innerImage" />
810
- <lw-img-upload v-else
811
- v-model="editSkuPackInfo.innerImage" />
812
-
813
-
814
-
815
- <lw-cell
816
- :is-link="false">
817
- <template #title>
818
- <div>
819
- {{ $lwLanguage.get('', 'IP:内包装') }}
820
- </div>
821
- </template>
822
- <template #value>
823
- <div>
824
- <lw-input
825
- :title="$lwLanguage.get('', '数量')"
826
- :show-keyboard='false'
827
- :disabled="packInfoEditDisable"
828
- type="number"
829
- v-model="editSkuPackInfo.innerQty "
830
- :show-bottom-border="false"
831
- />
832
- </div>
833
-
834
- </template>
835
-
836
-
837
- </lw-cell>
838
-
839
- <lw-cell
840
- :is-link="false">
841
- <template #title>
842
- <div>
843
- {{ $lwLanguage.get('', 'IP长宽高:mm毫米') }}
844
- </div>
845
- </template>
846
- <template #value>
847
- <div class="lw-global-flex-between">
848
- <lw-input
849
- :show-keyboard='false'
850
- type="number"
851
- :disabled="packInfoEditDisable"
852
- v-model="editSkuPackInfo.innerLength "
853
- :show-bottom-border="false"
854
- />
855
- <lw-input
856
- :show-keyboard='false'
857
- type="number"
858
- :disabled="packInfoEditDisable"
859
- v-model="editSkuPackInfo.innerWidth "
860
- :show-bottom-border="false"
861
- />
862
- <lw-input
863
- :show-keyboard='false'
864
- type="number"
865
- :disabled="packInfoEditDisable"
866
- v-model="editSkuPackInfo.innerHeight "
867
- :show-bottom-border="false"
868
- />
869
- </div>
870
- </template>
871
- </lw-cell>
872
-
873
-
874
- <lw-img-look v-if="packInfoEditDisable"
875
- :img-list="editSkuPackInfo.caseImage" />
876
- <lw-img-upload v-else
877
- v-model="editSkuPackInfo.caseImage" />
878
-
879
-
880
-
881
- <lw-cell
882
- :is-link="false">
883
- <template #title>
884
- <div>
885
- {{ $lwLanguage.get('', 'CS:箱') }}
886
- </div>
887
- </template>
888
- <template #value>
889
- <lw-input
890
- :show-keyboard='false'
891
- type="number"
892
- :title="$lwLanguage.get('', '数量')"
893
- :disabled="packInfoEditDisable"
894
- v-model="editSkuPackInfo.caseQty "
895
- >
896
-
897
- </lw-input>
898
-
899
-
900
- </template>
901
-
902
-
903
- </lw-cell>
904
- <lw-cell
905
- :is-link="false">
906
- <template #title>
907
- <div>
908
- {{ $lwLanguage.get('', 'CS长宽高:mm毫米') }}
909
- </div>
910
- </template>
911
- <template #value>
912
- <div class="lw-global-flex-between">
913
- <lw-input
914
- :show-keyboard='false'
915
- type="number"
916
- :disabled="packInfoEditDisable"
917
- v-model="editSkuPackInfo.caseLength "
918
- :show-bottom-border="false"
919
- />
920
- <lw-input
921
- :show-keyboard='false'
922
- type="number"
923
- :disabled="packInfoEditDisable"
924
- v-model="editSkuPackInfo.caseWidth "
925
- :show-bottom-border="false"
926
- />
927
- <lw-input
928
- :show-keyboard='false'
929
- type="number"
930
- :disabled="packInfoEditDisable"
931
- v-model="editSkuPackInfo.caseHeight "
932
- :show-bottom-border="false"
933
- />
934
- </div>
935
- </template>
936
-
937
- </lw-cell>
938
-
939
- <lw-img-look v-if="packInfoEditDisable"
940
- :img-list="editSkuPackInfo.palletImage" />
941
- <lw-img-upload v-else
942
- v-model="editSkuPackInfo.palletImage" />
943
-
944
-
945
-
946
- <lw-cell
947
- :is-link="false">
948
- <template #title>
949
- <div>
950
- {{ $lwLanguage.get('', 'PL:托') }}
951
- </div>
952
-
953
- </template>
954
- <template #value>
955
- <div>
956
- <lw-input
957
- :title="$lwLanguage.get('', '数量')"
958
- :show-keyboard='false'
959
- type="number"
960
- :disabled="packInfoEditDisable"
961
- v-model="editSkuPackInfo.palletQty "
962
- :show-bottom-border="false"
963
- />
964
- </div>
965
-
966
- </template>
967
-
968
-
969
- </lw-cell>
970
-
971
- <lw-cell
972
- :is-link="false">
973
- <template #title>
974
-
975
- <div>
976
- {{ $lwLanguage.get('', 'PL长宽高:mm毫米') }}
977
- </div>
978
-
979
-
980
- </template>
981
- <template #value>
982
-
983
- <div class="lw-global-flex-between">
984
- <lw-input
985
- :show-keyboard='false'
986
- type="number"
987
- :disabled="packInfoEditDisable"
988
- v-model="editSkuPackInfo.palletLength "
989
- :show-bottom-border="false"
990
- />
991
- <lw-input
992
- :show-keyboard='false'
993
- type="number"
994
- :disabled="packInfoEditDisable"
995
- v-model="editSkuPackInfo.palletWidth "
996
- :show-bottom-border="false"
997
- />
998
- <lw-input
999
- :show-keyboard='false'
1000
- type="number"
1001
- :disabled="packInfoEditDisable"
1002
- v-model="editSkuPackInfo.palletHeight "
1003
- :show-bottom-border="false"
1004
- />
1005
-
1006
-
1007
- </div>
1008
-
1009
- </template>
1010
-
1011
-
1012
- </lw-cell>
1013
- <lw-cell
1014
- :is-link="false">
1015
- <template #title>
1016
-
1017
-
1018
- <div>
1019
- {{ $lwLanguage.get('', 'Ti*Hi') }}
1020
- </div>
1021
-
1022
- </template>
1023
- <template #value>
1024
-
1025
-
1026
- <div class="lw-global-flex-between">
1027
- <lw-input
1028
- :show-keyboard='false'
1029
- type="number"
1030
- :disabled="packInfoEditDisable"
1031
- v-model="editSkuPackInfo.palletTi "
1032
- :show-bottom-border="false"
1033
- />
1034
-
1035
- <lw-input
1036
- :show-keyboard='false'
1037
- type="number"
1038
- :disabled="packInfoEditDisable"
1039
- v-model="editSkuPackInfo.palletHi "
1040
- :show-bottom-border="false"
1041
- />
1042
- </div>
1043
-
1044
- </template>
1045
-
1046
-
1047
- </lw-cell>
1048
-
1049
- <lw-cell
1050
- :is-link="false">
1051
- <template #title>
1052
- <div>
1053
- {{ $lwLanguage.get('', '托盘规格') }}
1054
- </div>
1055
- </template>
1056
- <template #value>
1057
- <lw-cell-popup-radio
1058
- :disabled="packInfoEditDisable"
1059
- v-model="editSkuPackInfo.palletContainerStdId"
1060
- :columns="containerStandardList"
1061
- value-key="id"
1062
- label-key="code"
1063
- @confirm="selectContainer"
1064
- >
1065
- </lw-cell-popup-radio>
1066
-
1067
-
1068
- </template>
1069
-
1070
-
1071
- </lw-cell>
1072
-
1073
- </template>
1074
- <template #button>
1075
-
1076
- <lw-button v-show="!packInfoEditDisable" @click="saveSkuPackInfo">
1077
- {{ $lwLanguage.get('', '保存') }}
1078
- </lw-button>
1079
-
1080
- <lw-button @click="packInfoEditDisable=false" v-show="packInfoEditDisable">
1081
- {{ $lwLanguage.get('', '编辑') }}
1082
- </lw-button>
1083
-
1084
- </template>
1085
- </lw-popup>
1086
-
1087
-
1088
- <lw-popup
1089
- :title="$lwLanguage.get('','品检卡')"
1090
- v-model="qualityCardPop.show"
1091
- @close="qualityCardPopClose"
1092
- >
1093
-
1094
-
1095
- <lw-cell>
1096
- <template #title>
1097
- <div>
1098
- {{ $lwLanguage.get('', '质检方式') }}
1099
- </div>
1100
- </template>
1101
- <template #value>
1102
- <div>
1103
- {{ $lwDict.getDictLabel('quality_type_choice', skuNewProjectSkuInfo.qualityType) }}
1104
- </div>
1105
- </template>
1106
- </lw-cell>
1107
-
1108
-
1109
- <div class="lw-global-title" style="padding: 8px 0">
1110
- {{ $lwLanguage.get('', '正面') }}
1111
- </div>
1112
- <lw-img-upload v-model="editSkuQualityInfo.frontImage"/>
1113
- <lw-input :title="$lwLanguage.get('','正面要点')"
1114
- v-model="editSkuQualityInfo.frontDescribe"
1115
- type="textarea"
1116
- input-align="right" :rows="4"/>
1117
- <div class="lw-global-title" style="padding: 8px 0">
1118
- {{ $lwLanguage.get('', '背面') }}
1119
- </div>
1120
- <lw-img-upload v-model="editSkuQualityInfo.backImage"/>
1121
- <lw-input :title="$lwLanguage.get('','背面要点')"
1122
- v-model="editSkuQualityInfo.backDescribe"
1123
- type="textarea"
1124
- input-align="right" :rows="4"/>
1125
- <div class="lw-global-title" style="padding: 8px 0">
1126
- {{ $lwLanguage.get('', '特殊') }}
1127
- </div>
1128
- <lw-img-upload v-model="editSkuQualityInfo.markingImage"/>
1129
- <lw-input :title="$lwLanguage.get('','打刻号要点')"
1130
- v-model="editSkuQualityInfo.markingDescribe"
1131
- type="textarea"
1132
- input-align="right" :rows="4"/>
1133
- <div class="lw-global-title" style="padding: 8px 0">
1134
- {{ $lwLanguage.get('', '过往破损') }}
1135
- </div>
1136
- <lw-img-upload v-model="editSkuQualityInfo.beforeDamagedImage"/>
1137
- <lw-input :title="$lwLanguage.get('','过往破损描述')"
1138
- v-model="editSkuQualityInfo.beforeDamagedDescribe"
1139
- type="textarea" input-align="right" :rows="4"/>
1140
-
1141
- <template #button>
1142
- <lw-bottom-bar>
1143
- <lw-button @click="saveQualityCard" >保存品鉴卡</lw-button>
1144
- </lw-bottom-bar>
1145
-
1146
- </template>
1147
-
1148
-
1149
- </lw-popup>
1150
-
1151
- </div>
1152
-
1153
- </template>
1154
-
1155
- <script>
1156
- // 查询新品信息接口
1157
- import {
1158
- WmsProjectMobileQuerySkuNewProductInfo,
1159
- WmsProjectMobileQuerySkuAttribute,
1160
- WmsProjectMobileQuerySkuCategory,
1161
- WmsProjectMobileQueryContainerStandard,
1162
- WmsProjectMobileSaveSkuBaseInfo,
1163
- WmsProjectMobileSaveSkuPackInfo,
1164
- WmsProjectMobileSaveSkuQualityCardInfo,
1165
- WmsProjectMobileQuerySupplier,
1166
- WmsProjectMobileSkuNewProjectComplete,
1167
- } from "../../../../../api/inner/newProject/action"
1168
-
1169
- export default {
1170
-
1171
-
1172
- name: "lwNewProjectActionPage",
1173
- data() {
1174
- return {
1175
-
1176
- // tab激活项
1177
- imageLoad:false,
1178
- tabActive: 'skuInfo',
1179
- skuTypeList: [],
1180
- skuAttributeList: [],
1181
- warehouseList: [],
1182
- containerStandardList: [],
1183
- packInfoEditDisable: true,
1184
- skuId: '',
1185
- taskId: '',
1186
- taskNo: '',
1187
- ownerId: '',
1188
- packInfoShowIndex: 0,
1189
- packInfoPop: {
1190
- show: false,
1191
- showCom: false
1192
- },
1193
- qualitCardIndex: 0,
1194
- qualityCardPop:{
1195
- show: false
1196
- },
1197
- skuNewProjectSkuInfo: {
1198
- image:[]
1199
- },
1200
- supplierList: [],
1201
- skuNewProjectPackInfoList: [],
1202
- skuNewProjectSkuQualityCardInfoList: [],
1203
- editSkuPackInfo:{},
1204
- editSkuQualityInfo:{}
1205
-
1206
- }
1207
-
1208
- },
1209
-
1210
- mounted() {
1211
- this.$lwApi.warehouse.getList().then(res => {
1212
- this.warehouseList = res
1213
- })
1214
- this.pageInit()
1215
-
1216
- console.log()
1217
-
1218
- },
1219
-
1220
- methods: {
1221
-
1222
- qualityCardPopClose(){
1223
- this.qualityCardPop.show=false
1224
- },
1225
-
1226
- qualityCardPopShow(index){
1227
- this.qualityCardPop.show=true
1228
- let data=this.skuNewProjectSkuQualityCardInfoList[index]
1229
- this.editSkuQualityInfo=JSON.parse(JSON.stringify(data))
1230
- },
1231
-
1232
- openPopupPackInfo(index){
1233
-
1234
- let data=this.skuNewProjectPackInfoList[index]
1235
-
1236
-
1237
- if(data&&!data.eachLength){
1238
- data.eachLength=this.skuNewProjectSkuInfo.length
1239
- }
1240
- if(data&&!data.eachWidth){
1241
- data.eachWidth=this.skuNewProjectSkuInfo.width
1242
- }
1243
- if(data&&!data.eachHeight){
1244
- data.eachHeight=this.skuNewProjectSkuInfo.height
1245
- }
1246
-
1247
-
1248
-
1249
- this.editSkuPackInfo=JSON.parse(JSON.stringify(data))
1250
- this.packInfoShowIndex=index
1251
- this.packInfoPop.showCom=true
1252
- this.packInfoPop.show=true
1253
-
1254
- },
1255
-
1256
- pageInit() {
1257
-
1258
-
1259
- this.skuNewProjectSkuInfo={}
1260
- this.skuNewProjectPackInfoList=[]
1261
- this.skuNewProjectSkuQualityCardInfoList=[]
1262
-
1263
- const lwSKuId = this.$route.query.lwSkuId
1264
- const lwOwnerId = this.$route.query.lwOwnerId
1265
-
1266
- let taskId = this.$route.query.taskId
1267
- if (!taskId) {
1268
- taskId = this.$route.query.lwTaskId
1269
- }
1270
-
1271
- if(taskId){
1272
- this.taskId=taskId
1273
- }
1274
-
1275
- if (lwSKuId) {
1276
- this.skuId = lwSKuId
1277
- }
1278
- if (lwOwnerId) {
1279
- this.ownerId = lwOwnerId
1280
- }
1281
-
1282
- console.log("lwSkuId",this.skuId)
1283
- console.log("lwOwnerId",this.ownerId)
1284
-
1285
-
1286
- WmsProjectMobileQuerySkuNewProductInfo({skuId: this.skuId, ownerId: this.ownerId,"taskId":this.taskId}).then(res => {
1287
- console.log("skuInfo", res)
1288
- if (res.skuNewProjectSkuInfo) {
1289
- this.skuNewProjectSkuInfo = res.skuNewProjectSkuInfo
1290
- }
1291
- if (res.skuNewProjectPackInfoList && res.skuNewProjectPackInfoList.length > 0) {
1292
- this.skuNewProjectPackInfoList = res.skuNewProjectPackInfoList
1293
- }
1294
- if (res.skuNewProjectSkuQualityCardInfoList && res.skuNewProjectSkuQualityCardInfoList.length > 0) {
1295
- this.skuNewProjectSkuQualityCardInfoList = res.skuNewProjectSkuQualityCardInfoList
1296
- }
1297
-
1298
- if(this.skuNewProjectSkuInfo.category){
1299
- this.skuTypeConfirm();
1300
- }
1301
- this.skuId=this.skuNewProjectSkuInfo.skuId
1302
- this.ownerId=this.skuNewProjectSkuInfo.ownerId
1303
-
1304
- this.imageLoad=true
1305
-
1306
- this.querySupplier()
1307
-
1308
- })
1309
-
1310
-
1311
- WmsProjectMobileQuerySkuAttribute({}).then(res => {
1312
- console.log("SkuCategory", res)
1313
- if (res && res.length > 0) {
1314
- this.skuTypeList = res
1315
- }
1316
- })
1317
-
1318
-
1319
- WmsProjectMobileQueryContainerStandard().then(res => {
1320
- console.log("containerStandardList", res)
1321
- this.containerStandardList = res
1322
- })
1323
-
1324
- // this.querySupplier()
1325
-
1326
-
1327
- },
1328
-
1329
- skuTypeConfirm() {
1330
- if (this.skuNewProjectSkuInfo.category) {
1331
- WmsProjectMobileQuerySkuCategory({"category": this.skuNewProjectSkuInfo.category}).then(res => {
1332
- console.log("SkuCategory", res)
1333
- if (res && res.length > 0) {
1334
- this.skuAttributeList = res
1335
- }
1336
-
1337
- })
1338
-
1339
- }
1340
-
1341
- },
1342
-
1343
- selectContainer(item) {
1344
- console.log("container", item)
1345
- this.skuNewProjectPackInfoList[this.packInfoShowIndex].code = item.code
1346
-
1347
-
1348
- },
1349
- addQualityCard() {
1350
- let newQualityCard = {}
1351
-
1352
- newQualityCard.frontImage=[]
1353
- newQualityCard.backImage=[]
1354
- newQualityCard.markingImage=[]
1355
- newQualityCard.beforeDamagedImage=[]
1356
-
1357
- let length=this.skuNewProjectSkuQualityCardInfoList.push(newQualityCard)
1358
- let index=length-1
1359
- this.qualitCardIndex=index
1360
- this.qualityCardPopShow(index)
1361
-
1362
- },
1363
-
1364
- saveSkuBaseInfo() {
1365
- let skuBaskInfo = {...this.skuNewProjectSkuInfo}
1366
- WmsProjectMobileSaveSkuBaseInfo(skuBaskInfo).then(res => {
1367
- console.log(res)
1368
- this.pageInit()
1369
- })
1370
-
1371
-
1372
-
1373
- },
1374
- saveSkuPackInfo() {
1375
-
1376
- let skuPackInfo = {...this.editSkuPackInfo}
1377
-
1378
- if(!skuPackInfo.packId){
1379
- skuPackInfo.skuId=this.skuId
1380
- skuPackInfo.ownerId=this.ownerId
1381
-
1382
- }
1383
-
1384
- WmsProjectMobileSaveSkuPackInfo(skuPackInfo).then(res => {
1385
- console.log(res)
1386
- this.pageInit()
1387
- this.packInfoPop.show=false
1388
- this.packInfoPop.showCom=false
1389
- this.packInfoEditDisable=true
1390
-
1391
- this.qualityCardPopClose()
1392
-
1393
- })
1394
-
1395
-
1396
-
1397
-
1398
- },
1399
- saveQualityCard() {
1400
- let skuQualityCardInfo = {...this.editSkuQualityInfo}
1401
-
1402
- if(!skuQualityCardInfo.skuQualityCardId){
1403
- skuQualityCardInfo.skuId=this.skuId
1404
- skuQualityCardInfo.ownerId=this.ownerId
1405
-
1406
- }
1407
-
1408
- WmsProjectMobileSaveSkuQualityCardInfo(skuQualityCardInfo).then(res=>{
1409
- console.log(res)
1410
- this.pageInit()
1411
- })
1412
-
1413
- this.qualityCardPopClose()
1414
-
1415
-
1416
- },
1417
- querySupplier(){
1418
- let data={"ownerId":this.ownerId}
1419
- WmsProjectMobileQuerySupplier(data).then(res=>{
1420
- this.supplierList=res
1421
-
1422
- })
1423
-
1424
- },
1425
- addSkuPack(){
1426
- let pack={}
1427
-
1428
- pack.innerImage=[]
1429
- pack.caseImage=[]
1430
- pack.palletImage=[]
1431
-
1432
- pack.eachLength=this.skuNewProjectSkuInfo.length
1433
- pack.eachWidth=this.skuNewProjectSkuInfo.width
1434
- pack.eachHeight=this.skuNewProjectSkuInfo.height
1435
-
1436
- let length=this.skuNewProjectPackInfoList.push(pack)
1437
- let index=(length-1)
1438
- this.packInfoShowIndex=index
1439
- this.editSkuPackInfo=pack
1440
- this.openPopupPackInfo(index)
1441
- this.packInfoEditDisable=false
1442
-
1443
-
1444
- },
1445
- complete(){
1446
- let data={"taskId":this.taskId,"taskNo":this.taskNo}
1447
- WmsProjectMobileSkuNewProjectComplete(data).then(res=>{
1448
- console.log(res)
1449
- })
1450
- },
1451
- packInfoPopClose(){
1452
- this.packInfoPop.showCom=false
1453
- this.packInfoPop.show=false
1454
- this.packInfoEditDisable=true
1455
- },
1456
-
1457
-
1458
-
1459
- },
1460
-
1461
-
1462
-
1463
-
1464
-
1465
- }
1466
-
1467
- </script>
1468
-
1469
- <style/>
1
+ <!--
2
+ 新品配置
3
+ @author: 杨震天
4
+ @date: 2022-06-28
5
+ -->
6
+
7
+ <template>
8
+ <div>
9
+
10
+ <lw-nav-bar
11
+
12
+ :title="$lwLanguage.get('', '新品配置')"/>
13
+
14
+
15
+ <div class="lw-global-page-box">
16
+ <div class="lw-global-model-box">
17
+ <div class="lw-global-row lw-global-flex-between">
18
+ <div class="lw-global-value-bold">{{ skuNewProjectSkuInfo.skuCode }}</div>
19
+
20
+ <div class="lw-tag-box">
21
+ <lw-tag round plain>{{ $lwLanguage.get('', 'BO') }}</lw-tag>
22
+
23
+
24
+ </div>
25
+ </div>
26
+ <div class="lw-global-row">
27
+
28
+ <lw-title-value-cell
29
+ :value="skuNewProjectSkuInfo.skuName"
30
+ val-bold
31
+ :is-row="false"
32
+ />
33
+
34
+ <lw-title-value-cell
35
+ :title="$lwLanguage.get('','货主')"
36
+ :value="skuNewProjectSkuInfo.ownerCode + ' ' + skuNewProjectSkuInfo.ownerName"
37
+ val-bold
38
+ :is-row="false"
39
+ />
40
+
41
+
42
+ </div>
43
+
44
+ </div>
45
+
46
+ <div class="lw-global-tab-box" style="margin-top: 10px;">
47
+ <van-tabs type="card" animated v-model="tabActive">
48
+
49
+ <!-- 基础信息 -->
50
+ <van-tab
51
+ name="skuInfo"
52
+
53
+ :title="$lwLanguage.get('', '基础信息')"
54
+
55
+ >
56
+ <template v-if="skuNewProjectSkuInfo">
57
+
58
+ <div class="lw-global-model-box">
59
+
60
+ <lw-input
61
+ input-align="right"
62
+ :show-clear="false"
63
+ :placeholder="$lwLanguage.get('', '')"
64
+ v-model="skuNewProjectSkuInfo.referCode"
65
+
66
+ :title="$lwLanguage.get('', '参考代码')"
67
+
68
+ :show-bottom-border="false"
69
+ />
70
+
71
+ <lw-cell-popup-radio
72
+ v-model="skuNewProjectSkuInfo.category"
73
+
74
+ :title="$lwLanguage.get('', '商品类型')"
75
+
76
+
77
+ :columns="skuTypeList"
78
+ value-key="id"
79
+ label-key="name"
80
+ @confirm="skuTypeConfirm"
81
+
82
+ />
83
+
84
+
85
+ <lw-cell-popup-radio
86
+ v-model="skuNewProjectSkuInfo.category1"
87
+
88
+ :title="$lwLanguage.get('', '商品属性')"
89
+
90
+ :columns="skuAttributeList"
91
+ value-key="id"
92
+ label-key="name"
93
+
94
+ />
95
+
96
+
97
+ <lw-cell-popup-radio
98
+ v-model="skuNewProjectSkuInfo.sizeType"
99
+
100
+ :title="$lwLanguage.get('', '尺寸类型')"
101
+
102
+ dict-key="size_type_choice"
103
+ />
104
+
105
+
106
+ <lw-cell-popup-radio
107
+ v-model="skuNewProjectSkuInfo.packType"
108
+
109
+ :title="$lwLanguage.get('', '包装属性')"
110
+
111
+ dict-key="pack_type_choice"
112
+ :show-bottom-border="false"
113
+ />
114
+
115
+
116
+ <!-- ship_pack_type_choice-->
117
+ <lw-cell-popup-radio
118
+ v-model="skuNewProjectSkuInfo.shipPackType"
119
+
120
+ :title="$lwLanguage.get('', '捆包类型')"
121
+
122
+ dict-key="ship_pack_type_choice"
123
+ :show-bottom-border="false"
124
+ />
125
+
126
+ <lw-input
127
+ input-align="right"
128
+ :show-clear="false"
129
+ :placeholder="$lwLanguage.get('', '')"
130
+ v-model="skuNewProjectSkuInfo.minSellQty"
131
+
132
+ :title="$lwLanguage.get('', '最小销售数')"
133
+
134
+ type="number"
135
+ :show-bottom-border="false"
136
+ />
137
+
138
+
139
+ <lw-cell-popup-radio
140
+ v-model="skuNewProjectSkuInfo.abcType"
141
+
142
+ :title="$lwLanguage.get('', '库存频度')"
143
+
144
+ dict-key="abc_type"
145
+
146
+ />
147
+
148
+ <lw-input
149
+ input-align="right"
150
+ :show-clear="false"
151
+ :placeholder="$lwLanguage.get('', '')"
152
+ v-model="skuNewProjectSkuInfo.qualityPeriod"
153
+
154
+ :title="$lwLanguage.get('', '保质期')"
155
+
156
+ type="number"
157
+ :show-bottom-border="false"
158
+ />
159
+ <lw-input
160
+ input-align="right"
161
+ :show-clear="false"
162
+ :placeholder="$lwLanguage.get('', '')"
163
+ v-model="skuNewProjectSkuInfo.bestQualityPeriod"
164
+
165
+ :title="$lwLanguage.get('', '最佳保质期')"
166
+
167
+ type="number"
168
+ :show-bottom-border="false"
169
+ />
170
+
171
+ <lw-input
172
+ input-align="right"
173
+ :show-clear="false"
174
+ :placeholder="$lwLanguage.get('', '')"
175
+ v-model="skuNewProjectSkuInfo.remainQualityPercent"
176
+
177
+ :title="$lwLanguage.get('', '剩余效期比例')"
178
+
179
+ type="number"
180
+ :show-bottom-border="false"
181
+ />
182
+
183
+ <lw-input
184
+ input-align="right"
185
+ :show-clear="false"
186
+ :placeholder="$lwLanguage.get('', '')"
187
+ v-model="skuNewProjectSkuInfo.length"
188
+
189
+ :title="$lwLanguage.get('', '裸件长(mm)')"
190
+
191
+ type="number"
192
+
193
+ :show-bottom-border="false"
194
+ />
195
+ <lw-input
196
+ input-align="right"
197
+ :show-clear="false"
198
+ :placeholder="$lwLanguage.get('', '')"
199
+ v-model="skuNewProjectSkuInfo.width"
200
+
201
+ :title="$lwLanguage.get('', '裸件宽(mm)')"
202
+
203
+ type="number"
204
+ :show-bottom-border="false"
205
+ />
206
+
207
+ <lw-input
208
+ input-align="right"
209
+ :show-clear="false"
210
+ :placeholder="$lwLanguage.get('', '')"
211
+ v-model="skuNewProjectSkuInfo.height"
212
+
213
+ :title="$lwLanguage.get('', '裸件高(mm)')"
214
+
215
+ type="number"
216
+ :show-bottom-border="false"
217
+ />
218
+
219
+ <lw-input
220
+ input-align="right"
221
+ :show-clear="false"
222
+ :placeholder="$lwLanguage.get('', '')"
223
+ v-model="skuNewProjectSkuInfo.weight"
224
+
225
+ :title="$lwLanguage.get('', '裸件重量(Kg)')"
226
+
227
+ type="number"
228
+ :show-bottom-border="false"
229
+ />
230
+
231
+ <lw-cell-popup-radio
232
+ v-model="skuNewProjectSkuInfo.warehouseId"
233
+
234
+ :title="$lwLanguage.get('', '采购收货仓')"
235
+
236
+ :show-bottom-border="false"
237
+ :columns="warehouseList"
238
+ value-key="id"
239
+ label-key="code"
240
+ />
241
+
242
+ <lw-cell-popup-radio
243
+ v-model="skuNewProjectSkuInfo.supplyType"
244
+
245
+ :title="$lwLanguage.get('', '供应类型')"
246
+
247
+ dict-key="supply_type_choice"
248
+ :show-bottom-border="false"
249
+ />
250
+
251
+ <lw-cell-popup-radio
252
+ v-model="skuNewProjectSkuInfo.supplierId"
253
+
254
+ :title="$lwLanguage.get('', '首先供应商')"
255
+
256
+ :columns="supplierList"
257
+ value-key="supplierId"
258
+ label-key="supplierCode"
259
+ :show-bottom-border="false"
260
+ />
261
+ <lw-input
262
+ input-align="right"
263
+ :show-clear="false"
264
+ :placeholder="$lwLanguage.get('', '')"
265
+ v-model="skuNewProjectSkuInfo.arrivalPeriod"
266
+
267
+ :title="$lwLanguage.get('', '到货周期')"
268
+
269
+ type="number"
270
+ :show-bottom-border="false"
271
+ />
272
+
273
+ <lw-cell-popup-radio
274
+ v-model="skuNewProjectSkuInfo.qualityType"
275
+
276
+ :title="$lwLanguage.get('', '品检方式')"
277
+
278
+ dict-key="quality_type_choice"
279
+ :show-bottom-border="false"
280
+ />
281
+
282
+ <lw-cell
283
+ :title="$lwLanguage.get('', '快收件')"
284
+ :is-link="false"
285
+ >
286
+ <template #value>
287
+ <van-switch
288
+ v-model="skuNewProjectSkuInfo.fastReceive"
289
+ size="18px"
290
+ />
291
+ </template>
292
+ </lw-cell>
293
+
294
+
295
+ <lw-cell
296
+ :title="$lwLanguage.get('', '需要处理序列号')"
297
+ :is-link="false"
298
+ >
299
+ <template #value>
300
+
301
+ <van-switch
302
+ v-model="skuNewProjectSkuInfo.needHandleSn"
303
+ size="18px"
304
+ />
305
+ </template>
306
+ </lw-cell>
307
+
308
+
309
+ <lw-cell
310
+ :title="$lwLanguage.get('', '先进先出')"
311
+ :is-link="false"
312
+ >
313
+ <template #value>
314
+
315
+ <van-switch
316
+ v-model="skuNewProjectSkuInfo.fifo"
317
+ size="18px"
318
+ />
319
+ </template>
320
+ </lw-cell>
321
+
322
+
323
+ <lw-cell
324
+ :title="$lwLanguage.get('', '需要质检')"
325
+ :is-link="false"
326
+ >
327
+ <template #value>
328
+
329
+ <van-switch
330
+ v-model="skuNewProjectSkuInfo.needQualityTest"
331
+ size="18px"
332
+ />
333
+ </template>
334
+ </lw-cell>
335
+
336
+
337
+ <lw-cell
338
+ :title="$lwLanguage.get('', '贵重品')"
339
+ :is-link="false"
340
+ >
341
+ <template #value>
342
+
343
+ <van-switch
344
+ v-model="skuNewProjectSkuInfo.valuable"
345
+ size="18px"
346
+ />
347
+ </template>
348
+ </lw-cell>
349
+
350
+
351
+ <lw-cell
352
+ :title="$lwLanguage.get('', '重物')"
353
+ :is-link="false"
354
+ >
355
+ <template #value>
356
+
357
+ <van-switch
358
+ v-model="skuNewProjectSkuInfo.heavy"
359
+ size="18px"
360
+ />
361
+ </template>
362
+ </lw-cell>
363
+
364
+ <lw-cell
365
+ :title="$lwLanguage.get('', '冬季发运')"
366
+ :is-link="false"
367
+ >
368
+ <template #value>
369
+
370
+ <van-switch
371
+ v-model="skuNewProjectSkuInfo.winterShipment"
372
+ size="18px"
373
+ />
374
+ </template>
375
+ </lw-cell>
376
+
377
+ <lw-cell
378
+ :title="$lwLanguage.get('', '易碎')"
379
+ :is-link="false"
380
+ >
381
+ <template #value>
382
+
383
+ <van-switch
384
+ v-model="skuNewProjectSkuInfo.fragile"
385
+ size="18px"
386
+ />
387
+ </template>
388
+ </lw-cell>
389
+
390
+ <lw-cell
391
+ :title="$lwLanguage.get('', '快移件')"
392
+ :is-link="false"
393
+ >
394
+ <template #value>
395
+
396
+ <van-switch
397
+ v-model="skuNewProjectSkuInfo.fastMove"
398
+ size="18px"
399
+ />
400
+ </template>
401
+ </lw-cell>
402
+
403
+ <lw-cell
404
+ :title="$lwLanguage.get('', '直供分仓')"
405
+ :is-link="false"
406
+ >
407
+ <template #value>
408
+
409
+ <van-switch
410
+ v-model="skuNewProjectSkuInfo.directSupply"
411
+ size="18px"
412
+ />
413
+ </template>
414
+ </lw-cell>
415
+
416
+
417
+ <lw-cell
418
+ :title="$lwLanguage.get('', '直发门店')"
419
+ :is-link="false"
420
+ >
421
+ <template #value>
422
+
423
+ <van-switch
424
+ v-model="skuNewProjectSkuInfo.directSend"
425
+ size="18px"
426
+ />
427
+ </template>
428
+ </lw-cell>
429
+
430
+
431
+ <lw-cell
432
+ :title="$lwLanguage.get('', '左右键')"
433
+ :is-link="false"
434
+ >
435
+ <template #value>
436
+
437
+ <van-switch
438
+ v-model="skuNewProjectSkuInfo.leftRight"
439
+ size="18px"
440
+ />
441
+ </template>
442
+ </lw-cell>
443
+
444
+ <lw-cell
445
+ :title="$lwLanguage.get('', '打刻件')"
446
+ :is-link="false"
447
+ >
448
+ <template #value>
449
+
450
+ <van-switch
451
+ v-model="skuNewProjectSkuInfo.engraving"
452
+ size="18px"
453
+ />
454
+ </template>
455
+ </lw-cell>
456
+
457
+ <lw-cell
458
+ :title="$lwLanguage.get('', '调拨捆包')"
459
+ :is-link="false"
460
+ >
461
+ <template #value>
462
+
463
+ <van-switch
464
+ v-model="skuNewProjectSkuInfo.outPack"
465
+ size="18px"
466
+ />
467
+ </template>
468
+ </lw-cell>
469
+
470
+
471
+ <lw-cell
472
+ :is-link="false"
473
+ >
474
+ <template #title>
475
+ <div>
476
+ <div>
477
+ {{ $lwLanguage.get('', '裸件图片') }}
478
+ </div>
479
+ <div>
480
+ {{ $lwLanguage.get('', '可上传多张') }}
481
+ </div>
482
+ </div>
483
+ </template>
484
+ <template #value>
485
+ <lw-img-upload v-if="imageLoad" v-model="skuNewProjectSkuInfo.image"/>
486
+
487
+
488
+ </template>
489
+ </lw-cell>
490
+
491
+
492
+ </div>
493
+ </template>
494
+ <lw-not-data v-else/>
495
+
496
+
497
+ <div class=" lw-global-flex-center lw-global-model-box ">
498
+ <lw-button @click="complete">完成配置</lw-button>
499
+ <lw-button @click="saveSkuBaseInfo">保存基础信息</lw-button>
500
+ </div>
501
+
502
+
503
+ </van-tab>
504
+
505
+
506
+ <!-- 包装 -->
507
+ <van-tab
508
+ name="skuPack"
509
+
510
+ :title="$lwLanguage.get('', '包装')"
511
+
512
+ >
513
+
514
+ <template v-if="skuNewProjectPackInfoList.length">
515
+ <div
516
+ class="lw-global-model-box lw-global-click-style"
517
+ v-for="(packInfo,index) in skuNewProjectPackInfoList"
518
+ :key="index"
519
+ @click="openPopupPackInfo(index)">
520
+ <div class="lw-global-row-start lw-global-flex-between">
521
+ <div style="flex-shrink: 0">{{ packInfo.packCode }}</div>
522
+ <div>{{
523
+ $lwDict.getDictLabel('WmsSkuPackModel1Type', skuNewProjectPackInfoList[index].model1)
524
+ }}
525
+ </div>
526
+
527
+ <lw-tag
528
+ round
529
+ plain
530
+ v-if="packInfo.defaultPack"
531
+ >{{ $lwLanguage.get('', '默认') }}
532
+ </lw-tag>
533
+ </div>
534
+
535
+ <lw-img-look
536
+ :img-list="packInfo.skuImage"
537
+ />
538
+
539
+ <lw-cell
540
+ :is-link="false">
541
+ <template #title>
542
+ <div>
543
+ {{ $lwLanguage.get('', 'EA:最小单位') }}
544
+ </div>
545
+ <div>
546
+ {{ $lwLanguage.get('', 'EA长宽高:mm毫米') }}
547
+ </div>
548
+
549
+ </template>
550
+ <template #value>
551
+ <div>
552
+ {{ $lwLanguage.get('', '数量') }}:1
553
+ </div>
554
+ <div>
555
+ {{ packInfo.eachLength }} * {{ packInfo.eachWidth }} *{{ packInfo.eachHeight }}
556
+ </div>
557
+
558
+ </template>
559
+ </lw-cell>
560
+
561
+
562
+ <lw-img-look
563
+ :img-list="packInfo.innerImage"
564
+ />
565
+
566
+ <lw-cell
567
+ :is-link="false">
568
+ <template #title>
569
+ <div>
570
+ {{ $lwLanguage.get('', 'IP:内包装') }}
571
+ </div>
572
+ <div>
573
+ {{ $lwLanguage.get('', 'IP长宽高:mm毫米') }}
574
+ </div>
575
+
576
+ </template>
577
+ <template #value>
578
+ <div>
579
+ {{ $lwLanguage.get('', '数量') }}:{{ packInfo.innerQty }}
580
+ </div>
581
+ <div>
582
+ {{ packInfo.innerLength }} * {{ packInfo.innerWidth }} *{{ packInfo.innerHeight }}
583
+ </div>
584
+
585
+ </template>
586
+
587
+
588
+ </lw-cell>
589
+
590
+ <lw-img-look
591
+
592
+ :img-list="packInfo.caseImage"
593
+ />
594
+
595
+ <lw-cell
596
+ :is-link="false">
597
+ <template #title>
598
+ <div>
599
+ {{ $lwLanguage.get('', 'CS:箱') }}
600
+ </div>
601
+ <div>
602
+ {{ $lwLanguage.get('', 'CS长宽高:mm毫米') }}
603
+ </div>
604
+
605
+ </template>
606
+ <template #value>
607
+ <div>
608
+ {{ $lwLanguage.get('', '数量') }}:{{ packInfo.caseQty }}
609
+ </div>
610
+ <div>
611
+ {{ packInfo.caseLength }} * {{ packInfo.caseWidth }} *{{ packInfo.caseHeight }}
612
+ </div>
613
+
614
+ </template>
615
+
616
+
617
+ </lw-cell>
618
+
619
+ <lw-img-look
620
+ :img-list="packInfo.palletImage"
621
+ />
622
+
623
+ <lw-cell
624
+ :is-link="false">
625
+ <template #title>
626
+ <div>
627
+ {{ $lwLanguage.get('', 'PL:托') }}
628
+ </div>
629
+ <div>
630
+ {{ $lwLanguage.get('', 'PL长宽高:mm毫米') }}
631
+ </div>
632
+
633
+ <div>
634
+ {{ $lwLanguage.get('', 'Ti*Hi') }} {{ packInfo.palletTi }} * {{ packInfo.palletHi }}
635
+ </div>
636
+
637
+ </template>
638
+ <template #value>
639
+ <div>
640
+ {{ $lwLanguage.get('', '数量') }}:{{ packInfo.palletQty }}
641
+ </div>
642
+ <div>
643
+ {{ packInfo.palletLength }} * {{ packInfo.palletWidth }} *{{ packInfo.palletHeight }}
644
+ </div>
645
+ <div>
646
+
647
+ {{ $lwLanguage.get('', '托盘规格') }}:{{ packInfo.palletContainerStdCode }}
648
+ </div>
649
+ </template>
650
+
651
+
652
+ </lw-cell>
653
+
654
+
655
+ </div>
656
+
657
+ </template>
658
+
659
+ <lw-not-data v-else/>
660
+
661
+
662
+ <div class=" lw-global-flex-center lw-global-model-box ">
663
+ <lw-button @click="complete">完成配置</lw-button>
664
+ <lw-button @click="addSkuPack">添加包装</lw-button>
665
+ </div>
666
+
667
+
668
+ </van-tab>
669
+
670
+ <!-- 品检卡 -->
671
+ <van-tab
672
+ name="qualityCard"
673
+
674
+ :title="$lwLanguage.get('', '品检卡')"
675
+
676
+ >
677
+
678
+ <div v-if="skuNewProjectSkuQualityCardInfoList.length===0"
679
+ class="lw-global-model-box lw-global-click-style"
680
+ >
681
+ <div>
682
+ <lw-cell>
683
+ <template #title>
684
+ <div>
685
+ {{ $lwLanguage.get('', '质检方式') }}
686
+ </div>
687
+ </template>
688
+ <template #value>
689
+ <div>
690
+ {{ $lwDict.getDictLabel('quality_type_choice', skuNewProjectSkuInfo.qualityType) }}
691
+
692
+
693
+ </div>
694
+ </template>
695
+ </lw-cell>
696
+ </div>
697
+ <div class="lw-global-flex-center">
698
+ <lw-button @click="addQualityCard">添加品鉴卡</lw-button>
699
+ </div>
700
+ </div>
701
+
702
+ <div v-else
703
+ class="lw-global-model-box lw-global-click-style"
704
+ v-for="(qualityCard,index) in skuNewProjectSkuQualityCardInfoList"
705
+ :key="'qc'+index"
706
+ >
707
+ <lw-cell>
708
+ <template #title>
709
+ <div class="lw-global-flex-between">
710
+ <div>
711
+ {{ $lwLanguage.get('', '质检方式') }}
712
+ </div>
713
+ <div>
714
+ {{ $lwDict.getDictLabel('quality_type_choice', skuNewProjectSkuInfo.qualityType) }}
715
+ </div>
716
+ </div>
717
+ </template>
718
+ <template #value>
719
+
720
+ <div class="lw-global-flex-center">
721
+ <lw-button @click="qualityCardPopShow(index)">编辑</lw-button>
722
+ </div>
723
+ </template>
724
+ </lw-cell>
725
+
726
+
727
+ <div class="lw-global-title" style="padding: 8px 0">
728
+ {{ $lwLanguage.get('', '正面') }}
729
+ </div>
730
+ <lw-img-look :img-list="qualityCard.frontImage"/>
731
+ <lw-input
732
+ disabled
733
+ :title="$lwLanguage.get('','正面要点')"
734
+ v-model="qualityCard.frontDescribe"
735
+ type="textarea"
736
+ input-align="right" :rows="4"/>
737
+ <div class="lw-global-title" style="padding: 8px 0">
738
+ {{ $lwLanguage.get('', '背面') }}
739
+ </div>
740
+ <lw-img-look :img-list="qualityCard.backImage"/>
741
+ <lw-input
742
+ disabled
743
+ :title="$lwLanguage.get('','背面要点')"
744
+ v-model="qualityCard.backDescribe"
745
+ type="textarea"
746
+ input-align="right" :rows="4"/>
747
+ <div class="lw-global-title" style="padding: 8px 0">
748
+ {{ $lwLanguage.get('', '特殊') }}
749
+ </div>
750
+ <lw-img-look :img-list="qualityCard.markingImage"/>
751
+ <lw-input
752
+ disabled
753
+ :title="$lwLanguage.get('','打刻号要点')"
754
+ v-model="qualityCard.markingDescribe"
755
+ type="textarea"
756
+ input-align="right" :rows="4"/>
757
+ <div class="lw-global-title" style="padding: 8px 0">
758
+ {{ $lwLanguage.get('', '过往破损') }}
759
+ </div>
760
+ <lw-img-look :img-list="qualityCard.beforeDamagedImage"/>
761
+ <lw-input
762
+ disabled
763
+ :title="$lwLanguage.get('','过往破损描述')"
764
+ v-model="qualityCard.beforeDamagedDescribe"
765
+ type="textarea" input-align="right" :rows="4"/>
766
+
767
+ </div>
768
+
769
+
770
+ <div class=" lw-global-flex-center lw-global-model-box ">
771
+ <lw-button @click="complete">完成配置</lw-button>
772
+
773
+ </div>
774
+
775
+
776
+ </van-tab>
777
+ </van-tabs>
778
+ </div>
779
+ </div>
780
+
781
+
782
+ <lw-popup
783
+ :title="$lwLanguage.get('','包装信息')"
784
+ v-model="packInfoPop.show"
785
+ @close="packInfoPopClose"
786
+ >
787
+
788
+ <template v-if="packInfoPop.showCom">
789
+
790
+ <div class="lw-global-flex-between">
791
+ <div>{{ editSkuPackInfo.packCode }}</div>
792
+ </div>
793
+
794
+
795
+ <div class="lw-global-flex-between">
796
+ <lw-cell :is-link="false">
797
+ <template #title>
798
+ <div>
799
+ {{ $lwLanguage.get('', '默认包装') }}
800
+ </div>
801
+ </template>
802
+ <template #value>
803
+ <van-switch
804
+ :disabled="packInfoEditDisable"
805
+ v-model="editSkuPackInfo.defaultPack"
806
+ size="18px"
807
+ />
808
+ </template>
809
+
810
+ </lw-cell>
811
+
812
+ <lw-cell-popup-radio
813
+ style="width: 50%"
814
+ :disabled="packInfoEditDisable"
815
+ v-model="editSkuPackInfo.model1"
816
+
817
+ :title="$lwLanguage.get('', '类型')"
818
+
819
+ dict-key="WmsSkuPackModel1Type"
820
+ />
821
+
822
+ </div>
823
+
824
+
825
+ <lw-cell :disabled="packInfoEditDisable"
826
+ :is-link="false">
827
+ <template #title>
828
+ <div>
829
+ {{ $lwLanguage.get('', 'EA:最小单位') }}
830
+ </div>
831
+
832
+
833
+ </template>
834
+ <template #value>
835
+ <div>
836
+ {{ $lwLanguage.get('', '数量') }}:1
837
+ </div>
838
+
839
+ </template>
840
+ </lw-cell>
841
+
842
+ <lw-cell :is-link="false">
843
+ <template #title>
844
+ <div>
845
+ {{ $lwLanguage.get('', 'EA长宽高:mm毫米') }}
846
+ </div>
847
+ </template>
848
+ <template #value>
849
+ <div class="lw-global-flex-between">
850
+ <lw-input
851
+ type="number"
852
+ :disabled="packInfoEditDisable"
853
+ :show-keyboard='false'
854
+ input-align="right"
855
+ :show-clear="false"
856
+ :placeholder="$lwLanguage.get('', 'EA长')"
857
+ v-model="editSkuPackInfo.eachLength "
858
+ :show-bottom-border="false"
859
+ />
860
+ <lw-input
861
+ type="number"
862
+ :disabled="packInfoEditDisable"
863
+ :show-keyboard='false'
864
+ input-align="right"
865
+ :show-clear="false"
866
+ :placeholder="$lwLanguage.get('', 'EA宽')"
867
+ v-model="editSkuPackInfo.eachWidth "
868
+ :show-bottom-border="false"
869
+ />
870
+ <lw-input
871
+ type="number"
872
+ :disabled="packInfoEditDisable"
873
+ :show-keyboard='false'
874
+ input-align="right"
875
+ :show-clear="false"
876
+ :placeholder="$lwLanguage.get('', 'EA高')"
877
+ v-model="editSkuPackInfo.eachHeight "
878
+ :show-bottom-border="false"
879
+ />
880
+ </div>
881
+ </template>
882
+
883
+ </lw-cell>
884
+
885
+
886
+ <lw-img-look v-if="packInfoEditDisable"
887
+ :img-list="editSkuPackInfo.innerImage"/>
888
+ <lw-img-upload v-else
889
+ v-model="editSkuPackInfo.innerImage"/>
890
+
891
+
892
+ <lw-cell
893
+ :is-link="false">
894
+ <template #title>
895
+ <div>
896
+ {{ $lwLanguage.get('', 'IP:内包装') }}
897
+ </div>
898
+ </template>
899
+ <template #value>
900
+ <div>
901
+ <lw-input
902
+ :title="$lwLanguage.get('', '数量')"
903
+ :show-keyboard='false'
904
+ input-align="right"
905
+ :show-clear="false"
906
+ :placeholder="$lwLanguage.get('', 'IP数量')"
907
+ :disabled="packInfoEditDisable"
908
+ type="number"
909
+ v-model="editSkuPackInfo.innerQty "
910
+ :show-bottom-border="false"
911
+ />
912
+ </div>
913
+
914
+ </template>
915
+
916
+
917
+ </lw-cell>
918
+
919
+ <lw-cell
920
+ :is-link="false">
921
+ <template #title>
922
+ <div>
923
+ {{ $lwLanguage.get('', 'IP长宽高:mm毫米') }}
924
+ </div>
925
+ </template>
926
+ <template #value>
927
+ <div class="lw-global-flex-between">
928
+ <lw-input
929
+ :show-keyboard='false'
930
+ type="number"
931
+ :disabled="packInfoEditDisable"
932
+ input-align="right"
933
+ :show-clear="false"
934
+ :placeholder="$lwLanguage.get('', 'IP长')"
935
+ v-model="editSkuPackInfo.innerLength "
936
+ :show-bottom-border="false"
937
+ />
938
+ <lw-input
939
+ :show-keyboard='false'
940
+ type="number"
941
+ :disabled="packInfoEditDisable"
942
+ input-align="right"
943
+ :show-clear="false"
944
+ :placeholder="$lwLanguage.get('', 'IP宽')"
945
+ v-model="editSkuPackInfo.innerWidth "
946
+ :show-bottom-border="false"
947
+ />
948
+ <lw-input
949
+ :show-keyboard='false'
950
+ type="number"
951
+ input-align="right"
952
+ :show-clear="false"
953
+ :placeholder="$lwLanguage.get('', 'IP高')"
954
+ :disabled="packInfoEditDisable"
955
+ v-model="editSkuPackInfo.innerHeight "
956
+ :show-bottom-border="false"
957
+ />
958
+ </div>
959
+ </template>
960
+ </lw-cell>
961
+
962
+
963
+ <lw-img-look v-if="packInfoEditDisable"
964
+ :img-list="editSkuPackInfo.caseImage"/>
965
+ <lw-img-upload v-else
966
+ v-model="editSkuPackInfo.caseImage"/>
967
+
968
+
969
+ <lw-cell
970
+ :is-link="false">
971
+ <template #title>
972
+ <div>
973
+ {{ $lwLanguage.get('', 'CS:箱') }}
974
+ </div>
975
+ </template>
976
+ <template #value>
977
+ <lw-input
978
+ :show-keyboard='false'
979
+ type="number"
980
+ input-align="right"
981
+ :show-clear="false"
982
+ :placeholder="$lwLanguage.get('', 'CS数量')"
983
+ :title="$lwLanguage.get('', '数量')"
984
+ :disabled="packInfoEditDisable"
985
+ v-model="editSkuPackInfo.caseQty "
986
+ >
987
+
988
+ </lw-input>
989
+
990
+
991
+ </template>
992
+
993
+
994
+ </lw-cell>
995
+ <lw-cell
996
+ :is-link="false">
997
+ <template #title>
998
+ <div>
999
+ {{ $lwLanguage.get('', 'CS长宽高:mm毫米') }}
1000
+ </div>
1001
+ </template>
1002
+ <template #value>
1003
+ <div class="lw-global-flex-between">
1004
+ <lw-input
1005
+ :show-keyboard='false'
1006
+ type="number"
1007
+ :disabled="packInfoEditDisable"
1008
+ input-align="right"
1009
+ :show-clear="false"
1010
+ :placeholder="$lwLanguage.get('', 'CS长')"
1011
+ v-model="editSkuPackInfo.caseLength "
1012
+ :show-bottom-border="false"
1013
+ />
1014
+ <lw-input
1015
+ :show-keyboard='false'
1016
+ type="number"
1017
+ :disabled="packInfoEditDisable"
1018
+ input-align="right"
1019
+ :show-clear="false"
1020
+ :placeholder="$lwLanguage.get('', 'CS宽')"
1021
+ v-model="editSkuPackInfo.caseWidth "
1022
+ :show-bottom-border="false"
1023
+ />
1024
+ <lw-input
1025
+ :show-keyboard='false'
1026
+ type="number"
1027
+ :disabled="packInfoEditDisable"
1028
+ input-align="right"
1029
+ :show-clear="false"
1030
+ :placeholder="$lwLanguage.get('', 'CS高')"
1031
+ v-model="editSkuPackInfo.caseHeight "
1032
+ :show-bottom-border="false"
1033
+ />
1034
+ </div>
1035
+ </template>
1036
+
1037
+ </lw-cell>
1038
+
1039
+ <lw-img-look v-if="packInfoEditDisable"
1040
+ :img-list="editSkuPackInfo.palletImage"/>
1041
+ <lw-img-upload v-else
1042
+ v-model="editSkuPackInfo.palletImage"/>
1043
+
1044
+
1045
+ <lw-cell
1046
+ :is-link="false">
1047
+ <template #title>
1048
+ <div>
1049
+ {{ $lwLanguage.get('', 'PL:托') }}
1050
+ </div>
1051
+
1052
+ </template>
1053
+ <template #value>
1054
+ <div>
1055
+ <lw-input
1056
+ :title="$lwLanguage.get('', '数量')"
1057
+ :show-keyboard='false'
1058
+ type="number"
1059
+ input-align="right"
1060
+ :show-clear="false"
1061
+ :placeholder="$lwLanguage.get('', 'PL数量')"
1062
+ :disabled="packInfoEditDisable"
1063
+ v-model="editSkuPackInfo.palletQty "
1064
+ :show-bottom-border="false"
1065
+ />
1066
+ </div>
1067
+
1068
+ </template>
1069
+
1070
+
1071
+ </lw-cell>
1072
+
1073
+ <lw-cell
1074
+ :is-link="false">
1075
+ <template #title>
1076
+
1077
+ <div>
1078
+ {{ $lwLanguage.get('', 'PL长宽高:mm毫米') }}
1079
+ </div>
1080
+
1081
+
1082
+ </template>
1083
+ <template #value>
1084
+
1085
+ <div class="lw-global-flex-between">
1086
+ <lw-input
1087
+ :show-keyboard='false'
1088
+ type="number"
1089
+ :disabled="packInfoEditDisable"
1090
+ input-align="right"
1091
+ :show-clear="false"
1092
+ :placeholder="$lwLanguage.get('', 'PL长')"
1093
+ v-model="editSkuPackInfo.palletLength "
1094
+ :show-bottom-border="false"
1095
+ />
1096
+ <lw-input
1097
+ :show-keyboard='false'
1098
+ type="number"
1099
+ :disabled="packInfoEditDisable"
1100
+ input-align="right"
1101
+ :show-clear="false"
1102
+ :placeholder="$lwLanguage.get('', 'PL宽')"
1103
+ v-model="editSkuPackInfo.palletWidth "
1104
+ :show-bottom-border="false"
1105
+ />
1106
+ <lw-input
1107
+ :show-keyboard='false'
1108
+ type="number"
1109
+ :disabled="packInfoEditDisable"
1110
+ input-align="right"
1111
+ :show-clear="false"
1112
+ :placeholder="$lwLanguage.get('', 'PL高')"
1113
+ v-model="editSkuPackInfo.palletHeight "
1114
+ :show-bottom-border="false"
1115
+ />
1116
+
1117
+
1118
+ </div>
1119
+
1120
+ </template>
1121
+
1122
+
1123
+ </lw-cell>
1124
+ <lw-cell
1125
+ :is-link="false">
1126
+ <template #title>
1127
+
1128
+
1129
+ <div>
1130
+ {{ $lwLanguage.get('', 'Ti*Hi') }}
1131
+ </div>
1132
+
1133
+ </template>
1134
+ <template #value>
1135
+
1136
+
1137
+ <div class="lw-global-flex-between">
1138
+ <lw-input
1139
+ :show-keyboard='false'
1140
+ type="number"
1141
+ :disabled="packInfoEditDisable"
1142
+ input-align="right"
1143
+ :show-clear="false"
1144
+ :placeholder="$lwLanguage.get('', 'Ti')"
1145
+ v-model="editSkuPackInfo.palletTi "
1146
+ :show-bottom-border="false"
1147
+ />
1148
+
1149
+ <lw-input
1150
+ :show-keyboard='false'
1151
+ type="number"
1152
+ :disabled="packInfoEditDisable"
1153
+ input-align="right"
1154
+ :show-clear="false"
1155
+ :placeholder="$lwLanguage.get('', 'Hi')"
1156
+ v-model="editSkuPackInfo.palletHi "
1157
+ :show-bottom-border="false"
1158
+ />
1159
+ </div>
1160
+
1161
+ </template>
1162
+
1163
+
1164
+ </lw-cell>
1165
+
1166
+ <lw-cell
1167
+ :is-link="false">
1168
+ <template #title>
1169
+ <div>
1170
+ {{ $lwLanguage.get('', '托盘规格') }}
1171
+ </div>
1172
+ </template>
1173
+ <template #value>
1174
+ <lw-cell-popup-radio
1175
+ :disabled="packInfoEditDisable"
1176
+ v-model="editSkuPackInfo.palletContainerStdId"
1177
+ :columns="containerStandardList"
1178
+ value-key="id"
1179
+ label-key="code"
1180
+ @confirm="selectContainer"
1181
+ >
1182
+ </lw-cell-popup-radio>
1183
+
1184
+
1185
+ </template>
1186
+
1187
+
1188
+ </lw-cell>
1189
+
1190
+ </template>
1191
+ <template #button>
1192
+
1193
+ <lw-button v-show="!packInfoEditDisable" @click="saveSkuPackInfo">
1194
+ {{ $lwLanguage.get('', '保存') }}
1195
+ </lw-button>
1196
+
1197
+ <lw-button @click="packInfoEditDisable=false" v-show="packInfoEditDisable">
1198
+ {{ $lwLanguage.get('', '编辑') }}
1199
+ </lw-button>
1200
+
1201
+ </template>
1202
+ </lw-popup>
1203
+
1204
+
1205
+ <lw-popup
1206
+ :title="$lwLanguage.get('','品检卡')"
1207
+ v-model="qualityCardPop.show"
1208
+ @close="qualityCardPopClose"
1209
+ >
1210
+
1211
+
1212
+ <lw-cell>
1213
+ <template #title>
1214
+ <div>
1215
+ {{ $lwLanguage.get('', '质检方式') }}
1216
+ </div>
1217
+ </template>
1218
+ <template #value>
1219
+ <div>
1220
+ {{ $lwDict.getDictLabel('quality_type_choice', skuNewProjectSkuInfo.qualityType) }}
1221
+ </div>
1222
+ </template>
1223
+ </lw-cell>
1224
+
1225
+
1226
+ <div class="lw-global-title" style="padding: 8px 0">
1227
+ {{ $lwLanguage.get('', '正面') }}
1228
+ </div>
1229
+ <lw-img-upload v-model="editSkuQualityInfo.frontImage"/>
1230
+ <lw-input :title="$lwLanguage.get('','正面要点')"
1231
+ v-model="editSkuQualityInfo.frontDescribe"
1232
+ type="textarea"
1233
+ input-align="right" :rows="4"/>
1234
+ <div class="lw-global-title" style="padding: 8px 0">
1235
+ {{ $lwLanguage.get('', '背面') }}
1236
+ </div>
1237
+ <lw-img-upload v-model="editSkuQualityInfo.backImage"/>
1238
+ <lw-input :title="$lwLanguage.get('','背面要点')"
1239
+ v-model="editSkuQualityInfo.backDescribe"
1240
+ type="textarea"
1241
+ input-align="right" :rows="4"/>
1242
+ <div class="lw-global-title" style="padding: 8px 0">
1243
+ {{ $lwLanguage.get('', '特殊') }}
1244
+ </div>
1245
+ <lw-img-upload v-model="editSkuQualityInfo.markingImage"/>
1246
+ <lw-input :title="$lwLanguage.get('','打刻号要点')"
1247
+ v-model="editSkuQualityInfo.markingDescribe"
1248
+ type="textarea"
1249
+ input-align="right" :rows="4"/>
1250
+ <div class="lw-global-title" style="padding: 8px 0">
1251
+ {{ $lwLanguage.get('', '过往破损') }}
1252
+ </div>
1253
+ <lw-img-upload v-model="editSkuQualityInfo.beforeDamagedImage"/>
1254
+ <lw-input :title="$lwLanguage.get('','过往破损描述')"
1255
+ v-model="editSkuQualityInfo.beforeDamagedDescribe"
1256
+ type="textarea" input-align="right" :rows="4"/>
1257
+
1258
+ <template #button>
1259
+ <lw-bottom-bar>
1260
+ <lw-button @click="saveQualityCard">保存品鉴卡</lw-button>
1261
+ </lw-bottom-bar>
1262
+
1263
+ </template>
1264
+
1265
+
1266
+ </lw-popup>
1267
+
1268
+ </div>
1269
+
1270
+ </template>
1271
+
1272
+ <script>
1273
+ // 查询新品信息接口
1274
+ import {
1275
+ WmsProjectMobileQuerySkuNewProductInfo,
1276
+ WmsProjectMobileQuerySkuAttribute,
1277
+ WmsProjectMobileQuerySkuCategory,
1278
+ WmsProjectMobileQueryContainerStandard,
1279
+ WmsProjectMobileSaveSkuBaseInfo,
1280
+ WmsProjectMobileSaveSkuPackInfo,
1281
+ WmsProjectMobileSaveSkuQualityCardInfo,
1282
+ WmsProjectMobileQuerySupplier,
1283
+ WmsProjectMobileSkuNewProjectComplete,
1284
+ } from "../../../../../api/config/newProject/action"
1285
+
1286
+ export default {
1287
+
1288
+
1289
+ name: "lwNewProjectActionPage",
1290
+ data() {
1291
+ return {
1292
+
1293
+ // tab激活项
1294
+ imageLoad: false,
1295
+ tabActive: 'skuInfo',
1296
+ skuTypeList: [],
1297
+ skuAttributeList: [],
1298
+ warehouseList: [],
1299
+ containerStandardList: [],
1300
+ packInfoEditDisable: true,
1301
+ skuId: '',
1302
+ taskId: '',
1303
+ taskNo: '',
1304
+ ownerId: '',
1305
+ packInfoShowIndex: 0,
1306
+ packInfoPop: {
1307
+ show: false,
1308
+ showCom: false
1309
+ },
1310
+ qualitCardIndex: 0,
1311
+ qualityCardPop: {
1312
+ show: false
1313
+ },
1314
+ skuNewProjectSkuInfo: {
1315
+ image: []
1316
+ },
1317
+ supplierList: [],
1318
+ skuNewProjectPackInfoList: [],
1319
+ skuNewProjectSkuQualityCardInfoList: [],
1320
+ editSkuPackInfo: {},
1321
+ editSkuQualityInfo: {}
1322
+
1323
+ }
1324
+
1325
+ },
1326
+
1327
+ mounted() {
1328
+ this.$lwApi.warehouse.getList().then(res => {
1329
+ this.warehouseList = res
1330
+ })
1331
+ this.pageInit()
1332
+
1333
+ console.log()
1334
+
1335
+ },
1336
+
1337
+ methods: {
1338
+
1339
+ qualityCardPopClose() {
1340
+ this.qualityCardPop.show = false
1341
+ },
1342
+
1343
+ qualityCardPopShow(index) {
1344
+ this.qualityCardPop.show = true
1345
+ let data = this.skuNewProjectSkuQualityCardInfoList[index]
1346
+ this.editSkuQualityInfo = JSON.parse(JSON.stringify(data))
1347
+ },
1348
+
1349
+ openPopupPackInfo(index) {
1350
+
1351
+ let data = this.skuNewProjectPackInfoList[index]
1352
+
1353
+
1354
+ if (data && !data.eachLength) {
1355
+ data.eachLength = this.skuNewProjectSkuInfo.length
1356
+ }
1357
+ if (data && !data.eachWidth) {
1358
+ data.eachWidth = this.skuNewProjectSkuInfo.width
1359
+ }
1360
+ if (data && !data.eachHeight) {
1361
+ data.eachHeight = this.skuNewProjectSkuInfo.height
1362
+ }
1363
+
1364
+
1365
+ this.editSkuPackInfo = JSON.parse(JSON.stringify(data))
1366
+ this.packInfoShowIndex = index
1367
+ this.packInfoPop.showCom = true
1368
+ this.packInfoPop.show = true
1369
+
1370
+ },
1371
+
1372
+ pageInit() {
1373
+
1374
+
1375
+ this.skuNewProjectSkuInfo = {}
1376
+ this.skuNewProjectPackInfoList = []
1377
+ this.skuNewProjectSkuQualityCardInfoList = []
1378
+
1379
+ const lwSKuId = this.$route.query.lwSkuId
1380
+ const lwOwnerId = this.$route.query.lwOwnerId
1381
+
1382
+ let taskId = this.$route.query.taskId
1383
+ if (!taskId) {
1384
+ taskId = this.$route.query.lwTaskId
1385
+ }
1386
+
1387
+ if (taskId) {
1388
+ this.taskId = taskId
1389
+ }
1390
+
1391
+ if (lwSKuId) {
1392
+ this.skuId = lwSKuId
1393
+ }
1394
+ if (lwOwnerId) {
1395
+ this.ownerId = lwOwnerId
1396
+ }
1397
+
1398
+ console.log("lwSkuId", this.skuId)
1399
+ console.log("lwOwnerId", this.ownerId)
1400
+
1401
+
1402
+ WmsProjectMobileQuerySkuNewProductInfo({
1403
+ skuId: this.skuId,
1404
+ ownerId: this.ownerId,
1405
+ "taskId": this.taskId
1406
+ }).then(res => {
1407
+ console.log("skuInfo", res)
1408
+ if (res.skuNewProjectSkuInfo) {
1409
+ this.skuNewProjectSkuInfo = res.skuNewProjectSkuInfo
1410
+
1411
+ if(!this.taskId){
1412
+ this.taskId=res.taskId
1413
+ }
1414
+
1415
+ }
1416
+ if (res.skuNewProjectPackInfoList && res.skuNewProjectPackInfoList.length > 0) {
1417
+ this.skuNewProjectPackInfoList = res.skuNewProjectPackInfoList
1418
+ }
1419
+ if (res.skuNewProjectSkuQualityCardInfoList && res.skuNewProjectSkuQualityCardInfoList.length > 0) {
1420
+ this.skuNewProjectSkuQualityCardInfoList = res.skuNewProjectSkuQualityCardInfoList
1421
+ }
1422
+
1423
+ if (this.skuNewProjectSkuInfo.category) {
1424
+ this.skuTypeConfirm();
1425
+ }
1426
+ this.skuId = this.skuNewProjectSkuInfo.skuId
1427
+ this.ownerId = this.skuNewProjectSkuInfo.ownerId
1428
+
1429
+ this.imageLoad = true
1430
+
1431
+ this.querySupplier()
1432
+
1433
+ })
1434
+
1435
+
1436
+ WmsProjectMobileQuerySkuAttribute({}).then(res => {
1437
+ console.log("SkuCategory", res)
1438
+ if (res && res.length > 0) {
1439
+ this.skuTypeList = res
1440
+ }
1441
+ })
1442
+
1443
+
1444
+ WmsProjectMobileQueryContainerStandard().then(res => {
1445
+ console.log("containerStandardList", res)
1446
+ this.containerStandardList = res
1447
+ })
1448
+
1449
+ // this.querySupplier()
1450
+
1451
+
1452
+ },
1453
+
1454
+ skuTypeConfirm() {
1455
+ if (this.skuNewProjectSkuInfo.category) {
1456
+ WmsProjectMobileQuerySkuCategory({"category": this.skuNewProjectSkuInfo.category}).then(res => {
1457
+ console.log("SkuCategory", res)
1458
+ if (res && res.length > 0) {
1459
+ this.skuAttributeList = res
1460
+ }
1461
+
1462
+ })
1463
+
1464
+ }
1465
+
1466
+ },
1467
+
1468
+ selectContainer(item) {
1469
+ console.log("container", item)
1470
+ this.skuNewProjectPackInfoList[this.packInfoShowIndex].code = item.code
1471
+
1472
+
1473
+ },
1474
+ addQualityCard() {
1475
+ let newQualityCard = {}
1476
+
1477
+ newQualityCard.frontImage = []
1478
+ newQualityCard.backImage = []
1479
+ newQualityCard.markingImage = []
1480
+ newQualityCard.beforeDamagedImage = []
1481
+
1482
+ let length = this.skuNewProjectSkuQualityCardInfoList.replace(newQualityCard)
1483
+ let index = length - 1
1484
+ this.qualitCardIndex = index
1485
+ this.qualityCardPopShow(index)
1486
+
1487
+ },
1488
+
1489
+ saveSkuBaseInfo() {
1490
+ let skuBaskInfo = {...this.skuNewProjectSkuInfo}
1491
+ WmsProjectMobileSaveSkuBaseInfo(skuBaskInfo).then(res => {
1492
+ console.log(res)
1493
+ this.pageInit()
1494
+ })
1495
+
1496
+
1497
+ },
1498
+ saveSkuPackInfo() {
1499
+
1500
+ let skuPackInfo = {...this.editSkuPackInfo}
1501
+
1502
+ if (!skuPackInfo.packId) {
1503
+ skuPackInfo.skuId = this.skuId
1504
+ skuPackInfo.ownerId = this.ownerId
1505
+
1506
+ }
1507
+
1508
+ WmsProjectMobileSaveSkuPackInfo(skuPackInfo).then(res => {
1509
+ console.log(res)
1510
+ this.pageInit()
1511
+ this.packInfoPop.show = false
1512
+ this.packInfoPop.showCom = false
1513
+ this.packInfoEditDisable = true
1514
+
1515
+ this.qualityCardPopClose()
1516
+
1517
+ })
1518
+
1519
+
1520
+ },
1521
+ saveQualityCard() {
1522
+ let skuQualityCardInfo = {...this.editSkuQualityInfo}
1523
+
1524
+ if (!skuQualityCardInfo.skuQualityCardId) {
1525
+ skuQualityCardInfo.skuId = this.skuId
1526
+ skuQualityCardInfo.ownerId = this.ownerId
1527
+
1528
+ }
1529
+
1530
+ WmsProjectMobileSaveSkuQualityCardInfo(skuQualityCardInfo).then(res => {
1531
+ console.log(res)
1532
+ this.pageInit()
1533
+ })
1534
+
1535
+ this.qualityCardPopClose()
1536
+
1537
+
1538
+ },
1539
+ querySupplier() {
1540
+ let data = {"ownerId": this.ownerId}
1541
+ WmsProjectMobileQuerySupplier(data).then(res => {
1542
+ this.supplierList = res
1543
+
1544
+ })
1545
+
1546
+ },
1547
+ addSkuPack() {
1548
+ let pack = {}
1549
+
1550
+ pack.innerImage = []
1551
+ pack.caseImage = []
1552
+ pack.palletImage = []
1553
+
1554
+ pack.eachLength = this.skuNewProjectSkuInfo.length
1555
+ pack.eachWidth = this.skuNewProjectSkuInfo.width
1556
+ pack.eachHeight = this.skuNewProjectSkuInfo.height
1557
+
1558
+ let length = this.skuNewProjectPackInfoList.push(pack)
1559
+ let index = (length - 1)
1560
+ this.packInfoShowIndex = index
1561
+ this.editSkuPackInfo = pack
1562
+ this.openPopupPackInfo(index)
1563
+ this.packInfoEditDisable = false
1564
+
1565
+
1566
+ },
1567
+ complete() {
1568
+ let data = {"taskId": this.taskId, "taskNo": this.taskNo}
1569
+ WmsProjectMobileSkuNewProjectComplete(data).then(res => {
1570
+ console.log(res)
1571
+ this.$router.back()
1572
+ })
1573
+ },
1574
+ packInfoPopClose() {
1575
+ this.packInfoPop.showCom = false
1576
+ this.packInfoPop.show = false
1577
+ this.packInfoEditDisable = true
1578
+ },
1579
+
1580
+
1581
+ },
1582
+
1583
+
1584
+ }
1585
+
1586
+ </script>
1587
+
1588
+ <style>
1589
+ .master-location-chose {
1590
+ background: red;
1591
+
1592
+ }
1593
+
1594
+
1595
+ </style>