Commit d59a40a9 by 张珈源

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

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