Commit 336477ac by 张恒

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

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