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

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 (401) hide show
  1. package/dist/{BlockInfo.1c8ece6a.mjs → BlockInfo.cd717551.mjs} +1 -1
  2. package/dist/{InboundQualityExecuteView.3c816a1e.mjs → InboundQualityExecuteView.b163580d.mjs} +1 -1
  3. package/dist/{InboundQualityTaskListView.14185db1.mjs → InboundQualityTaskListView.3750e0cf.mjs} +1 -1
  4. package/dist/{InboundReceiveAllocSkuExecuteView.ad248f9e.mjs → InboundReceiveAllocSkuExecuteView.96524aaf.mjs} +1 -1
  5. package/dist/{InboundReceiveAllocSnExecuteView.c8a4abc8.mjs → InboundReceiveAllocSnExecuteView.753ffeb7.mjs} +1 -1
  6. package/dist/{InboundReceiveAllocTabListView.9639b998.mjs → InboundReceiveAllocTabListView.6f7288a6.mjs} +1 -1
  7. package/dist/{InboundReceiveCaseExecuteView.3f937231.mjs → InboundReceiveCaseExecuteView.caf5068c.mjs} +1 -1
  8. package/dist/{InboundReceiveCaseScanView.a88b4178.mjs → InboundReceiveCaseScanView.d67735f2.mjs} +1 -1
  9. package/dist/{InboundReceiveLpnBatchExecuteView.6034a9e1.mjs → InboundReceiveLpnBatchExecuteView.e1c57c8c.mjs} +1 -1
  10. package/dist/{InboundReceiveLpnExecuteView.d3116e23.mjs → InboundReceiveLpnExecuteView.41bd8e2f.mjs} +1 -1
  11. package/dist/{InboundReceiveLpnScanView.4db78898.mjs → InboundReceiveLpnScanView.f5174716.mjs} +1 -1
  12. package/dist/{InboundReceiveRandomSkuExecuteView.1b6e0637.mjs → InboundReceiveRandomSkuExecuteView.07fb1c84.mjs} +1 -1
  13. package/dist/{InboundReceiveRandomSkuScanView.1821d2c4.mjs → InboundReceiveRandomSkuScanView.3135e36a.mjs} +1 -1
  14. package/dist/{InboundReceiveRandomSkuSnExecuteView.2f3cfcea.mjs → InboundReceiveRandomSkuSnExecuteView.11db9d3a.mjs} +1 -1
  15. package/dist/{InboundReceiveSkuAdvanceView.a6b4568f.mjs → InboundReceiveSkuAdvanceView.b1df06ed.mjs} +1 -1
  16. package/dist/{InboundReceiveSkuDirectView.811bf351.mjs → InboundReceiveSkuDirectView.84222ada.mjs} +1 -1
  17. package/dist/{InboundReceiveSkuScanView.5e614e01.mjs → InboundReceiveSkuScanView.23630a66.mjs} +1 -1
  18. package/dist/{LwInboundSortingAsnView.3e1106d7.mjs → LwInboundSortingAsnView.bbd886e7.mjs} +1 -1
  19. package/dist/{LwInboundSortingByContainerView.33299f9f.mjs → LwInboundSortingByContainerView.bbd512d6.mjs} +1 -1
  20. package/dist/{LwInboundSortingByOrderView.2f8db636.mjs → LwInboundSortingByOrderView.b01c9a42.mjs} +1 -1
  21. package/dist/{LwInboundSortingIndexView.c9ed07c1.mjs → LwInboundSortingIndexView.76dddd17.mjs} +1 -1
  22. package/dist/{LwOutboundReprintBoxView.72539c87.mjs → LwOutboundReprintBoxView.6f45d01f.mjs} +1 -1
  23. package/dist/{LwOutboundStockoutExecuteView.3fe57cee.mjs → LwOutboundStockoutExecuteView.d75c4185.mjs} +2 -2
  24. package/dist/{LwOutboundStockoutListView.d9a1e1bd.mjs → LwOutboundStockoutListView.e4dd5c30.mjs} +2 -2
  25. package/dist/{MoveRandomWholeCaseView.c2742890.mjs → MoveRandomWholeCaseView.9aa794be.mjs} +1 -1
  26. package/dist/{MoveTaskWholeCaseDownView.5250c675.mjs → MoveTaskWholeCaseDownView.9665f4f2.mjs} +1 -1
  27. package/dist/{MoveTaskWholeCaseUpView.824a2aee.mjs → MoveTaskWholeCaseUpView.80405369.mjs} +1 -1
  28. package/dist/{MoveTaskWholeIndexView.4de7edfc.mjs → MoveTaskWholeIndexView.a0b53cd7.mjs} +1 -1
  29. package/dist/{OutboundBlockBoxListView.dedc1292.mjs → OutboundBlockBoxListView.9953f4c5.mjs} +2 -2
  30. package/dist/{OutboundBlockExecuteView.db1ab452.mjs → OutboundBlockExecuteView.3e07539f.mjs} +2 -2
  31. package/dist/{action.54fe5fe2.mjs → action.06092f06.mjs} +1 -1
  32. package/dist/action.0804de03.mjs +26 -0
  33. package/dist/{action.8f655f2e.mjs → action.111b181e.mjs} +1 -1
  34. package/dist/{action.68f0c9ef.mjs → action.1b1abda3.mjs} +1 -1
  35. package/dist/{action.0cfc710c.mjs → action.1b7a544a.mjs} +1 -1
  36. package/dist/{action.95aa8c94.mjs → action.25cd4eff.mjs} +1 -1
  37. package/dist/{action.02bbb588.mjs → action.2d479b4b.mjs} +1 -1
  38. package/dist/{action.ec9705f5.mjs → action.31090baf.mjs} +1 -1
  39. package/dist/action.345819b8.mjs +26 -0
  40. package/dist/{action.8ffbd19f.mjs → action.4c7fa077.mjs} +1 -1
  41. package/dist/{action.4dc11c91.mjs → action.4e3e8bd7.mjs} +1 -1
  42. package/dist/{action.6ba45e3b.mjs → action.547b605b.mjs} +1 -1
  43. package/dist/{action.04ee34d5.mjs → action.680385e2.mjs} +1 -1
  44. package/dist/{action.4a3773c1.mjs → action.71974524.mjs} +1 -1
  45. package/dist/{action.c1816f01.mjs → action.722dcf1a.mjs} +1 -1
  46. package/dist/{action.0a1d10ad.mjs → action.7f9607d9.mjs} +1 -1
  47. package/dist/{action.88067120.mjs → action.9da02faf.mjs} +1 -1
  48. package/dist/{action.01da8ae9.mjs → action.a4cd8012.mjs} +1 -1
  49. package/dist/{action.f03dbf79.mjs → action.a907e009.mjs} +1 -1
  50. package/dist/{action.b0306402.mjs → action.b72fd10b.mjs} +1 -1
  51. package/dist/action.c1be6cd9.mjs +26 -0
  52. package/dist/{action.f8726b24.mjs → action.d0011f0f.mjs} +1 -1
  53. package/dist/{action.034382ff.mjs → action.d60d043b.mjs} +1 -1
  54. package/dist/{action.5aa67994.mjs → action.d806291c.mjs} +1 -1
  55. package/dist/{action.6be6f5d3.mjs → action.eec6f72e.mjs} +1 -1
  56. package/dist/{action.2baf8260.mjs → action.f64a2a1f.mjs} +1 -1
  57. package/dist/{action.eff389f9.mjs → action.f9737bab.mjs} +1 -1
  58. package/dist/{action.7424605b.mjs → action.f994fbd3.mjs} +1 -1
  59. package/dist/{action.8e26827f.mjs → action.fb9376dd.mjs} +1 -1
  60. package/dist/{action.5bb65cf2.mjs → action.ffea62ab.mjs} +1 -1
  61. package/dist/{add.2e5ce839.mjs → add.afaf5af3.mjs} +1 -1
  62. package/dist/{addOrder.4f228676.mjs → addOrder.340024d8.mjs} +1 -1
  63. package/dist/{allCheck.c5c9395b.mjs → allCheck.1f6f361e.mjs} +1 -1
  64. package/dist/{aloneAction.43f83144.mjs → aloneAction.5a2adaec.mjs} +1 -1
  65. package/dist/{boxAction.3d4eb6d9.mjs → boxAction.497a20ca.mjs} +1 -1
  66. package/dist/{caseAction.74093bb0.mjs → caseAction.d09fcd7f.mjs} +1 -1
  67. package/dist/{console.4232cad5.mjs → console.a83967a9.mjs} +1 -1
  68. package/dist/{consoleInfo.3eefa9b6.mjs → consoleInfo.63ab720d.mjs} +1 -1
  69. package/dist/{action.017a327c.mjs → containerAction.7eaf0b60.mjs} +6 -6
  70. package/dist/content.21dae72b.mjs +26 -0
  71. package/dist/content.d9163c74.mjs +26 -0
  72. package/dist/{content.44aa1b2c.mjs → content.ffe9922f.mjs} +1 -1
  73. package/dist/{contentInfo.4b40e2e7.mjs → contentInfo.75e632b6.mjs} +1 -1
  74. package/dist/{customer.cc356336.mjs → customer.8dc15438.mjs} +1 -1
  75. package/dist/{device.807dfeb7.mjs → device.21032074.mjs} +1 -1
  76. package/dist/{generate.72d6586b.mjs → generate.5ab9c4a6.mjs} +1 -1
  77. package/dist/{home.862fcd6d.mjs → home.5c0e0f12.mjs} +1 -1
  78. package/dist/{index.00779596.mjs → index.076b3b68.mjs} +1 -1
  79. package/dist/{index.6ce411ca.mjs → index.0997eabf.mjs} +1 -1
  80. package/dist/{index.88defcf5.mjs → index.0c93681b.mjs} +1 -1
  81. package/dist/{index.eccf6574.mjs → index.13cdd3f1.mjs} +1 -1
  82. package/dist/{index.11007dde.mjs → index.1d8e84da.mjs} +1 -1
  83. package/dist/{index.c47c55d2.mjs → index.2c3c6dea.mjs} +1 -1
  84. package/dist/index.349de4b7.mjs +26 -0
  85. package/dist/{index.1accff9d.mjs → index.34e23af6.mjs} +1 -1
  86. package/dist/index.36b28ac3.mjs +26 -0
  87. package/dist/{index.98d8e385.mjs → index.3dcfacdf.mjs} +1 -1
  88. package/dist/{index.a4868e2e.mjs → index.4287ae2a.mjs} +1 -1
  89. package/dist/{index.69c12a25.mjs → index.434703b6.mjs} +1 -1
  90. package/dist/{index.e751b3ad.mjs → index.4863a553.mjs} +1 -1
  91. package/dist/{index.bc0f7742.mjs → index.5039f7d9.mjs} +1 -1
  92. package/dist/{index.af8fef71.mjs → index.54f8d208.mjs} +1 -1
  93. package/dist/index.57aa1d30.mjs +26 -0
  94. package/dist/{index.b28a704f.mjs → index.5c54f849.mjs} +1 -1
  95. package/dist/{index.c53a8678.mjs → index.736b46b9.mjs} +1 -1
  96. package/dist/{index.962f2cd9.mjs → index.7550cd84.mjs} +1 -1
  97. package/dist/index.81a3e724.mjs +26 -0
  98. package/dist/index.83b732a8.mjs +26 -0
  99. package/dist/{index.6c35d72c.mjs → index.8d586bc5.mjs} +1 -1
  100. package/dist/{index.5ed3d1b8.mjs → index.8d6b02d0.mjs} +1 -1
  101. package/dist/{index.5def9da7.mjs → index.91c62cb5.mjs} +1 -1
  102. package/dist/{index.5c3a5656.mjs → index.923905ce.mjs} +1 -1
  103. package/dist/{index.bff4ac60.mjs → index.929fb7cd.mjs} +1 -1
  104. package/dist/{index.3e28f529.mjs → index.98a50fee.mjs} +1 -1
  105. package/dist/{index.fac867ec.mjs → index.9d2070b3.mjs} +1 -1
  106. package/dist/{index.d1f6dd66.mjs → index.a026cef9.mjs} +3 -3
  107. package/dist/{index.baeda2e1.mjs → index.a420a436.mjs} +1 -1
  108. package/dist/{index.255f016c.mjs → index.a71e5b6b.mjs} +1 -1
  109. package/dist/{index.5307f035.mjs → index.ade0efcb.mjs} +1 -1
  110. package/dist/{index.41e9615a.mjs → index.af586ff1.mjs} +1 -1
  111. package/dist/{index.1156af3a.mjs → index.afb30c5b.mjs} +1 -1
  112. package/dist/{index.585c56c2.mjs → index.b13a80e1.mjs} +1 -1
  113. package/dist/{index.65987267.mjs → index.b371b800.mjs} +1 -1
  114. package/dist/{index.9cc1b8cb.mjs → index.b54f9c4d.mjs} +1 -1
  115. package/dist/{index.8fb5154c.mjs → index.b6e1f641.mjs} +1 -1
  116. package/dist/{index.53edfcba.mjs → index.b9b71b60.mjs} +1 -1
  117. package/dist/{index.db5c6017.mjs → index.be655d82.mjs} +1 -1
  118. package/dist/{index.3330acfb.mjs → index.c0a9917f.mjs} +1 -1
  119. package/dist/{index.bcce7d7e.mjs → index.c4d174f2.mjs} +1 -1
  120. package/dist/{index.9b2f3427.mjs → index.c5c98bac.mjs} +1 -1
  121. package/dist/index.c82c386b.mjs +26 -0
  122. package/dist/{index.1fa9c485.mjs → index.cdf45782.mjs} +1 -1
  123. package/dist/index.d21257e9.mjs +26 -0
  124. package/dist/{index.15f6f203.mjs → index.d56b1b10.mjs} +1 -1
  125. package/dist/{index.68be1564.mjs → index.d7fee3e2.mjs} +1 -1
  126. package/dist/{index.22aef932.mjs → index.d9639178.mjs} +23906 -20195
  127. package/dist/{index.ddc65ec9.mjs → index.da78c0cb.mjs} +1 -1
  128. package/dist/{index.f35febce.mjs → index.db8addda.mjs} +1 -1
  129. package/dist/index.es.js +1 -1
  130. package/dist/{index.2833a061.mjs → index.f187bedf.mjs} +1 -1
  131. package/dist/{index.2186bd36.mjs → index.f5c913d3.mjs} +1 -1
  132. package/dist/{index.f82b4518.mjs → index.f5ddca08.mjs} +1 -1
  133. package/dist/{index.69a0e492.mjs → index.f8d7a56e.mjs} +1 -1
  134. package/dist/{index.de826989.mjs → index.ffe51370.mjs} +1 -1
  135. package/dist/index.umd.js +13 -17
  136. package/dist/{language.0238a2bb.mjs → language.2566e0dd.mjs} +1 -1
  137. package/dist/{large.c0e2e5e2.mjs → large.9fa7bb85.mjs} +1 -1
  138. package/dist/{line.d6075059.mjs → line.a6356aec.mjs} +1 -1
  139. package/dist/{lpn.407d85bd.mjs → lpn.9c121b8e.mjs} +1 -1
  140. package/dist/{lpnAction.e02fa075.mjs → lpnAction.8fdf211f.mjs} +1 -1
  141. package/dist/{lpnAction.53153261.mjs → lpnAction.c4f2eea6.mjs} +1 -1
  142. package/dist/{lpnBatchAction.6616460e.mjs → lpnBatchAction.3eae8637.mjs} +1 -1
  143. package/dist/{menuOne.01b2c0b4.mjs → menuOne.89c60366.mjs} +1 -1
  144. package/dist/{menuTwo.35fcbc35.mjs → menuTwo.a381c8fd.mjs} +1 -1
  145. package/dist/{msg.3587e42c.mjs → msg.316f9ef8.mjs} +1 -1
  146. package/dist/{newBale.e62943b8.mjs → newBale.6176177e.mjs} +1 -1
  147. package/dist/{newBale.fa567c88.mjs → newBale.c11eddaf.mjs} +1 -1
  148. package/dist/{newLpn.2f06a7fb.mjs → newLpn.18a0dd3c.mjs} +1 -1
  149. package/dist/{notAloneAction.12f5c1f0.mjs → notAloneAction.9440a349.mjs} +1 -1
  150. package/dist/orderInfo.20e240a0.mjs +26 -0
  151. package/dist/orderInfo.471fc3b3.mjs +26 -0
  152. package/dist/{over.0897f137.mjs → over.b8cb738f.mjs} +1 -1
  153. package/dist/{page.051e1c8c.mjs → page.bfa2db20.mjs} +1 -1
  154. package/dist/{print.34afe6a8.mjs → print.b990036b.mjs} +1 -1
  155. package/dist/{printLabel.efb743ab.mjs → printLabel.22ce4ced.mjs} +1 -1
  156. package/dist/{queryByLocationCode.5abdd79f.mjs → queryByLocationCode.f7bb7d00.mjs} +1 -1
  157. package/dist/{queryBySkuCode.9b53e304.mjs → queryBySkuCode.5a710565.mjs} +1 -1
  158. package/dist/{sample.7c395c51.mjs → sample.977f9537.mjs} +1 -1
  159. package/dist/{search.49ecd7f6.mjs → search.c0eaec8c.mjs} +1 -1
  160. package/dist/{skuAction.8ed7a1c3.mjs → skuAction.eed5b216.mjs} +1 -1
  161. package/dist/{skuCheck.279b82b0.mjs → skuCheck.8ec0d3ff.mjs} +1 -1
  162. package/dist/{smallPage.dde66fc7.mjs → smallPage.20995664.mjs} +1 -1
  163. package/dist/{sowAction.b1db1fc0.mjs → sowAction.388c4a97.mjs} +1 -1
  164. package/dist/style.css +1 -1
  165. package/dist/{taskEntrance.7fe227a2.mjs → taskEntrance.1ab3c158.mjs} +1 -1
  166. package/dist/{timezone.6ced3ba0.mjs → timezone.528590d9.mjs} +1 -1
  167. package/dist/{warehouse.94715780.mjs → warehouse.1f1dbf0c.mjs} +1 -1
  168. package/package.json +2 -2
  169. package/src/api/common/Print.js +8 -0
  170. package/src/api/container/containerBack.js +25 -0
  171. package/src/api/container/rentBack.js +52 -0
  172. package/src/api/container/repairBack.js +61 -0
  173. package/src/api/container/repairRegister.js +70 -0
  174. package/src/api/container/scrapRecord.js +70 -0
  175. package/src/api/inbound/containerPrant.js +16 -0
  176. package/src/api/inbound/quality.js +7 -0
  177. package/src/api/inbound/unload.js +79 -0
  178. package/src/api/inner/disposeAbnormal/action.js +8 -0
  179. package/src/api/outbound/pick/container.js +54 -0
  180. package/src/api/receive/putaway.js +42 -0
  181. package/src/assets/css/global.less +1 -0
  182. package/src/assets/img/menu/caseQuickMove.png +0 -0
  183. package/src/assets/img/menu/container/container.png +0 -0
  184. package/src/assets/img/menu/container/containerBack.png +0 -0
  185. package/src/assets/img/menu/container/rentBack.png +0 -0
  186. package/src/assets/img/menu/container/repairBack.png +0 -0
  187. package/src/assets/img/menu/container/repairRegister.png +0 -0
  188. package/src/assets/img/menu/container/scrapRecord.png +0 -0
  189. package/src/assets/img/menu/fragQuickMove.png +0 -0
  190. package/src/assets/img/menu/lpnBatchReceive.png +0 -0
  191. package/src/assets/img/menu/movePutAway.png +0 -0
  192. package/src/assets/img/menu/packScreen.png +0 -0
  193. package/src/assets/img/menu/replenish.png +0 -0
  194. package/src/assets/img/menu/sorting.png +0 -0
  195. package/src/assets/img/menu/unload.png +0 -0
  196. package/src/components/module/InnerAbnormal/index.vue +22 -2
  197. package/src/components/module/SystemInfo/index.vue +2 -17
  198. package/src/components/page/common/Login/index.vue +20 -0
  199. package/src/components/page/common/Msg/index.vue +2 -5
  200. package/src/components/page/common/My/index.vue +32 -6
  201. package/src/components/page/common/Task/components/lookTaskContentPopup.vue +93 -70
  202. package/src/components/page/common/Task/components/overTaskPopup.vue +3 -0
  203. package/src/components/page/{count/console/components/overTaskPopup.vue → common/Task/components/refuseTaskPopup.vue} +22 -15
  204. package/src/components/page/common/Task/index/index.vue +3 -25
  205. package/src/components/page/common/Task/searchTask/index.vue +2 -23
  206. package/src/components/page/common/TaskConsole/index.js +11 -0
  207. package/src/components/page/common/TaskConsole/index.vue +445 -0
  208. 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 → common/TaskConsole//344/273/273/345/212/241/346/216/247/345/210/266/345/217/260.md} +0 -0
  209. package/src/components/page/common/Warehouse/index.vue +3 -0
  210. package/src/components/page/common/index.js +3 -0
  211. package/src/components/page/config/masterLocation/masterLocationConfig/action/index.vue +2 -2
  212. package/src/components/page/config/masterLocation/masterLocationQuery/action/queryByLocationCode.vue +2 -2
  213. package/src/components/page/config/masterLocation/masterLocationQuery/action/queryBySkuCode.vue +2 -2
  214. package/src/components/page/config/masterLocation/masterLocationQuery/index/index.vue +2 -2
  215. package/src/components/page/config/newProject/action/index.vue +3 -3
  216. package/src/components/page/config/newProject/index/index.vue +1 -1
  217. package/src/components/page/container/components/backStatusRow.vue +77 -0
  218. package/src/components/page/container/containerBack/components/containerInfo.vue +75 -0
  219. package/src/components/page/container/containerBack/components/rentInfo.vue +107 -0
  220. package/src/components/page/container/containerBack/index/index.js +11 -0
  221. package/src/components/page/container/containerBack/index/index.vue +418 -0
  222. package/src/components/page/container/containerBack//345/256/271/345/231/250/345/275/222/350/277/230.md +0 -0
  223. package/src/components/page/container/index.js +40 -0
  224. package/src/components/page/container/rentBack/aciton/index.js +11 -0
  225. package/src/components/page/container/rentBack/aciton/index.vue +406 -0
  226. package/src/components/page/container/rentBack/components/containerBackItem.vue +71 -0
  227. package/src/components/page/container/rentBack/components/containerInfo.vue +55 -0
  228. package/src/components/page/container/rentBack/components/rentInfo.vue +134 -0
  229. package/src/components/page/container/rentBack/content/index.js +11 -0
  230. package/src/components/page/container/rentBack/content/index.vue +218 -0
  231. package/src/components/page/container/rentBack/index/index.js +11 -0
  232. package/src/components/page/container/rentBack/index/index.vue +227 -0
  233. package/src/components/page/container/rentBack//347/247/237/350/265/201/345/275/222/350/277/230.md +0 -0
  234. package/src/components/page/container/repairBack/aciton/index.js +11 -0
  235. package/src/components/page/container/repairBack/aciton/index.vue +386 -0
  236. package/src/components/page/container/repairBack/components/containerInfo.vue +72 -0
  237. package/src/components/page/container/repairBack/components/repairInfo.vue +135 -0
  238. package/src/components/page/container/repairBack/content/index.js +11 -0
  239. package/src/components/page/container/repairBack/content/index.vue +243 -0
  240. package/src/components/page/container/repairBack/index/index.js +11 -0
  241. package/src/components/page/container/repairBack/index/index.vue +233 -0
  242. package/src/components/page/container/repairBack//347/273/264/344/277/256/345/275/222/350/277/230.md +0 -0
  243. package/src/components/page/container/repairRegister/components/addOrEditOrder.vue +149 -0
  244. package/src/components/page/container/repairRegister/components/containerInfo.vue +84 -0
  245. package/src/components/page/container/repairRegister/index/index.js +11 -0
  246. package/src/components/page/container/repairRegister/index/index.vue +251 -0
  247. package/src/components/page/container/repairRegister/orderInfo/index.js +11 -0
  248. package/src/components/page/container/repairRegister/orderInfo/index.vue +477 -0
  249. package/src/components/page/container/repairRegister//346/212/245/344/277/256/347/231/273/350/256/260.md +0 -0
  250. package/src/components/page/container/scrapRecord/components/addOrEdit.vue +152 -0
  251. package/src/components/page/container/scrapRecord/components/containerInfo.vue +85 -0
  252. package/src/components/page/container/scrapRecord/components/scrapInfo.vue +126 -0
  253. package/src/components/page/container/scrapRecord/index/index.js +11 -0
  254. package/src/components/page/container/scrapRecord/index/index.vue +159 -0
  255. package/src/components/page/container/scrapRecord/orderInfo/index.js +11 -0
  256. package/src/components/page/container/scrapRecord/orderInfo/index.vue +464 -0
  257. package/src/components/page/container/scrapRecord//346/212/245/345/272/237/347/231/273/350/256/260.md +0 -0
  258. package/src/components/page/container//345/256/271/345/231/250/347/256/241/347/220/206.md +0 -0
  259. package/src/components/page/count/console/index/index.vue +10 -25
  260. package/src/components/page/count/inv/index/index.vue +2 -2
  261. package/src/components/page/count/loc/action/index.vue +2 -2
  262. package/src/components/page/count/loc/index/index.vue +2 -2
  263. package/src/components/page/inbound/components/AsnSkuInfo.vue +14 -1
  264. package/src/components/page/inbound/components/QualityTaskInfo.vue +13 -1
  265. package/src/components/page/inbound/components/containerPrintPopup.vue +105 -0
  266. package/src/components/page/inbound/receive/quality/LwInboundQualityExecutePage.vue +91 -12
  267. package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocTabListPage.vue +2 -2
  268. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnBatchExecutePage.vue +2 -2
  269. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuDirectPage.vue +41 -5
  270. package/src/components/page/inbound/unload/action/index.vue +164 -93
  271. package/src/components/page/inbound/unload/add/index.vue +280 -70
  272. package/src/components/page/inbound/unload/index/index.vue +39 -22
  273. package/src/components/page/index.js +4 -0
  274. package/src/components/page/inner/borrow/action/index.vue +3 -3
  275. package/src/components/page/inner/borrow/index/index.vue +2 -2
  276. package/src/components/page/inner/dead/components/taskItem.vue +1 -0
  277. package/src/components/page/inner/dead/large/index.vue +2 -2
  278. package/src/components/page/inner/dead/query/action/action.vue +19 -17
  279. package/src/components/page/inner/dead/small/index.vue +2 -5
  280. package/src/components/page/inner/disposeAbnormal/action/index.vue +38 -7
  281. package/src/components/page/inner/disposeAbnormal/components/listItem/index.vue +85 -19
  282. package/src/components/page/inner/disposeAbnormal/index/index.vue +5 -2
  283. package/src/components/page/inner/movePutAway/index/index.vue +1 -1
  284. package/src/components/page/inner/quality/action/index.vue +2 -2
  285. package/src/components/page/inner/quality/sample/index.vue +2 -2
  286. package/src/components/page/inner/randomMove/index/index.vue +2 -2
  287. package/src/components/page/inner/reportAbnormal/action/index.vue +1 -0
  288. package/src/components/page/inner/taskMove/index/index.vue +3 -2
  289. package/src/components/page/inner/taskMove/whole/MoveRandomWholeCase.vue +9 -9
  290. package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseDown.vue +2 -2
  291. package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseUp.vue +4 -4
  292. package/src/components/page/inner/taskMove/whole/MoveTaskWholeIndex.vue +2 -2
  293. package/src/components/page/inventory/queryInventory/index/index.vue +34 -32
  294. package/src/components/page/inventory/queryInventory/page/index.vue +40 -40
  295. package/src/components/page/outbound/bale/aloneBale/action/index.vue +22 -29
  296. package/src/components/page/outbound/bale/aloneBale/index/index.vue +2 -2
  297. package/src/components/page/outbound/bale/baleChange/action/index.vue +1 -1
  298. package/src/components/page/outbound/bale/checkBale/action/index.vue +30 -37
  299. package/src/components/page/outbound/bale/checkBale/index/index.vue +94 -88
  300. package/src/components/page/outbound/bale/components/checkPackConfig/index.vue +1 -0
  301. package/src/components/page/outbound/bale/components/containerInfo/index.vue +1 -0
  302. package/src/components/page/outbound/bale/components/partBlock/index.vue +25 -45
  303. package/src/components/page/outbound/bale/components/planCollapse/index.vue +5 -5
  304. package/src/components/page/outbound/bale/components/storeInfoSkuList/index.vue +1 -0
  305. package/src/components/page/outbound/bale/mixins.js +79 -6
  306. package/src/components/page/outbound/boxTransfer/action/index.vue +2 -2
  307. package/src/components/page/outbound/boxTransfer/index/index.vue +2 -2
  308. package/src/components/page/outbound/delivery/action/index.vue +2 -3
  309. package/src/components/page/outbound/delivery/index/index.vue +2 -2
  310. package/src/components/page/outbound/handover/components/customerAndLine.vue +2 -2
  311. package/src/components/page/outbound/handover/index/index.vue +43 -36
  312. package/src/components/page/outbound/handover/lpn/index.vue +2 -2
  313. package/src/components/page/outbound/index.js +7 -4
  314. package/src/components/page/outbound/lpnPack/action/index.vue +50 -14
  315. package/src/components/page/outbound/lpnPack/index/index.vue +2 -2
  316. package/src/components/page/outbound/pick/alone/index.vue +6 -8
  317. package/src/components/page/outbound/pick/alone//347/213/254/347/253/213/344/273/266/346/213/243/351/200/211.md +0 -0
  318. package/src/components/page/outbound/pick/box/index.vue +7 -9
  319. package/src/components/page/outbound/pick/components/containerLine.vue +98 -0
  320. package/src/components/page/outbound/pick/components/dataLookAndChange/index.vue +54 -12
  321. package/src/components/page/outbound/{pickContainer/action → pick/container}/index.js +2 -2
  322. package/src/components/page/outbound/pick/container/index.vue +467 -0
  323. package/src/components/page/outbound/pick/container//345/256/271/345/231/250/346/213/243/351/200/211.md +0 -0
  324. package/src/components/page/outbound/pick/index/index.vue +32 -1
  325. package/src/components/page/outbound/pick/lpn/index.vue +7 -9
  326. package/src/components/page/outbound/pick/lpn//346/214/211/346/211/230/347/233/230/346/213/243/351/200/211.md +0 -0
  327. package/src/components/page/outbound/pick/notAlone/index.vue +7 -8
  328. package/src/components/page/outbound/pick/notAlone//351/235/236/347/213/254/347/253/213/344/273/266/346/213/243/351/200/211/343/200/201/346/240/207/345/207/206/346/213/243/351/200/211.md +0 -0
  329. package/src/components/page/outbound/pick/sow/index.vue +3 -5
  330. package/src/components/page/outbound/pick//346/213/243/351/200/211.md +0 -0
  331. package/src/components/page/outbound/pickContainerSearch/action/index.js +11 -0
  332. package/src/components/page/outbound/{pickContainer → pickContainerSearch}/action/index.vue +4 -4
  333. package/src/components/page/outbound/pickContainerSearch/index/index.js +11 -0
  334. package/src/components/page/outbound/{pickContainer → pickContainerSearch}/index/index.vue +2 -2
  335. package/src/components/page/outbound/pickContainerSearch//346/213/243/351/200/211/345/256/271/345/231/250/346/237/245/350/257/242.md +0 -0
  336. package/src/components/page/outbound/pickMerge/action/index.vue +3 -5
  337. package/src/components/page/outbound/sow/action/index.vue +1 -0
  338. package/src/components/page/outbound/sow/components/sowLotItem/index.vue +15 -4
  339. package/src/components/page/outbound/sow/index/index.vue +1 -3
  340. package/src/components/page/process/prepare/index.vue +2 -2
  341. package/src/components/page/process/process/action/index.vue +2 -2
  342. package/src/components/page/process/process/components/FinishView.vue +3 -3
  343. package/src/components/page/process/process/console/index.vue +2 -2
  344. package/src/components/page/process/process/content/index.vue +6 -0
  345. package/src/components/page/process/screen/display/index.vue +2 -4
  346. package/src/components/page/receive/putaway/caseAction/index.vue +53 -23
  347. package/src/components/page/receive/putaway/components/SkuInfo/index.vue +32 -23
  348. package/src/components/page/receive/putaway/components/SkuPutAwayInfo/index.vue +30 -7
  349. package/src/components/page/receive/putaway/components/TaskInfo/index.vue +17 -3
  350. package/src/components/page/receive/putaway/components/lpnBatchItem.vue +27 -3
  351. package/src/components/page/receive/putaway/index/index.vue +2 -2
  352. package/src/components/page/receive/putaway/lpnAction/index.vue +39 -20
  353. package/src/components/page/receive/putaway/lpnBatchAction/index.vue +33 -1
  354. package/src/components/page/receive/putaway/skuAction/index.vue +18 -2
  355. package/src/components/page/receive/receipt/action/index.vue +19 -4
  356. package/src/components/ui/CarPlate/index.vue +14 -2
  357. package/src/components/ui/ErrorMsg/index.js +15 -11
  358. package/src/components/ui/ErrorMsg/index.vue +19 -10
  359. package/src/components/ui/ImgUpload/index.vue +9 -3
  360. package/src/components/ui/ImgUpload/request.js +1 -1
  361. package/src/components/ui/Loading/index.js +9 -8
  362. package/src/components/ui/NotData/index.vue +1 -0
  363. package/src/components/ui/NoticeBar/index.js +19 -9
  364. package/src/components/ui/NoticeBar/index.vue +34 -13
  365. package/src/components/ui/TabBox/index.js +11 -0
  366. package/src/components/ui/TabBox/index.vue +99 -0
  367. package/src/components/ui/TabBox/tab/345/256/271/345/231/250.md +0 -0
  368. package/src/components/ui/index.js +3 -0
  369. package/src/directive/Permissions.js +2 -2
  370. package/src/router/index.js +89 -5
  371. package/src/router/menu.js +100 -13
  372. package/src/utils/AppPower.js +20 -0
  373. package/src/utils/Axios.js +17 -17
  374. package/src/utils/BarcodeResolve.js +5 -5
  375. package/src/utils/Dialog.js +3 -7
  376. package/src/utils/Print.js +69 -32
  377. package/src/utils/UserInfo.js +32 -0
  378. package/src/utils/index.js +11 -9
  379. package/src/utils/windowGlobalData.js +8 -2
  380. package/src/views/common/init/index.vue +3 -0
  381. package/src/views/common/taskConsole/index.vue +23 -0
  382. package/src/views/container/containerBack/index.vue +23 -0
  383. package/src/views/container/rentBack/action.vue +23 -0
  384. package/src/views/container/rentBack/content.vue +23 -0
  385. package/src/views/container/rentBack/index.vue +23 -0
  386. package/src/views/container/repairBack/action.vue +23 -0
  387. package/src/views/container/repairBack/content.vue +23 -0
  388. package/src/views/container/repairBack/index.vue +23 -0
  389. package/src/views/container/repairRegister/index.vue +23 -0
  390. package/src/views/container/repairRegister/orderInfo.vue +23 -0
  391. package/src/views/container/scrapRecord/index.vue +23 -0
  392. package/src/views/container/scrapRecord/orderInfo.vue +23 -0
  393. package/src/views/outbound/pick/containerAction.vue +23 -0
  394. package/src/views/outbound/{pickContainer → pickContainerSearch}/action.vue +1 -1
  395. package/src/views/outbound/{pickContainer → pickContainerSearch}/index.vue +1 -1
  396. package/dist/index.b13b9084.mjs +0 -26
  397. package/src/components/page/count/console/components/itemContent.vue +0 -74
  398. package/src/components/page/count/console/components/itemHeader.vue +0 -61
  399. package/src/components/page/count/console/components/lookTaskContentPopup.vue +0 -180
  400. package/src/components/page/count/console/components/taskItem.vue +0 -87
  401. package/src/components/page/outbound/pickContainer/index/index.js +0 -11
@@ -11,7 +11,7 @@
11
11
  <div class="lw-global-page-box">
12
12
 
13
13
  <!-- tab -->
14
- <div class="lw-global-tab-box">
14
+ <lw-tab-box>
15
15
  <van-tabs
16
16
  type="card"
17
17
  animated
@@ -26,7 +26,7 @@
26
26
  :title="i"
27
27
  />
28
28
  </van-tabs>
29
- </div>
29
+ </lw-tab-box>
30
30
 
31
31
  <!-- 托盘数据 -->
32
32
  <div class="lw-global-model-box" v-if="lpnTaskData">
@@ -42,27 +42,36 @@
42
42
  </div>
43
43
 
44
44
  <!-- 原库位、目标库位 -->
45
+ <lw-title-value-cell
46
+ :title="$lwLanguage.get('wms_project.pda.receive.putaway.fromLocal', '原库位')"
47
+ :value="lpnTaskData.fromLocationCode"
48
+ val-bold
49
+ />
45
50
  <div class="lw-global-row lw-global-flex-between">
46
51
 
47
- <div>
48
- <span class="lw-global-title">
49
- {{ $lwLanguage.get('wms_project.pda.receive.putaway.fromLocal', '原库位') }}
50
- </span>
51
- <span class="lw-global-value-bold">
52
- {{ lpnTaskData.fromLocationCode }}
53
- </span>
54
- </div>
52
+ <lw-title-value-cell
53
+ :title="$lwLanguage.get('wms_project.pda.receive.putaway.toLocal', '目标库位')"
54
+ :value="lpnTaskData.toLocationCode"
55
+ val-bold
56
+ :is-row="false"
57
+ />
55
58
 
56
- <div>
57
- <span class="lw-global-title">
58
- {{ $lwLanguage.get('wms_project.pda.receive.putaway.toLocal', '目标库位') }}
59
- </span>
60
- <span class="lw-global-value-bold">
61
- {{ lpnTaskData.toLocationCode }}
62
- </span>
63
- </div>
59
+ <lw-button
60
+ mini
61
+ round
62
+ @click="reloadLoc"
63
+ >
64
+ {{ $lwLanguage.get('','库位重新分配') }}
65
+ </lw-button>
64
66
 
65
67
  </div>
68
+ <lw-title-value-cell
69
+ v-if="lpnTaskData.secondToLocationCode"
70
+ :title="$lwLanguage.get('', '二次分配')"
71
+ :value="lpnTaskData.secondToLocationCode"
72
+ val-bold
73
+ val-red
74
+ />
66
75
 
67
76
  <!-- 总数量、行数 -->
68
77
  <div class="lw-global-row lw-global-flex-between">
@@ -103,6 +112,7 @@
103
112
  :show-abnormal="showSkuAbnormal"
104
113
  :location-code="lpnTaskData.fromLocationCode"
105
114
  :task-id="lpnTaskData.taskId"
115
+ :show-loc="false"
106
116
  @abnSuccess="tabChange"
107
117
  />
108
118
 
@@ -183,7 +193,7 @@ import SkuInfo from './../components/SkuInfo/index.vue'
183
193
  import CaseInfo from './../components/CaseInfo/index.vue'
184
194
 
185
195
  import {
186
- wmsMobileGetPutawayTaskByWholeLpn,
196
+ wmsMobileGetPutawayTaskByWholeLpn, wmsMobileSecondAllocatePutawayByWholeLpn,
187
197
  wmsMobileSubmitPutawayByWholeLpn
188
198
  } from "../../../../../api/receive/putaway";
189
199
 
@@ -198,7 +208,7 @@ export default {
198
208
  showSkuAbnormal:{
199
209
  type: Boolean,
200
210
  default: true
201
- }
211
+ },
202
212
 
203
213
  },
204
214
  data() {
@@ -352,6 +362,15 @@ export default {
352
362
  )
353
363
  history.go(this.backStep)
354
364
  })
365
+ },
366
+
367
+ // 库位重新分配
368
+ async reloadLoc(){
369
+ await wmsMobileSecondAllocatePutawayByWholeLpn({
370
+ fromLpn:this.lpnTaskData.lpn
371
+ })
372
+
373
+ this.tabChange()
355
374
  }
356
375
  }
357
376
  }
@@ -17,7 +17,9 @@
17
17
  :key="k"
18
18
  :index="k"
19
19
  :item="i"
20
+ show-reload-loc
20
21
  @del="lpnDel(i,k)"
22
+ @reloadLoc="reloadLoc(i)"
21
23
  />
22
24
 
23
25
  </div>
@@ -59,9 +61,19 @@
59
61
  id="bottom-btn-box"
60
62
  :class="[
61
63
  'lw-global-row',
62
- showAnimation ? 'lw-global-animation-rotate' : ''
64
+ showAnimation ? 'lw-global-animation-rotate' : '',
65
+ 'lw-global-flex-between'
63
66
  ]"
64
67
  >
68
+ <lw-button
69
+ block
70
+ plain
71
+ type="last"
72
+ style="margin-right: 5px"
73
+ @click="locReloadAll"
74
+ >
75
+ {{ $lwLanguage.get('','库位全部重新分配') }}
76
+ </lw-button>
65
77
  <lw-button
66
78
  block
67
79
  @click="confirmAction"
@@ -81,6 +93,8 @@
81
93
  import lpnBatchItem from "../components/lpnBatchItem.vue";
82
94
  import {
83
95
  wmsMobileQueryPutawayTaskByWholeLpn,
96
+ wmsMobileSecondAllocatePutawayByWholeLpnBatch,
97
+ wmsMobileSecondAllocatePutawayByWholeLpn,
84
98
  wmsMobileSubmitPutawayByWholeLpnBatch
85
99
  } from "../../../../../api/receive/putaway";
86
100
 
@@ -201,6 +215,24 @@ export default {
201
215
  })
202
216
 
203
217
  },
218
+
219
+ // 重新分配库位
220
+ async reloadLoc(item){
221
+ await wmsMobileSecondAllocatePutawayByWholeLpn({
222
+ fromLpn: item.lpn
223
+ })
224
+
225
+ this.init()
226
+ },
227
+
228
+ // 库位全部重新分配
229
+ async locReloadAll(){
230
+ await wmsMobileSecondAllocatePutawayByWholeLpnBatch({
231
+ lpnList: this.lpnDataList.map(item=>item.lpn)
232
+ })
233
+
234
+ this.init()
235
+ }
204
236
  },
205
237
  deactivated() {
206
238
  this.bottomBtnBoxDom.removeEventListener("webkitAnimationEnd", this.bottomBtnAnimation)
@@ -12,7 +12,7 @@
12
12
 
13
13
  <div class="lw-global-page-box">
14
14
 
15
- <div class="lw-global-tab-box">
15
+ <lw-tab-box>
16
16
 
17
17
  <van-tabs
18
18
  type="card"
@@ -131,6 +131,8 @@
131
131
  <sku-putaway-info
132
132
  style="margin: 10px 0"
133
133
  :item="skuListData[skuIndex]"
134
+ show-reload
135
+ @reload="locReload"
134
136
  />
135
137
 
136
138
  <!-- 输入框 -->
@@ -302,7 +304,7 @@
302
304
 
303
305
  </van-tabs>
304
306
 
305
- </div>
307
+ </lw-tab-box>
306
308
 
307
309
  </div>
308
310
 
@@ -439,6 +441,7 @@ import {
439
441
  wmsMobileSubmitPutawayBySku,
440
442
  wmsMobileQueryPutawaySkuSn,
441
443
  wmsMobileSubmitPutawayBySkuSn,
444
+ wmsMobileSecondAllocatePutawayBySku,
442
445
  } from "../../../../../api/receive/putaway";
443
446
  import SnsList from '../../../inbound/components/SnsList.vue'
444
447
  import {scanUtils} from '../../../inbound/util/InboundUtils'
@@ -739,6 +742,7 @@ export default {
739
742
  this.$lwToast.success(
740
743
  this.$lwLanguage.get('wms_project.pda.receive.skuAction.abnSuccess','异常上报成功')
741
744
  )
745
+ this.$refs.abnormal.printLabel()
742
746
  this.getData()
743
747
  })
744
748
  },
@@ -930,6 +934,18 @@ export default {
930
934
  this.getData()
931
935
  })
932
936
  },
937
+
938
+ // 库位二次分配
939
+ async locReload(){
940
+ const item = this.skuListData[this.skuIndex]
941
+ await wmsMobileSecondAllocatePutawayBySku({
942
+ taskId: item.task.taskId,
943
+ groupKey: item.groupKey,
944
+ skuCode: item.sku.code
945
+ })
946
+
947
+ this.getData()
948
+ }
933
949
  }
934
950
  }
935
951
  </script>
@@ -13,7 +13,7 @@
13
13
 
14
14
 
15
15
  <div class="lw-global-page-box">
16
- <div class="lw-global-tab-box">
16
+ <lw-tab-box>
17
17
  <van-tabs
18
18
  type="card"
19
19
  animated
@@ -122,6 +122,14 @@
122
122
 
123
123
  </div>
124
124
 
125
+ <div class="lw-global-model-box" style="padding-bottom: 5px">
126
+ <div class="lw-global-title" style="margin-bottom: 5px">
127
+ {{ $lwLanguage.get('','回单照片') }}
128
+ </div>
129
+ <lw-img-upload v-model="i.lwImages"/>
130
+
131
+ </div>
132
+
125
133
  <div
126
134
  class="lw-global-model-box"
127
135
  v-for="(item,key) in i.lines"
@@ -166,7 +174,7 @@
166
174
  </div>
167
175
  </van-tab>
168
176
  </van-tabs>
169
- </div>
177
+ </lw-tab-box>
170
178
 
171
179
 
172
180
  </div>
@@ -216,6 +224,9 @@ export default {
216
224
 
217
225
  if (this.receiptData.length) {
218
226
  this.tabActive = 0
227
+ this.receiptData.forEach(item=>{
228
+ item.lwImages= item.images ? item.images.split('|') : []
229
+ })
219
230
  return
220
231
  }
221
232
 
@@ -247,15 +258,19 @@ export default {
247
258
  },
248
259
  // 确认收货回单
249
260
  confirmReceive() {
261
+ const data = this.receiptData[this.tabActive]
250
262
  wmsMobileReturnReceiptOrder({
251
- id: this.receiptData[this.tabActive].id
263
+ id: data.id,
264
+ images: data.lwImages.join('|')
252
265
  }).then(() => {
253
266
  this.onConfirmAfter()
254
267
  })
255
268
  },
256
269
  confirmAdvanceReceive() {
270
+ const data = this.receiptData[this.tabActive]
257
271
  wmsMobileReturnAdvanceReceiptOrder({
258
- id: this.receiptData[this.tabActive].id
272
+ id: data.id,
273
+ images: data.lwImages.join('|')
259
274
  }).then(() => {
260
275
  this.onConfirmAfter()
261
276
  })
@@ -12,6 +12,7 @@
12
12
  :is-edit="isEdit"
13
13
  :is-link="isEdit"
14
14
  :required="required"
15
+ :border="border"
15
16
  @click="openPopup"
16
17
  >
17
18
 
@@ -212,12 +213,20 @@ export default {
212
213
  type: Boolean,
213
214
  default: false
214
215
  },
216
+ // 是否显示下划线
217
+ border:{
218
+ type: Boolean,
219
+ default: true
220
+ },
215
221
 
216
222
  // 是否隐藏手动输入选项
217
223
  hiddenHandInput:{
218
224
  type: Boolean,
219
225
  default: false
220
- }
226
+ },
227
+
228
+ // 点击确认后的回调函数支持异步,返回false时将不关闭弹框
229
+ confirmFn: Function
221
230
  },
222
231
  computed: {
223
232
  // 触发input事件的计算值
@@ -396,7 +405,7 @@ export default {
396
405
  },
397
406
 
398
407
  // 确认
399
- confirm(){
408
+ async confirm(){
400
409
  let num = this.carPlateList.join('')
401
410
  if (this.carType === 'old' && num.length !== 7){
402
411
  this.$lwShowErrorMsg(
@@ -415,6 +424,9 @@ export default {
415
424
  if (this.carType === 'handInput') num = this.handInput.value
416
425
 
417
426
  this.num = num
427
+ if (this.confirmFn && typeof this.confirmFn === 'function'){
428
+ if(!await this.confirmFn(num)) return
429
+ }
418
430
  this.showPopup = false
419
431
  },
420
432
 
@@ -10,7 +10,9 @@ export default lwErrorMsg*/
10
10
 
11
11
  // 手动挂载加载框
12
12
  const errorMsg = Vue.extend(lwErrorMsg)
13
+
13
14
  let errorMsgNew = null
15
+
14
16
  // 挂载加载框
15
17
  const lwErrorMsgDom = ({message,background,color}) => {
16
18
  errorMsgNew = new errorMsg({
@@ -29,7 +31,7 @@ const lwErrorMsgDom = ({message,background,color}) => {
29
31
  * 打开错误提示弹框
30
32
  * @param {Object|String} obj {message-错误信息,background-背景颜色,color-字体颜色}
31
33
  */
32
- export const lwShowErrorMsg = (obj) => {
34
+ const show = (obj) => {
33
35
  let data = {}
34
36
  if (typeof obj === 'object'){
35
37
  data = obj
@@ -37,23 +39,25 @@ export const lwShowErrorMsg = (obj) => {
37
39
  data.message = obj
38
40
  }
39
41
 
42
+ errorMsgNew = window.lwWindowGlobalData.get('errorMsgDom')
40
43
 
41
44
  if (errorMsgNew){
42
- errorMsgNew.message = data.message
43
-
44
- if (typeof obj === 'object'){
45
- errorMsgNew.background = data.background
46
- errorMsgNew.color = data.color
47
- }
48
-
45
+ errorMsgNew.showDom(data)
49
46
  return
50
47
  }
51
48
 
52
49
  lwErrorMsgDom(data)
50
+ window.lwWindowGlobalData.set('errorMsgDom', errorMsgNew)
53
51
  }
54
52
 
55
53
  // 关闭错误提示弹框
56
- export const lwCloseErrorMsg = () => {
57
- errorMsgNew.close()
58
- errorMsgNew = null
54
+ const close = () => {
55
+ const dom = window.lwWindowGlobalData.get('errorMsgDom')
56
+ dom ? dom.close() : console.log('调用关闭错误弹框失败,没有可以关闭的弹框', dom)
57
+ }
58
+
59
+
60
+ export const lwErrMsg = {
61
+ close,
62
+ show
59
63
  }
@@ -13,23 +13,24 @@
13
13
 
14
14
  <div
15
15
  :style="{
16
- background:background,
17
- color:color
16
+ background,
17
+ color
18
18
  }"
19
19
  class="lw-error-msg-body"
20
20
  >
21
21
  <div class="lw-error-msg-content">{{ message }}</div>
22
22
  </div>
23
23
 
24
- <div class="lw-global-flex-center lw-error-msg-close" @click="offError">
25
- <img src="../../../assets/img/off.png" alt="">
24
+ <div class="lw-global-flex-center lw-error-msg-close" @click="close">
25
+ <!-- <img src="../../../assets/img/off.png" alt="">-->
26
+ <div class="lw-global-flex-center close">×</div>
26
27
  </div>
27
28
 
28
29
  </div>
29
30
  </template>
30
31
 
31
32
  <script>
32
- import {lwCloseErrorMsg} from "./index";
33
+ // import {lwErrMsg} from "./index";
33
34
 
34
35
  /* 注意此组件不能使用 this.$XXX 的方法,因为没有注册组件是通过指令调用的 */
35
36
 
@@ -61,9 +62,11 @@ export default {
61
62
  },5)
62
63
  },
63
64
  methods: {
64
- // 通过点击关闭按钮关闭弹窗
65
- offError(){
66
- lwCloseErrorMsg()
65
+ // 显示
66
+ showDom({message, background, color}){
67
+ this.message = message
68
+ this.background = background
69
+ this.color = color
67
70
  },
68
71
 
69
72
  // 关闭弹框
@@ -74,6 +77,7 @@ export default {
74
77
  // 让原输入框获取焦点
75
78
  this.getInput('focus')
76
79
  this.show=false
80
+ window.lwWindowGlobalData.set('errorMsgDom', null)
77
81
  })
78
82
  this.$emit('close')
79
83
  },
@@ -129,8 +133,13 @@ export default {
129
133
  left: 50%;
130
134
  transform: translateX(-50%);
131
135
 
132
- >img{
133
- width: 40px;
136
+ .close{
137
+ width: 26px;
138
+ height: 26px;
139
+ border: solid 2px #ffffff;
140
+ border-radius: 50%;
141
+ color: #ffffff;
142
+ font-size: 26px;
134
143
  }
135
144
  }
136
145
 
@@ -56,7 +56,6 @@ export default {
56
56
  })
57
57
  })
58
58
  })
59
-
60
59
  },
61
60
  methods: {
62
61
  // 文件上传选择完成
@@ -88,9 +87,12 @@ export default {
88
87
  uploadContentType: res.uploadContentType
89
88
  })
90
89
 
91
- this.fileListChange.push(`${file.file.name}=${res.objectName || img.data.objectName}`)
90
+ const name = `${file.file.name}=${res.objectName || img.data.objectName}`
91
+ this.fileListChange.push(name)
92
92
  file.status = 'none';
93
93
 
94
+ this.$emit('uploadSuccess', name, this.fileListChange)
95
+
94
96
  }catch (err){
95
97
 
96
98
  console.error('图片上传异常:', err)
@@ -103,13 +105,17 @@ export default {
103
105
  // 删除文件
104
106
  deleteFn(file){
105
107
  const name = file.objectName || file.file.name
106
- const index = file.file?0:1
108
+ const index = file.file ? 0 : 1
109
+ let fileName = ''
107
110
  this.fileListChange.forEach((i,k)=>{
108
111
  const item=i.split('=')[index]
109
112
  if (item===name){
110
113
  this.fileListChange.splice(k,1)
114
+ fileName = i
111
115
  }
112
116
  })
117
+
118
+ this.$emit('del', fileName, this.fileListChange)
113
119
  }
114
120
  },
115
121
  }
@@ -1,5 +1,5 @@
1
- import axios from 'axios'
2
1
 
2
+ import {axios} from "@bundled-es-modules/axios";
3
3
  // create an axios instance
4
4
  const service = axios.create({
5
5
  baseURL: import.meta.env.VITE_APP_BASE_URL, // url = base url + request url
@@ -1,15 +1,11 @@
1
- import lwLoading from './index.vue'
1
+ import lwLoadingVue from './index.vue'
2
2
  import Vue from "vue";
3
3
 
4
- /*lwLoading.install = Vue => Vue.component(lwLoading.name, lwLoading)
5
-
6
- export default lwLoading*/
7
-
8
4
 
9
5
 
10
6
 
11
7
  // 手动挂载加载框
12
- const toastCom = Vue.extend(lwLoading)
8
+ const toastCom = Vue.extend(lwLoadingVue)
13
9
  let toastNew
14
10
  // 挂载加载框
15
11
  const lwLoadingDom = (msg) => {
@@ -26,7 +22,7 @@ const lwLoadingDom = (msg) => {
26
22
  * 打开加载框
27
23
  * @param {String} msg 加载文字,默认“加载中...”
28
24
  * */
29
- export const lwShowLoading = (msg='加载中...') => {
25
+ const show = (msg='加载中...') => {
30
26
  if (toastNew){
31
27
  toastNew.loading++
32
28
  toastNew.msg = msg
@@ -36,7 +32,7 @@ export const lwShowLoading = (msg='加载中...') => {
36
32
  }
37
33
 
38
34
  // 关闭加载框
39
- export const lwCloseLoading = () => {
35
+ const close = () => {
40
36
  try{
41
37
  if (toastNew){
42
38
  toastNew.loading--
@@ -47,3 +43,8 @@ export const lwCloseLoading = () => {
47
43
  console.error('关闭加载框出错', err)
48
44
  }
49
45
  }
46
+
47
+ export const lwLoading = {
48
+ show,
49
+ close
50
+ }
@@ -75,6 +75,7 @@ export default {
75
75
 
76
76
  .lw-none-data-content{
77
77
  margin-bottom: 10px;
78
+ text-align: center;
78
79
  }
79
80
  }
80
81
 
@@ -1,5 +1,5 @@
1
1
  import Vue from "vue";
2
- import lwNoticeBar from './index.vue'
2
+ import lwNoticeBarVue from './index.vue'
3
3
  import {AppPower} from "../../../utils/AppPower";
4
4
 
5
5
  /*lwErrorMsg.install = Vue => Vue.component(lwErrorMsg.name, lwErrorMsg)
@@ -8,7 +8,7 @@ export default lwErrorMsg*/
8
8
 
9
9
 
10
10
  // 手动挂载加载框
11
- const noticeBar = Vue.extend(lwNoticeBar)
11
+ const noticeBar = Vue.extend(lwNoticeBarVue)
12
12
  let noticeNew = null
13
13
  // 挂载加载框
14
14
  const lwNoticeBarDom = (obj) => {
@@ -35,7 +35,7 @@ const lwNoticeBarDom = (obj) => {
35
35
  * showTime-显示时长(0不自动关闭),
36
36
  * }
37
37
  */
38
- export const lwShowNoticeBar = (obj) => {
38
+ const show = (obj) => {
39
39
  const isObj = typeof obj === 'object'
40
40
  let data = {}
41
41
 
@@ -65,24 +65,34 @@ export const lwShowNoticeBar = (obj) => {
65
65
  data.background = data.background || background
66
66
  data.color = data.color || color
67
67
 
68
+
69
+ noticeNew = window.lwWindowGlobalData.get('noticeBarDom')
70
+
68
71
  if (noticeNew){
69
- noticeNew.message = data.message
72
+ /*noticeNew.message = data.message
70
73
 
71
74
  if (isObj){
72
75
  noticeNew.background = data.background
73
76
  noticeNew.color = data.color
74
77
  noticeNew.type = data.type
75
78
  noticeNew.showTime = data.showTime
76
- }
77
-
79
+ }*/
80
+ noticeNew.showDom(data)
78
81
  return
79
82
  }
80
83
 
81
84
  lwNoticeBarDom(data)
85
+ window.lwWindowGlobalData.set('noticeBarDom', noticeNew)
82
86
  }
83
87
 
84
88
  // 关闭错误提示弹框
85
- export const lwCloseNoticeBar = () => {
86
- noticeNew.close()
87
- noticeNew = null
89
+ const close = () => {
90
+ const dom = window.lwWindowGlobalData.get('noticeBarDom')
91
+ dom ? dom.close() : console.log('调用关闭顶部消息栏失败,没有可以关闭的消息', dom)
92
+ }
93
+
94
+
95
+ export const lwNoticeBar = {
96
+ show,
97
+ close
88
98
  }