|
@ -28,7 +28,7 @@ const stateOptions = [ |
|
|
]; |
|
|
]; |
|
|
const state = { title: "状态", type: "number", input: "select", options: stateOptions }; |
|
|
const state = { title: "状态", type: "number", input: "select", options: stateOptions }; |
|
|
const state2 = Object.assign(Object.assign({}, state), { |
|
|
const state2 = Object.assign(Object.assign({}, state), { |
|
|
options: stateOptions.filter((a) => parseInt(a.value) > 0).filter((a) => parseInt(a.value) !== 6 && parseInt(a.value) !== 7), |
|
|
options: stateOptions.filter((a) => parseInt(a.value) > 0).filter((a) => parseInt(a.value) !== 6 && parseInt(a.value) !== 7 && parseInt(a.value) !== 10 && parseInt(a.value) !== 11 && parseInt(a.value) !== 13), |
|
|
}); |
|
|
}); |
|
|
const state3 = Object.assign(Object.assign({}, state), { title: "扣减单状态", options: stateOptions.filter((a) => parseInt(a.value) > 3) }); |
|
|
const state3 = Object.assign(Object.assign({}, state), { title: "扣减单状态", options: stateOptions.filter((a) => parseInt(a.value) > 3) }); |
|
|
|
|
|
|
|
|