columns.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. export default [
  2. {
  3. type: 'expand',
  4. _slot_: 'expand',
  5. label: ''
  6. },
  7. {
  8. prop: 'good_code',
  9. label: '商品编码',
  10. width: '185',
  11. _slot_: 'good_code'
  12. },
  13. // {
  14. // prop: "type_code",
  15. // label: "属性编码",
  16. // width: "150",
  17. // },
  18. {
  19. prop: 'good_name',
  20. label: '商品名称',
  21. 'min-width': '150'
  22. },
  23. {
  24. prop: 'specinfo',
  25. label: '规格',
  26. 'min-width': '150',
  27. _slot_: 'specinfo'
  28. },
  29. {
  30. prop: 'sort_f',
  31. label: '分类',
  32. width: '155'
  33. },
  34. {
  35. prop: 'brand_name',
  36. label: '品牌',
  37. width: '85'
  38. },
  39. {
  40. prop: 'unit',
  41. label: '单位',
  42. width: '50'
  43. },
  44. {
  45. prop: 'total_stock',
  46. label: '当前库存',
  47. width: '80'
  48. },
  49. {
  50. prop: 'wait_in_stock',
  51. label: '待入库',
  52. width: '80'
  53. },
  54. {
  55. prop: 'wait_out_stock',
  56. label: '待出库',
  57. width: '80'
  58. },
  59. {
  60. prop: 'usable_stock',
  61. label: '可用库存',
  62. width: '80'
  63. },
  64. {
  65. prop: 'intra_stock',
  66. label: '在途库存',
  67. width: '80'
  68. }
  69. ]