| | |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'stockState', |
| | | label: '库存状态', |
| | | component: 'Select', |
| | | componentProps: { |
| | | allowClear: true, |
| | | options: [ |
| | | { label: '暂存库(待质检)', value: 10 }, |
| | | { label: '合格库(正式库存)', value: 20 }, |
| | | { label: '已出库(销售扣减)', value: 30 }, |
| | | ], |
| | | placeholder: '请选择库存状态', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'frozen', |
| | | label: '是否冻结', |
| | | component: 'Select', |
| | |
| | | minWidth: 120, |
| | | }, |
| | | { |
| | | field: 'stockState', |
| | | title: '库存状态', |
| | | width: 150, |
| | | cellRender: { |
| | | name: 'CellTag', |
| | | props: { |
| | | options: [ |
| | | { label: '暂存库', value: 10, color: 'orange' }, |
| | | { label: '合格库', value: 20, color: 'green' }, |
| | | { label: '已出库', value: 30, color: 'default' }, |
| | | ], |
| | | }, |
| | | }, |
| | | }, |
| | | { |
| | | field: 'quantity', |
| | | title: '在库数量', |
| | | width: 100, |