|
|
@ -9,14 +9,14 @@ const version = { |
|
|
|
}; |
|
|
|
|
|
|
|
const stateOptions = [ |
|
|
|
{ value: "0", label: "未结状态" }, |
|
|
|
{ value: "1", label: "已开票" }, |
|
|
|
{ value: "2", label: "商务已审核" }, |
|
|
|
{ value: "3", label: "财务已审核" }, |
|
|
|
{ value: "4", label: "客户已收票" }, |
|
|
|
{ value: "5", label: "已扣减" }, |
|
|
|
{ value: 0, label: "未结状态" }, |
|
|
|
{ value: 1, label: "已开票" }, |
|
|
|
{ value: 2, label: "商务已审核" }, |
|
|
|
{ value: 3, label: "财务已审核" }, |
|
|
|
{ value: 4, label: "客户已收票" }, |
|
|
|
{ value: 5, label: "已扣减" }, |
|
|
|
]; |
|
|
|
const state = { title: "状态", type: "string", input: "select", stateOptions }; |
|
|
|
const state = { title: "状态", type: "string", input: "select", options: stateOptions }; |
|
|
|
const state2 = Object.assign(Object.assign({}, state), { options: stateOptions.filter((a) => parseInt(a.value) > 0) }); |
|
|
|
const state3 = Object.assign(Object.assign({}, state), { options: stateOptions.filter((a) => parseInt(a.value) > 3) }); |
|
|
|
|
|
|
|