Commit cd0cf086 by 张珈源

feat(ckgl/cgrk): 添加批次号字段支持

- 在CgrkModel模型中新增pch字段定义
- 配置文件中移除供应商输入框的最大长度限制
- 移除下拉选项的默认选择配置
- 新增批次号输入组件配置,包括占位符和样式设置
- 工作流权限配置中添加批次号字段的权限控制
parent 74cd62ad
......@@ -113,6 +113,8 @@ export interface MesWarehouseInInfoModel {
dw: string;
pch: string;
yssl: string;
sssl: string;
......
......@@ -427,7 +427,6 @@ export const formProps: FormProps = {
span: 7,
defaultValue: '',
placeholder: '请输入供应商',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
......@@ -533,7 +532,6 @@ export const formProps: FormProps = {
{ key: 2, label: 'Option 2', value: 'Option 2' },
{ key: 3, label: 'Option 3', value: 'Option 3' },
],
defaultSelect: null,
datasourceType: 'dic',
params: { itemId: '2015724355955159041' },
labelField: 'name',
......@@ -816,6 +814,37 @@ export const formProps: FormProps = {
},
},
{
key: 'b32a9b93b59a40eab7ba494960fc46b4',
title: '批次号',
dataIndex: 'pch',
componentType: 'Input',
defaultValue: '',
componentProps: {
width: '100%',
span: '',
defaultValue: '',
placeholder: '请输入批次号',
maxlength: null,
prefix: '',
suffix: '',
addonBefore: '',
addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true,
required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: true,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' },
},
},
{
key: 'cb499ddb7a2f46d0a421a7ee8aa9769f',
title: '应收数量',
dataIndex: 'yssl',
......
......@@ -261,6 +261,21 @@ export const permissionList = [
isSaveTable: false,
showChildren: false,
tableName: 'mesWarehouseInInfoList',
fieldName: '批次号',
fieldId: 'pch',
type: 'Input',
key: 'b32a9b93b59a40eab7ba494960fc46b4',
children: [],
},
{
required: true,
view: true,
edit: true,
disabled: false,
isSubTable: false,
isSaveTable: false,
showChildren: false,
tableName: 'mesWarehouseInInfoList',
fieldName: '应收数量',
fieldId: 'yssl',
type: 'InputNumber',
......
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