|
@ -17,7 +17,7 @@ const stateOptions = [ |
|
|
{ value: 5, label: "已扣减" }, |
|
|
{ value: 5, label: "已扣减" }, |
|
|
{ value: 6, label: "已提交扣减" }, |
|
|
{ value: 6, label: "已提交扣减" }, |
|
|
]; |
|
|
]; |
|
|
const state = { title: "状态", type: "string", input: "select", options: stateOptions }; |
|
|
const state = { title: "状态", type: "number", input: "select", options: stateOptions }; |
|
|
const state2 = Object.assign(Object.assign({}, state), { options: stateOptions.filter((a) => parseInt(a.value) > 0) }); |
|
|
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) }); |
|
|
const state3 = Object.assign(Object.assign({}, state), { options: stateOptions.filter((a) => parseInt(a.value) > 3) }); |
|
|
|
|
|
|
|
|