extraConfig.js 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. var NODE_CODE = {
  2. common: [
  3. { nodeName: '获取运单', nodeCode: 'NEW' },
  4. { nodeName: '获取运单', nodeCode: 'FWB' },
  5. { nodeName: '收运核单', nodeCode: 'DEH' },
  6. { nodeName: '查验', nodeCode: 'ACC_CHECK' },
  7. { nodeName: '加货', nodeCode: 'ACC_BUP' },
  8. { nodeName: '预配载', nodeCode: 'LS_CARGO' },
  9. { nodeName: '预配载', nodeCode: 'FSUDEP' },
  10. { nodeName: '预配载', nodeCode: 'FSU_DEP' },
  11. { nodeName: '货站交接', nodeCode: 'CARGOS_HANDOVER_STATUS_02' },
  12. { nodeName: '交接复核', nodeCode: 'CARGOS_HANDOVER_STATUS_03' },
  13. { nodeName: '机下交接', nodeCode: '出港货邮' },
  14. { nodeName: '装机完成', nodeCode: '装载完成' },
  15. { nodeName: '关货舱门', nodeCode: '货舱关闭' },
  16. { nodeName: '拉下登记', nodeCode: 'CARGOS_OFFLOAD' },
  17. { nodeName: '拉下确认', nodeCode: 'OFFLOAD_CONFIRM' },
  18. { nodeName: '退运', nodeCode: 'BILL_RETURN' },
  19. { nodeName: '卸机', nodeCode: 'CARGOS_ARR_HANDOVER' },
  20. { nodeName: '机下交接', nodeCode: 'CARGOS_HANDOVER_STATUS_01' },
  21. { nodeName: '货站交接', nodeCode: 'CARGOS_HANDOVER_STATUS_99' },
  22. { nodeName: '理货', nodeCode: 'IMP_TALLY' },
  23. { nodeName: '出库', nodeCode: 'FSU_DLV' },
  24. { nodeName: '出库', nodeCode: 'FSUDLV' },
  25. { nodeName: '入园', nodeCode: 'EPORTREL' },
  26. { nodeName: '运抵货站', nodeCode: 'FOH' },
  27. { nodeName: '海关放行', nodeCode: 'MTREL_out' },
  28. { nodeName: '收运核单', nodeCode: 'RCS' },
  29. { nodeName: '海关放行', nodeCode: 'MTREL_in' },
  30. { nodeName: '海关放行', nodeCode: 'MTREL' },
  31. { nodeName: '出库', nodeCode: 'EIMS_Y02' },
  32. { nodeName: '出库', nodeCode: 'DLV' },
  33. { nodeName: '理货', nodeCode: 'RCF报' },
  34. { nodeName: '理货', nodeCode: 'CARTON_LIST' },
  35. { nodeName: '发起货站交接', nodeCode: 'CARGOS_DEP_ULD_HANDOVER' },
  36. { nodeName: '货站交接', nodeCode: 'CARGOS_HANDOVER_STATUS99' },
  37. ],
  38. departure: [
  39. { nodeName: '收运核单', nodeCode: 'DEH' },
  40. // { nodeName: '收运核查', nodeCode: 'ACC_CHECK' },
  41. {
  42. nodeName: '安检',
  43. nodeCode: 'DOM_REH',
  44. // nodeCode: 'SECURITY', // 临时-复制加货
  45. },
  46. {
  47. nodeName: '加货',
  48. nodeCode: 'ACC_BUP',
  49. sync: true, // sync为true时与前一个节点并列显示
  50. },
  51. { nodeName: '预配载', nodeCode: 'LS_CARGO' },
  52. // { nodeName: '待运区', nodeCode: 'WAT_LOC' },
  53. // { nodeName: '货站交接', nodeCode: 'CARGOS_HANDOVER_STATUS_02' },
  54. { nodeName: '交接复核', nodeCode: 'CARGOS_HANDOVER_STATUS_03' },
  55. { nodeName: '机下交接', nodeCode: '出港货邮' },
  56. { nodeName: '装机', nodeCode: '装载完成' },
  57. { nodeName: '关闭舱门', nodeCode: '关闭舱门' },
  58. { nodeName: '拉下登记', nodeCode: 'CARGOS_OFFLOAD', defaultDisabled: true },
  59. { nodeName: '拉回确认', nodeCode: 'OFFLOAD_CONFIRM', defaultDisabled: true },
  60. // { nodeName: '起飞', nodeCode: 'TAKEOFF', // 待定 },
  61. { nodeName: '退运', nodeCode: 'BILL_RETURN', defaultDisabled: true },
  62. ],
  63. arrival: [
  64. { nodeName: '卸机', nodeCode: 'CARGOS_ARR_HANDOVER' },
  65. { nodeName: '库区到达', nodeCode: 'CARGOS_HANDOVER_STATUS_01' },
  66. { nodeName: '货站交接', nodeCode: 'CARGOS_HANDOVER_STATUS_99' },
  67. { nodeName: '理货', nodeCode: 'IMP_TALLY' },
  68. { nodeName: '出库', nodeCode: 'FSU_DLV' },
  69. ],
  70. internationalDeparture: [
  71. { nodeName: '入园', nodeCode: 'MTEXDEC' },
  72. { nodeName: '海关', nodeCode: 'MTREL' },
  73. { nodeName: '运抵', nodeCode: 'FOH' },
  74. { nodeName: '安检', nodeCode: 'REH' },
  75. { nodeName: '收运核单', nodeCode: 'RCS' },
  76. { nodeName: '理货', nodeCode: 'CARTON_LIST' },
  77. { nodeName: '实配', nodeCode: 'LS_CARGO' },
  78. // { nodeName: '待运区', nodeCode: 'WAT_LOC' },
  79. // { nodeName: '货站交接', nodeCode: 'CARGOS_HANDOVER_STATUS_02' },
  80. { nodeName: '交接复核', nodeCode: 'CARGOS_HANDOVER_STATUS_03' },
  81. { nodeName: '机下交接', nodeCode: '出港货邮' },
  82. { nodeName: '装机', nodeCode: '装载完成' },
  83. { nodeName: '拉下', nodeCode: 'CARGOS_OFFLOAD', defaultDisabled: true },
  84. // { nodeName: '退运', nodeCode: '' },
  85. ],
  86. internationalArrival: [
  87. { nodeName: '卸机', nodeCode: 'FFM' },
  88. { nodeName: '机下交接', nodeCode: 'CARGOS_HANDOVER_STATUS_01' },
  89. { nodeName: '货站交接', nodeCode: 'CARGOS_HANDOVER_STATUS_99' },
  90. { nodeName: '理货', nodeCode: 'RCF' },
  91. { nodeName: '海关放行', nodeCode: 'MTREL_in' },
  92. { nodeName: '出库', nodeCode: 'DLV' },
  93. ],
  94. internationalDepartureTransfer: [
  95. { nodeName: '入园', nodeCode: 'MTEXDEC' },
  96. { nodeName: '海关', nodeCode: 'MTREL' },
  97. { nodeName: '运抵', nodeCode: 'FOH' },
  98. { nodeName: '安检', nodeCode: 'REH' },
  99. { nodeName: '收运核单', nodeCode: 'RCS' },
  100. { nodeName: '理货', nodeCode: 'CARTON_LIST' },
  101. { nodeName: '实配', nodeCode: 'LS_CARGO' },
  102. ],
  103. }
  104. var MESSAGE_TYPE = {
  105. // FFM: 'FFM',
  106. // IMP_TALLY: '理货',
  107. // FSUDLV: '出库',
  108. IMP_ARRIVAL: '进港',
  109. IMP_DEPARTURE: '出港',
  110. }
  111. var MESSAGE_NAME = {
  112. IMP_TALLY: '理货',
  113. FSUDLV: '出库',
  114. PULL_GOODS: '拉货',
  115. FFM: 'FFM',
  116. CFBP: 'CFBP',
  117. DEP: 'DEP',
  118. }
  119. var MESSAGE_LOCATION = {
  120. IMP_SZ: '深圳',
  121. IMP_NJ: '南京',
  122. IMP_QD: '青岛',
  123. IMP_DX: '大兴',
  124. }
  125. var LOAD_WARNING_MAP = {
  126. departure: {
  127. // 窄体
  128. B737: 105,
  129. B757: 105,
  130. A320: 105,
  131. A319: 105,
  132. B733: 105,
  133. B752: 105,
  134. B738: 105,
  135. B734: 105,
  136. 'B752+': 105,
  137. // 宽体
  138. B767: 115,
  139. B777: 115,
  140. B747: 115,
  141. A330: 115,
  142. A340: 115,
  143. MD11: 115,
  144. IL76: 115,
  145. B777F: 115,
  146. 'B763+': 115,
  147. B748: 115,
  148. B772: 115,
  149. A332: 115,
  150. B744: 115,
  151. B763: 115,
  152. B77L: 115,
  153. A333: 115,
  154. },
  155. internationalDeparture: {
  156. B737: 240,
  157. B757: 240,
  158. A320: 240,
  159. A319: 240,
  160. B733: 240,
  161. B752: 240,
  162. B738: 240,
  163. B734: 240,
  164. 'B752+': 240,
  165. B767: 360,
  166. B777: 360,
  167. B747: 360,
  168. A330: 360,
  169. A340: 360,
  170. MD11: 360,
  171. IL76: 360,
  172. B777F: 360,
  173. 'B763+': 360,
  174. B748: 360,
  175. B772: 360,
  176. A332: 360,
  177. B744: 360,
  178. B763: 360,
  179. B77L: 360,
  180. A333: 360,
  181. },
  182. }
  183. var HANDOVER_WARNING_MAP = {
  184. departure: {
  185. '380-391': {
  186. warning: 75,
  187. alarm: 60,
  188. },
  189. '51-139': {
  190. warning: 80,
  191. alarm: 70,
  192. },
  193. },
  194. internationalDeparture: {
  195. all: {
  196. warning: 195,
  197. },
  198. },
  199. }