columns.js 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. const columns = [
  2. // {
  3. // type: "expand",
  4. // _slot_: "expand",
  5. // fixed: "left",
  6. // _noset_: true,
  7. // },
  8. {
  9. type: 'selection',
  10. fixed: 'left',
  11. _noset_: true
  12. },
  13. {
  14. prop: 'cgdNo',
  15. label: '采购单编号',
  16. width: '155px'
  17. },
  18. {
  19. prop: 'orderCode',
  20. label: '订单编号',
  21. width: '155px'
  22. },
  23. // {
  24. // prop: "bkcode",
  25. // label: "备库单编号",
  26. // width: "155px",
  27. // },
  28. // {
  29. // prop: "wsm_supplierNo",
  30. // label: "仓库公司编号",
  31. // width: "145px",
  32. // },
  33. // {
  34. // prop: "wsm_supplier",
  35. // label: "仓库公司名称",
  36. // width: "155px",
  37. // },
  38. // {
  39. // prop: "wsm_code",
  40. // label: "仓库编号",
  41. // width: "172px",
  42. // },
  43. // {
  44. // prop: "wsm_name",
  45. // label: "仓库名称",
  46. // width: "80px",
  47. // },
  48. {
  49. prop: 'spuCode',
  50. label: '商品成本编号',
  51. width: '158px'
  52. },
  53. {
  54. prop: 'good_name',
  55. label: '商品名称',
  56. _slot_: 'good_name',
  57. 'min-width': '145px'
  58. },
  59. //
  60. // {
  61. // prop: "apply_name",
  62. // label: "申请人",
  63. // width: "60px",
  64. // },
  65. // {
  66. // prop: "sendtime",
  67. // label: "发货时间",
  68. // width: "60px",
  69. // },
  70. // {
  71. // prop: "send_num",
  72. // label: "发货数量",
  73. // width: "60px",
  74. // },
  75. // {
  76. // prop: "post_company",
  77. // label: "物流公司",
  78. // width: "60px",
  79. // },
  80. // {
  81. // prop: "post_code",
  82. // label: "物流单号",
  83. // width: "60px",
  84. // },
  85. // {
  86. // prop: "post_fee",
  87. // label: "物流费用",
  88. // width: "60px",
  89. // },
  90. // {
  91. // prop: "wsm_num",
  92. // label: "入库数量",
  93. // width: "60px",
  94. // },
  95. // {
  96. // prop: "error_num",
  97. // label: "异常数量",
  98. // width: "60px",
  99. // },
  100. // {
  101. // prop: "check_name",
  102. // label: "验货人",
  103. // width: "60px",
  104. // },
  105. //
  106. {
  107. prop: 'good_price',
  108. label: '单价',
  109. width: '110px'
  110. },
  111. {
  112. prop: 'good_num',
  113. label: '数量',
  114. width: '110px'
  115. },
  116. {
  117. prop: 'total_fee',
  118. label: '总货款',
  119. width: '110px'
  120. },
  121. // {
  122. // prop: "send_num",
  123. // label: "已发货数量",
  124. // width: "110px",
  125. // },
  126. // {
  127. // prop: "wsend_num",
  128. // label: "未发货数量",
  129. // width: "105px",
  130. // },
  131. {
  132. prop: 'status',
  133. label: '状态',
  134. _slot_: 'status',
  135. width: '120px'
  136. },
  137. {
  138. prop: 'order_id',
  139. label: '采购单来源',
  140. _slot_: 'order_id',
  141. width: '110px'
  142. },
  143. {
  144. prop: 'order_source',
  145. label: '订单来源',
  146. _slot_: 'order_source',
  147. width: '110px'
  148. },
  149. {
  150. prop: 'lasttime',
  151. label: '预计最晚入库时间',
  152. width: '145px'
  153. },
  154. {
  155. prop: 'supplierNo',
  156. label: '采购供应商编号',
  157. width: '145px'
  158. },
  159. {
  160. prop: 'supplier_name',
  161. label: '采购供应商名称',
  162. width: '155px'
  163. },
  164. // {
  165. // prop: "company_name",
  166. // label: "供应商负责人部门",
  167. // minWidth: "100px",
  168. // },
  169. {
  170. prop: 'supplier_cgder',
  171. label: '供应商负责人',
  172. width: '95'
  173. },
  174. {
  175. prop: 'cgder',
  176. label: '商品创建人',
  177. width: '85px'
  178. },
  179. {
  180. prop: 'addtime',
  181. label: '创建时间',
  182. width: '145px'
  183. },
  184. {
  185. prop: '',
  186. label: '操作',
  187. fixed: 'right',
  188. _noset_: true,
  189. width: '50px',
  190. _slot_: 'operation'
  191. }
  192. ]
  193. const statusOptions = [
  194. { value: '0', label: '待与供应商确认' },
  195. { value: '1', label: '待入库' },
  196. { value: '2', label: '部分入库' },
  197. { value: '3', label: '入库完成' },
  198. { value: '4', label: '已取消订单' }
  199. ]
  200. export { columns, statusOptions }