diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/inventory/adjust.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/inventory/adjust.js index 46340bed..1e3125d5 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/inventory/adjust.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/inventory/adjust.js @@ -1,7 +1,7 @@ import { billType, codeType, changedType, subBillType } from "./inventory.js"; const schema = { - title: "库存事务日志", + title: "寄售库存调整", type: "object", properties: { logType: { @@ -12,60 +12,126 @@ const schema = { changedNumber: { title: "变动单号", type: "string", + rules: [ + { + required: true, + }, + ], }, changedTime: { title: "变动时间", type: "string", input: "datetime", + rules: [ + { + required: true, + }, + ], }, changedType, changedBy: { title: "变动人", type: "string", + rules: [ + { + required: true, + }, + ], }, partCode: { title: "调整LU零件号", type: "string", + rules: [ + { + required: true, + }, + ], }, customerPartCode: { title: "调整客户零件号", type: "string", + rules: [ + { + required: true, + }, + ], }, orderNum: { title: "EDI原始订单号", type: "string", + rules: [ + { + required: true, + }, + ], }, billType, subBillType, reMark: { title: "备注", type: "string", + input: "textarea", + rules: [ + { + required: true, + }, + ], }, vinCode: { title: "调整生产码", type: "string", + rules: [ + { + required: true, + }, + ], }, codeType, qty: { - title: "调整生产码", + title: "数量", type: "number", + rules: [ + { + required: true, + }, + ], }, billTime: { title: "发运日期", type: "string", + rules: [ + { + required: true, + }, + ], }, billNum: { title: "WMS发运单号", type: "string", + rules: [ + { + required: true, + }, + ], }, deliverTime: { title: "订单日期", type: "string", input: "datetime", + rules: [ + { + required: true, + }, + ], }, erpToLoc: { title: "ERP库位", type: "string", + rules: [ + { + required: true, + }, + ], }, }, }; diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js index 901fabd9..6ddd780d 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js @@ -3641,16 +3641,6 @@ export default [ pattern: "paged", }, }, - { - path: "balance", - meta: { - type: "button", - title: "余额调整", - icon: "file", - isTop: true, - pattern: "paged", - }, - }, ], }, {