process.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?php
  2. /**CGD:状态 0 待发货 1发货中 2完成
  3. * RKD:状态 0 取消发货 /待发货 1待验货 2 待审核 3入库完成
  4. * BHD:更新状态0待申请,1申请备库待反馈,2已反馈 3采用反馈 4未采用
  5. * FKD:更新状态0待申请,1采用,2未采用
  6. * PDD:0新建 1发起/驳回 2待审核 3待入库 4入库盘点完成
  7. * DBD: 审核状态 0取消 1发起 2入库审核 3出库方发货 4入库验货 5验货审核
  8. * RKTHD:
  9. * CGTHD:状态0待审核 1业务审核 2告知财务部门
  10. * XSQRD:订单状态 0取消 1发起 2反馈物流费 3同意下单 4发货中 5已发货
  11. * ZXQRD:0待发起 1待发货 2发货中 3部分发货 4已完成
  12. * CKD:订单状态1已出库2验收3验收完成
  13. * SHD:
  14. *CGGCD:状态0取消1待通知采购部门2待通知财务部门3已完成
  15. *ZXGCD:状态 0待发起 1待审核 2待业务通知3完成
  16. */
  17. return [
  18. 'CGD'=>[
  19. "0"=>0,
  20. "1"=>1,
  21. "2"=>2,
  22. "3"=>[3,4],
  23. ],
  24. 'SPCB'=>[
  25. 0=>[7,8],
  26. 1=>[0,2,3],
  27. 2=>[1,4,5,6]
  28. ],
  29. 'SPSX'=>[
  30. 0=>1,
  31. 1=>2,
  32. 2=>3,
  33. 3=>4,
  34. 4=>5,
  35. 5=>[6,7,8],
  36. ],
  37. 'PRO'=>[
  38. 0=>1,
  39. 1=>2,
  40. 2=>3,
  41. 3=>4,
  42. 4=>5,
  43. 5=>6,
  44. ],
  45. 'YJD'=>[
  46. 0=>0,
  47. 1=>[1,2],
  48. 2=>[4,5],
  49. 3=>[6,7],
  50. 4=>[9,10,11,3,8]
  51. ],
  52. 'BHD'=>[
  53. 0=>1,
  54. 1=>2,
  55. ],
  56. "XSQRD"=>[
  57. 0=>1,
  58. 1=>2,
  59. 2=>3,
  60. ],
  61. "QRD"=>[
  62. 0=>1,
  63. 1=>2,
  64. 2=>3,
  65. ],
  66. "CKD"=>[
  67. 0=>0,
  68. 1=>1,
  69. 2=>2,
  70. 3=>3,
  71. 4=>4
  72. ],
  73. "SHD"=>[
  74. 0=>1,
  75. 1=>2,
  76. 2=>3,
  77. 3=>4,
  78. 4=>[5,6,7,8]
  79. ],
  80. "CKTHD"=>[
  81. 0=>0,
  82. 1=>1,
  83. 2=>2,
  84. 3=>3,
  85. 4=>4,
  86. ],
  87. "XSTHD"=>[
  88. 0=>1,
  89. 1=>2,
  90. 2=>3,
  91. 3=>[4,5,6,7],
  92. ],
  93. "XSGCD"=>[
  94. 0=>1,
  95. 1=>2,
  96. ],
  97. "RKD"=>[
  98. 0=>0,
  99. 1=>1,
  100. 2=>2,
  101. 3=>3,
  102. 4=>5,
  103. 5=>[6,4]
  104. ],
  105. "CGGCD"=>[
  106. 0=>1,
  107. 1=>2,
  108. ],
  109. "DBD"=>[
  110. 0=>0,
  111. 1=>1,
  112. 2=>2,
  113. 3=>3,
  114. 4=>4,
  115. 5=>5,
  116. ],
  117. "PDD"=>[
  118. 0=>0,
  119. 1=>1,
  120. 2=>2,
  121. 3=>3,
  122. 4=>4,
  123. 5=>5,
  124. ],
  125. "HD"=>[
  126. 0=>0,
  127. 1=>1,
  128. 2=>2,
  129. 3=>3,
  130. 4=>[4,5,6,7,8]
  131. ],
  132. "PRT"=>[
  133. 0=>0,
  134. 1=>1
  135. ],
  136. ];