@logwire/logwire-wms-pda-ui 3.1.1 → 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 (396) hide show
  1. package/dist/{BlockInfo.3487efb0.mjs → BlockInfo.cd717551.mjs} +1 -1
  2. package/dist/{InboundQualityExecuteView.a6d80f60.mjs → InboundQualityExecuteView.b163580d.mjs} +1 -1
  3. package/dist/{InboundQualityTaskListView.ae990a72.mjs → InboundQualityTaskListView.3750e0cf.mjs} +1 -1
  4. package/dist/{InboundReceiveAllocSkuExecuteView.95b7981d.mjs → InboundReceiveAllocSkuExecuteView.96524aaf.mjs} +1 -1
  5. package/dist/{InboundReceiveAllocSnExecuteView.484c2620.mjs → InboundReceiveAllocSnExecuteView.753ffeb7.mjs} +1 -1
  6. package/dist/{InboundReceiveAllocTabListView.461436d3.mjs → InboundReceiveAllocTabListView.6f7288a6.mjs} +1 -1
  7. package/dist/{InboundReceiveCaseExecuteView.bb1b67a3.mjs → InboundReceiveCaseExecuteView.caf5068c.mjs} +1 -1
  8. package/dist/{InboundReceiveCaseScanView.e10901f0.mjs → InboundReceiveCaseScanView.d67735f2.mjs} +1 -1
  9. package/dist/{InboundReceiveLpnBatchExecuteView.ca08118b.mjs → InboundReceiveLpnBatchExecuteView.e1c57c8c.mjs} +1 -1
  10. package/dist/{InboundReceiveLpnExecuteView.8dad3f06.mjs → InboundReceiveLpnExecuteView.41bd8e2f.mjs} +1 -1
  11. package/dist/{InboundReceiveLpnScanView.09bc3a30.mjs → InboundReceiveLpnScanView.f5174716.mjs} +1 -1
  12. package/dist/{InboundReceiveRandomSkuExecuteView.38abae97.mjs → InboundReceiveRandomSkuExecuteView.07fb1c84.mjs} +1 -1
  13. package/dist/{InboundReceiveRandomSkuScanView.9b6d5afe.mjs → InboundReceiveRandomSkuScanView.3135e36a.mjs} +1 -1
  14. package/dist/{InboundReceiveRandomSkuSnExecuteView.f87c58dc.mjs → InboundReceiveRandomSkuSnExecuteView.11db9d3a.mjs} +1 -1
  15. package/dist/{InboundReceiveSkuAdvanceView.e3b3cf46.mjs → InboundReceiveSkuAdvanceView.b1df06ed.mjs} +1 -1
  16. package/dist/{InboundReceiveSkuDirectView.3804b727.mjs → InboundReceiveSkuDirectView.84222ada.mjs} +1 -1
  17. package/dist/{InboundReceiveSkuScanView.97c6d301.mjs → InboundReceiveSkuScanView.23630a66.mjs} +1 -1
  18. package/dist/{LwInboundSortingAsnView.146bc442.mjs → LwInboundSortingAsnView.bbd886e7.mjs} +1 -1
  19. package/dist/{LwInboundSortingByContainerView.31d39da9.mjs → LwInboundSortingByContainerView.bbd512d6.mjs} +1 -1
  20. package/dist/{LwInboundSortingByOrderView.724e2bab.mjs → LwInboundSortingByOrderView.b01c9a42.mjs} +1 -1
  21. package/dist/{LwInboundSortingIndexView.42d87950.mjs → LwInboundSortingIndexView.76dddd17.mjs} +1 -1
  22. package/dist/{LwOutboundReprintBoxView.9b848144.mjs → LwOutboundReprintBoxView.6f45d01f.mjs} +1 -1
  23. package/dist/{LwOutboundStockoutExecuteView.a3725330.mjs → LwOutboundStockoutExecuteView.d75c4185.mjs} +2 -2
  24. package/dist/{LwOutboundStockoutListView.dedaa8b9.mjs → LwOutboundStockoutListView.e4dd5c30.mjs} +2 -2
  25. package/dist/{MoveRandomWholeCaseView.f88904ff.mjs → MoveRandomWholeCaseView.9aa794be.mjs} +1 -1
  26. package/dist/{MoveTaskWholeCaseDownView.c41d4e56.mjs → MoveTaskWholeCaseDownView.9665f4f2.mjs} +1 -1
  27. package/dist/{MoveTaskWholeCaseUpView.88056e7d.mjs → MoveTaskWholeCaseUpView.80405369.mjs} +1 -1
  28. package/dist/{MoveTaskWholeIndexView.7423ada1.mjs → MoveTaskWholeIndexView.a0b53cd7.mjs} +1 -1
  29. package/dist/{OutboundBlockBoxListView.7b0db7db.mjs → OutboundBlockBoxListView.9953f4c5.mjs} +2 -2
  30. package/dist/{OutboundBlockExecuteView.c3eec33f.mjs → OutboundBlockExecuteView.3e07539f.mjs} +2 -2
  31. package/dist/{action.51830209.mjs → action.06092f06.mjs} +1 -1
  32. package/dist/action.0804de03.mjs +26 -0
  33. package/dist/{action.6c1e4592.mjs → action.111b181e.mjs} +1 -1
  34. package/dist/{action.ef70b920.mjs → action.1b1abda3.mjs} +1 -1
  35. package/dist/{action.368c9235.mjs → action.1b7a544a.mjs} +1 -1
  36. package/dist/{action.674d5079.mjs → action.25cd4eff.mjs} +1 -1
  37. package/dist/{action.bb169b8d.mjs → action.2d479b4b.mjs} +1 -1
  38. package/dist/{action.96c2b54b.mjs → action.31090baf.mjs} +1 -1
  39. package/dist/action.345819b8.mjs +26 -0
  40. package/dist/{action.f9dba895.mjs → action.4c7fa077.mjs} +1 -1
  41. package/dist/{action.979e886f.mjs → action.4e3e8bd7.mjs} +1 -1
  42. package/dist/{action.66b154f0.mjs → action.547b605b.mjs} +1 -1
  43. package/dist/{action.c4543175.mjs → action.680385e2.mjs} +1 -1
  44. package/dist/{action.0234330b.mjs → action.71974524.mjs} +1 -1
  45. package/dist/{action.7b4fb35c.mjs → action.722dcf1a.mjs} +1 -1
  46. package/dist/{action.684e20cd.mjs → action.7f9607d9.mjs} +1 -1
  47. package/dist/{action.d1bc2cc4.mjs → action.9da02faf.mjs} +1 -1
  48. package/dist/{action.4f6ba001.mjs → action.a4cd8012.mjs} +1 -1
  49. package/dist/{action.3323de3b.mjs → action.a907e009.mjs} +1 -1
  50. package/dist/{action.bdf4d219.mjs → action.b72fd10b.mjs} +1 -1
  51. package/dist/action.c1be6cd9.mjs +26 -0
  52. package/dist/{action.ebd52caf.mjs → action.d0011f0f.mjs} +1 -1
  53. package/dist/{action.1ac0d530.mjs → action.d60d043b.mjs} +1 -1
  54. package/dist/{action.12b64d92.mjs → action.d806291c.mjs} +1 -1
  55. package/dist/{action.b7e8794e.mjs → action.eec6f72e.mjs} +1 -1
  56. package/dist/{action.709285c2.mjs → action.f64a2a1f.mjs} +1 -1
  57. package/dist/{action.1657efd5.mjs → action.f9737bab.mjs} +1 -1
  58. package/dist/{action.4a89bd61.mjs → action.f994fbd3.mjs} +1 -1
  59. package/dist/{action.f25bd0c2.mjs → action.fb9376dd.mjs} +1 -1
  60. package/dist/{action.cc8b6482.mjs → action.ffea62ab.mjs} +1 -1
  61. package/dist/{add.dd390a20.mjs → add.afaf5af3.mjs} +1 -1
  62. package/dist/{addOrder.6fd7cb00.mjs → addOrder.340024d8.mjs} +1 -1
  63. package/dist/{allCheck.87b682df.mjs → allCheck.1f6f361e.mjs} +1 -1
  64. package/dist/{aloneAction.b44cee97.mjs → aloneAction.5a2adaec.mjs} +1 -1
  65. package/dist/{boxAction.057da96b.mjs → boxAction.497a20ca.mjs} +1 -1
  66. package/dist/{caseAction.2c4fc2bc.mjs → caseAction.d09fcd7f.mjs} +1 -1
  67. package/dist/{console.7840ce91.mjs → console.a83967a9.mjs} +1 -1
  68. package/dist/{consoleInfo.6a9e23f4.mjs → consoleInfo.63ab720d.mjs} +1 -1
  69. package/dist/{action.e3c182ba.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.4e9e0afd.mjs → content.ffe9922f.mjs} +1 -1
  73. package/dist/{contentInfo.e46095fe.mjs → contentInfo.75e632b6.mjs} +1 -1
  74. package/dist/{customer.79633ad1.mjs → customer.8dc15438.mjs} +1 -1
  75. package/dist/{device.d43bd03a.mjs → device.21032074.mjs} +1 -1
  76. package/dist/{generate.8b91a9d8.mjs → generate.5ab9c4a6.mjs} +1 -1
  77. package/dist/{home.a8091216.mjs → home.5c0e0f12.mjs} +1 -1
  78. package/dist/{index.2b10d6da.mjs → index.076b3b68.mjs} +1 -1
  79. package/dist/{index.426b0236.mjs → index.0997eabf.mjs} +1 -1
  80. package/dist/{index.b1f56e66.mjs → index.0c93681b.mjs} +1 -1
  81. package/dist/{index.93b09268.mjs → index.13cdd3f1.mjs} +1 -1
  82. package/dist/{index.f218d2f1.mjs → index.1d8e84da.mjs} +1 -1
  83. package/dist/{index.a3384e66.mjs → index.2c3c6dea.mjs} +1 -1
  84. package/dist/index.349de4b7.mjs +26 -0
  85. package/dist/{index.7dcf630d.mjs → index.34e23af6.mjs} +1 -1
  86. package/dist/index.36b28ac3.mjs +26 -0
  87. package/dist/{index.b0c8bf7d.mjs → index.3dcfacdf.mjs} +1 -1
  88. package/dist/{index.cc9cfbbc.mjs → index.4287ae2a.mjs} +1 -1
  89. package/dist/{index.724911f7.mjs → index.434703b6.mjs} +1 -1
  90. package/dist/{index.a889e1f0.mjs → index.4863a553.mjs} +1 -1
  91. package/dist/{index.2338d10c.mjs → index.5039f7d9.mjs} +1 -1
  92. package/dist/{index.003274c3.mjs → index.54f8d208.mjs} +1 -1
  93. package/dist/index.57aa1d30.mjs +26 -0
  94. package/dist/{index.9e5eab15.mjs → index.5c54f849.mjs} +1 -1
  95. package/dist/{index.fa89c5c8.mjs → index.736b46b9.mjs} +1 -1
  96. package/dist/{index.2c13370e.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.0b1c7ecb.mjs → index.8d586bc5.mjs} +1 -1
  100. package/dist/{index.e278bd59.mjs → index.8d6b02d0.mjs} +1 -1
  101. package/dist/{index.96780357.mjs → index.91c62cb5.mjs} +1 -1
  102. package/dist/{index.2987600f.mjs → index.923905ce.mjs} +1 -1
  103. package/dist/{index.7539d91b.mjs → index.929fb7cd.mjs} +1 -1
  104. package/dist/{index.d552b591.mjs → index.98a50fee.mjs} +1 -1
  105. package/dist/{index.fcfe4e56.mjs → index.9d2070b3.mjs} +1 -1
  106. package/dist/{index.95b0f7f5.mjs → index.a026cef9.mjs} +3 -3
  107. package/dist/{index.9d353631.mjs → index.a420a436.mjs} +1 -1
  108. package/dist/{index.9b8d0de7.mjs → index.a71e5b6b.mjs} +1 -1
  109. package/dist/{index.3cd0d854.mjs → index.ade0efcb.mjs} +1 -1
  110. package/dist/{index.4aa0533f.mjs → index.af586ff1.mjs} +1 -1
  111. package/dist/{index.6dfe9f62.mjs → index.afb30c5b.mjs} +1 -1
  112. package/dist/{index.b0c8d29a.mjs → index.b13a80e1.mjs} +1 -1
  113. package/dist/{index.6367d8bb.mjs → index.b371b800.mjs} +1 -1
  114. package/dist/{index.11d753a1.mjs → index.b54f9c4d.mjs} +1 -1
  115. package/dist/{index.3eee7c36.mjs → index.b6e1f641.mjs} +1 -1
  116. package/dist/{index.7d5c0004.mjs → index.b9b71b60.mjs} +1 -1
  117. package/dist/{index.6285d960.mjs → index.be655d82.mjs} +1 -1
  118. package/dist/{index.253cf171.mjs → index.c0a9917f.mjs} +1 -1
  119. package/dist/{index.7a69c9fa.mjs → index.c4d174f2.mjs} +1 -1
  120. package/dist/{index.e31e3db7.mjs → index.c5c98bac.mjs} +1 -1
  121. package/dist/index.c82c386b.mjs +26 -0
  122. package/dist/{index.193dd1b9.mjs → index.cdf45782.mjs} +1 -1
  123. package/dist/index.d21257e9.mjs +26 -0
  124. package/dist/{index.dc6c5c7c.mjs → index.d56b1b10.mjs} +1 -1
  125. package/dist/{index.03c9bc30.mjs → index.d7fee3e2.mjs} +1 -1
  126. package/dist/{index.5cf6bd1b.mjs → index.d9639178.mjs} +22558 -18945
  127. package/dist/{index.bfb835a9.mjs → index.da78c0cb.mjs} +1 -1
  128. package/dist/{index.e0b1afe0.mjs → index.db8addda.mjs} +1 -1
  129. package/dist/index.es.js +1 -1
  130. package/dist/{index.4ca99f5f.mjs → index.f187bedf.mjs} +1 -1
  131. package/dist/{index.9008d54c.mjs → index.f5c913d3.mjs} +1 -1
  132. package/dist/{index.fd8fb4a5.mjs → index.f5ddca08.mjs} +1 -1
  133. package/dist/{index.5293dbda.mjs → index.f8d7a56e.mjs} +1 -1
  134. package/dist/{index.1086f5db.mjs → index.ffe51370.mjs} +1 -1
  135. package/dist/index.umd.js +13 -17
  136. package/dist/{language.d6a1849c.mjs → language.2566e0dd.mjs} +1 -1
  137. package/dist/{large.0a8ca190.mjs → large.9fa7bb85.mjs} +1 -1
  138. package/dist/{line.ebcb7dab.mjs → line.a6356aec.mjs} +1 -1
  139. package/dist/{lpn.1d1e4768.mjs → lpn.9c121b8e.mjs} +1 -1
  140. package/dist/{lpnAction.cd5b7aa7.mjs → lpnAction.8fdf211f.mjs} +1 -1
  141. package/dist/{lpnAction.b26481e4.mjs → lpnAction.c4f2eea6.mjs} +1 -1
  142. package/dist/{lpnBatchAction.40f98816.mjs → lpnBatchAction.3eae8637.mjs} +1 -1
  143. package/dist/{menuOne.7d125654.mjs → menuOne.89c60366.mjs} +1 -1
  144. package/dist/{menuTwo.46c8b970.mjs → menuTwo.a381c8fd.mjs} +1 -1
  145. package/dist/{msg.91f58378.mjs → msg.316f9ef8.mjs} +1 -1
  146. package/dist/{newBale.90588bd0.mjs → newBale.6176177e.mjs} +1 -1
  147. package/dist/{newBale.e51a5aaf.mjs → newBale.c11eddaf.mjs} +1 -1
  148. package/dist/{newLpn.a19ce053.mjs → newLpn.18a0dd3c.mjs} +1 -1
  149. package/dist/{notAloneAction.e289ff12.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.13b511ab.mjs → over.b8cb738f.mjs} +1 -1
  153. package/dist/{page.c4821cc4.mjs → page.bfa2db20.mjs} +1 -1
  154. package/dist/{print.08bc5962.mjs → print.b990036b.mjs} +1 -1
  155. package/dist/{printLabel.83d4f9a6.mjs → printLabel.22ce4ced.mjs} +1 -1
  156. package/dist/{queryByLocationCode.df46cf21.mjs → queryByLocationCode.f7bb7d00.mjs} +1 -1
  157. package/dist/{queryBySkuCode.39bfe2d6.mjs → queryBySkuCode.5a710565.mjs} +1 -1
  158. package/dist/{sample.d791b154.mjs → sample.977f9537.mjs} +1 -1
  159. package/dist/{search.a080cb08.mjs → search.c0eaec8c.mjs} +1 -1
  160. package/dist/{skuAction.37fab7ab.mjs → skuAction.eed5b216.mjs} +1 -1
  161. package/dist/{skuCheck.67853719.mjs → skuCheck.8ec0d3ff.mjs} +1 -1
  162. package/dist/{smallPage.57acfec8.mjs → smallPage.20995664.mjs} +1 -1
  163. package/dist/{sowAction.1cac1ba3.mjs → sowAction.388c4a97.mjs} +1 -1
  164. package/dist/style.css +1 -1
  165. package/dist/{taskEntrance.18082375.mjs → taskEntrance.1ab3c158.mjs} +1 -1
  166. package/dist/{timezone.9574e603.mjs → timezone.528590d9.mjs} +1 -1
  167. package/dist/{warehouse.70d15a21.mjs → warehouse.1f1dbf0c.mjs} +1 -1
  168. package/package.json +1 -1
  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/receive/putaway/caseAction/index.vue +53 -23
  346. package/src/components/page/receive/putaway/components/SkuInfo/index.vue +32 -23
  347. package/src/components/page/receive/putaway/components/SkuPutAwayInfo/index.vue +30 -7
  348. package/src/components/page/receive/putaway/components/TaskInfo/index.vue +17 -3
  349. package/src/components/page/receive/putaway/components/lpnBatchItem.vue +27 -3
  350. package/src/components/page/receive/putaway/index/index.vue +2 -2
  351. package/src/components/page/receive/putaway/lpnAction/index.vue +39 -20
  352. package/src/components/page/receive/putaway/lpnBatchAction/index.vue +33 -1
  353. package/src/components/page/receive/putaway/skuAction/index.vue +18 -2
  354. package/src/components/page/receive/receipt/action/index.vue +19 -4
  355. package/src/components/ui/CarPlate/index.vue +14 -2
  356. package/src/components/ui/ErrorMsg/index.js +6 -9
  357. package/src/components/ui/ErrorMsg/index.vue +18 -10
  358. package/src/components/ui/ImgUpload/index.vue +9 -3
  359. package/src/components/ui/NotData/index.vue +1 -0
  360. package/src/components/ui/NoticeBar/index.js +9 -5
  361. package/src/components/ui/NoticeBar/index.vue +34 -12
  362. package/src/components/ui/TabBox/index.js +11 -0
  363. package/src/components/ui/TabBox/index.vue +99 -0
  364. package/src/components/ui/TabBox/tab/345/256/271/345/231/250.md +0 -0
  365. package/src/components/ui/index.js +3 -0
  366. package/src/router/index.js +89 -5
  367. package/src/router/menu.js +100 -13
  368. package/src/utils/AppPower.js +20 -0
  369. package/src/utils/Axios.js +5 -5
  370. package/src/utils/Dialog.js +3 -7
  371. package/src/utils/Print.js +61 -24
  372. package/src/utils/UserInfo.js +32 -0
  373. package/src/utils/index.js +2 -0
  374. package/src/utils/windowGlobalData.js +8 -2
  375. package/src/views/common/init/index.vue +3 -0
  376. package/src/views/common/taskConsole/index.vue +23 -0
  377. package/src/views/container/containerBack/index.vue +23 -0
  378. package/src/views/container/rentBack/action.vue +23 -0
  379. package/src/views/container/rentBack/content.vue +23 -0
  380. package/src/views/container/rentBack/index.vue +23 -0
  381. package/src/views/container/repairBack/action.vue +23 -0
  382. package/src/views/container/repairBack/content.vue +23 -0
  383. package/src/views/container/repairBack/index.vue +23 -0
  384. package/src/views/container/repairRegister/index.vue +23 -0
  385. package/src/views/container/repairRegister/orderInfo.vue +23 -0
  386. package/src/views/container/scrapRecord/index.vue +23 -0
  387. package/src/views/container/scrapRecord/orderInfo.vue +23 -0
  388. package/src/views/outbound/pick/containerAction.vue +23 -0
  389. package/src/views/outbound/{pickContainer → pickContainerSearch}/action.vue +1 -1
  390. package/src/views/outbound/{pickContainer → pickContainerSearch}/index.vue +1 -1
  391. package/dist/index.7d940910.mjs +0 -26
  392. package/src/components/page/count/console/components/itemContent.vue +0 -74
  393. package/src/components/page/count/console/components/itemHeader.vue +0 -61
  394. package/src/components/page/count/console/components/lookTaskContentPopup.vue +0 -180
  395. package/src/components/page/count/console/components/taskItem.vue +0 -87
  396. package/src/components/page/outbound/pickContainer/index/index.js +0 -11
@@ -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
 
@@ -39,24 +39,21 @@ const show = (obj) => {
39
39
  data.message = obj
40
40
  }
41
41
 
42
- if (errorMsgNew){
43
- errorMsgNew.message = data.message
44
-
45
- if (typeof obj === 'object'){
46
- errorMsgNew.background = data.background
47
- errorMsgNew.color = data.color
48
- }
42
+ errorMsgNew = window.lwWindowGlobalData.get('errorMsgDom')
49
43
 
44
+ if (errorMsgNew){
45
+ errorMsgNew.showDom(data)
50
46
  return
51
47
  }
52
48
 
53
49
  lwErrorMsgDom(data)
50
+ window.lwWindowGlobalData.set('errorMsgDom', errorMsgNew)
54
51
  }
55
52
 
56
53
  // 关闭错误提示弹框
57
54
  const close = () => {
58
- errorMsgNew.close()
59
- errorMsgNew = null
55
+ const dom = window.lwWindowGlobalData.get('errorMsgDom')
56
+ dom ? dom.close() : console.log('调用关闭错误弹框失败,没有可以关闭的弹框', dom)
60
57
  }
61
58
 
62
59
 
@@ -13,16 +13,17 @@
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>
@@ -61,12 +62,13 @@ export default {
61
62
  },5)
62
63
  },
63
64
  methods: {
64
- // 通过点击关闭按钮关闭弹窗
65
- offError(){
66
- this.$lwCloseErrorMsg()
65
+ // 显示
66
+ showDom({message, background, color}){
67
+ this.message = message
68
+ this.background = background
69
+ this.color = color
67
70
  },
68
71
 
69
-
70
72
  // 关闭弹框
71
73
  close(){
72
74
  this.height=0
@@ -75,6 +77,7 @@ export default {
75
77
  // 让原输入框获取焦点
76
78
  this.getInput('focus')
77
79
  this.show=false
80
+ window.lwWindowGlobalData.set('errorMsgDom', null)
78
81
  })
79
82
  this.$emit('close')
80
83
  },
@@ -130,8 +133,13 @@ export default {
130
133
  left: 50%;
131
134
  transform: translateX(-50%);
132
135
 
133
- >img{
134
- 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;
135
143
  }
136
144
  }
137
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
  }
@@ -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
 
@@ -65,26 +65,30 @@ const show = (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
89
  const close = () => {
86
- noticeNew.close()
87
- noticeNew = null
90
+ const dom = window.lwWindowGlobalData.get('noticeBarDom')
91
+ dom ? dom.close() : console.log('调用关闭顶部消息栏失败,没有可以关闭的消息', dom)
88
92
  }
89
93
 
90
94
 
@@ -9,13 +9,13 @@
9
9
  v-if="show"
10
10
  ref="notBox"
11
11
  class="lw-global-flex-between not-box"
12
- :style="{background,color}"
12
+ :style="{background,color,height}"
13
13
  >
14
14
  <div style="flex: 1">{{message}}</div>
15
15
 
16
16
  <div
17
17
  class="close-btn"
18
- @click="closeClick"
18
+ @click="close"
19
19
  >×</div>
20
20
  </div>
21
21
  </template>
@@ -24,6 +24,7 @@
24
24
 
25
25
  /* 注意此组件不能使用 this.$XXX 的方法,因为没有注册组件是通过指令调用的 */
26
26
 
27
+
27
28
  export default {
28
29
  name: "lwNoticeBar",
29
30
  /*props:{
@@ -43,30 +44,51 @@ export default {
43
44
  showTime: '',
44
45
  // 定时器
45
46
  timeOut:'',
47
+ // 高度
48
+ height: ''
46
49
  }
47
50
  },
48
51
  watch:{
49
52
  show(n){
50
53
  if (n){
51
- this.timeOut && clearTimeout(this.timeOut)
52
- const showTime = this.showTime === 0 ? 0 : this.showTime ? this.showTime : 2
53
- let time = Number(showTime)
54
- time = isNaN(time) ? 2 : time
55
- time !== 0 ? this.timeOut = setTimeout(()=>this.closeClick(),time * 1000) : ''
54
+ this.renderDom()
56
55
  }
57
56
  }
58
57
  },
59
58
  methods: {
59
+ // 显示
60
+ showDom({message, background, color, showTime}){
61
+ this.message = message
62
+ this.background = background
63
+ this.color = color
64
+ this.showTime = showTime
65
+ this.renderDom()
66
+ },
67
+
68
+ // 渲染dom
69
+ renderDom(){
70
+ this.timeOut && clearTimeout(this.timeOut)
71
+ const showTimeNum = this.showTime === 0 ? 0 : this.showTime ? this.showTime : 2
72
+ let time = Number(showTimeNum)
73
+ time = isNaN(time) ? 2 : time
74
+ time !== 0 ? this.timeOut = setTimeout(()=>this.close(),time * 1000) : ''
75
+ this.height = 'auto'
60
76
 
61
- // 手动关闭
62
- closeClick(){
63
- this.$lwCloseNoticeBar()
77
+ this.$nextTick(()=>{
78
+ this.dom = document.getElementsByClassName('not-box')[0]
79
+ this.height = this.dom.offsetHeight + 'px'
80
+ })
64
81
  },
65
82
 
66
83
  // 关闭弹框
67
84
  close(){
68
- this.show = false
69
- this.timeOut && clearTimeout(this.timeOut)
85
+ this.height = 0
86
+
87
+ this.dom.addEventListener('transitionend', ()=>{
88
+ this.show = false
89
+ this.timeOut && clearTimeout(this.timeOut)
90
+ window.lwWindowGlobalData.set('noticeBarDom',null)
91
+ })
70
92
  },
71
93
 
72
94
  }
@@ -0,0 +1,11 @@
1
+ /*
2
+ * tab组件容器
3
+ * @author: 张文
4
+ * @date: 2023-01-04
5
+ * */
6
+
7
+ import lwTabBox from "./index.vue";
8
+
9
+ lwTabBox.install = Vue => Vue.component(lwTabBox.name, lwTabBox)
10
+
11
+ export default lwTabBox
@@ -0,0 +1,99 @@
1
+ <!--
2
+ tab组件容器
3
+ @author: 张文
4
+ @date: 2023-01-04
5
+ -->
6
+ <template>
7
+ <div ref="tabBox">
8
+
9
+
10
+ <!-- 滚动时的占位 -->
11
+ <div
12
+ v-if="showCopy"
13
+ :style="{
14
+ height: this.height + 10 + 'px',
15
+ width:'100%'
16
+ }"
17
+ ></div>
18
+ <!-- 放置tabs -->
19
+ <div class="lw-global-tab-box">
20
+ <slot></slot>
21
+ </div>
22
+
23
+ </div>
24
+ </template>
25
+
26
+ <script>
27
+
28
+ export default {
29
+ name: "lwTabBox",
30
+ props:{
31
+ // 是否固定
32
+ fixed:{
33
+ type: Boolean,
34
+ default: true
35
+ }
36
+ },
37
+ data() {
38
+ return {
39
+ tabDom:'',
40
+ height: 0,
41
+ top: 0,
42
+ showCopy: false
43
+ }
44
+ },
45
+ mounted() {
46
+ if (!this.fixed) return
47
+ this.tabDom = this.$refs.tabBox.getElementsByClassName('van-tabs__wrap')[0]
48
+ this.height = this.tabDom.clientHeight
49
+ this.top = this.$refs.tabBox.offsetTop
50
+
51
+ window.addEventListener('scroll',this.scrollFn)
52
+
53
+ this.tabDom.addEventListener('click',this.clickFn)
54
+ },
55
+ methods: {
56
+
57
+ scrollFn(){
58
+ this.height = this.tabDom.clientHeight
59
+ this.top = this.$refs.tabBox.offsetTop
60
+ if (window.scrollY >= this.top){
61
+ this.showCopy = true
62
+ this.tabDom.style.position = 'fixed'
63
+ this.tabDom.style.top = 0
64
+ this.tabDom.style.left = 0
65
+ this.tabDom.style.zIndex = 10
66
+ this.tabDom.style.width = '100%'
67
+ this.tabDom.style.boxShadow = '0 1px 8px 1px rgba(0, 0, 0, 0.3)'
68
+ }else {
69
+ this.tabDom.style.position = 'initial'
70
+ this.tabDom.style.boxShadow = 'none'
71
+ this.tabDom.style.zIndex = 1
72
+ this.showCopy = false
73
+ }
74
+ },
75
+
76
+ clickFn(){
77
+ this.tabDom.style.position === 'fixed' && this.$refs.tabBox.scrollIntoView({
78
+ behavior: "smooth",
79
+ block:'start',
80
+ })
81
+ }
82
+
83
+ },
84
+ destroyed() {
85
+ window.removeEventListener('scroll', this.scrollFn)
86
+ window.removeEventListener('click', this.clickFn)
87
+ }
88
+ }
89
+ </script>
90
+
91
+ <style scoped lang="less">
92
+ .lw-tab-box-fixed{
93
+ position: relative;
94
+ top: 0;
95
+ left: 0;
96
+ width: 100%;
97
+ }
98
+
99
+ </style>
@@ -58,6 +58,8 @@ import lwBottomBarBtnHidden from "./BottomBarBtnHidden";
58
58
  import lwPagination from "./Pagination";
59
59
  // 行加多选弹框组件
60
60
  import lwCellPopupCheckbox from "./CellPopupCheckbox";
61
+ // tab组件容器
62
+ import lwTabBox from "./TabBox";
61
63
 
62
64
 
63
65
 
@@ -89,4 +91,5 @@ export const ui = [
89
91
  lwPagination,
90
92
  lwCellPopupSelect,
91
93
  lwCellPopupCheckbox,
94
+ lwTabBox,
92
95
  ]