Browse Source

过滤状态

master
zhouhongjun 3 months ago
parent
commit
f7b7648699
  1. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/_options.js

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/_options.js

@ -28,7 +28,7 @@ const 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).filter((a) => parseInt(a.value) !== 6 && parseInt(a.value) !== 7 && parseInt(a.value) !== 10 && parseInt(a.value) !== 11 && parseInt(a.value) !== 13),
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 && parseInt(a.value) !== 15),
});
const state3 = Object.assign(Object.assign({}, state), { title: "扣减单状态", options: stateOptions.filter((a) => parseInt(a.value) > 3) });

Loading…
Cancel
Save