@logwire/logwire-wms-pda-ui 1.1.15 → 1.1.18

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 (438) hide show
  1. package/README.md +134 -134
  2. package/dist/logwire-wms-pda-ui.js +2 -2
  3. package/package.json +69 -69
  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 +26 -26
  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/barcode.js +165 -165
  17. package/src/api/common/common.js +33 -25
  18. package/src/api/common/index.js +37 -37
  19. package/src/api/inbound/index.js +6 -6
  20. package/src/api/inbound/quality.js +99 -99
  21. package/src/api/inbound/receive.js +119 -109
  22. package/src/api/inner/count/index.js +97 -97
  23. package/src/api/inner/disposeAbnormal/action.js +69 -69
  24. package/src/api/inner/disposeAbnormal/index.js +33 -33
  25. package/src/api/inner/materialApply/index.js +51 -51
  26. package/src/api/inner/move/abnormalMove.js +25 -25
  27. package/src/api/inner/move/lpnMove.js +25 -25
  28. package/src/api/inner/move/taskMove.js +57 -57
  29. package/src/api/inner/newProject/action.js +88 -0
  30. package/src/api/inner/newProject/index.js +18 -0
  31. package/src/api/inner/reportAbnormal/index.js +34 -34
  32. package/src/api/outbound/bale/checkBale/action.js +123 -0
  33. package/src/api/outbound/bale/checkBale/allCheck.js +25 -0
  34. package/src/api/outbound/bale/checkBale/index.js +52 -0
  35. package/src/api/outbound/delivery/action.js +148 -148
  36. package/src/api/outbound/delivery/addOrder.js +32 -32
  37. package/src/api/outbound/delivery/index.js +25 -25
  38. package/src/api/outbound/pick/alone.js +60 -60
  39. package/src/api/outbound/pick/box.js +42 -42
  40. package/src/api/outbound/pick/index.js +60 -60
  41. package/src/api/outbound/pick/lpn.js +42 -42
  42. package/src/api/outbound/pick/notAlone.js +33 -33
  43. package/src/api/outbound/pickMerge/index.js +69 -69
  44. package/src/api/outbound/sow/action.js +123 -123
  45. package/src/api/outbound/sow/index.js +24 -24
  46. package/src/api/outbound/summary/box.js +33 -33
  47. package/src/api/outbound/summary/lpn.js +23 -23
  48. package/src/api/receive/abnormal.js +34 -34
  49. package/src/api/receive/putaway.js +82 -82
  50. package/src/api/receive/randomMove.js +43 -43
  51. package/src/api/receive/receipt.js +25 -25
  52. package/src/assets/css/changeVant.less +22 -22
  53. package/src/assets/css/global.less +411 -411
  54. package/src/assets/css/index.less +4 -4
  55. package/src/assets/css/var.less +117 -117
  56. package/src/assets/css//345/205/250/345/261/200/346/240/267/345/274/217.md +31 -31
  57. package/src/components/module/InnerAbnormal/index.js +11 -11
  58. package/src/components/module/InnerAbnormal/index.vue +367 -343
  59. package/src/components/module/Login/index.js +11 -11
  60. package/src/components/module/Login/index.vue +324 -328
  61. package/src/components/module/Login//347/231/273/345/275/225/346/250/241/345/235/227.md +1 -1
  62. package/src/components/module/Lot/index.js +11 -11
  63. package/src/components/module/Lot/index.vue +181 -181
  64. package/src/components/module/Lot//346/211/271/346/254/241/345/261/236/346/200/247.md +2 -2
  65. package/src/components/module/LotLook/index.js +11 -11
  66. package/src/components/module/LotLook/index.vue +80 -80
  67. package/src/components/module/Menu/index.js +12 -12
  68. package/src/components/module/Menu/index.vue +118 -118
  69. package/src/components/module/Menu//350/217/234/345/215/225/346/240/217.md +1 -1
  70. package/src/components/module/MsgItem/index.js +11 -11
  71. package/src/components/module/MsgItem/index.vue +109 -109
  72. 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
  73. package/src/components/module/OnLine/index.js +11 -11
  74. package/src/components/module/OnLine/index.vue +195 -195
  75. 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
  76. package/src/components/module/ReceiveAbnormal/index.js +11 -11
  77. package/src/components/module/ReceiveAbnormal/index.vue +865 -847
  78. package/src/components/module/ScanDataList/index.js +11 -11
  79. package/src/components/module/ScanDataList/index.vue +326 -326
  80. package/src/components/module/SkuInfo/index.js +11 -11
  81. package/src/components/module/SkuInfo/index.vue +65 -65
  82. package/src/components/module/SystemInfo/index.js +11 -11
  83. package/src/components/module/SystemInfo/index.vue +217 -217
  84. 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
  85. package/src/components/module/index.js +42 -42
  86. package/src/components/page/common/Device/index.js +11 -11
  87. package/src/components/page/common/Device/index.vue +186 -186
  88. package/src/components/page/common/Device//350/256/276/345/244/207/347/256/241/347/220/206/351/241/265.md +1 -1
  89. package/src/components/page/common/Home/index.js +11 -11
  90. package/src/components/page/common/Home/index.vue +113 -113
  91. package/src/components/page/common/Home//344/270/273/351/241/265.md +1 -1
  92. package/src/components/page/common/Language/index.js +11 -11
  93. package/src/components/page/common/Language/index.vue +142 -142
  94. package/src/components/page/common/Language//350/257/255/350/250/200.md +1 -1
  95. package/src/components/page/common/Login/index.js +11 -11
  96. package/src/components/page/common/Login/index.vue +157 -157
  97. package/src/components/page/common/Login//347/231/273/345/275/225/351/241/265.md +1 -1
  98. package/src/components/page/common/Menu/index.js +11 -11
  99. package/src/components/page/common/Menu/index.vue +71 -71
  100. package/src/components/page/common/Menu//350/217/234/345/215/225/351/241/265.md +1 -1
  101. package/src/components/page/common/Msg/index.js +11 -11
  102. package/src/components/page/common/Msg/index.vue +152 -152
  103. package/src/components/page/common/Msg//346/266/210/346/201/257/351/241/265.md +1 -1
  104. package/src/components/page/common/My/index.js +11 -11
  105. package/src/components/page/common/My/index.vue +477 -477
  106. package/src/components/page/common/My//346/210/221/347/232/204/347/256/241/347/220/206/351/241/265.md +1 -1
  107. package/src/components/page/common/Print/index.js +11 -11
  108. package/src/components/page/common/Print/index.vue +314 -314
  109. 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
  110. package/src/components/page/common/Task/index.js +11 -11
  111. package/src/components/page/common/Task/index.vue +699 -699
  112. package/src/components/page/common/Task//344/273/273/345/212/241/351/241/265.md +1 -1
  113. package/src/components/page/common/Warehouse/index.js +11 -11
  114. package/src/components/page/common/Warehouse/index.vue +216 -213
  115. package/src/components/page/common/Warehouse//344/273/223/345/272/223/351/200/211/346/213/251/351/241/265.md +1 -1
  116. package/src/components/page/common/index.js +39 -39
  117. package/src/components/page/count/components/{CountBoard/index.vue → CountBoard.vue} +115 -115
  118. package/src/components/page/count/components/RandomCount.vue +154 -0
  119. package/src/components/page/count/index.js +21 -21
  120. package/src/components/page/count/inv/action/index.js +5 -5
  121. package/src/components/page/count/inv/action/index.vue +271 -12
  122. package/src/components/page/count/inv/index/index.js +5 -5
  123. package/src/components/page/count/inv/index/index.vue +190 -13
  124. package/src/components/page/count/loc/action/index.js +5 -5
  125. package/src/components/page/count/loc/action/index.vue +545 -514
  126. package/src/components/page/count/loc/index/index.js +5 -5
  127. package/src/components/page/count/loc/index/index.vue +184 -184
  128. package/src/components/page/inbound/components/AsnInfo.vue +180 -177
  129. package/src/components/page/inbound/components/AsnSkuInfo.vue +45 -45
  130. package/src/components/page/inbound/components/QualityCard.vue +230 -230
  131. package/src/components/page/inbound/components/QualityTaskInfo.vue +88 -88
  132. package/src/components/page/inbound/components/SnsList.vue +98 -98
  133. package/src/components/page/inbound/index.js +16 -10
  134. package/src/components/page/inbound/newProject/action/index.js +13 -0
  135. package/src/components/page/{inner/movePutAway/index → inbound/newProject/action}/index.less +0 -0
  136. package/src/components/page/inbound/newProject/action/index.vue +1469 -0
  137. package/src/components/page/inbound/newProject/index/index.js +13 -0
  138. package/src/components/page/inbound/newProject/index/index.less +0 -0
  139. package/src/components/page/inbound/newProject/index/index.vue +122 -0
  140. package/src/components/page/inbound/newProject//346/226/260/345/223/201/351/205/215/347/275/256.md +0 -0
  141. package/src/components/page/inbound/receive/home/index.js +5 -5
  142. package/src/components/page/inbound/receive/home/index.vue +73 -73
  143. package/src/components/page/inbound/receive/index/index.js +5 -5
  144. package/src/components/page/inbound/receive/index/index.vue +89 -89
  145. package/src/components/page/inbound/receive/quality/LwInboundQualityExecutePage.vue +405 -337
  146. package/src/components/page/inbound/receive/quality/LwInboundQualityTaskListPage.vue +163 -157
  147. package/src/components/page/inbound/receive/quality/index.js +16 -16
  148. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuAdvancePage.vue +320 -267
  149. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuDirectPage.vue +407 -351
  150. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuScanPage.vue +149 -149
  151. package/src/components/page/inbound/receive/receive-sku/index.js +19 -19
  152. package/src/components/page/index.js +33 -33
  153. package/src/components/page/inner/abnormalMove/index/index.js +11 -11
  154. package/src/components/page/inner/abnormalMove/index/index.vue +468 -463
  155. package/src/components/page/inner/disposeAbnormal/action/index.js +11 -11
  156. package/src/components/page/inner/disposeAbnormal/action/index.vue +524 -524
  157. package/src/components/page/inner/disposeAbnormal/components/abnInfo/index.vue +655 -655
  158. package/src/components/page/inner/disposeAbnormal/components/disposePopup/index.vue +229 -229
  159. package/src/components/page/inner/disposeAbnormal/components/listItem/index.vue +213 -213
  160. package/src/components/page/inner/disposeAbnormal/components/searchBar/index.vue +264 -260
  161. package/src/components/page/inner/disposeAbnormal/index/index.js +11 -11
  162. package/src/components/page/inner/disposeAbnormal/index/index.vue +237 -247
  163. package/src/components/page/inner/index.js +62 -58
  164. package/src/components/page/inner/lpnMove/action/index.js +11 -11
  165. package/src/components/page/inner/lpnMove/action/index.vue +222 -221
  166. package/src/components/page/inner/lpnMove/index/index.js +11 -11
  167. package/src/components/page/inner/lpnMove/index/index.vue +155 -153
  168. package/src/components/page/inner/materialApply/action/index.js +10 -10
  169. package/src/components/page/inner/materialApply/action/index.vue +563 -554
  170. package/src/components/page/inner/materialApply/generate/index.js +10 -10
  171. package/src/components/page/inner/materialApply/generate/index.vue +376 -376
  172. package/src/components/page/inner/movePutAway/index/index.js +11 -11
  173. package/src/components/page/inner/movePutAway/index/index.vue +363 -363
  174. package/src/components/page/inner/randomMove/components/Down/index.vue +470 -465
  175. package/src/components/page/inner/randomMove/components/Up/index.vue +523 -519
  176. package/src/components/page/inner/randomMove/index/index.js +11 -11
  177. package/src/components/page/inner/randomMove/index/index.vue +152 -152
  178. package/src/components/page/inner/reportAbnormal/action/index.js +11 -11
  179. package/src/components/page/inner/reportAbnormal/action/index.vue +246 -246
  180. package/src/components/page/inner/reportAbnormal/index/index.js +11 -11
  181. package/src/components/page/inner/reportAbnormal/index/index.vue +251 -240
  182. package/src/components/page/inner/taskMove/index/index.js +11 -11
  183. package/src/components/page/inner/taskMove/index/index.vue +1374 -1363
  184. package/src/components/page/outbound/bale/aloneBale/action/index.js +11 -11
  185. package/src/components/page/outbound/bale/aloneBale/action/index.vue +192 -192
  186. package/src/components/page/outbound/bale/aloneBale/index/index.js +11 -11
  187. package/src/components/page/outbound/bale/aloneBale/index/index.vue +86 -86
  188. package/src/components/page/outbound/bale/aloneBale/newBale/index.js +11 -11
  189. package/src/components/page/outbound/bale/aloneBale/newBale/index.vue +53 -53
  190. package/src/components/page/outbound/bale/checkBale/action/index.js +11 -11
  191. package/src/components/page/outbound/bale/checkBale/action/index.vue +1330 -58
  192. package/src/components/page/outbound/bale/checkBale/allCheck/index.js +11 -11
  193. package/src/components/page/outbound/bale/checkBale/allCheck/index.vue +119 -88
  194. package/src/components/page/outbound/bale/checkBale/index/index.js +11 -11
  195. package/src/components/page/outbound/bale/checkBale/index/index.vue +259 -176
  196. package/src/components/page/outbound/bale/checkBale/newBale/index.js +11 -11
  197. package/src/components/page/outbound/bale/checkBale/newBale/index.vue +62 -60
  198. package/src/components/page/outbound/bale/components/allBlock/index.vue +97 -0
  199. package/src/components/page/outbound/bale/components/allBlock//345/205/250/351/203/250/346/213/246/346/210/252.md +0 -0
  200. package/src/components/page/outbound/bale/components/containerInfo/index.vue +237 -229
  201. 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
  202. package/src/components/page/outbound/bale/components/containerSkuQty/index.vue +58 -50
  203. package/src/components/page/outbound/bale/components/mainPage/index.vue +620 -553
  204. package/src/components/page/outbound/bale/components/partBlock/index.vue +197 -0
  205. package/src/components/page/outbound/bale/components/partBlock//351/203/250/345/210/206/346/213/246/346/210/252.md +0 -0
  206. package/src/components/page/outbound/bale/components/planCollapse/index.vue +396 -352
  207. package/src/components/page/outbound/bale/components/storeInfo/index.vue +135 -126
  208. 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
  209. package/src/components/page/outbound/bale/components/storeInfoSkuList/index.vue +121 -123
  210. package/src/components/page/outbound/delivery/action/index.js +11 -11
  211. package/src/components/page/outbound/delivery/action/index.vue +646 -642
  212. package/src/components/page/outbound/delivery/addOrder/index.js +11 -11
  213. package/src/components/page/outbound/delivery/addOrder/index.vue +281 -274
  214. package/src/components/page/outbound/delivery/components/boxItem/index.vue +118 -118
  215. package/src/components/page/outbound/delivery/components/orderContent/index.vue +143 -143
  216. package/src/components/page/outbound/delivery/components/orderContentTitle/index.vue +239 -239
  217. package/src/components/page/outbound/delivery/components/soAndLpnItem/index.vue +152 -152
  218. package/src/components/page/outbound/delivery/index/index.js +11 -11
  219. package/src/components/page/outbound/delivery/index/index.vue +154 -153
  220. package/src/components/page/outbound/index.js +94 -94
  221. package/src/components/page/outbound/pick/alone/index.js +11 -11
  222. package/src/components/page/outbound/pick/alone/index.vue +497 -493
  223. package/src/components/page/outbound/pick/box/index.js +11 -11
  224. package/src/components/page/outbound/pick/box/index.vue +363 -360
  225. package/src/components/page/outbound/pick/components/dataLookAndChange/index.vue +748 -748
  226. package/src/components/page/outbound/pick/components/skuLocationInfo/index.vue +208 -208
  227. package/src/components/page/outbound/pick/components/splitPutDown/index.vue +208 -206
  228. package/src/components/page/outbound/pick/components/splitPutDown//346/213/206/346/235/277/344/270/213/346/236/266.md +0 -0
  229. package/src/components/page/outbound/pick/index/index.js +11 -11
  230. package/src/components/page/outbound/pick/index/index.vue +624 -624
  231. package/src/components/page/outbound/pick/lpn/index.js +11 -11
  232. package/src/components/page/outbound/pick/lpn/index.vue +305 -303
  233. package/src/components/page/outbound/pick/mixin/all.js +100 -100
  234. package/src/components/page/outbound/pick/mixin/aloneAndNotAlone.js +132 -132
  235. package/src/components/page/outbound/pick/notAlone/index.js +11 -11
  236. package/src/components/page/outbound/pick/notAlone/index.vue +524 -519
  237. package/src/components/page/outbound/pickMerge/action/index.js +11 -11
  238. package/src/components/page/outbound/pickMerge/action/index.vue +543 -541
  239. package/src/components/page/outbound/pickMerge/components/containerInfo/index.vue +89 -89
  240. package/src/components/page/outbound/pickMerge/components/finishPopup/index.vue +88 -88
  241. package/src/components/page/outbound/pickMerge/components/skuInfo/index.vue +132 -132
  242. package/src/components/page/outbound/pickMerge/content/index.js +11 -11
  243. package/src/components/page/outbound/pickMerge/content/index.vue +170 -169
  244. package/src/components/page/outbound/pickMerge/index/index.js +11 -11
  245. package/src/components/page/outbound/pickMerge/index/index.vue +77 -76
  246. package/src/components/page/outbound/sow/action/index.js +11 -11
  247. package/src/components/page/outbound/sow/action/index.vue +1420 -1408
  248. package/src/components/page/outbound/sow/components/sowLocationList/index.vue +80 -80
  249. package/src/components/page/outbound/sow/components/waitSowCollapse/index.vue +105 -105
  250. package/src/components/page/outbound/sow/index/index.js +11 -11
  251. package/src/components/page/outbound/sow/index/index.vue +374 -374
  252. package/src/components/page/outbound/summary/box/index/index.js +11 -11
  253. package/src/components/page/outbound/summary/box/index/index.vue +645 -643
  254. package/src/components/page/outbound/summary/lpn/action/index.js +12 -12
  255. package/src/components/page/outbound/summary/lpn/action/index.vue +253 -251
  256. package/src/components/page/outbound/summary/lpn/index/index.js +12 -12
  257. package/src/components/page/outbound/summary/lpn/index/index.vue +70 -69
  258. package/src/components/page/receive/abnormal/action/index.js +11 -11
  259. package/src/components/page/receive/abnormal/action/index.vue +45 -45
  260. package/src/components/page/receive/abnormal/index/index.js +11 -11
  261. package/src/components/page/receive/abnormal/index/index.vue +73 -72
  262. package/src/components/page/receive/index.js +36 -36
  263. package/src/components/page/receive/putaway/components/SkuInfo/index.vue +247 -247
  264. package/src/components/page/receive/putaway/components/SkuPutAwayInfo/index.vue +203 -203
  265. package/src/components/page/receive/putaway/components/TaskInfo/index.vue +216 -216
  266. package/src/components/page/receive/putaway/index/index.js +11 -11
  267. package/src/components/page/receive/putaway/index/index.vue +288 -286
  268. package/src/components/page/receive/putaway/lpnAction/index.js +11 -11
  269. package/src/components/page/receive/putaway/lpnAction/index.vue +332 -330
  270. package/src/components/page/receive/putaway/skuAction/index.js +11 -11
  271. package/src/components/page/receive/putaway/skuAction/index.vue +742 -735
  272. package/src/components/page/receive/receipt/action/index.js +11 -11
  273. package/src/components/page/receive/receipt/action/index.vue +260 -260
  274. package/src/components/page/receive/receipt/index/index.js +11 -11
  275. package/src/components/page/receive/receipt/index/index.vue +124 -123
  276. package/src/components/ui/BottomBar/index.js +5 -5
  277. package/src/components/ui/BottomBar/index.vue +72 -72
  278. package/src/components/ui/BottomBarBtnHidden/index.js +11 -11
  279. package/src/components/ui/BottomBarBtnHidden/index.vue +91 -91
  280. package/src/components/ui/Button/index.js +5 -5
  281. package/src/components/ui/Button/index.vue +183 -183
  282. package/src/components/ui/CarPlate/index.js +11 -11
  283. package/src/components/ui/CarPlate/index.vue +378 -378
  284. package/src/components/ui/CarPlate//350/275/246/347/211/214/345/217/267.md +1 -1
  285. package/src/components/ui/Cell/index.js +5 -5
  286. package/src/components/ui/Cell/index.vue +259 -259
  287. package/src/components/ui/CellPopupDate/index.js +11 -11
  288. package/src/components/ui/CellPopupDate/index.vue +167 -167
  289. 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
  290. package/src/components/ui/CellPopupRadio/index.js +11 -11
  291. package/src/components/ui/CellPopupRadio/index.vue +136 -136
  292. 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
  293. package/src/components/ui/CutCard/index.js +11 -11
  294. package/src/components/ui/CutCard/index.vue +132 -132
  295. 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
  296. package/src/components/ui/DataLookBg/index.js +11 -11
  297. package/src/components/ui/DataLookBg/index.vue +104 -104
  298. 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 +1 -1
  299. package/src/components/ui/ErrorMsg/index.js +59 -59
  300. package/src/components/ui/ErrorMsg/index.vue +141 -141
  301. package/src/components/ui/Form/index.js +5 -5
  302. package/src/components/ui/Form/index.vue +36 -36
  303. package/src/components/ui/ImgLook/index.js +5 -5
  304. package/src/components/ui/ImgLook/index.vue +96 -96
  305. package/src/components/ui/ImgUpload/index.js +12 -12
  306. package/src/components/ui/ImgUpload/index.vue +120 -120
  307. package/src/components/ui/Input/index.js +5 -5
  308. package/src/components/ui/Input/index.vue +554 -544
  309. package/src/components/ui/Input//350/276/223/345/205/245/346/241/206.md +1 -1
  310. package/src/components/ui/Loading/index.js +49 -49
  311. package/src/components/ui/Loading/index.vue +61 -61
  312. package/src/components/ui/MenuItem/index.js +5 -5
  313. package/src/components/ui/MenuItem/index.vue +170 -170
  314. package/src/components/ui/NavBar/index.js +5 -5
  315. package/src/components/ui/NavBar/index.vue +143 -143
  316. package/src/components/ui/NavBar//351/241/266/351/203/250/345/257/274/350/210/252/346/240/217.md +1 -1
  317. package/src/components/ui/NotData/index.js +5 -5
  318. package/src/components/ui/NotData/index.vue +75 -75
  319. package/src/components/ui/Pages/index.js +5 -5
  320. package/src/components/ui/Pages/index.vue +186 -186
  321. package/src/components/ui/Popup/index.js +5 -5
  322. package/src/components/ui/Popup/index.vue +245 -245
  323. package/src/components/ui/PopupCheckbox/index.js +5 -5
  324. package/src/components/ui/PopupCheckbox/index.vue +207 -207
  325. package/src/components/ui/PopupRadio/index.js +5 -5
  326. package/src/components/ui/PopupRadio/index.vue +124 -124
  327. package/src/components/ui/TabBar/index.js +11 -11
  328. package/src/components/ui/TabBar/index.vue +132 -132
  329. package/src/components/ui/TabBar//345/272/225/351/203/250/345/257/274/350/210/252/346/240/217.md +1 -1
  330. package/src/components/ui/Table/index.js +5 -5
  331. package/src/components/ui/Table/index.vue +213 -213
  332. package/src/components/ui/Tag/index.js +5 -5
  333. package/src/components/ui/Tag/index.vue +142 -142
  334. package/src/components/ui/TitleValueCell/index.js +11 -11
  335. package/src/components/ui/TitleValueCell/index.vue +61 -61
  336. package/src/components/ui/index.js +84 -84
  337. package/src/directive/Permissions.js +35 -37
  338. package/src/directive/index.js +12 -12
  339. package/src/index.js +67 -67
  340. package/src/mixins/loginAndInit/index.js +27 -0
  341. 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
  342. package/src/mixins//346/267/267/345/205/245.md +0 -0
  343. package/src/router/index.js +405 -393
  344. package/src/router/menu.js +367 -354
  345. package/src/test/file/index.js +11 -11
  346. package/src/test/file/index.vue +25 -25
  347. package/src/utils/ApiUtils.js +48 -48
  348. package/src/utils/AppBack.js +44 -44
  349. package/src/utils/Axios.js +160 -160
  350. package/src/utils/BarcodeResolve.js +281 -0
  351. package/src/utils/DateTime.js +219 -219
  352. package/src/utils/DeepCopy.js +61 -61
  353. package/src/utils/Dict.js +73 -73
  354. package/src/utils/GetImgSrc.js +53 -53
  355. package/src/utils/Init.js +12 -12
  356. package/src/utils/Language.js +59 -59
  357. package/src/utils/LocalStorage.js +30 -30
  358. package/src/utils/Permissions.js +51 -51
  359. package/src/utils/Print.js +179 -179
  360. package/src/utils/README.md +2 -2
  361. package/src/utils/RouteInit.js +14 -14
  362. package/src/utils/ScanRule.js +150 -150
  363. package/src/utils/SetColor.js +22 -22
  364. package/src/utils/TabBar.js +30 -30
  365. package/src/utils/Tip.js +26 -26
  366. package/src/utils/Toast.js +41 -41
  367. package/src/utils/UUID.js +33 -33
  368. package/src/utils/Warehouse.js +26 -26
  369. package/src/utils/index.js +63 -61
  370. package/src/utils/windowGlobalData.js +88 -88
  371. package/src/views/common/home/index.vue +67 -67
  372. package/src/views/common/init/index.vue +128 -122
  373. package/src/views/common/login/index.vue +23 -23
  374. package/src/views/common/menu/menuOne.vue +36 -36
  375. package/src/views/common/menu/menuTwo.vue +33 -33
  376. package/src/views/common/my/device.vue +23 -23
  377. package/src/views/common/my/index.vue +23 -23
  378. package/src/views/common/my/language.vue +23 -23
  379. package/src/views/common/my/msg.vue +23 -23
  380. package/src/views/common/my/print.vue +23 -23
  381. package/src/views/common/my/warehouse.vue +25 -25
  382. package/src/views/common/task/index.vue +23 -23
  383. package/src/views/count/index.vue +87 -87
  384. package/src/views/count/inv/action.vue +12 -12
  385. package/src/views/count/inv/index.vue +12 -12
  386. package/src/views/count/loc/action.vue +12 -12
  387. package/src/views/count/loc/index.vue +12 -12
  388. package/src/views/inbound/newProject/action.vue +23 -0
  389. package/src/views/inbound/newProject/index.vue +23 -0
  390. package/src/views/inbound/quality/InboundQualityExecuteView.vue +11 -11
  391. package/src/views/inbound/quality/InboundQualityTaskListView.vue +11 -11
  392. package/src/views/inbound/receive/home.vue +14 -14
  393. package/src/views/inbound/receive/index.vue +13 -13
  394. package/src/views/inbound/receive/sku/InboundReceiveSkuAdvanceView.vue +13 -13
  395. package/src/views/inbound/receive/sku/InboundReceiveSkuDirectView.vue +13 -13
  396. package/src/views/inbound/receive/sku/InboundReceiveSkuScanView.vue +13 -13
  397. package/src/views/inner/abnormalMove/index.vue +23 -23
  398. package/src/views/inner/disposeAbnormal/action.vue +23 -23
  399. package/src/views/inner/disposeAbnormal/index.vue +23 -23
  400. package/src/views/inner/lpnMove/action.vue +23 -23
  401. package/src/views/inner/lpnMove/index.vue +23 -23
  402. package/src/views/inner/materialApply/action.vue +22 -22
  403. package/src/views/inner/materialApply/generate.vue +22 -22
  404. package/src/views/inner/movePutAway/index.vue +22 -22
  405. package/src/views/inner/randomMove/index.vue +23 -23
  406. package/src/views/inner/reportAbnormal/action.vue +23 -23
  407. package/src/views/inner/reportAbnormal/index.vue +23 -23
  408. package/src/views/inner/taskMove/index.vue +23 -23
  409. package/src/views/outbound/aloneBale/action.vue +23 -23
  410. package/src/views/outbound/aloneBale/index.vue +23 -23
  411. package/src/views/outbound/aloneBale/newBale.vue +23 -23
  412. package/src/views/outbound/bale/action.vue +23 -23
  413. package/src/views/outbound/bale/allCheck.vue +23 -23
  414. package/src/views/outbound/bale/index.vue +23 -23
  415. package/src/views/outbound/bale/newBale.vue +23 -23
  416. package/src/views/outbound/delivery/action.vue +23 -23
  417. package/src/views/outbound/delivery/addOrder.vue +23 -23
  418. package/src/views/outbound/delivery/index.vue +23 -23
  419. package/src/views/outbound/pick/aloneAction.vue +23 -23
  420. package/src/views/outbound/pick/boxAction.vue +23 -23
  421. package/src/views/outbound/pick/index.vue +23 -23
  422. package/src/views/outbound/pick/lpnAction.vue +23 -23
  423. package/src/views/outbound/pick/notAloneAction.vue +23 -23
  424. package/src/views/outbound/pickMerge/action.vue +23 -23
  425. package/src/views/outbound/pickMerge/content.vue +23 -23
  426. package/src/views/outbound/pickMerge/index.vue +23 -23
  427. package/src/views/outbound/sow/action.vue +23 -23
  428. package/src/views/outbound/sow/index.vue +23 -23
  429. package/src/views/outbound/summary/box/index.vue +23 -23
  430. package/src/views/outbound/summary/lpn/action.vue +23 -23
  431. package/src/views/outbound/summary/lpn/index.vue +23 -23
  432. package/src/views/receive/abnormal/action.vue +23 -23
  433. package/src/views/receive/abnormal/index.vue +24 -24
  434. package/src/views/receive/putaway/index.vue +23 -23
  435. package/src/views/receive/putaway/lpnAction.vue +23 -23
  436. package/src/views/receive/putaway/skuAction.vue +23 -23
  437. package/src/views/receive/receipt/action.vue +25 -25
  438. package/src/views/receive/receipt/index.vue +25 -25
@@ -0,0 +1,1469 @@
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/>