Browse Source

[CI SKIP]

master
wanggang 12 months ago
parent
commit
0e36598aa8
  1. 22
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/_options.js
  2. 3
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/inventory.js

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

@ -20,7 +20,7 @@ const stateOptions = [
{ value: 8, label: "已提交QAD" },
{ value: 9, label: "红冲" },
];
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), {
options: stateOptions.filter((a) => parseInt(a.value) > 0).filter((a) => parseInt(a.value) !== 6 && parseInt(a.value) !== 7),
});
@ -157,5 +157,23 @@ const codeType = {
],
};
const invState = {
title: "发票状态",
type: "string",
input: "select",
options: [
{ value: 0, label: "未结状态" },
{ value: 1, label: "已开票" },
{ value: 2, label: "商务已审核" },
{ value: 3, label: "财务已审核" },
{ value: 4, label: "客户已收票" },
{ value: 5, label: "已扣减" },
{ value: 6, label: "扣减进行中" },
{ value: 7, label: "撤销扣减进行中" },
{ value: 8, label: "已提交QAD" },
{ value: 9, label: "红冲" },
],
};
export default businessType;
export { version, state, state2, state3, transType, deliverBillType, deliverSubBillType, proType, billState, codeType };
export { version, state, state2, state3, transType, deliverBillType, deliverSubBillType, proType, billState, codeType, invState };

3
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/settle/inventory.js

@ -1,5 +1,5 @@
//库存扣减
import { version, state3 } from "../_options.js";
import { version, state3, invState } from "../_options.js";
const schema = {
title: "寄售库库存扣减审批",
@ -7,6 +7,7 @@ const schema = {
properties: {
version,
state: state3,
invState,
billNum: {
title: "发票号",
type: "string",

Loading…
Cancel
Save