学 赵 1 year ago
parent
commit
c31eb24689
  1. 70
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/inventory/adjust.js
  2. 10
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js

70
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"; import { billType, codeType, changedType, subBillType } from "./inventory.js";
const schema = { const schema = {
title: "库存事务日志", title: "寄售库存调整",
type: "object", type: "object",
properties: { properties: {
logType: { logType: {
@ -12,60 +12,126 @@ const schema = {
changedNumber: { changedNumber: {
title: "变动单号", title: "变动单号",
type: "string", type: "string",
rules: [
{
required: true,
},
],
}, },
changedTime: { changedTime: {
title: "变动时间", title: "变动时间",
type: "string", type: "string",
input: "datetime", input: "datetime",
rules: [
{
required: true,
},
],
}, },
changedType, changedType,
changedBy: { changedBy: {
title: "变动人", title: "变动人",
type: "string", type: "string",
rules: [
{
required: true,
},
],
}, },
partCode: { partCode: {
title: "调整LU零件号", title: "调整LU零件号",
type: "string", type: "string",
rules: [
{
required: true,
},
],
}, },
customerPartCode: { customerPartCode: {
title: "调整客户零件号", title: "调整客户零件号",
type: "string", type: "string",
rules: [
{
required: true,
},
],
}, },
orderNum: { orderNum: {
title: "EDI原始订单号", title: "EDI原始订单号",
type: "string", type: "string",
rules: [
{
required: true,
},
],
}, },
billType, billType,
subBillType, subBillType,
reMark: { reMark: {
title: "备注", title: "备注",
type: "string", type: "string",
input: "textarea",
rules: [
{
required: true,
},
],
}, },
vinCode: { vinCode: {
title: "调整生产码", title: "调整生产码",
type: "string", type: "string",
rules: [
{
required: true,
},
],
}, },
codeType, codeType,
qty: { qty: {
title: "调整生产码", title: "数量",
type: "number", type: "number",
rules: [
{
required: true,
},
],
}, },
billTime: { billTime: {
title: "发运日期", title: "发运日期",
type: "string", type: "string",
rules: [
{
required: true,
},
],
}, },
billNum: { billNum: {
title: "WMS发运单号", title: "WMS发运单号",
type: "string", type: "string",
rules: [
{
required: true,
},
],
}, },
deliverTime: { deliverTime: {
title: "订单日期", title: "订单日期",
type: "string", type: "string",
input: "datetime", input: "datetime",
rules: [
{
required: true,
},
],
}, },
erpToLoc: { erpToLoc: {
title: "ERP库位", title: "ERP库位",
type: "string", type: "string",
rules: [
{
required: true,
},
],
}, },
}, },
}; };

10
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js

@ -3641,16 +3641,6 @@ export default [
pattern: "paged", pattern: "paged",
}, },
}, },
{
path: "balance",
meta: {
type: "button",
title: "余额调整",
icon: "file",
isTop: true,
pattern: "paged",
},
},
], ],
}, },
{ {

Loading…
Cancel
Save