12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- 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' }
- ]
- export const managerStatusOptions = [
- { value: '1', label: '正常' },
- { value: '2', label: '计提' },
- { value: '3', label: '异常' }
- ]
- export const diffOptions = [
- { value: '1', label: '一致' },
- { value: '2', label: '不一致' },
- ]
- export const mapDiffOptions =diffOptions.reduce((prev, current) => ({
- ...prev,
- [current.label]: current.value
- }), {})
|