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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (856) hide show
  1. package/README.md +4 -21
  2. package/dist/BlockInfo.1c8ece6a.mjs +47 -0
  3. package/dist/InboundQualityExecuteView.3c816a1e.mjs +23 -0
  4. package/dist/InboundQualityTaskListView.14185db1.mjs +23 -0
  5. package/dist/InboundReceiveAllocSkuExecuteView.ad248f9e.mjs +23 -0
  6. package/dist/InboundReceiveAllocSnExecuteView.c8a4abc8.mjs +23 -0
  7. package/dist/InboundReceiveAllocTabListView.9639b998.mjs +23 -0
  8. package/dist/InboundReceiveCaseExecuteView.3f937231.mjs +217 -0
  9. package/dist/InboundReceiveCaseScanView.a88b4178.mjs +83 -0
  10. package/dist/InboundReceiveLpnBatchExecuteView.6034a9e1.mjs +23 -0
  11. package/dist/InboundReceiveLpnExecuteView.d3116e23.mjs +23 -0
  12. package/dist/InboundReceiveLpnScanView.4db78898.mjs +23 -0
  13. package/dist/InboundReceiveRandomSkuExecuteView.1b6e0637.mjs +23 -0
  14. package/dist/InboundReceiveRandomSkuScanView.1821d2c4.mjs +23 -0
  15. package/dist/InboundReceiveRandomSkuSnExecuteView.2f3cfcea.mjs +23 -0
  16. package/dist/InboundReceiveSkuAdvanceView.a6b4568f.mjs +23 -0
  17. package/dist/InboundReceiveSkuDirectView.811bf351.mjs +23 -0
  18. package/dist/InboundReceiveSkuScanView.5e614e01.mjs +23 -0
  19. package/dist/LwInboundSortingAsnView.3e1106d7.mjs +23 -0
  20. package/dist/LwInboundSortingByContainerView.33299f9f.mjs +23 -0
  21. package/dist/LwInboundSortingByOrderView.2f8db636.mjs +23 -0
  22. package/dist/LwInboundSortingIndexView.c9ed07c1.mjs +23 -0
  23. package/dist/LwOutboundReprintBoxView.72539c87.mjs +180 -0
  24. package/dist/LwOutboundStockoutExecuteView.3fe57cee.mjs +76 -0
  25. package/dist/LwOutboundStockoutListView.d9a1e1bd.mjs +123 -0
  26. package/dist/MoveRandomWholeCaseView.c2742890.mjs +20 -0
  27. package/dist/MoveTaskWholeCaseDownView.5250c675.mjs +20 -0
  28. package/dist/MoveTaskWholeCaseUpView.824a2aee.mjs +20 -0
  29. package/dist/MoveTaskWholeIndexView.4de7edfc.mjs +20 -0
  30. package/dist/OutboundBlockBoxListView.dedc1292.mjs +83 -0
  31. package/dist/OutboundBlockExecuteView.db1ab452.mjs +166 -0
  32. package/dist/action.017a327c.mjs +26 -0
  33. package/dist/action.01da8ae9.mjs +26 -0
  34. package/dist/action.02bbb588.mjs +26 -0
  35. package/dist/action.034382ff.mjs +26 -0
  36. package/dist/action.04ee34d5.mjs +26 -0
  37. package/dist/action.0a1d10ad.mjs +26 -0
  38. package/dist/action.0cfc710c.mjs +26 -0
  39. package/dist/action.2baf8260.mjs +26 -0
  40. package/dist/action.4a3773c1.mjs +26 -0
  41. package/dist/action.4dc11c91.mjs +26 -0
  42. package/dist/action.54fe5fe2.mjs +26 -0
  43. package/dist/action.5aa67994.mjs +26 -0
  44. package/dist/action.5bb65cf2.mjs +22 -0
  45. package/dist/action.68f0c9ef.mjs +26 -0
  46. package/dist/action.6ba45e3b.mjs +26 -0
  47. package/dist/action.6be6f5d3.mjs +26 -0
  48. package/dist/action.7424605b.mjs +26 -0
  49. package/dist/action.88067120.mjs +26 -0
  50. package/dist/action.8e26827f.mjs +26 -0
  51. package/dist/action.8f655f2e.mjs +26 -0
  52. package/dist/action.8ffbd19f.mjs +26 -0
  53. package/dist/action.95aa8c94.mjs +26 -0
  54. package/dist/action.b0306402.mjs +26 -0
  55. package/dist/action.c1816f01.mjs +26 -0
  56. package/dist/action.ec9705f5.mjs +26 -0
  57. package/dist/action.eff389f9.mjs +26 -0
  58. package/dist/action.f03dbf79.mjs +26 -0
  59. package/dist/action.f8726b24.mjs +22 -0
  60. package/dist/add.2e5ce839.mjs +26 -0
  61. package/dist/addOrder.4f228676.mjs +26 -0
  62. package/dist/allCheck.c5c9395b.mjs +26 -0
  63. package/dist/aloneAction.43f83144.mjs +26 -0
  64. package/dist/boxAction.3d4eb6d9.mjs +26 -0
  65. package/dist/caseAction.74093bb0.mjs +26 -0
  66. package/dist/console.4232cad5.mjs +26 -0
  67. package/dist/consoleInfo.3eefa9b6.mjs +26 -0
  68. package/dist/content.44aa1b2c.mjs +26 -0
  69. package/dist/contentInfo.4b40e2e7.mjs +26 -0
  70. package/dist/customer.cc356336.mjs +26 -0
  71. package/dist/device.807dfeb7.mjs +26 -0
  72. package/dist/generate.72d6586b.mjs +26 -0
  73. package/dist/home.862fcd6d.mjs +22 -0
  74. package/dist/index.00779596.mjs +26 -0
  75. package/dist/index.11007dde.mjs +26 -0
  76. package/dist/index.1156af3a.mjs +26 -0
  77. package/dist/index.15f6f203.mjs +26 -0
  78. package/dist/index.1accff9d.mjs +26 -0
  79. package/dist/index.1fa9c485.mjs +26 -0
  80. package/dist/index.2186bd36.mjs +26 -0
  81. package/dist/index.22aef932.mjs +60561 -0
  82. package/dist/index.255f016c.mjs +26 -0
  83. package/dist/index.2833a061.mjs +26 -0
  84. package/dist/index.3330acfb.mjs +26 -0
  85. package/dist/index.3e28f529.mjs +26 -0
  86. package/dist/index.41e9615a.mjs +26 -0
  87. package/dist/index.5307f035.mjs +26 -0
  88. package/dist/index.53edfcba.mjs +22 -0
  89. package/dist/index.585c56c2.mjs +26 -0
  90. package/dist/index.5c3a5656.mjs +26 -0
  91. package/dist/index.5def9da7.mjs +26 -0
  92. package/dist/index.5ed3d1b8.mjs +26 -0
  93. package/dist/index.65987267.mjs +25 -0
  94. package/dist/index.68be1564.mjs +26 -0
  95. package/dist/index.69a0e492.mjs +58 -0
  96. package/dist/index.69c12a25.mjs +26 -0
  97. package/dist/index.6c35d72c.mjs +26 -0
  98. package/dist/index.6ce411ca.mjs +26 -0
  99. package/dist/index.88defcf5.mjs +26 -0
  100. package/dist/index.8fb5154c.mjs +26 -0
  101. package/dist/index.962f2cd9.mjs +45 -0
  102. package/dist/index.98d8e385.mjs +26 -0
  103. package/dist/index.9b2f3427.mjs +26 -0
  104. package/dist/index.9cc1b8cb.mjs +26 -0
  105. package/dist/index.a4868e2e.mjs +26 -0
  106. package/dist/index.af8fef71.mjs +26 -0
  107. package/dist/index.b13b9084.mjs +26 -0
  108. package/dist/index.b28a704f.mjs +26 -0
  109. package/dist/index.baeda2e1.mjs +26 -0
  110. package/dist/index.bc0f7742.mjs +26 -0
  111. package/dist/index.bcce7d7e.mjs +26 -0
  112. package/dist/index.bff4ac60.mjs +22 -0
  113. package/dist/index.c47c55d2.mjs +26 -0
  114. package/dist/index.c53a8678.mjs +22 -0
  115. package/dist/index.d1f6dd66.mjs +76 -0
  116. package/dist/index.db5c6017.mjs +26 -0
  117. package/dist/index.ddc65ec9.mjs +26 -0
  118. package/dist/index.de826989.mjs +38 -0
  119. package/dist/index.e751b3ad.mjs +26 -0
  120. package/dist/index.eccf6574.mjs +26 -0
  121. package/dist/index.es.js +5 -0
  122. package/dist/index.f35febce.mjs +26 -0
  123. package/dist/index.f82b4518.mjs +26 -0
  124. package/dist/index.fac867ec.mjs +26 -0
  125. package/dist/index.umd.js +24 -0
  126. package/dist/language.0238a2bb.mjs +26 -0
  127. package/dist/large.c0e2e5e2.mjs +26 -0
  128. package/dist/line.d6075059.mjs +26 -0
  129. package/dist/lpn.407d85bd.mjs +26 -0
  130. package/dist/lpnAction.53153261.mjs +26 -0
  131. package/dist/lpnAction.e02fa075.mjs +26 -0
  132. package/dist/lpnBatchAction.6616460e.mjs +26 -0
  133. package/dist/menuOne.01b2c0b4.mjs +38 -0
  134. package/dist/menuTwo.35fcbc35.mjs +36 -0
  135. package/dist/msg.3587e42c.mjs +26 -0
  136. package/dist/newBale.e62943b8.mjs +26 -0
  137. package/dist/newBale.fa567c88.mjs +26 -0
  138. package/dist/newLpn.2f06a7fb.mjs +26 -0
  139. package/dist/notAloneAction.12f5c1f0.mjs +26 -0
  140. package/dist/over.0897f137.mjs +26 -0
  141. package/dist/page.051e1c8c.mjs +26 -0
  142. package/dist/print.34afe6a8.mjs +26 -0
  143. package/dist/printLabel.efb743ab.mjs +26 -0
  144. package/dist/queryByLocationCode.5abdd79f.mjs +26 -0
  145. package/dist/queryBySkuCode.9b53e304.mjs +26 -0
  146. package/dist/sample.7c395c51.mjs +26 -0
  147. package/dist/search.49ecd7f6.mjs +26 -0
  148. package/dist/skuAction.8ed7a1c3.mjs +26 -0
  149. package/dist/skuCheck.279b82b0.mjs +26 -0
  150. package/dist/smallPage.dde66fc7.mjs +26 -0
  151. package/dist/sowAction.b1db1fc0.mjs +26 -0
  152. package/dist/style.css +1 -0
  153. package/dist/taskEntrance.7fe227a2.mjs +26 -0
  154. package/dist/timezone.6ced3ba0.mjs +26 -0
  155. package/dist/warehouse.94715780.mjs +26 -0
  156. package/package.json +16 -28
  157. package/src/api/common/Msg.js +8 -0
  158. package/src/api/common/Print.js +9 -1
  159. package/src/api/common/Task.js +16 -0
  160. package/src/api/common/UUID.js +2 -0
  161. package/src/api/common/User.js +15 -0
  162. package/src/api/common/common.js +41 -2
  163. package/src/api/config/masterLocation/masterLocationConfig/action.js +61 -0
  164. package/src/api/config/masterLocation/masterLocationConfig/index.js +18 -0
  165. package/src/api/config/masterLocation/masterLocationQuery/action.js +28 -0
  166. package/src/api/{inner → config}/newProject/action.js +1 -1
  167. package/src/api/{inner → config}/newProject/index.js +0 -0
  168. package/src/api/inbound/index.js +3 -1
  169. package/src/api/inbound/printLabel.js +34 -0
  170. package/src/api/inbound/quality.js +1 -1
  171. package/src/api/inbound/receive.js +347 -8
  172. package/src/api/inbound/sorting.js +198 -0
  173. package/src/api/inner/borrow/index.js +51 -0
  174. package/src/api/inner/check/action.js +32 -0
  175. package/src/api/inner/count/console.js +61 -0
  176. package/src/api/inner/dead/action.js +24 -0
  177. package/src/api/inner/dead/large.js +78 -0
  178. package/src/api/inner/dead/query.js +17 -0
  179. package/src/api/inner/dead/small.js +104 -0
  180. package/src/api/inner/disposeAbnormal/action.js +24 -0
  181. package/src/api/inner/materialApply/index.js +1 -1
  182. package/src/api/inner/move/quickMove.js +51 -0
  183. package/src/api/inner/move/taskMove.js +176 -19
  184. package/src/api/inner/quality/action.js +51 -0
  185. package/src/api/inner/quality/sample.js +33 -0
  186. package/src/api/inner/reportAbnormal/index.js +1 -1
  187. package/src/api/inner/snCheck/snCheck.js +58 -0
  188. package/src/api/inventory/inventory.js +86 -0
  189. package/src/api/outbound/bale/aloneBale/action.js +123 -0
  190. package/src/api/outbound/bale/aloneBale/index.js +24 -0
  191. package/src/api/outbound/bale/baleChange/action.js +51 -0
  192. package/src/api/outbound/bale/baleChange/addCheck.js +33 -0
  193. package/src/api/outbound/bale/checkBale/action.js +18 -0
  194. package/src/api/outbound/bale/checkBale/index.js +2 -2
  195. package/src/api/outbound/bale/packTableConfig.js +25 -0
  196. package/src/api/outbound/block/index.js +68 -0
  197. package/src/api/outbound/delivery/action.js +33 -1
  198. package/src/api/outbound/handover/index.js +42 -0
  199. package/src/api/outbound/handover/lpn.js +33 -0
  200. package/src/api/outbound/handover/mixin.js +42 -0
  201. package/src/api/outbound/handover/pageBox.js +24 -0
  202. package/src/api/outbound/lpnPack/index.js +79 -0
  203. package/src/api/outbound/packCollect/index.js +24 -0
  204. package/src/api/outbound/pick/index.js +8 -0
  205. package/src/api/outbound/pick/sow.js +114 -0
  206. package/src/api/outbound/pickMerge/index.js +9 -0
  207. package/src/api/outbound/reprint-box/index.js +26 -0
  208. package/src/api/outbound/sow/action.js +10 -1
  209. package/src/api/outbound/sow/index.js +18 -0
  210. package/src/api/outbound/sowCollect/index.js +24 -0
  211. package/src/api/outbound/stockout/index.js +54 -0
  212. package/src/api/outbound/summary/box.js +9 -0
  213. package/src/api/outbound/transfer/index.js +23 -0
  214. package/src/api/process/order.js +149 -0
  215. package/src/api/process/work_process.js +17 -0
  216. package/src/api/process/work_process_screen.js +27 -0
  217. package/src/api/process/work_table.js +120 -0
  218. package/src/api/receive/abnormal.js +1 -1
  219. package/src/api/receive/putaway.js +67 -2
  220. package/src/api/receive/receipt.js +7 -0
  221. package/src/assets/css/changeVant.less +7 -0
  222. package/src/assets/css/global.less +69 -12
  223. package/src/assets/css/var.less +11 -29
  224. package/src/assets/css//345/205/250/345/261/200/346/240/267/345/274/217.md +1 -31
  225. package/src/assets/img/close_red.png +0 -0
  226. package/src/assets/img/lwInputIcon/scanIcon.png +0 -0
  227. package/src/assets/img/lwLoginModel/captcha.png +0 -0
  228. package/src/assets/img/lwLoginModel/language.png +0 -0
  229. package/src/assets/img/lwLoginModel/timezone.png +0 -0
  230. package/src/assets/img/lwNotData/noneData.png +0 -0
  231. package/src/assets/img/menu/allotReceive.png +0 -0
  232. package/src/assets/img/menu/baleChange.png +0 -0
  233. package/src/assets/img/menu/borrowPick.png +0 -0
  234. package/src/assets/img/menu/boxTransfer.png +0 -0
  235. package/src/assets/img/menu/confirmStockOut.png +0 -0
  236. package/src/assets/img/menu/count.png +0 -0
  237. package/src/assets/img/menu/deadPutaway.png +0 -0
  238. package/src/assets/img/menu/disposeAbnormal.png +0 -0
  239. package/src/assets/img/menu/handover.png +0 -0
  240. package/src/assets/img/menu/lpnPack.png +0 -0
  241. package/src/assets/img/menu/mainData.png +0 -0
  242. package/src/assets/img/menu/mainLoc.png +0 -0
  243. package/src/assets/img/menu/mainLocSearch.png +0 -0
  244. package/src/assets/img/menu/moveUp.png +0 -0
  245. package/src/assets/img/menu/newConfig.png +0 -0
  246. package/src/assets/img/menu/outboundBlock.png +0 -0
  247. package/src/assets/img/menu/outboundReprint.png +0 -0
  248. package/src/assets/img/menu/packCollect.png +0 -0
  249. package/src/assets/img/menu/pickContainer.png +0 -0
  250. package/src/assets/img/menu/process.png +0 -0
  251. package/src/assets/img/menu/processTable.png +0 -0
  252. package/src/assets/img/menu/quality.png +0 -0
  253. package/src/assets/img/menu/receive-case.png +0 -0
  254. package/src/assets/img/menu/receive-lpn.png +0 -0
  255. package/src/assets/img/menu/receive-sku.png +0 -0
  256. package/src/assets/img/menu/receive_random.png +0 -0
  257. package/src/assets/img/menu/sorting.png +0 -0
  258. package/src/assets/img/menu/sowCollect.png +0 -0
  259. package/src/assets/img/menu/stockSearch.png +0 -0
  260. package/src/assets/img/my/timezone.png +0 -0
  261. package/src/assets/img/timezone.png +0 -0
  262. package/src/components/module/AbnormalInput/index.js +11 -0
  263. package/src/components/module/AbnormalInput/index.vue +322 -0
  264. package/src/components/module/AbnormalInput//345/274/202/345/270/270/350/276/223/345/205/245/346/250/241/345/235/227.md +1 -0
  265. package/src/components/module/BoxInfo/index.js +10 -0
  266. package/src/components/module/BoxInfo/index.vue +69 -0
  267. package/src/components/{page/inbound/newProject/action/index.less → module/BoxInfo//346/237/245/347/234/213/347/256/261/344/277/241/346/201/257.md} +0 -0
  268. package/src/components/module/InnerAbnormal/index.js +1 -1
  269. package/src/components/module/InnerAbnormal/index.vue +12 -259
  270. package/src/components/module/InnerAbnormal//345/234/250/345/272/223/345/274/202/345/270/270/346/250/241/345/235/227.md +1 -0
  271. package/src/components/module/Login/index.vue +134 -24
  272. package/src/components/module/Login//347/231/273/345/275/225/346/250/241/345/235/227.md +1 -1
  273. package/src/components/module/Lot/index.vue +29 -5
  274. package/src/components/module/Lot//346/211/271/346/254/241/345/261/236/346/200/247.md +4 -2
  275. package/src/components/module/LotLook/index.vue +36 -23
  276. package/src/components/module/LotLook//346/225/260/346/215/256/346/237/245/347/234/213.md +3 -0
  277. package/src/components/module/Menu/index.vue +8 -4
  278. package/src/components/module/Menu//350/217/234/345/215/225/346/240/217.md +1 -1
  279. package/src/components/module/MsgItem/index.vue +42 -27
  280. package/src/components/module/MsgItem//346/266/210/346/201/257/345/210/227/350/241/250/345/217/212/345/210/206/351/241/265/346/250/241/345/235/227.md +1 -1
  281. package/src/components/module/OffLinePopup/index.js +12 -0
  282. package/src/components/module/OffLinePopup/index.vue +110 -0
  283. package/src/components/{page/inbound/newProject/index/index.less → module/OffLinePopup//344/270/213/347/272/277/347/220/206/347/224/261/345/274/271/346/241/206.md} +0 -0
  284. package/src/components/module/OnLine/index.vue +144 -122
  285. package/src/components/module/OnLine//344/270/212/344/270/213/347/272/277/347/256/241/347/220/206/346/250/241/345/235/227.md +1 -1
  286. package/src/components/module/ReceiveAbnormal/index.vue +123 -32
  287. package/src/components/module/ReceiveAbnormal//346/224/266/350/264/247/345/274/202/345/270/270/346/250/241/345/235/227.md +1 -0
  288. package/src/components/module/ScanDataList/index.vue +64 -33
  289. package/src/components/module/ScanDataList//346/211/253/346/217/217/346/225/260/346/215/256/345/261/225/347/244/272/345/217/212/345/210/240/351/231/244.md +2 -0
  290. package/src/components/module/SkuInfo/index.vue +7 -4
  291. package/src/components/module/SkuInfo//346/237/245/347/234/213/345/225/206/345/223/201/344/277/241/346/201/257.md +4 -0
  292. package/src/components/module/SnSearchSku/index.js +11 -0
  293. package/src/components/module/SnSearchSku/index.vue +150 -0
  294. package/src/components/module/SnSearchSku//351/200/232/350/277/207/345/272/217/345/210/227/345/217/267/346/220/234/347/264/242/345/225/206/345/223/201/345/217/267.md +2 -0
  295. package/src/components/module/SystemInfo/index.vue +29 -17
  296. package/src/components/module/SystemInfo//347/263/273/347/273/237/344/277/241/346/201/257/344/270/216/344/270/212/347/272/277/347/212/266/346/200/201/346/250/241/345/235/227.md +1 -1
  297. package/src/components/module/index.js +26 -14
  298. package/src/components/page/common/Device/index.vue +2 -2
  299. package/src/components/page/common/Language/index.vue +12 -6
  300. package/src/components/page/common/Login/index.vue +4 -6
  301. package/src/components/page/common/Menu/index.vue +16 -10
  302. package/src/components/page/common/Msg/index.vue +152 -37
  303. package/src/components/page/common/My/index.vue +52 -8
  304. package/src/components/page/common/Print/index.vue +7 -10
  305. package/src/components/page/common/Task/components/itemContent.vue +74 -0
  306. package/src/components/page/common/Task/components/itemHeader.vue +61 -0
  307. package/src/components/page/common/Task/components/lookTaskContentPopup.vue +180 -0
  308. package/src/components/page/common/Task/components/overTaskPopup.vue +108 -0
  309. package/src/components/page/common/Task/components/taskItem.vue +87 -0
  310. package/src/components/page/common/Task/{index.js → index/index.js} +0 -0
  311. package/src/components/page/common/Task/{index.vue → index/index.vue} +96 -274
  312. package/src/components/page/common/Task/{ → index/}/344/273/273/345/212/241/351/241/265.md +0 -0
  313. package/src/components/page/common/Task/searchTask/index.js +11 -0
  314. package/src/components/page/common/Task/searchTask/index.vue +196 -0
  315. package/src/components/page/common/Task/searchTask//344/273/273/345/212/241/351/241/265/346/220/234/347/264/242.md +1 -0
  316. package/src/components/page/common/Timezone/index.js +11 -0
  317. package/src/components/page/common/Timezone/index.vue +85 -0
  318. package/src/components/page/{inbound/newProject//346/226/260/345/223/201/351/205/215/347/275/256.md → common/Timezone//346/227/266/345/214/272/351/200/211/346/213/251/351/241/265.md} +0 -0
  319. package/src/components/page/common/Warehouse/index.vue +8 -3
  320. package/src/components/page/common/index.js +8 -2
  321. package/src/components/page/config/index.js +28 -0
  322. package/src/components/page/config/masterLocation/masterLocationConfig/action/index.js +11 -0
  323. package/src/components/page/{inner/lpnPutAway//344/270/212/346/236/266/347/247/273/345/212/250.md → config/masterLocation/masterLocationConfig/action/index.less} +0 -0
  324. package/src/components/page/config/masterLocation/masterLocationConfig/action/index.vue +793 -0
  325. package/src/components/page/config/masterLocation/masterLocationConfig/index/index.js +11 -0
  326. package/src/components/page/{outbound/bale/components/mainPage//351/241/265/351/235/242/345/244/226/346/241/206/347/273/204/344/273/266.md → config/masterLocation/masterLocationConfig/index/index.less} +0 -0
  327. package/src/components/page/config/masterLocation/masterLocationConfig/index/index.vue +129 -0
  328. package/src/components/page/config/masterLocation/masterLocationConfig//344/270/273/345/272/223/344/275/215/351/205/215/347/275/256.md +0 -0
  329. package/src/components/page/config/masterLocation/masterLocationQuery/action/index.js +18 -0
  330. package/src/components/page/config/masterLocation/masterLocationQuery/action/queryByLocationCode.vue +165 -0
  331. package/src/components/page/config/masterLocation/masterLocationQuery/action/queryBySkuCode.vue +169 -0
  332. package/src/components/page/config/masterLocation/masterLocationQuery/index/index.js +11 -0
  333. package/src/components/page/config/masterLocation/masterLocationQuery/index/index.less +0 -0
  334. package/src/components/page/config/masterLocation/masterLocationQuery/index/index.vue +114 -0
  335. package/src/components/page/config/masterLocation/masterLocationQuery//344/270/273/345/272/223/344/275/215/346/237/245/350/257/242.md +0 -0
  336. package/src/components/page/config/masterLocation//344/270/273/345/272/223/344/275/215.md +0 -0
  337. package/src/components/page/{inbound → config}/newProject/action/index.js +0 -0
  338. package/src/components/page/config/newProject/action/index.less +0 -0
  339. package/src/components/page/{inbound → config}/newProject/action/index.vue +569 -451
  340. package/src/components/page/{inbound → config}/newProject/index/index.js +0 -0
  341. package/src/components/page/config/newProject/index/index.less +0 -0
  342. package/src/components/page/{inbound → config}/newProject/index/index.vue +6 -6
  343. package/src/components/page/config/newProject//346/226/260/345/223/201/351/205/215/347/275/256.md +0 -0
  344. package/src/components/page/count/components/CountBoard.vue +12 -7
  345. package/src/components/page/count/components/RandomCount.vue +38 -24
  346. package/src/components/page/count/console/components/itemContent.vue +74 -0
  347. package/src/components/page/count/console/components/itemHeader.vue +61 -0
  348. package/src/components/page/count/console/components/lookTaskContentPopup.vue +180 -0
  349. package/src/components/page/count/console/components/overTaskPopup.vue +108 -0
  350. package/src/components/page/count/console/components/randomCountItem.vue +146 -0
  351. package/src/components/page/count/console/components/taskItem.vue +87 -0
  352. package/src/components/page/count/console/index/index.js +11 -0
  353. package/src/components/page/count/console/index/index.vue +922 -0
  354. package/src/components/page/count/console/index//347/233/230/347/202/271/346/216/247/345/210/266/345/217/260.md +0 -0
  355. package/src/components/page/count/index.js +4 -0
  356. package/src/components/page/count/inv/action/index.vue +113 -37
  357. package/src/components/page/count/inv/index/index.vue +27 -17
  358. package/src/components/page/count/loc/action/index.vue +89 -74
  359. package/src/components/page/count/loc/index/index.vue +18 -12
  360. package/src/components/page/count//347/233/230/347/202/271.md +0 -0
  361. package/src/components/page/inbound/components/AllocReceiveResult.vue +129 -0
  362. package/src/components/page/inbound/components/AllocScanListItem.vue +159 -0
  363. package/src/components/page/inbound/components/AllocSkuListItem.vue +148 -0
  364. package/src/components/page/inbound/components/AsnInfo.vue +108 -31
  365. package/src/components/page/inbound/components/AsnSkuInfo.vue +42 -7
  366. package/src/components/page/inbound/components/QualityCard.vue +552 -171
  367. package/src/components/page/inbound/components/QualityTaskInfo.vue +12 -12
  368. package/src/components/page/inbound/components/SearchBar.vue +85 -0
  369. package/src/components/page/inbound/components/SkuReceiveInfo.vue +69 -0
  370. package/src/components/page/inbound/components/SnsList.vue +10 -6
  371. package/src/components/page/inbound/components/SortingAsnInfo.vue +243 -0
  372. package/src/components/page/inbound/components/SortingBoxInfo.vue +118 -0
  373. package/src/components/page/inbound/components/printLabelPopup.vue +353 -0
  374. package/src/components/page/inbound/index.js +19 -5
  375. package/src/components/page/inbound/receive/home/index.vue +105 -20
  376. package/src/components/page/inbound/receive/index/index.vue +28 -16
  377. package/src/components/page/inbound/receive/printLabel/index.js +10 -0
  378. package/src/components/page/inbound/receive/printLabel/index.vue +209 -0
  379. package/src/components/page/inbound/receive/printLabel//346/211/223/345/215/260/346/240/207/347/255/276.md +0 -0
  380. package/src/components/page/inbound/receive/quality/LwInboundQualityExecutePage.vue +101 -69
  381. package/src/components/page/inbound/receive/quality/LwInboundQualityTaskListPage.vue +52 -21
  382. package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSkuExecutePage.vue +598 -0
  383. package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocSnExecutePage.vue +235 -0
  384. package/src/components/page/inbound/receive/receive-alloc/LwInboundReceiveAllocTabListPage.vue +247 -0
  385. package/src/components/page/inbound/receive/receive-alloc/index.js +19 -0
  386. package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseExecutePage.vue +327 -0
  387. package/src/components/page/inbound/receive/receive-case/LwInboundReceiveCaseScanPage.vue +92 -0
  388. package/src/components/page/inbound/receive/receive-case/index.js +16 -0
  389. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnBatchExecutePage.vue +385 -0
  390. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnExecutePage.vue +222 -0
  391. package/src/components/page/inbound/receive/receive-lpn/LwInboundReceiveLpnScanPage.vue +80 -0
  392. package/src/components/page/inbound/receive/receive-lpn/index.js +19 -0
  393. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuExecutePage.vue +345 -0
  394. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuScanPage.vue +111 -0
  395. package/src/components/page/inbound/receive/receive-random/LwInboundReceiveRandomSkuSnExecutePage.vue +345 -0
  396. package/src/components/page/inbound/receive/receive-random/index.js +19 -0
  397. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuAdvancePage.vue +130 -78
  398. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuDirectPage.vue +149 -90
  399. package/src/components/page/inbound/receive/receive-sku/LwInboundReceiveSkuScanPage.vue +66 -54
  400. package/src/components/page/inbound/sorting/LwInboundSortingAsnPage.vue +81 -0
  401. package/src/components/page/inbound/sorting/LwInboundSortingByContainerPage.vue +588 -0
  402. package/src/components/page/inbound/sorting/LwInboundSortingByOrderPage.vue +548 -0
  403. package/src/components/page/inbound/sorting/LwInboundSortingIndexPage.vue +59 -0
  404. package/src/components/page/inbound/sorting/index.js +22 -0
  405. package/src/components/page/inbound/sorting//345/210/206/346/213/243.md +0 -0
  406. package/src/components/page/inbound/unload/action/index.js +11 -0
  407. package/src/components/page/inbound/unload/action/index.vue +557 -0
  408. package/src/components/page/inbound/unload/add/index.js +11 -0
  409. package/src/components/page/inbound/unload/add/index.vue +308 -0
  410. package/src/components/page/inbound/unload/index/index.js +11 -0
  411. package/src/components/page/inbound/unload/index/index.vue +159 -0
  412. package/src/components/page/inbound/unload/index.js +15 -0
  413. package/src/components/page/inbound/unload//345/215/270/350/264/247.md +0 -0
  414. package/src/components/page/inbound/util/InboundUtils.js +72 -0
  415. package/src/components/page/index.js +8 -0
  416. package/src/components/page/inner/abnormalMove/index/index.vue +9 -11
  417. package/src/components/page/inner/borrow/action/index.js +11 -0
  418. package/src/components/page/inner/borrow/action/index.vue +875 -0
  419. package/src/components/page/inner/borrow/index/index.js +11 -0
  420. package/src/components/page/inner/borrow/index/index.vue +249 -0
  421. package/src/components/page/inner/borrow//345/200/237/344/273/266.md +0 -0
  422. package/src/components/page/inner/caseQuickMove/index/index.js +11 -0
  423. package/src/components/page/inner/caseQuickMove/index/index.vue +431 -0
  424. package/src/components/page/inner/caseQuickMove//351/232/217/346/234/272/345/277/253/351/200/237/347/247/273/345/212/250-/346/225/264/347/256/261.md +0 -0
  425. package/src/components/page/inner/check/action/action.vue +867 -0
  426. package/src/components/page/inner/check/action/index.js +11 -0
  427. package/src/components/page/inner/dead/components/abnPopup.vue +83 -0
  428. package/src/components/page/inner/dead/components/bagItem.vue +110 -0
  429. package/src/components/page/inner/dead/components/boxListItem.vue +135 -0
  430. package/src/components/page/inner/dead/components/dataInfo.vue +94 -0
  431. package/src/components/page/inner/dead/components/lackPopup.vue +190 -0
  432. package/src/components/page/inner/dead/components/lpnListItem.vue +115 -0
  433. package/src/components/page/inner/dead/components/taskItem.vue +621 -0
  434. package/src/components/page/inner/dead/components/waitOverLpn.vue +74 -0
  435. package/src/components/page/inner/dead/large/index.js +11 -0
  436. package/src/components/page/inner/dead/large/index.vue +381 -0
  437. package/src/components/page/inner/dead/large//344/270/255/345/244/247/344/273/266 - /346/211/223/346/211/230.md +0 -0
  438. package/src/components/page/inner/dead/putaway/action/index.js +11 -0
  439. package/src/components/page/inner/dead/putaway/action/index.vue +131 -0
  440. package/src/components/page/inner/dead/putaway/components/collapseItem.vue +128 -0
  441. package/src/components/page/inner/dead/putaway/index/index.js +11 -0
  442. package/src/components/page/inner/dead/putaway/index/index.vue +63 -0
  443. package/src/components/page/inner/dead/putaway//345/221/206/346/273/236/345/223/201/344/270/212/346/236/266.md +0 -0
  444. package/src/components/page/inner/dead/query/action/action.vue +809 -0
  445. package/src/components/page/inner/dead/query/action/index.js +11 -0
  446. package/src/components/page/inner/dead/query/index/index.js +11 -0
  447. package/src/components/page/inner/dead/query/index/index.vue +130 -0
  448. package/src/components/page/inner/dead/small/index.js +11 -0
  449. package/src/components/page/inner/dead/small/index.vue +670 -0
  450. package/src/components/page/inner/dead/small//345/260/217/344/273/266 - /350/243/205/347/256/261.md +0 -0
  451. package/src/components/page/inner/dead/taskEntrance/index.js +11 -0
  452. package/src/components/page/inner/dead/taskEntrance/index.vue +49 -0
  453. package/src/components/page/inner/dead/taskEntrance//344/273/273/345/212/241/345/205/245/345/217/243/351/241/265/351/235/242.md +0 -0
  454. package/src/components/page/inner/dead//345/221/206/346/273/236/345/223/201/346/225/264/347/220/206.md +0 -0
  455. package/src/components/page/inner/disposeAbnormal/action/index.vue +151 -41
  456. package/src/components/page/inner/disposeAbnormal/components/abnInfo/index.vue +60 -56
  457. package/src/components/page/inner/disposeAbnormal/components/disposePopup/index.vue +98 -19
  458. package/src/components/page/inner/disposeAbnormal/components/listItem/index.vue +12 -12
  459. package/src/components/page/inner/disposeAbnormal/components/searchBar/index.vue +13 -13
  460. package/src/components/page/inner/disposeAbnormal/index/index.vue +16 -5
  461. package/src/components/page/inner/fragQuickMove/action/index.js +11 -0
  462. package/src/components/page/inner/fragQuickMove/action/index.vue +498 -0
  463. package/src/components/page/inner/fragQuickMove/index/index.js +11 -0
  464. package/src/components/page/inner/fragQuickMove/index/index.vue +222 -0
  465. package/src/components/page/inner/fragQuickMove//351/232/217/346/234/272/345/277/253/351/200/237/347/247/273/345/212/250-/351/233/266/346/225/243.md +0 -0
  466. package/src/components/page/inner/index.js +87 -2
  467. package/src/components/page/inner/lpnMove/action/index.vue +25 -3
  468. package/src/components/page/inner/materialApply/action/index.js +2 -2
  469. package/src/components/page/inner/materialApply/action/index.vue +14 -22
  470. package/src/components/page/inner/materialApply/generate/index.js +2 -2
  471. package/src/components/page/inner/materialApply/generate/index.vue +12 -3
  472. package/src/components/page/inner/movePutAway/index/index.vue +5 -5
  473. package/src/components/page/inner/quality/action/index.js +11 -0
  474. package/src/components/page/inner/quality/action/index.vue +713 -0
  475. package/src/components/page/inner/quality/components/lookData.vue +114 -0
  476. package/src/components/page/inner/quality/components/sampleInfo.vue +62 -0
  477. package/src/components/page/inner/quality/sample/index.js +11 -0
  478. package/src/components/page/inner/quality/sample/index.vue +418 -0
  479. package/src/components/page/inner/quality/sample//346/212/275/346/243/200.md +0 -0
  480. package/src/components/page/inner/quality//350/264/250/346/243/200.md +0 -0
  481. package/src/components/page/inner/randomMove/components/Down/index.vue +129 -35
  482. package/src/components/page/inner/randomMove/components/Up/index.vue +191 -51
  483. package/src/components/page/inner/randomMove/index/index.vue +123 -10
  484. package/src/components/page/inner/reportAbnormal/action/index.vue +2 -4
  485. package/src/components/page/inner/reportAbnormal/index/index.vue +1 -1
  486. package/src/components/page/inner/taskMove/index/index.vue +596 -98
  487. package/src/components/page/inner/taskMove/whole/MoveRandomWholeCase.vue +459 -0
  488. package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseDown.vue +328 -0
  489. package/src/components/page/inner/taskMove/whole/MoveTaskWholeCaseUp.vue +282 -0
  490. package/src/components/page/inner/taskMove/whole/MoveTaskWholeIndex.vue +519 -0
  491. package/src/components/page/inner/taskMove/whole/index.js +22 -0
  492. package/src/components/page/inventory/index.js +17 -0
  493. package/src/components/page/inventory/inventoryItem/index.vue +199 -0
  494. package/src/components/page/inventory/inventoryLotPage/index.vue +209 -0
  495. package/src/components/page/inventory/queryInventory/index/index.js +11 -0
  496. package/src/components/page/inventory/queryInventory/index/index.less +0 -0
  497. package/src/components/page/inventory/queryInventory/index/index.vue +368 -0
  498. package/src/components/page/inventory/queryInventory/page/index.js +11 -0
  499. package/src/components/page/inventory/queryInventory/page/index.less +0 -0
  500. package/src/components/page/inventory/queryInventory/page/index.vue +662 -0
  501. package/src/components/page/outbound/bale/aloneBale/action/index.vue +814 -110
  502. package/src/components/page/outbound/bale/aloneBale/index/index.vue +99 -8
  503. package/src/components/page/outbound/bale/aloneBale/newBale/index.vue +36 -3
  504. package/src/components/page/outbound/bale/baleChange/action/index.js +11 -0
  505. package/src/components/page/outbound/bale/baleChange/action/index.vue +604 -0
  506. package/src/components/page/outbound/bale/baleChange/index/index.js +11 -0
  507. package/src/components/page/outbound/bale/baleChange/index/index.vue +67 -0
  508. package/src/components/page/outbound/bale/baleChange/skuCheck/index.js +11 -0
  509. package/src/components/page/outbound/bale/baleChange/skuCheck/index.vue +351 -0
  510. package/src/components/page/outbound/bale/baleChange//346/215/206/345/214/205/347/256/261/350/260/203/346/225/264.md +0 -0
  511. package/src/components/page/outbound/bale/checkBale/action/index.vue +371 -649
  512. package/src/components/page/outbound/bale/checkBale/allCheck/index.vue +36 -20
  513. package/src/components/page/outbound/bale/checkBale/index/index.vue +52 -14
  514. package/src/components/page/outbound/bale/checkBale/newBale/index.vue +29 -6
  515. package/src/components/page/outbound/bale/components/allBlock/index.vue +5 -5
  516. package/src/components/page/outbound/bale/components/checkPackConfig/index.vue +177 -0
  517. package/src/components/page/outbound/bale/components/checkPackConfig//345/275/223/345/211/215/346/215/206/345/214/205/345/217/260.md +0 -0
  518. package/src/components/page/outbound/bale/components/containerInfo/index.vue +43 -38
  519. package/src/components/page/outbound/bale/components/containerSkuQty/index.vue +3 -3
  520. package/src/components/page/outbound/bale/components/containerSkuQty//345/275/223/345/211/215/346/215/206/345/214/205/345/256/271/345/231/250/345/217/212/345/223/201/347/247/215/346/225/260.md +1 -0
  521. package/src/components/page/outbound/bale/components/delSku/index.vue +317 -0
  522. package/src/components/page/outbound/bale/components/delSku//345/211/224/351/231/244/345/225/206/345/223/201/345/274/271/346/241/206.md +0 -0
  523. package/src/components/page/outbound/bale/components/partBlock/index.vue +17 -13
  524. package/src/components/page/outbound/bale/components/planCollapse/index.vue +21 -25
  525. package/src/components/page/outbound/bale/components/repeatCheck/index.vue +101 -0
  526. package/src/components/page/outbound/bale/components/repeatCheck//351/207/215/346/226/260/345/244/215/346/240/270/345/274/271/346/241/206.md +0 -0
  527. package/src/components/page/outbound/bale/components/storeInfo/index.vue +9 -9
  528. package/src/components/page/outbound/bale/components/storeInfoSkuList/index.vue +42 -15
  529. package/src/components/page/outbound/bale/components/suggestMaterial/index.vue +107 -0
  530. package/src/components/page/outbound/bale/components/suggestMaterial//346/216/250/350/215/220/345/214/205/346/235/220/346/212/230/345/217/240/346/240/217.md +0 -0
  531. package/src/components/page/outbound/bale/components//346/215/206/345/214/205/344/275/277/347/224/250/347/232/204/347/273/204/344/273/266.md +0 -0
  532. package/src/components/page/outbound/bale/mixins.js +236 -0
  533. package/src/components/page/outbound/bale//346/215/206/345/214/205/347/233/270/345/205/263/351/241/265/351/235/242-/345/244/215/346/240/270/346/215/206/345/214/205-/347/213/254/347/253/213/346/215/206/345/214/205-/346/215/206/345/214/205/347/256/261/350/260/203/346/225/264.md +0 -0
  534. package/src/components/page/outbound/block/LwOutboundBlockBoxListPage.vue +67 -0
  535. package/src/components/page/outbound/block/LwOutboundBlockExecutePage.vue +316 -0
  536. package/src/components/page/outbound/block/components/BlockInfo.vue +56 -0
  537. package/src/components/page/outbound/block/index.js +16 -0
  538. package/src/components/page/outbound/block//345/207/272/345/272/223/346/213/246/346/210/252.txt +0 -0
  539. package/src/components/page/outbound/boxTransfer/action/index.js +11 -0
  540. package/src/components/page/outbound/boxTransfer/action/index.vue +214 -0
  541. package/src/components/page/outbound/boxTransfer/index/index.js +11 -0
  542. package/src/components/page/outbound/boxTransfer/index/index.vue +174 -0
  543. package/src/components/page/outbound/boxTransfer//346/273/236/347/225/231/344/273/266/350/275/254/345/255/230.md +0 -0
  544. package/src/components/page/outbound/delivery/action/index.vue +383 -245
  545. package/src/components/page/outbound/delivery/addOrder/index.vue +24 -24
  546. package/src/components/page/outbound/delivery/components/boxItem/index.vue +68 -32
  547. package/src/components/page/outbound/delivery/components/orderContent/index.vue +97 -63
  548. package/src/components/page/outbound/delivery/components/orderContentTitle/index.vue +400 -114
  549. package/src/components/page/outbound/delivery/components/soAndLpnItem/index.vue +86 -48
  550. package/src/components/page/outbound/delivery/index/index.vue +63 -12
  551. package/src/components/page/outbound/handover/components/boxInfo.vue +51 -0
  552. package/src/components/page/outbound/handover/components/boxNumList.vue +158 -0
  553. package/src/components/page/outbound/handover/components/collapseItem.vue +136 -0
  554. package/src/components/page/outbound/handover/components/customerAndLine.vue +179 -0
  555. package/src/components/page/outbound/handover/components/customerList.vue +94 -0
  556. package/src/components/page/outbound/handover/components/lineInfo.vue +129 -0
  557. package/src/components/page/outbound/handover/components/lpnListItem.vue +119 -0
  558. package/src/components/page/outbound/handover/components/nowScan.vue +59 -0
  559. package/src/components/page/outbound/handover/components/pageBox.vue +524 -0
  560. package/src/components/page/outbound/handover/components/storeInfo.vue +128 -0
  561. package/src/components/page/outbound/handover/customer/index.js +11 -0
  562. package/src/components/page/outbound/handover/customer/index.vue +34 -0
  563. package/src/components/page/outbound/handover/index/index.js +11 -0
  564. package/src/components/page/outbound/handover/index/index.vue +220 -0
  565. package/src/components/page/outbound/handover/line/index.js +11 -0
  566. package/src/components/page/outbound/handover/line/index.vue +32 -0
  567. package/src/components/page/outbound/handover/lpn/index.js +11 -0
  568. package/src/components/page/outbound/handover/lpn/index.vue +262 -0
  569. package/src/components/page/outbound/handover/mixin.js +207 -0
  570. package/src/components/page/outbound/handover//345/207/272/345/272/223/344/272/244/346/216/245.md +0 -0
  571. package/src/components/page/outbound/index.js +68 -0
  572. package/src/components/page/outbound/lpnPack/action/index.js +11 -0
  573. package/src/components/page/outbound/lpnPack/action/index.vue +437 -0
  574. package/src/components/page/outbound/lpnPack/components/boxItem.vue +90 -0
  575. package/src/components/page/outbound/lpnPack/components/lpnActionInfo.vue +132 -0
  576. package/src/components/page/outbound/lpnPack/components/lpnItem.vue +126 -0
  577. package/src/components/page/outbound/lpnPack/index/index.js +11 -0
  578. package/src/components/page/outbound/lpnPack/index/index.vue +304 -0
  579. package/src/components/page/outbound/lpnPack/newLpnPack/index.js +11 -0
  580. package/src/components/page/outbound/lpnPack/newLpnPack/index.vue +95 -0
  581. package/src/components/page/outbound/lpnPack/newLpnPack//346/226/260/346/211/223/346/211/230.md +0 -0
  582. package/src/components/page/outbound/lpnPack/over/index.js +11 -0
  583. package/src/components/page/outbound/lpnPack/over/index.vue +114 -0
  584. package/src/components/page/outbound/lpnPack/over//345/267/262/346/211/223/346/211/230.md +0 -0
  585. package/src/components/page/outbound/lpnPack//346/211/223/346/211/230.md +0 -0
  586. package/src/components/page/outbound/packCollect/components/containerInfo.vue +108 -0
  587. package/src/components/page/outbound/packCollect/index/index.js +11 -0
  588. package/src/components/page/outbound/packCollect/index/index.vue +192 -0
  589. package/src/components/page/outbound/packCollect//351/233/206/350/264/247/346/215/206/345/214/205.md +0 -0
  590. package/src/components/page/outbound/pick/alone/index.vue +108 -54
  591. package/src/components/page/outbound/pick/box/index.vue +61 -44
  592. package/src/components/page/outbound/pick/components/dataLookAndChange/index.vue +100 -139
  593. package/src/components/page/outbound/pick/components/skuLocationInfo/index.vue +13 -12
  594. package/src/components/page/outbound/pick/components/sowList.vue +190 -0
  595. package/src/components/page/outbound/pick/components/splitPutDown/index.vue +13 -13
  596. package/src/components/page/outbound/pick/components/taskInfo.vue +129 -0
  597. package/src/components/page/outbound/pick/index/index.vue +80 -125
  598. package/src/components/page/outbound/pick/lpn/index.vue +57 -36
  599. package/src/components/page/outbound/pick/mixin/all.js +14 -16
  600. package/src/components/page/outbound/pick/mixin/aloneAndNotAlone.js +13 -13
  601. package/src/components/page/outbound/pick/notAlone/index.vue +229 -61
  602. package/src/components/page/outbound/pick/sow/index.js +11 -0
  603. package/src/components/page/outbound/pick/sow/index.vue +1387 -0
  604. package/src/components/page/outbound/pick/sow//350/276/271/346/213/243/350/276/271/345/210/206.md +0 -0
  605. package/src/components/page/outbound/pickContainer/action/index.js +11 -0
  606. package/src/components/page/outbound/pickContainer/action/index.vue +219 -0
  607. package/src/components/page/outbound/pickContainer/index/index.js +11 -0
  608. package/src/components/page/outbound/pickContainer/index/index.vue +63 -0
  609. package/src/components/page/outbound/pickContainer//346/213/243/351/200/211/345/256/271/345/231/250/346/237/245/350/257/242.md +0 -0
  610. package/src/components/page/outbound/pickMerge/action/index.vue +37 -37
  611. package/src/components/page/outbound/pickMerge/components/containerInfo/index.vue +6 -6
  612. package/src/components/page/outbound/pickMerge/components/finishPopup/index.vue +4 -4
  613. package/src/components/page/outbound/pickMerge/components/skuInfo/index.vue +6 -6
  614. package/src/components/page/outbound/pickMerge/content/index.vue +24 -15
  615. package/src/components/page/outbound/pickMerge/index/index.vue +4 -4
  616. package/src/components/page/outbound/reprint-box/LwOutboundReprintBoxListPage.vue +203 -0
  617. package/src/components/page/outbound/reprint-box/collapseItem.vue +71 -0
  618. package/src/components/page/outbound/reprint-box/index.js +13 -0
  619. package/src/components/page/outbound/reprint-box//347/256/261/347/245/250/350/241/245/346/211/223.txt +0 -0
  620. package/src/components/page/outbound/sow/action/index.vue +173 -136
  621. package/src/components/page/outbound/sow/components/sowLocationList/index.vue +23 -9
  622. package/src/components/page/outbound/sow/components/sowLotItem/index.vue +142 -0
  623. package/src/components/page/outbound/sow/components/sowLotItem//346/222/255/347/247/215/346/211/271/346/254/241/344/277/241/346/201/257.md +0 -0
  624. package/src/components/page/outbound/sow/components/waitSowCollapse/index.vue +4 -4
  625. package/src/components/page/outbound/sow/index/index.vue +155 -130
  626. package/src/components/page/outbound/sowCollect/index/index.js +11 -0
  627. package/src/components/page/outbound/sowCollect/index/index.vue +234 -0
  628. package/src/components/page/outbound/sowCollect//346/222/255/347/247/215/351/233/206/350/264/247.md +0 -0
  629. package/src/components/page/outbound/stockout/LwOutboundStockoutExecutePage.vue +108 -0
  630. package/src/components/page/outbound/stockout/LwOutboundStockoutListPage.vue +103 -0
  631. package/src/components/page/outbound/stockout/components/StockoutInfo.vue +42 -0
  632. package/src/components/page/outbound/stockout/index.js +16 -0
  633. package/src/components/page/outbound/stockout//347/274/272/350/264/247.txt +0 -0
  634. package/src/components/page/outbound/summary/box/index/index.vue +43 -40
  635. package/src/components/page/outbound/summary/lpn/action/index.vue +13 -12
  636. package/src/components/page/outbound/summary/lpn/index/index.vue +5 -0
  637. package/src/components/page/process/index.js +25 -0
  638. package/src/components/page/process/prepare/index.js +11 -0
  639. package/src/components/page/process/prepare/index.vue +770 -0
  640. package/src/components/page/process/process/action/index.js +11 -0
  641. package/src/components/page/process/process/action/index.vue +139 -0
  642. package/src/components/page/process/process/components/FinishView.vue +299 -0
  643. package/src/components/page/process/process/components/craftCollapse.vue +91 -0
  644. package/src/components/page/process/process/components/dockInfo.vue +73 -0
  645. package/src/components/page/process/process/components/dockTaskInfo.vue +172 -0
  646. package/src/components/page/process/process/components/overCollapse.vue +385 -0
  647. package/src/components/page/process/process/components/rawCollapse.vue +82 -0
  648. package/src/components/page/process/process/components/stopPopup.vue +108 -0
  649. package/src/components/page/process/process/console/index.js +11 -0
  650. package/src/components/page/process/process/console/index.vue +238 -0
  651. package/src/components/page/process/process/content/index.js +11 -0
  652. package/src/components/page/process/process/content/index.vue +340 -0
  653. package/src/components/page/process/process/index/index.js +11 -0
  654. package/src/components/page/process/process/index/index.vue +71 -0
  655. package/src/components/page/process/screen/display/index.js +11 -0
  656. package/src/components/page/process/screen/display/index.vue +163 -0
  657. package/src/components/page/process/screen/index/index.js +11 -0
  658. package/src/components/page/process/screen/index/index.vue +76 -0
  659. package/src/components/page/process//345/212/240/345/267/245.md +0 -0
  660. package/src/components/page/receive/index.js +6 -2
  661. package/src/components/page/receive/putaway/caseAction/index.js +9 -0
  662. package/src/components/page/receive/putaway/caseAction/index.vue +548 -0
  663. package/src/components/page/receive/putaway/components/CaseInfo/index.vue +184 -0
  664. package/src/components/page/receive/putaway/components/SkuInfo/index.vue +152 -92
  665. package/src/components/page/receive/putaway/components/SkuPutAwayInfo/index.vue +5 -5
  666. package/src/components/page/receive/putaway/components/TaskInfo/index.vue +89 -35
  667. package/src/components/page/receive/putaway/components/lpnBatchItem.vue +112 -0
  668. package/src/components/page/receive/putaway/components/overPutawayItem.vue +119 -0
  669. package/src/components/page/receive/putaway/index/index.vue +387 -90
  670. package/src/components/page/receive/putaway/lpnAction/index.vue +42 -12
  671. package/src/components/page/receive/putaway/lpnBatchAction/index.js +11 -0
  672. package/src/components/page/receive/putaway/lpnBatchAction/index.vue +213 -0
  673. package/src/components/page/receive/putaway/lpnBatchAction//346/225/264/346/211/230/347/233/230/346/211/271/351/207/217/344/270/212/346/236/266.md +0 -0
  674. package/src/components/page/receive/putaway/skuAction/index.vue +274 -27
  675. package/src/components/page/receive/receipt/action/index.vue +60 -44
  676. package/src/components/page/receive/receipt/index/index.vue +11 -3
  677. package/src/components/ui/BottomBar/index.vue +35 -5
  678. package/src/components/ui/BottomBar//345/272/225/351/203/250/345/233/272/345/256/232/346/240/217.md +1 -1
  679. package/src/components/ui/BottomBarBtnHidden/index.vue +1 -1
  680. package/src/components/ui/BottomBarBtnHidden//345/272/225/351/203/250/346/214/211/351/222/256/346/240/217/351/232/220/350/227/217/345/244/232/344/275/231/346/214/211/351/222/256.md +1 -0
  681. package/src/components/ui/Button/index.vue +8 -8
  682. package/src/components/ui/Button//346/214/211/351/222/256.md +1 -1
  683. package/src/components/ui/CarPlate/index.vue +208 -85
  684. package/src/components/ui/Cell/index.vue +2 -2
  685. package/src/components/ui/Cell//345/215/225/345/205/203/346/240/274.md +1 -1
  686. package/src/components/ui/CellPopupCheckbox/index.js +11 -0
  687. package/src/components/ui/CellPopupCheckbox/index.vue +158 -0
  688. package/src/components/ui/CellPopupCheckbox//350/241/214/345/212/240/345/244/232/351/200/211/345/274/271/345/207/272/346/241/206.md +0 -0
  689. package/src/components/ui/CellPopupDate/index.vue +62 -12
  690. package/src/components/ui/CellPopupSelect/index.js +11 -0
  691. package/src/components/ui/CellPopupSelect/index.vue +303 -0
  692. package/src/components/ui/CellPopupSelect//345/215/225/345/205/203/350/241/214/345/212/240/351/200/211/346/213/251/345/231/250.md +1 -0
  693. package/src/components/ui/DataLookBg/index.vue +72 -42
  694. package/src/components/ui/DataLookBg//346/225/260/346/215/256/347/234/213/346/235/277.md +1 -0
  695. package/src/components/ui/ErrorMsg/index.vue +1 -1
  696. package/src/components/ui/ErrorMsg//351/224/231/350/257/257/346/217/220/347/244/272/346/241/206.md +1 -1
  697. package/src/components/ui/Form//350/241/250/345/215/225.md +1 -1
  698. package/src/components/ui/ImgLook/index.vue +13 -4
  699. package/src/components/ui/ImgLook//345/233/276/347/211/207/346/237/245/347/234/213.md +1 -1
  700. package/src/components/ui/ImgUpload/imgUploadAxios.js +37 -37
  701. package/src/components/ui/ImgUpload/index.vue +1 -1
  702. package/src/components/ui/ImgUpload/request.js +39 -39
  703. package/src/components/ui/ImgUpload//345/233/276/347/211/207/344/270/212/344/274/240.md +1 -1
  704. package/src/components/ui/Input/index.vue +84 -71
  705. package/src/components/ui/Loading/index.js +1 -1
  706. package/src/components/ui/Loading//345/212/240/350/275/275/346/241/206.md +1 -1
  707. package/src/components/ui/MenuItem//350/217/234/345/215/225/351/241/271.md +1 -1
  708. package/src/components/ui/NavBar/index.vue +4 -4
  709. package/src/components/ui/NotData/index.vue +9 -3
  710. package/src/components/ui/NotData//347/251/272/346/225/260/346/215/256/347/212/266/346/200/201.md +1 -1
  711. package/src/components/ui/NoticeBar/index.js +88 -0
  712. package/src/components/ui/NoticeBar/index.vue +98 -0
  713. package/src/components/ui/NoticeBar//351/200/232/347/237/245/346/240/217.md +0 -0
  714. package/src/components/ui/Pages/index.vue +7 -6
  715. package/src/components/ui/Pages//345/210/206/351/241/265/351/241/265/347/240/201.md +1 -1
  716. package/src/components/ui/Pagination/index.js +11 -0
  717. package/src/components/ui/Pagination/index.vue +274 -0
  718. package/src/components/ui/Pagination//345/210/206/351/241/265V2.md +1 -0
  719. package/src/components/ui/Popup/index.vue +4 -7
  720. package/src/components/ui/Popup//345/274/271/345/207/272/345/261/202.md +1 -1
  721. package/src/components/ui/PopupCheckbox/index.vue +27 -6
  722. package/src/components/ui/PopupCheckbox//345/244/232/351/200/211/345/274/271/346/241/206.md +1 -1
  723. package/src/components/ui/PopupRadio//345/215/225/351/200/211/345/274/271/346/241/206.md +1 -1
  724. package/src/components/ui/TabBar/index.vue +1 -1
  725. package/src/components/ui/Table//350/241/250/346/240/274.md +1 -1
  726. package/src/components/ui/Tag/index.vue +11 -11
  727. package/src/components/ui/Tag//346/240/207/347/255/276.md +1 -1
  728. package/src/components/ui/TitleValueCell/index.vue +36 -7
  729. package/src/components/ui/TitleValueCell//346/240/207/351/242/230/345/200/274/350/241/214.md +2 -0
  730. package/src/components/ui/index.js +9 -1
  731. package/src/mixins/loginAndInit/index.js +7 -3
  732. package/src/router/index.js +497 -7
  733. package/src/router/menu.js +435 -48
  734. package/src/test/file/index.js +1 -1
  735. package/src/utils/ApiUtils.js +17 -6
  736. package/src/utils/AppBack.js +6 -7
  737. package/src/utils/AppPower.js +736 -183
  738. package/src/utils/Axios.js +38 -4
  739. package/src/utils/BarcodeResolve.js +53 -12
  740. package/src/utils/DateTime.js +23 -8
  741. package/src/utils/DeepCopy.js +1 -1
  742. package/src/utils/Dialog.js +74 -0
  743. package/src/utils/Dict.js +31 -15
  744. package/src/utils/GetImgSrc.js +1 -0
  745. package/src/utils/Language.js +50 -22
  746. package/src/utils/LocalStorage.js +41 -5
  747. package/src/utils/Permissions.js +23 -9
  748. package/src/utils/Print.js +128 -75
  749. package/src/utils/README.md +60 -2
  750. package/src/utils/ScanRule.js +23 -134
  751. package/src/utils/SetColor.js +46 -11
  752. package/src/utils/TabBar.js +4 -3
  753. package/src/utils/Timezone.js +183 -0
  754. package/src/utils/Tip.js +6 -6
  755. package/src/utils/UUID.js +19 -19
  756. package/src/utils/Utils.js +34 -0
  757. package/src/utils/Warehouse.js +6 -2
  758. package/src/utils/index.js +12 -3
  759. package/src/utils/windowGlobalData.js +27 -1
  760. package/src/views/common/init/index.vue +20 -3
  761. package/src/views/common/my/timezone.vue +23 -0
  762. package/src/views/common/task/search.vue +23 -0
  763. package/src/views/config/masterLocation/masterLocationConfig/action.vue +23 -0
  764. package/src/views/config/masterLocation/masterLocationConfig/index.vue +23 -0
  765. package/src/views/config/masterLocation/masterLocationQuery/index.vue +23 -0
  766. package/src/views/config/masterLocation/masterLocationQuery/queryByLocationCode.vue +23 -0
  767. package/src/views/config/masterLocation/masterLocationQuery/queryBySkuCode.vue +23 -0
  768. package/src/views/{inbound → config}/newProject/action.vue +0 -0
  769. package/src/views/{inbound → config}/newProject/index.vue +0 -0
  770. package/src/views/count/console.vue +23 -0
  771. package/src/views/count/index.vue +2 -2
  772. package/src/views/inbound/quality/InboundQualityExecuteView.vue +2 -2
  773. package/src/views/inbound/quality/InboundQualityTaskListView.vue +2 -2
  774. package/src/views/inbound/receive/alloc/InboundReceiveAllocSkuExecuteView.vue +13 -0
  775. package/src/views/inbound/receive/alloc/InboundReceiveAllocSnExecuteView.vue +13 -0
  776. package/src/views/inbound/receive/alloc/InboundReceiveAllocTabListView.vue +13 -0
  777. package/src/views/inbound/receive/case/InboundReceiveCaseExecuteView.vue +13 -0
  778. package/src/views/inbound/receive/case/InboundReceiveCaseScanView.vue +13 -0
  779. package/src/views/inbound/receive/lpn/InboundReceiveLpnBatchExecuteView.vue +13 -0
  780. package/src/views/inbound/receive/lpn/InboundReceiveLpnExecuteView.vue +13 -0
  781. package/src/views/inbound/receive/lpn/InboundReceiveLpnScanView.vue +13 -0
  782. package/src/views/inbound/receive/printLabel.vue +23 -0
  783. package/src/views/inbound/receive/random/InboundReceiveRandomSkuExecuteView.vue +13 -0
  784. package/src/views/inbound/receive/random/InboundReceiveRandomSkuScanView.vue +13 -0
  785. package/src/views/inbound/receive/random/InboundReceiveRandomSkuSnExecuteView.vue +13 -0
  786. package/src/views/inbound/receive/sku/InboundReceiveSkuAdvanceView.vue +1 -1
  787. package/src/views/inbound/receive/sku/InboundReceiveSkuDirectView.vue +1 -1
  788. package/src/views/inbound/receive/sku/InboundReceiveSkuScanView.vue +1 -1
  789. package/src/views/inbound/sorting/LwInboundSortingAsnView.vue +16 -0
  790. package/src/views/inbound/sorting/LwInboundSortingByContainerView.vue +16 -0
  791. package/src/views/inbound/sorting/LwInboundSortingByOrderView.vue +16 -0
  792. package/src/views/inbound/sorting/LwInboundSortingIndexView.vue +16 -0
  793. package/src/views/inbound/unload/action.vue +23 -0
  794. package/src/views/inbound/unload/add.vue +23 -0
  795. package/src/views/inbound/unload/index.vue +23 -0
  796. package/src/views/inner/borrow/action.vue +23 -0
  797. package/src/views/inner/borrow/index.vue +23 -0
  798. package/src/views/inner/caseQuickMove/index.vue +23 -0
  799. package/src/views/inner/check/action.vue +23 -0
  800. package/src/views/inner/dead/large.vue +23 -0
  801. package/src/views/inner/dead/putaway/action.vue +23 -0
  802. package/src/views/inner/dead/putaway/index.vue +23 -0
  803. package/src/views/inner/dead/query/action.vue +23 -0
  804. package/src/views/inner/dead/query/index.vue +23 -0
  805. package/src/views/inner/dead/smallPage.vue +23 -0
  806. package/src/views/inner/dead/taskEntrance.vue +23 -0
  807. package/src/views/inner/fragQuickMove/action.vue +23 -0
  808. package/src/views/inner/fragQuickMove/index.vue +23 -0
  809. package/src/views/inner/materialApply/action.vue +2 -2
  810. package/src/views/inner/materialApply/generate.vue +2 -2
  811. package/src/views/inner/quality/action.vue +23 -0
  812. package/src/views/inner/quality/sample.vue +23 -0
  813. package/src/views/inner/taskMove/whole/MoveRandomWholeCaseView.vue +3 -0
  814. package/src/views/inner/taskMove/whole/MoveTaskWholeCaseDownView.vue +3 -0
  815. package/src/views/inner/taskMove/whole/MoveTaskWholeCaseUpView.vue +3 -0
  816. package/src/views/inner/taskMove/whole/MoveTaskWholeIndexView.vue +3 -0
  817. package/src/views/inventory/queryInventory/index.vue +23 -0
  818. package/src/views/inventory/queryInventory/page.vue +23 -0
  819. package/src/views/outbound/baleChange/action.vue +23 -0
  820. package/src/views/outbound/baleChange/index.vue +23 -0
  821. package/src/views/outbound/baleChange/skuCheck.vue +23 -0
  822. package/src/views/outbound/block/OutboundBlockBoxListView.vue +12 -0
  823. package/src/views/outbound/block/OutboundBlockExecuteView.vue +12 -0
  824. package/src/views/outbound/boxTransfer/action.vue +23 -0
  825. package/src/views/outbound/boxTransfer/index.vue +23 -0
  826. package/src/views/outbound/handover/customer.vue +23 -0
  827. package/src/views/outbound/handover/index.vue +23 -0
  828. package/src/views/outbound/handover/line.vue +23 -0
  829. package/src/views/outbound/handover/lpn.vue +23 -0
  830. package/src/views/outbound/lpnPack/action.vue +23 -0
  831. package/src/views/outbound/lpnPack/index.vue +23 -0
  832. package/src/views/outbound/lpnPack/newLpn.vue +23 -0
  833. package/src/views/outbound/lpnPack/over.vue +23 -0
  834. package/src/views/outbound/packCollect/index.vue +23 -0
  835. package/src/views/outbound/pick/sowAction.vue +23 -0
  836. package/src/views/outbound/pickContainer/action.vue +23 -0
  837. package/src/views/outbound/pickContainer/index.vue +23 -0
  838. package/src/views/outbound/reprint-box/LwOutboundReprintBoxView.vue +13 -0
  839. package/src/views/outbound/sowCollect/index.vue +23 -0
  840. package/src/views/outbound/stockout/LwOutboundStockoutExecuteView.vue +12 -0
  841. package/src/views/outbound/stockout/LwOutboundStockoutListView.vue +12 -0
  842. package/src/views/process/action/action.vue +23 -0
  843. package/src/views/process/action/consoleInfo.vue +23 -0
  844. package/src/views/process/action/contentInfo.vue +23 -0
  845. package/src/views/process/action/index.vue +23 -0
  846. package/src/views/process/prepare/index.vue +23 -0
  847. package/src/views/process/screen/display/index.vue +23 -0
  848. package/src/views/process/screen/index/index.vue +23 -0
  849. package/src/views/receive/putaway/caseAction.vue +21 -0
  850. package/src/views/receive/putaway/lpnBatchAction.vue +23 -0
  851. package/dist/logwire-wms-pda-ui.js +0 -7
  852. package/src/assets/img/lwInputIcon/keyboard.png +0 -0
  853. package/src/components/page/outbound/bale/components/containerInfo/img.png +0 -0
  854. package/src/components/page/outbound/bale/components/mainPage/index.vue +0 -620
  855. package/src/components/page/outbound/bale/components/storeInfo/img.png +0 -0
  856. package/src/components/ui/DataLookBg//346/225/260/346/215/256/347/234/213/346/235/277/350/203/214/346/231/257/345/233/276.md +0 -1
@@ -1,183 +1,736 @@
1
-
2
- /*
3
- * app壳子提供的能力
4
- * @author 蔡礼标
5
- * @date 2022-01-19
6
- * */
7
-
8
- export const AppPower = {
9
-
10
- /**
11
- * app 蓝牙打印
12
- * @param template string 模板
13
- * @param data 打印数据--"[{},{}]"
14
- * @returns true|false
15
- */
16
- bluePrint: (template, data) => {
17
- let app = window.App_bluePrint
18
- if (app && typeof (app.bluePrint) == "function") {
19
- return true == app.bluePrint(JSON.stringify({"template": template, "data": data}))
20
- } else {
21
- return false
22
- }
23
- },
24
-
25
-
26
- /**
27
- * 预先连接蓝牙打印 提升打印连接速度
28
- * 可多次调用
29
- * @returns {boolean}
30
- */
31
- bluePrintOpen: () => {
32
- let app = window.App_bluePrint
33
- if (app && typeof (app.bluePrintOpen) == "function") {
34
- return true == app.bluePrintOpen()
35
- } else {
36
- return false
37
- }
38
- },
39
-
40
-
41
- /**
42
- * 关闭蓝牙打印连接
43
- * 可多次调用
44
- * @returns {boolean}
45
- */
46
- bluePrintClose: () => {
47
- let app = window.App_bluePrint
48
- if (app && typeof (app.bluePrintClose) == "function") {
49
- return true == app.bluePrintClose()
50
- } else {
51
- return false
52
- }
53
- },
54
-
55
-
56
- /**
57
- * 一次震动
58
- * @param time
59
- * @returns {boolean}
60
- */
61
- shortVibrate: (time) => {
62
- let app = window.App_vibrate
63
- if (app && typeof (app.shortVibrate) == "function") {
64
- return true == app.shortVibrate(time)
65
- } else {
66
- return false
67
- }
68
- },
69
-
70
-
71
- /**
72
- * 获取UUID
73
- * 示例 shortVibrate(500)
74
- * @returns uuid
75
- */
76
- appUUID: () => {
77
- let app = window.App_uuid
78
- if (app && typeof (app.getUUID) == "function") {
79
- return app.getUUID()
80
- } else {
81
- return false
82
- }
83
- },
84
-
85
-
86
- /**
87
- * 波动震动
88
- * list:0+n*2=停止时间,1+n*2=震动时间
89
- * 示例 longVibrate([50,150,100,150,100,1000])
90
- * @param list
91
- * @returns {boolean}
92
- */
93
- longVibrate: (list) => {
94
- let app = window.App_vibrate
95
-
96
- if (app && typeof (app.waveVibrate) == "function") {
97
- return true == app.waveVibrate(JSON.stringify({"list": list, "repeat": -1}))
98
- } else {
99
- return false
100
- }
101
- },
102
-
103
-
104
- /**
105
- * 语音提示
106
- * 示例 speak("1234567")
107
- */
108
- speak: (data) => {
109
- let app = window.App_tts
110
- if (app && typeof (app.speak) == "function") {
111
- // 大于15个字符就不朗读
112
- if (data.length > 15) return false
113
- return true == app.speak(data)
114
- } else {
115
- return false
116
- }
117
- },
118
-
119
-
120
- // 扫描
121
- scan: () => {
122
- let app = window.App_scan
123
- if (app && typeof (app.scan) == "function") {
124
- return app.scan()
125
- } else {
126
- return null
127
- }
128
- },
129
-
130
-
131
- // 获取图片 多张 默认最多9
132
- getImages: (maxNum) => {
133
- let app = window.App_gallery
134
- if (app && typeof (app.images) == "function") {
135
- let images = app.images(maxNum);
136
- if (images) return JSON.parse(images)
137
- }
138
-
139
- return null
140
- },
141
-
142
-
143
-
144
- /**
145
- * 获取配置信息:环境名
146
- * @returns {string}
147
- */
148
- appHostName:() => {
149
- let app = window.App_config
150
- if(app && typeof (app.getHostName) == "function"){
151
- return app.getHostName()
152
- }else{
153
- return "-"
154
- }
155
- },
156
-
157
- /**
158
- * 获取配置信息:调试模式
159
- * @returns {boolean}
160
- */
161
- appIsDebug:() => {
162
- let app = window.App_config
163
- if(app && typeof (app.isDebug) == "function"){
164
- return true == app.isDebug()
165
- }else{
166
- return false
167
- }
168
- },
169
-
170
- /**
171
- * 获取配置信息:发布类型
172
- * @returns {string}
173
- */
174
- appChannel:() => {
175
- let app = window.App_config
176
- if(app && typeof (app.getChannel) == "function"){
177
- return app.getChannel()
178
- }else{
179
- return ""
180
- }
181
- }
182
-
183
- }
1
+ /*
2
+ * app壳子提供的能力
3
+ * @author 蔡礼标
4
+ * @date 2022-01-19
5
+ * */
6
+
7
+ import {Language} from "./Language";
8
+
9
+ function handleAppExtendResult(result, error, resolve, reject) {
10
+ console.log("----handleAppExtendResult------");
11
+ if (error) {
12
+ reject(error);
13
+ return;
14
+ }
15
+ console.log(result);
16
+ const r = JSON.parse(result);
17
+ if (!r) {
18
+ return reject("result parse error");
19
+ } else if (r.error === true) {
20
+ return reject(false);
21
+ } else {
22
+ return resolve(r.data);
23
+ }
24
+ }
25
+
26
+ export const AppPower = {
27
+
28
+ //----------------- 子web控制
29
+
30
+ /**
31
+ * 创建 子web,返回 key
32
+ * @param url
33
+ * @param title
34
+ * @returns {Promise<unknown>}
35
+ */
36
+ childWebAdd: (url, title = null) => {
37
+ let androidApp = window.androidApp;
38
+ if (androidApp && typeof (androidApp.addChildWeb) == "function") {
39
+ return new Promise(function (resolve, reject) {
40
+ androidApp.addChildWeb(JSON.stringify({url: url, title: title}), function (result, error) {
41
+ handleAppExtendResult(result, error, resolve, reject);
42
+ });
43
+ });
44
+ }
45
+ return new Promise(function (resolve, reject) {
46
+ reject(false);
47
+ });
48
+ },
49
+
50
+ /**
51
+ * 隐藏 已有子web(没有 不处理)
52
+ * @returns {Promise<unknown>}
53
+ */
54
+ childWebHide: () => {
55
+ let androidApp = window.androidApp;
56
+ if (androidApp && typeof (androidApp.hideChildWeb) == "function") {
57
+ return new Promise(function (resolve, reject) {
58
+ androidApp.hideChildWeb(null, function (result, error) {
59
+ handleAppExtendResult(result, error, resolve, reject);
60
+ });
61
+ });
62
+ }
63
+ return new Promise(function (resolve, reject) {
64
+ reject(false);
65
+ });
66
+ },
67
+
68
+ /**
69
+ * 隐藏 已有子web(没有 不处理),同时 显示 新的子web
70
+ * @param key
71
+ * @returns {Promise<unknown>}
72
+ */
73
+ childWebSwitch: (key) => {
74
+ let androidApp = window.androidApp;
75
+ if (androidApp && typeof (androidApp.switchChildWeb) == "function") {
76
+ return new Promise(function (resolve, reject) {
77
+ androidApp.switchChildWeb(key, function (result, error) {
78
+ handleAppExtendResult(result, error, resolve, reject);
79
+ });
80
+ });
81
+ }
82
+ return new Promise(function (resolve, reject) {
83
+ reject(false);
84
+ });
85
+ },
86
+
87
+ /**
88
+ * 移除 子web,正在显示,自动隐藏+移除
89
+ * @param key
90
+ * @returns {Promise<unknown>}
91
+ */
92
+ childWebRemove: (key) => {
93
+ let androidApp = window.androidApp;
94
+ if (androidApp && typeof (androidApp.removeChildWeb) == "function") {
95
+ return new Promise(function (resolve, reject) {
96
+ androidApp.removeChildWeb(key, function (result, error) {
97
+ handleAppExtendResult(result, error, resolve, reject);
98
+ });
99
+ });
100
+ }
101
+ return new Promise(function (resolve, reject) {
102
+ reject(false);
103
+ });
104
+ },
105
+
106
+ /**
107
+ * 移除 全部子web,并 回到主页
108
+ * @param needBack 清理后是否需要回到主页
109
+ * @returns {Promise<unknown>}
110
+ */
111
+ childWebClearAll: (needBack = false) => {
112
+ let androidApp = window.androidApp;
113
+ if (androidApp && typeof (androidApp.clearAllChildWeb) == "function") {
114
+ return new Promise(function (resolve, reject) {
115
+ androidApp.clearAllChildWeb(needBack.toString(), function (result, error) {
116
+ handleAppExtendResult(result, error, resolve, reject);
117
+ });
118
+ });
119
+ }
120
+ return new Promise(function (resolve, reject) {
121
+ reject(false);
122
+ });
123
+ },
124
+
125
+ /**
126
+ * 重建 全部子web,重建后自动显示当前再展示的(没有 则不显示)
127
+ * @param delayShowTime 延迟显示时间 默认 10秒, 0 不延迟显示
128
+ * @returns {Promise<unknown>}
129
+ */
130
+ childWebRebuild: (delayShowTime = 10) => {
131
+ let androidApp = window.androidApp;
132
+ if (androidApp && typeof (androidApp.rebuildAllChildWeb) == "function") {
133
+ return new Promise(function (resolve, reject) {
134
+ androidApp.rebuildAllChildWeb(delayShowTime.toString(), function (result, error) {
135
+ handleAppExtendResult(result, error, resolve, reject);
136
+ });
137
+ });
138
+ }
139
+ return new Promise(function (resolve, reject) {
140
+ reject(false);
141
+ });
142
+ },
143
+
144
+ /**
145
+ * 是否支持 多web显示
146
+ * @returns {Promise<boolean>}
147
+ */
148
+ childWebSupport: () => {
149
+ let androidApp = window.androidApp;
150
+ if (androidApp && typeof (androidApp.supportChildWeb) == "function") {
151
+ return new Promise(function (resolve, reject) {
152
+ androidApp.supportChildWeb(null, function (result, error) {
153
+ handleAppExtendResult(result, error, resolve, reject);
154
+ });
155
+ });
156
+ }
157
+ return new Promise(function (resolve, reject) {
158
+ reject(false);
159
+ });
160
+ },
161
+
162
+ /**
163
+ * dm 大屏轮播
164
+ * @param token TOKEN
165
+ * @param uid 设备UID
166
+ * @param xsrf X-XSRF-TOKEN
167
+ * @param data 列表 item = "key":"value"
168
+ * @returns {Promise<boolean>}
169
+ */
170
+ dmDevicePlay: (token, uid, xsrf, data = null) => {
171
+ let androidApp = window.androidApp;
172
+ if (androidApp && typeof (androidApp.dmDevicePlay) == "function") {
173
+ return new Promise(function (resolve, reject) {
174
+ // var test = {
175
+ // token:"1111111",
176
+ // uid:"1111111",
177
+ // xsrf:"1111111",
178
+ // data:[
179
+ // {"xxx":"yyyy"},
180
+ // ...
181
+ // ]
182
+ // }
183
+ androidApp.dmDevicePlay(JSON.stringify({token: token, uid: uid, xsrf: xsrf, data: data}), function (result, error) {
184
+ handleAppExtendResult(result, error, resolve, reject);
185
+ });
186
+ });
187
+ }
188
+ return new Promise(function (resolve, reject) {
189
+ reject(false);
190
+ });
191
+ },
192
+
193
+ /**
194
+ * 全屏显示
195
+ * full = true|false
196
+ */
197
+ fullScreen: (full) => {
198
+ let androidApp = window.androidApp;
199
+ if (androidApp && typeof (androidApp.fullScreen) == "function") {
200
+ return new Promise(function (resolve, reject) {
201
+ androidApp.fullScreen(full.toString(), function (result, error) {
202
+ handleAppExtendResult(result, error, resolve, reject);
203
+ });
204
+ });
205
+ }
206
+ return new Promise(function (resolve) {
207
+ resolve("");
208
+ });
209
+ },
210
+
211
+ /**
212
+ * 获取设备 屏幕尺寸
213
+ * 返回 "宽,高"
214
+ */
215
+ deviceScreen: () => {
216
+ let androidApp = window.androidApp;
217
+ if (androidApp && typeof (androidApp.deviceScreen) == "function") {
218
+ return new Promise(function (resolve, reject) {
219
+ androidApp.deviceScreen(null, function (result, error) {
220
+ handleAppExtendResult(result, error, resolve, reject);
221
+ });
222
+ });
223
+ }
224
+ return new Promise(function (resolve) {
225
+ resolve("");
226
+ });
227
+ },
228
+
229
+ /**
230
+ * 生成 二维码 图片
231
+ */
232
+ createQRCode: (content) => {
233
+ let androidApp = window.androidApp;
234
+ if (androidApp && typeof (androidApp.createQRCode) == "function") {
235
+ return new Promise(function (resolve, reject) {
236
+ androidApp.createQRCode(JSON.stringify({content: content, size: 100}), function (result, error) {
237
+ handleAppExtendResult(result, error, resolve, reject);
238
+ });
239
+ });
240
+ }
241
+ return new Promise(function (resolve) {
242
+ resolve("");
243
+ });
244
+ },
245
+
246
+ /**
247
+ * 设置 pda 退出路由
248
+ * 全匹配(忽略参数)
249
+ */
250
+ hideSoftInput: (view) => {
251
+ let androidApp = window.androidApp;
252
+ if (androidApp && typeof (androidApp.hideSoftInput) == "function") {
253
+ return new Promise(function (resolve, reject) {
254
+ setTimeout(() => {
255
+ androidApp.hideSoftInput(null, function (result, error) {
256
+ handleAppExtendResult(result, error, resolve, reject);
257
+ });
258
+ }, 50);
259
+ });
260
+ }
261
+ return new Promise(function (resolve) {
262
+ if (view.notKeyboard) {
263
+ view.readonlyInp = true;
264
+ setTimeout(() => {
265
+ view.readonlyInp = false;
266
+ }, 200);
267
+ }
268
+ resolve(true);
269
+ });
270
+ },
271
+
272
+ /**
273
+ * 设置 pda 退出路由
274
+ * 全匹配(忽略参数)
275
+ */
276
+ setExitRoute: (arr = []) => {
277
+ let androidApp = window.androidApp;
278
+ if (androidApp && typeof (androidApp.exitBackPage) == "function") {
279
+ return new Promise(function (resolve, reject) {
280
+ androidApp.exitBackPage(JSON.stringify({type: "suffix", list: arr}), function (result, error) {
281
+ handleAppExtendResult(result, error, resolve, reject);
282
+ });
283
+ });
284
+ }
285
+ return new Promise(function (resolve, reject) {
286
+ reject(false);
287
+ });
288
+ },
289
+
290
+ /**
291
+ * app 蓝牙打印
292
+ * @param template string 模板
293
+ * @param data 打印数据--"[{},{}]"
294
+ * @returns true|false
295
+ */
296
+ bluePrint: (template, data) => {
297
+ let androidApp = window.androidApp;
298
+ if (androidApp && typeof (androidApp.bluePrint) == "function") {
299
+ return new Promise(function (resolve, reject) {
300
+ androidApp.bluePrint(JSON.stringify({"template": template, "data": data}), function (result, error) {
301
+ handleAppExtendResult(result, error, resolve, reject);
302
+ });
303
+ });
304
+ }
305
+
306
+ return new Promise(function (resolve, reject) {
307
+ let app = window.App_bluePrint;
308
+ if (app && typeof (app.bluePrint) == "function") {
309
+ if (true === app.bluePrint(JSON.stringify({"template": template, "data": data}))) {
310
+ resolve(true);
311
+ return;
312
+ }
313
+ }
314
+ reject(false);
315
+ });
316
+ },
317
+
318
+ /**
319
+ * 预先连接蓝牙打印 提升打印连接速度
320
+ * 可多次调用
321
+ */
322
+ bluePrintOpen: () => {
323
+ let androidApp = window.androidApp;
324
+ if (androidApp && typeof (androidApp.blueOpen) == "function") {
325
+ return new Promise(function (resolve, reject) {
326
+ androidApp.blueOpen(null, function (result, error) {
327
+ handleAppExtendResult(result, error, resolve, reject);
328
+ });
329
+ });
330
+ }
331
+
332
+ return new Promise(function (resolve, reject) {
333
+ let app = window.App_bluePrint;
334
+ if (app && typeof (app.bluePrintOpen) == "function") {
335
+ if (true === app.bluePrintOpen()) {
336
+ resolve(true);
337
+ return;
338
+ }
339
+ }
340
+ reject(false);
341
+ });
342
+ },
343
+
344
+ /**
345
+ * 关闭蓝牙打印连接
346
+ * 可多次调用
347
+ * @returns {boolean}
348
+ */
349
+ bluePrintClose: () => {
350
+ let androidApp = window.androidApp;
351
+ if (androidApp && typeof (androidApp.blueClose) == "function") {
352
+ return new Promise(function (resolve, reject) {
353
+ androidApp.blueClose(null, function (result, error) {
354
+ handleAppExtendResult(result, error, resolve, reject);
355
+ });
356
+ });
357
+ }
358
+
359
+ return new Promise(function (resolve, reject) {
360
+ let app = window.App_bluePrint;
361
+ if (app && typeof (app.bluePrintClose) == "function") {
362
+ if (true === app.bluePrintClose()) {
363
+ resolve(true);
364
+ return;
365
+ }
366
+ }
367
+ reject(false);
368
+ });
369
+ },
370
+
371
+ /**
372
+ * 测试打印
373
+ * @param arr
374
+ * @returns {Promise<unknown>}
375
+ */
376
+ newBluePrintTest: () => {
377
+ let androidApp = window.androidApp;
378
+ if (androidApp && typeof (androidApp.newBluePrint) == "function") {
379
+
380
+ // [
381
+ // {
382
+ // "language":"xxx",// 打印指令 CPCL>ECS_POS>BYTE>ZPL,优先使用 CPCL,未实现 ZPL
383
+ // "formatType":"xxx",// 打印类型 IMAGE>APP_CMD>INSTRUCTION>BYTE,优先使用 IMAGE ,未实现APP_CMD
384
+ // "width":100,// 打印宽度
385
+ // "height":100,// 打印高度
386
+ // "skipPage":false,// 结束后是否跳页 cpcl 支持
387
+ // "customStartCmd":null,// 自定义打印开始指令
388
+ // "customEndCmd":null,// 自定义打印结束指令 ,"29,12" 芝柯 定制 跳页指令
389
+ // "data":[
390
+ // {
391
+ // "data":"xxxxxxxxx",// 打印数据 IMAGE = base64String;gzip、zip压缩,必须使用 ISO_8859_1 格式
392
+ // "count":1,// 打印份数
393
+ // }
394
+ // ]
395
+ // }
396
+ // ]
397
+
398
+ var data = [
399
+ {
400
+ language:"CPCL",
401
+ formatType:"IMAGE",
402
+ width:440,
403
+ height:280,
404
+ skipPage:true,
405
+ data:[
406
+ {
407
+ data:"iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAAAXNSR0IArs4c6QAAAANzQklUCAgI2+FP4AAAAdlJREFUWIXtmD2SozAQRj/2LMKBixOIE4hJHM0RUIgPsOFmm4gQsk0dORnpBHACagKku2gCzJ8HY2lnq3YCvUxU0/0kNR0QWWvx/fjxvwW2CVo+BC0fgpYPQcuHoOVD0PIhaPkQtHwIWj4ELR+Clg+7WqZM09IAgOLRGq7GIMWjIUjxW/BWnogrxZevfUGLFD+Tc3wrRoW2A1rQudgczU5z8BasshLZToCrFsAqLXD+PRafTmYnON45EVbZpiBf1DJlyhUpGlsxh0wAQIo/Wlfs/srjc4s622iAv9LCIeky53a4iRECsMqu0IIil9PSYZd7WoRVjRZd5iJmyvTxUZBD8jyDsxYAfLrD5LDZG6RorLUyXzsOpGUPdL1Lq7tqQfH5AEzfOSUdHKera4qXI/VwctBS13pe6PeWHmO/AgAAckjad/3vtEzfIT+x4cvW1xrt5c08/ThVeT9F4iOtrwp4NmPctMzbpc1PDABMmWZ1LvXrZRyZ23bdrzTKLuPqNha4fnkdvEzfPWrPFXYPmQ/DXeaYx7wWdDHyp5hp/FMhhs5fRo1vaUGXTx+xqzXkkPm6wKgiBb2rLvPleNraJD6l2iay4ZeuO0HLh6DlQ9DyIWj5ELR8+KZaH0FztVrCtA9NAAAAAElFTkSuQmCC",
408
+ count:1
409
+ }
410
+ ]
411
+ }
412
+ ]
413
+
414
+
415
+ return new Promise(function (resolve, reject) {
416
+ androidApp.newBluePrint(JSON.stringify({"data": data}), function (result, error) {
417
+ handleAppExtendResult(result, error, resolve, reject);
418
+ });
419
+ });
420
+ }
421
+
422
+ return new Promise(function (resolve, reject) {
423
+ reject(false);
424
+ });
425
+ },
426
+
427
+ /**
428
+ * app 蓝牙打印
429
+ * @returns true|false
430
+ * @param arr
431
+ */
432
+ newBluePrint: (arr = []) => {
433
+ let androidApp = window.androidApp;
434
+ if (androidApp && typeof (androidApp.newBluePrint) == "function") {
435
+
436
+ // [
437
+ // {
438
+ // "language":"xxx",// 打印指令 CPCL>ECS_POS>BYTE>ZPL,优先使用 CPCL,未实现 ZPL
439
+ // "formatType":"xxx",// 打印类型 IMAGE>APP_CMD>INSTRUCTION>BYTE,优先使用 IMAGE ,未实现APP_CMD
440
+ // "width":100,// 打印宽度
441
+ // "height":100,// 打印高度
442
+ // "skipPage":false,// 结束后是否跳页 cpcl 支持
443
+ // "customStartCmd":null,// 自定义打印开始指令
444
+ // "customEndCmd":null,// 自定义打印结束指令 ,"29,12" 芝柯 定制 跳页指令
445
+ // "data":[
446
+ // {
447
+ // "data":"xxxxxxxxx",// 打印数据 IMAGE = base64String
448
+ // "count":1,// 打印份数
449
+ // }
450
+ // ]
451
+ // }
452
+ // ]
453
+
454
+ return new Promise(function (resolve, reject) {
455
+ androidApp.newBluePrint(JSON.stringify({"data": arr}), function (result, error) {
456
+ handleAppExtendResult(result, error, resolve, reject);
457
+ });
458
+ });
459
+ }
460
+
461
+ return new Promise(function (resolve, reject) {
462
+ reject(false);
463
+ });
464
+ },
465
+
466
+ /**
467
+ * 可多次调用,支持长连接
468
+ */
469
+ newBluePrintOpen: (keepAlive = true) => {
470
+ let androidApp = window.androidApp;
471
+ if (androidApp && typeof (androidApp.newBlueOpen) == "function") {
472
+ return new Promise(function (resolve, reject) {
473
+ androidApp.newBlueOpen(JSON.stringify({"keepAlive": keepAlive}), function (result, error) {
474
+ handleAppExtendResult(result, error, resolve, reject);
475
+ });
476
+ });
477
+ }
478
+
479
+ return new Promise(function (resolve, reject) {
480
+ reject(false);
481
+ });
482
+ },
483
+
484
+ /**
485
+ * 关闭蓝牙打印连接
486
+ * 可多次调用
487
+ * @returns {boolean}
488
+ */
489
+ newBluePrintClose: () => {
490
+ let androidApp = window.androidApp;
491
+ if (androidApp && typeof (androidApp.newBlueClose) == "function") {
492
+ return new Promise(function (resolve, reject) {
493
+ androidApp.newBlueClose(null, function (result, error) {
494
+ handleAppExtendResult(result, error, resolve, reject);
495
+ });
496
+ });
497
+ }
498
+
499
+ return new Promise(function (resolve, reject) {
500
+ reject(false);
501
+ });
502
+ },
503
+
504
+
505
+ /**
506
+ * 一次震动
507
+ * @param time
508
+ * @returns {Promise}
509
+ */
510
+ shortVibrate: (time) => {
511
+ let androidApp = window.androidApp;
512
+ if (androidApp && typeof (androidApp.vibrateShort) == "function") {
513
+ return new Promise(function (resolve, reject) {
514
+ androidApp.vibrateShort(time.toString(), function (result, error) {
515
+ handleAppExtendResult(result, error, resolve, reject);
516
+ });
517
+ });
518
+ }
519
+
520
+ return new Promise(function (resolve) {
521
+ let app = window.App_vibrate;
522
+ if (app && typeof (app.shortVibrate) == "function") {
523
+ if (true === app.shortVibrate(time)) {
524
+ resolve(true);
525
+ // return;
526
+ }
527
+ }
528
+ // reject(false)
529
+ });
530
+ },
531
+
532
+
533
+ /**
534
+ * 获取UUID
535
+ * 示例 shortVibrate(500)
536
+ * @returns uuid
537
+ */
538
+ appUUID: () => {
539
+ let androidApp = window.androidApp;
540
+ if (androidApp && typeof (androidApp.appUUID) == "function") {
541
+ return new Promise(function (resolve, reject) {
542
+ androidApp.appUUID(null, function (result, error) {
543
+ handleAppExtendResult(result, error, resolve, reject);
544
+ });
545
+ });
546
+ }
547
+
548
+ return new Promise(function (resolve) {
549
+ let app = window.App_uuid;
550
+ if (app && typeof (app.getUUID) == "function") {
551
+ const uuid = app.getUUID();
552
+ if (uuid) {
553
+ resolve(uuid);
554
+ return;
555
+ }
556
+ }
557
+ resolve(null);
558
+ });
559
+ },
560
+
561
+
562
+ /**
563
+ * 波动震动
564
+ * list:0+n*2=停止时间,1+n*2=震动时间
565
+ * 示例 longVibrate([50,150,100,150,100,1000])
566
+ * @param list
567
+ * @returns {boolean}
568
+ */
569
+ longVibrate: (list) => {
570
+ let androidApp = window.androidApp;
571
+ if (androidApp && typeof (androidApp.vibrateWave) == "function") {
572
+ return new Promise(function (resolve, reject) {
573
+ androidApp.vibrateWave(JSON.stringify({"list": list, "repeat": -1}), function (result, error) {
574
+ handleAppExtendResult(result, error, resolve, reject);
575
+ });
576
+ });
577
+ }
578
+
579
+ return new Promise(function (resolve, reject) {
580
+ let app = window.App_vibrate;
581
+ if (app && typeof (app.waveVibrate) == "function") {
582
+ if (true === app.waveVibrate(JSON.stringify({"list": list, "repeat": -1}))) {
583
+ resolve(true);
584
+ return;
585
+ }
586
+ }
587
+ reject(false);
588
+ });
589
+ },
590
+
591
+
592
+ /**
593
+ * 语音提示
594
+ * 示例 speak("1234567")
595
+ */
596
+ speak: (data) => {
597
+ // 如果设置的语言是中文
598
+ var toMore = false;
599
+ if (Language.getKey().includes("zh")) {
600
+ // 大于30个字符就不朗读
601
+ toMore = data.length > 30;
602
+ } else {
603
+ toMore = data.split(" ").length > 30;
604
+ }
605
+
606
+ if (toMore === true) {
607
+ return new Promise(function (resolve, reject) {
608
+ reject(`msg too long : ${data}`);
609
+ });
610
+ }
611
+
612
+ let androidApp = window.androidApp;
613
+ if (androidApp && typeof (androidApp.appTTS) == "function") {
614
+ return new Promise(function (resolve, reject) {
615
+ androidApp.appTTS(data, function (result, error) {
616
+ handleAppExtendResult(result, error, resolve, reject);
617
+ });
618
+ });
619
+ }
620
+
621
+ let app = window.App_tts;
622
+ if (app && typeof (app.speak) == "function") {
623
+ app.speak(data);
624
+ return true;
625
+ }
626
+ return false;
627
+ },
628
+
629
+
630
+ // 扫描
631
+ scan: () => {
632
+ let androidApp = window.androidApp;
633
+ if (androidApp && typeof (androidApp.appScan) == "function") {
634
+ return new Promise(function (resolve, reject) {
635
+ androidApp.appScan(null, function (result, error) {
636
+ handleAppExtendResult(result, error, resolve, reject);
637
+ });
638
+ });
639
+ }
640
+
641
+ return new Promise(function (resolve) {
642
+ let app = window.App_scan;
643
+ if (app && typeof (app.scan) == "function") {
644
+ resolve(app.scan());
645
+ return;
646
+ }
647
+ resolve(null);
648
+ });
649
+ },
650
+
651
+
652
+ // 获取图片 多张 默认最多9
653
+ getImages: (maxNum) => {
654
+ let app = window.App_gallery;
655
+ if (app && typeof (app.images) == "function") {
656
+ let images = app.images(maxNum);
657
+ if (images) return JSON.parse(images);
658
+ }
659
+
660
+ return null;
661
+ },
662
+
663
+
664
+ /**
665
+ * 获取配置信息:环境名
666
+ * @returns {string}
667
+ */
668
+ appHostName: () => {
669
+ let androidApp = window.androidApp;
670
+ if (androidApp && typeof (androidApp.appHost) == "function") {
671
+ return new Promise(function (resolve, reject) {
672
+ androidApp.appHost(null, function (result, error) {
673
+ handleAppExtendResult(result, error, resolve, reject);
674
+ });
675
+ });
676
+ }
677
+
678
+ return new Promise(function (resolve) {
679
+ let app = window.App_config;
680
+ if (app && typeof (app.getHostName) == "function") {
681
+ resolve(app.getHostName());
682
+ return;
683
+ }
684
+ resolve("-");
685
+ });
686
+ },
687
+
688
+ /**
689
+ * 获取配置信息:调试模式
690
+ * @returns {boolean}
691
+ */
692
+ appIsDebug: () => {
693
+ let androidApp = window.androidApp;
694
+ if (androidApp && typeof (androidApp.appDebug) == "function") {
695
+ return new Promise(function (resolve, reject) {
696
+ androidApp.appDebug(null, function (result, error) {
697
+ handleAppExtendResult(result, error, resolve, reject);
698
+ });
699
+ });
700
+ }
701
+
702
+ return new Promise(function (resolve) {
703
+ let app = window.App_config;
704
+ if (app && typeof (app.isDebug) == "function") {
705
+ resolve(true === app.isDebug());
706
+ return;
707
+ }
708
+ resolve(false);
709
+ });
710
+ },
711
+
712
+ /**
713
+ * 获取配置信息:发布类型
714
+ * @returns {string}
715
+ */
716
+ appChannel: () => {
717
+ let androidApp = window.androidApp;
718
+ if (androidApp && typeof (androidApp.appChannel) == "function") {
719
+ return new Promise(function (resolve, reject) {
720
+ androidApp.appChannel(null, function (result, error) {
721
+ handleAppExtendResult(result, error, resolve, reject);
722
+ });
723
+ });
724
+ }
725
+
726
+ return new Promise(function (resolve) {
727
+ let app = window.App_config;
728
+ if (app && typeof (app.getChannel) == "function") {
729
+ resolve(app.getChannel());
730
+ return;
731
+ }
732
+ resolve("");
733
+ });
734
+ }
735
+
736
+ };