extraConfig.js 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. }
  109. var LOAD_WARNING_MAP = {
  110. departure: {
  111. // 窄体
  112. B737: 105,
  113. B757: 105,
  114. A320: 105,
  115. A319: 105,
  116. B733: 105,
  117. B752: 105,
  118. B738: 105,
  119. B734: 105,
  120. 'B752+': 105,
  121. // 宽体
  122. B767: 115,
  123. B777: 115,
  124. B747: 115,
  125. A330: 115,
  126. A340: 115,
  127. MD11: 115,
  128. IL76: 115,
  129. B777F: 115,
  130. 'B763+': 115,
  131. B748: 115,
  132. B772: 115,
  133. A332: 115,
  134. B744: 115,
  135. B763: 115,
  136. B77L: 115,
  137. A333: 115,
  138. },
  139. internationalDeparture: {
  140. B737: 240,
  141. B757: 240,
  142. A320: 240,
  143. A319: 240,
  144. B733: 240,
  145. B752: 240,
  146. B738: 240,
  147. B734: 240,
  148. 'B752+': 240,
  149. B767: 360,
  150. B777: 360,
  151. B747: 360,
  152. A330: 360,
  153. A340: 360,
  154. MD11: 360,
  155. IL76: 360,
  156. B777F: 360,
  157. 'B763+': 360,
  158. B748: 360,
  159. B772: 360,
  160. A332: 360,
  161. B744: 360,
  162. B763: 360,
  163. B77L: 360,
  164. A333: 360,
  165. },
  166. }
  167. var HANDOVER_WARNING_MAP = {
  168. departure: {
  169. '380-391': {
  170. warning: 75,
  171. alarm: 60,
  172. },
  173. '51-139': {
  174. warning: 80,
  175. alarm: 70,
  176. },
  177. },
  178. internationalDeparture: {
  179. all: {
  180. warning: 195,
  181. },
  182. },
  183. }