Commit d59a40a9 by 张珈源

fix(kczb): 修复产品编号字段配置和模型定义

- 在表格列配置中调整产品编号字段的位置顺序
- 移除搜索表单中产品编号的最大长度限制设置
- 修改数量输入框的最小值验证为null
- 更新库存产品分页模型中的产品编号字段位置
- 调整模型接口中ERP ID和备注字段的顺序
parent 524796c3
......@@ -25,6 +25,8 @@ export interface MesWarehouseProductNumberPageParams extends BasicPageParams {
export interface MesWarehouseProductNumberPageModel {
id: string;
cpbh: string;
cpmc: string;
cplx: string;
......@@ -50,8 +52,6 @@ export interface MesWarehouseProductNumberPageModel {
erpid: string;
bz: string;
cpbh: string;
}
/**
......
......@@ -86,6 +86,19 @@ export const searchFormSchema: FormSchema[] = [
export const columns: BasicColumn[] = [
{
resizable: true,
dataIndex: 'cpbh',
title: '产品编号',
componentType: 'input',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: '',
},
{
resizable: true,
dataIndex: 'cpmc',
title: '产品名称',
componentType: 'input',
......@@ -252,19 +265,6 @@ export const columns: BasicColumn[] = [
styleConfig: undefined,
listStyle: undefined,
},
{
resizable: true,
dataIndex: 'cpbh',
title: '产品编号',
componentType: 'input',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: '',
},
];
//表头合并配置
export const headerMergingData = [];
......@@ -361,7 +361,6 @@ export const formProps: FormProps = {
span: 7,
defaultValue: '',
placeholder: '请输入产品编号',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -960,7 +959,7 @@ export const formProps: FormProps = {
width: '100%',
span: '',
defaultValue: '',
min: 0,
min: null,
step: 1,
disabled: true,
showLabel: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment