Commit 336477ac by 张恒

feat(gdgl): 更新字段配置以支持可报工数量和状态显示

- 将数量字段从 sl 更改为 kbgsl 并更新标签为可报工数量
- 禁用数量输入框以防止用户直接修改
- 将状态字段从 zt 更改为 kgzt 以统一字段命名规范
- 更新工作流权限中的对应字段ID和名称映射
- 将状态默认选择值从未开始更改为草稿状态
parent ae30092a
......@@ -328,8 +328,8 @@ export const formProps: FormProps = {
},
{
key: '4dfaf88607c04e358683b3f4afe7629f',
field: 'sl',
label: '数量',
field: 'kbgsl',
label: '可报工数量',
type: 'number',
component: 'InputNumber',
colProps: { span: 24 },
......@@ -340,7 +340,7 @@ export const formProps: FormProps = {
defaultValue: 0,
min: 0,
step: 1,
disabled: false,
disabled: true,
showLabel: true,
controls: true,
required: false,
......@@ -856,7 +856,7 @@ export const formProps: FormProps = {
},
{
key: 'd74b7755d2b3467aba348c7b55a94fc6',
field: 'zt',
field: 'kgzt',
label: '状态',
type: 'select',
component: 'XjrSelect',
......@@ -897,7 +897,7 @@ export const formProps: FormProps = {
isShow: false,
tooltipConfig: { visible: false, title: '提示文本' },
params: { itemId: '2011260635030495233' },
defaultSelect: '未开始',
defaultSelect: '草稿',
itemId: '2011260635030495233',
style: { width: '100%' },
},
......
......@@ -72,8 +72,8 @@ export const permissionList = [
disabled: false,
isSaveTable: false,
tableName: '',
fieldName: '数量',
fieldId: 'sl',
fieldName: '可报工数量',
fieldId: 'kbgsl',
isSubTable: false,
showChildren: true,
type: 'number',
......@@ -286,7 +286,7 @@ export const permissionList = [
isSaveTable: false,
tableName: '',
fieldName: '状态',
fieldId: 'zt',
fieldId: 'kgzt',
isSubTable: false,
showChildren: true,
type: 'select',
......
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