12345678910111213141516171819202122232425262728293031323334353637383940 |
- export const typeOptions = [
- { value: '1', label: '入库' },
- { value: '2', label: '出库' },
- { value: '3', label: '入库红冲' },
- { value: '4', label: '出库红冲' },
- ]
- export const mapLabelToType = typeOptions.reduce((prev, current) => ({
- ...prev,
- [current.label]: current.value
- }), {})
- export const sourceOptions = [
- { value: '1', label: '采销结算' },
- { value: '2', label: '非采销结算' }
- ]
- export const mapLabelToSource = sourceOptions.reduce((prev, current) => ({
- ...prev,
- [current.label]: current.value
- }), {})
- export const statusOptions = [
- { value: '1', label: '待处理', type: 'warning' },
- { value: '2', label: '审核完成', type: 'success' },
- { value: '4', label: '已取消', type: 'warning' },
- // { value: '3', label: '驳回', type: 'success' }
- ]
- export const managerStatusOptions = [
- { value: '1', label: '正常' },
- { value: '2', label: '计提' },
- { value: '3', label: '异常' }
- ]
|