columns.js 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. const columns = [
  2. {
  3. type: "selection",
  4. fixed: "left",
  5. _noset_: true,
  6. },
  7. {
  8. prop: "outCode",
  9. label: "发货申请单编号",
  10. width: "156",
  11. },
  12. {
  13. prop: "cgdNo",
  14. label: "销售订单编号",
  15. width: "156",
  16. },
  17. {
  18. prop: "status",
  19. label: "状态",
  20. _slot_: "status",
  21. width: "120px",
  22. },
  23. {
  24. prop: "good_class",
  25. label: "商品分类",
  26. width: "150",
  27. },
  28. {
  29. prop: "good_code",
  30. label: "商品编码",
  31. width: "140",
  32. },
  33. {
  34. prop: "good_name",
  35. label: "商品名称",
  36. width: "150",
  37. },
  38. {
  39. prop: "order_type",
  40. label: "商品来源",
  41. _slot_: "order_type",
  42. width: "70",
  43. },
  44. {
  45. prop: "contactor",
  46. label: "联系人",
  47. width: "70",
  48. },
  49. {
  50. prop: "mobile",
  51. label: "联系电话",
  52. width: "100",
  53. },
  54. {
  55. prop: "send_num",
  56. label: "发货数量",
  57. },
  58. {
  59. prop: "post_name",
  60. label: "物流公司",
  61. },
  62. {
  63. prop: "post_code",
  64. label: "物流单号",
  65. },
  66. // {
  67. // prop: "post_fee",
  68. // label: "物流费用",
  69. // },
  70. {
  71. prop: "sendtime",
  72. label: "发货时间",
  73. width: "140",
  74. },
  75. {
  76. prop: "addtime",
  77. label: "申请时间",
  78. width: 146,
  79. },
  80. {
  81. prop: "",
  82. label: "操作",
  83. fixed: "right",
  84. _noset_: true,
  85. _slot_: "operation",
  86. width: 50,
  87. },
  88. ];
  89. const showColumns = [
  90. {
  91. prop: "outCode",
  92. label: "发货申请单号",
  93. span: 6,
  94. },
  95. {
  96. prop: "status",
  97. label: "发货申请单状态",
  98. _slot_: "status",
  99. span: 6,
  100. },
  101. // {
  102. // prop: "orderCode",
  103. // label: "订单编号",
  104. // span: 6,
  105. // },
  106. {
  107. prop: "order_type",
  108. label: "商品来源",
  109. _slot_: "order_type",
  110. span: 6,
  111. },
  112. // {
  113. // prop: "apply_name",
  114. // label: "申请人",
  115. // span: 6,
  116. // },
  117. {
  118. prop: "sendtime",
  119. label: "发货时间",
  120. span: 6,
  121. },
  122. {
  123. prop: "send_num",
  124. label: "发货数量",
  125. span: 6,
  126. },
  127. // {
  128. // prop: "check_num",
  129. // label: "验收数量",
  130. // span: 6,
  131. // },
  132. // {
  133. // prop: "error_num",
  134. // label: "异常数量",
  135. // span: 6,
  136. // },
  137. {
  138. prop: "addtime",
  139. label: "创建时间",
  140. span: 6,
  141. },
  142. {
  143. prop: "post_name",
  144. label: "快递公司",
  145. span: 6,
  146. },
  147. {
  148. prop: "post_fee",
  149. label: "物流费用",
  150. span: 6,
  151. },
  152. {
  153. prop: "contactor",
  154. label: "收货联系人",
  155. span: 6,
  156. },
  157. {
  158. prop: "mobile",
  159. label: "收货联系人电话",
  160. span: 6,
  161. },
  162. {
  163. prop: "addr",
  164. label: "收货地址",
  165. span: 12,
  166. },
  167. {
  168. prop: "post_code",
  169. label: "物流编号",
  170. span: 24,
  171. },
  172. {
  173. prop: "remark",
  174. label: "发货申请备注",
  175. span: 24,
  176. },
  177. ];
  178. const statusOptions= [
  179. { value: "0", label: "待采购备货" },
  180. { value: "1", label: "待库管发货" },
  181. { value: "2", label: "已发货待收货" },
  182. { value: "3", label: "已收货" },
  183. { value: "4", label: "已全部退货" },
  184. ];
  185. export { columns, showColumns,statusOptions };