Browse Source

限制发票状态

master
zhouhongjun 3 months ago
parent
commit
bc21640ea9
  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 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) });

Loading…
Cancel
Save