From feff7c151854e7a8dff242eb0c60ff068cb39ac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=97=AD=E4=B9=8B?= <12930972+jiang-xuzhi@user.noreply.gitee.com> Date: Thu, 10 Aug 2023 08:34:48 +0800 Subject: [PATCH] update --- .../wwwroot/models/inventory/adjust.js | 70 ++++++++++++++++++- .../wwwroot/router/business.js | 10 --- 2 files changed, 68 insertions(+), 12 deletions(-) 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", - }, - }, ], }, {