Commit d4c05731 by 张恒

feat(ccmx): 调整产成品明细模块界面布局和字段配置

- 修改模态框高度从500调整为400,宽度从900调整为1400
- 将字段名称从'炉批号'改为'炉次号',对应字段从'lph'改为'lch'
- 移除静态数据源改为API动态获取客户列表
- 删除产出量和入库状态字段配置
- 新增业务组织、重量、捆数等字段
- 将编号字段类型改为自动生成编码
- 调整表格列配置,重新排列字段显示顺序
- 设置多个字段为禁用状态以符合业务流程
- 修改产出量字段标题为'产出数量'
- 更新入库状态和客户字段的位置
- 添加业务组织字段到表单配置中
- 修改入库申请按钮的buttonId
- 在工作流权限配置中更新字段编辑权限设置
parent 925bd006
...@@ -6,19 +6,17 @@ import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; ...@@ -6,19 +6,17 @@ import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
export interface MesProductOutputPageParams extends BasicPageParams { export interface MesProductOutputPageParams extends BasicPageParams {
bh: string; bh: string;
lph: string; lch: string;
kh: string; kh: string;
cpmc: string; cpmc: string;
csl: string;
rkzt: string;
cpbh: string; cpbh: string;
ccsj: string; ccsj: string;
ywzz: string;
} }
/** /**
...@@ -29,19 +27,21 @@ export interface MesProductOutputPageModel { ...@@ -29,19 +27,21 @@ export interface MesProductOutputPageModel {
bh: string; bh: string;
lph: string; lch: string;
kh: string; cpbh: string;
cpmc: string; cpmc: string;
csl: string; csl: string;
rkzt: string; kh: string;
cpbh: string; rkzt: string;
ccsj: string; ccsj: string;
ywzz: string;
} }
/** /**
...@@ -119,6 +119,16 @@ export interface MesProductOutputModel { ...@@ -119,6 +119,16 @@ export interface MesProductOutputModel {
modifyDate: string; modifyDate: string;
modifyUserId: string; modifyUserId: string;
ywzz: string;
lch: string;
zl: string;
ks: string;
cpid: string;
} }
/** /**
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<BasicModal <BasicModal
:height="500" :height="400"
v-bind="$attrs" @register="registerModal" :title="getTitle" v-bind="$attrs" @register="registerModal" :title="getTitle"
@ok="handleSubmit" @cancel="handleClose" > @ok="handleSubmit" @cancel="handleClose" >
<ModalForm ref="formRef" v-model:value="state.formModel" :fromPage="FromPageType.MENU" /> <ModalForm ref="formRef" v-model:value="state.formModel" :fromPage="FromPageType.MENU" />
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
showCancelBtn: false, showCancelBtn: false,
showOkBtn: false, showOkBtn: false,
canFullscreen: true, canFullscreen: true,
width: 900, width: 1400,
footer: state.isView ? null : undefined,defaultFullscreen:true, footer: state.isView ? null : undefined,defaultFullscreen:true,
}); });
......
...@@ -9,8 +9,8 @@ export const searchFormSchema: FormSchema[] = [ ...@@ -9,8 +9,8 @@ export const searchFormSchema: FormSchema[] = [
component: 'Input', component: 'Input',
}, },
{ {
field: 'lph', field: 'lch',
label: '炉号', label: '炉号',
defaultValue: undefined, defaultValue: undefined,
component: 'Input', component: 'Input',
}, },
...@@ -20,11 +20,19 @@ export const searchFormSchema: FormSchema[] = [ ...@@ -20,11 +20,19 @@ export const searchFormSchema: FormSchema[] = [
defaultValue: undefined, defaultValue: undefined,
component: 'XjrSelect', component: 'XjrSelect',
componentProps: { componentProps: {
datasourceType: 'staticData', datasourceType: 'api',
staticOptions: [ apiConfig: {
{ key: 1, label: '张三', value: '张三' }, path: '/jcxx/getKhList',
{ key: 2, label: '李四', value: '李四' }, method: 'GET',
], apiId: '7bc8db3faba24b19a997856f6ef0b27e',
apiParams: [
{ key: '1', title: 'Query Params', tableInfo: [] },
{ key: '2', title: 'Header', tableInfo: [] },
{ key: '3', title: 'Body' },
],
script:
'var sql="select id as value,name as label from roke_partner where delete_mark = 0 and customer = \'1\'";\r\nreturn db.select(sql);',
},
labelField: 'label', labelField: 'label',
valueField: 'value', valueField: 'value',
mode: 'multiple', mode: 'multiple',
...@@ -39,34 +47,6 @@ export const searchFormSchema: FormSchema[] = [ ...@@ -39,34 +47,6 @@ export const searchFormSchema: FormSchema[] = [
component: 'Input', component: 'Input',
}, },
{ {
field: 'csl',
label: '产出量',
defaultValue: undefined,
component: 'InputNumber',
componentProps: {
style: { width: '100%' },
},
},
{
field: 'rkzt',
label: '入库状态',
defaultValue: undefined,
component: 'XjrSelect',
componentProps: {
datasourceType: 'staticData',
staticOptions: [
{ key: 1, label: '进行中', value: '进行中' },
{ key: 2, label: '已入库', value: '已入库' },
{ key: 3, label: '未入库', value: '未入库' },
],
labelField: 'label',
valueField: 'value',
mode: 'multiple',
showSearch: true,
getPopupContainer: () => document.body,
},
},
{
field: 'cpbh', field: 'cpbh',
label: '产品编号', label: '产品编号',
defaultValue: undefined, defaultValue: undefined,
...@@ -83,6 +63,7 @@ export const searchFormSchema: FormSchema[] = [ ...@@ -83,6 +63,7 @@ export const searchFormSchema: FormSchema[] = [
getPopupContainer: () => document.body, getPopupContainer: () => document.body,
}, },
}, },
{ {
field: 'ywzz', field: 'ywzz',
label: '业务组织', label: '业务组织',
...@@ -105,19 +86,7 @@ export const columns: BasicColumn[] = [ ...@@ -105,19 +86,7 @@ export const columns: BasicColumn[] = [
resizable: true, resizable: true,
dataIndex: 'bh', dataIndex: 'bh',
title: '编号', title: '编号',
componentType: 'input', componentType: 'auto-code',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: '',
},
{
resizable: true,
dataIndex: 'ywzz',
title: '业务组织',
componentType: 'select',
fixed: false, fixed: false,
sorter: true, sorter: true,
...@@ -125,10 +94,11 @@ export const columns: BasicColumn[] = [ ...@@ -125,10 +94,11 @@ export const columns: BasicColumn[] = [
styleConfig: undefined, styleConfig: undefined,
listStyle: undefined, listStyle: undefined,
}, },
{ {
resizable: true, resizable: true,
dataIndex: 'lph', dataIndex: 'lch',
title: '炉号', title: '炉号',
componentType: 'input', componentType: 'input',
fixed: false, fixed: false,
...@@ -140,24 +110,15 @@ export const columns: BasicColumn[] = [ ...@@ -140,24 +110,15 @@ export const columns: BasicColumn[] = [
{ {
resizable: true, resizable: true,
dataIndex: 'kh', dataIndex: 'cpbh',
title: '客户', title: '产品编号',
componentType: 'select', componentType: 'input',
customRender: ({ record }) => {
const staticOptions = [
{ key: 1, label: '张三', value: '张三' },
{ key: 2, label: '李四', value: '李四' },
];
return staticOptions.filter((x) => x.value == record.kh)[0]?.label;
},
fixed: false, fixed: false,
sorter: true, sorter: true,
styleConfig: undefined, styleConfig: undefined,
listStyle: undefined, listStyle: '',
}, },
{ {
...@@ -176,7 +137,7 @@ export const columns: BasicColumn[] = [ ...@@ -176,7 +137,7 @@ export const columns: BasicColumn[] = [
{ {
resizable: true, resizable: true,
dataIndex: 'csl', dataIndex: 'csl',
title: '产出量', title: '产出量',
componentType: 'number', componentType: 'number',
fixed: false, fixed: false,
...@@ -188,20 +149,10 @@ export const columns: BasicColumn[] = [ ...@@ -188,20 +149,10 @@ export const columns: BasicColumn[] = [
{ {
resizable: true, resizable: true,
dataIndex: 'rkzt', dataIndex: 'kh',
title: '入库状态', title: '客户',
componentType: 'select', componentType: 'select',
customRender: ({ record }) => {
const staticOptions = [
{ key: 1, label: '进行中', value: '进行中' },
{ key: 2, label: '已入库', value: '已入库' },
{ key: 3, label: '未入库', value: '未入库' },
];
return staticOptions.filter((x) => x.value == record.rkzt)[0]?.label;
},
fixed: false, fixed: false,
sorter: true, sorter: true,
...@@ -211,15 +162,15 @@ export const columns: BasicColumn[] = [ ...@@ -211,15 +162,15 @@ export const columns: BasicColumn[] = [
{ {
resizable: true, resizable: true,
dataIndex: 'cpbh', dataIndex: 'rkzt',
title: '产品编号', title: '入库状态',
componentType: 'input', componentType: 'select',
fixed: false, fixed: false,
sorter: true, sorter: true,
styleConfig: undefined, styleConfig: undefined,
listStyle: '', listStyle: undefined,
}, },
{ {
...@@ -234,6 +185,19 @@ export const columns: BasicColumn[] = [ ...@@ -234,6 +185,19 @@ export const columns: BasicColumn[] = [
styleConfig: undefined, styleConfig: undefined,
listStyle: undefined, listStyle: undefined,
}, },
{
resizable: true,
dataIndex: 'ywzz',
title: '业务组织',
componentType: 'select',
fixed: false,
sorter: true,
styleConfig: undefined,
listStyle: undefined,
},
]; ];
//表头合并配置 //表头合并配置
export const headerMergingData = []; export const headerMergingData = [];
...@@ -318,42 +282,32 @@ export const formProps: FormProps = { ...@@ -318,42 +282,32 @@ export const formProps: FormProps = {
span: 8, span: 8,
list: [ list: [
{ {
key: 'c31870ac60a74049bbf979f225394251', key: 'ea62ca64d4e04d7b9b5113ccbfcfe537',
field: 'bh', field: 'bh',
label: '编号', label: '编号',
type: 'input', type: 'auto-code',
component: 'Input', component: 'AutoCodeRule',
colProps: { span: 24 }, colProps: { span: 24 },
defaultValue: '',
componentProps: { componentProps: {
width: '100%', width: '100%',
span: 7, span: 7,
defaultValue: '',
placeholder: '', placeholder: '',
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
addonAfter: '', addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true, showLabel: true,
autoCodeRule: 'CCMX',
required: false, required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: true, isShow: true,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' }, style: { width: '100%' },
}, },
}, },
{ {
key: 'e31e3c2a30b243ca8753bded8b4a62cc', key: 'e31e3c2a30b243ca8753bded8b4a62cc',
field: 'lph', field: 'lch',
label: '炉号', label: '炉号',
type: 'input', type: 'input',
component: 'Input', component: 'Input',
colProps: { span: 24 }, colProps: { span: 24 },
...@@ -367,7 +321,7 @@ export const formProps: FormProps = { ...@@ -367,7 +321,7 @@ export const formProps: FormProps = {
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
addonAfter: '', addonAfter: '',
disabled: false, disabled: true,
allowClear: false, allowClear: false,
showLabel: true, showLabel: true,
required: false, required: false,
...@@ -398,19 +352,25 @@ export const formProps: FormProps = { ...@@ -398,19 +352,25 @@ export const formProps: FormProps = {
showSearch: false, showSearch: false,
isMultiple: false, isMultiple: false,
clearable: false, clearable: false,
disabled: false, disabled: true,
staticOptions: [ staticOptions: [
{ key: 1, label: '张三', value: '张三' }, { key: 1, label: '张三', value: '张三' },
{ key: 2, label: '李四', value: '李四' }, { key: 2, label: '李四', value: '李四' },
], ],
defaultSelect: '', datasourceType: 'api',
datasourceType: 'staticData',
labelField: 'label', labelField: 'label',
valueField: 'value', valueField: 'value',
apiConfig: { apiConfig: {
path: 'CodeGeneration/selection', path: '/jcxx/getKhList',
method: 'GET', method: 'GET',
apiId: '93d735dcb7364a0f8102188ec4d77ac7', apiId: '7bc8db3faba24b19a997856f6ef0b27e',
apiParams: [
{ key: '1', title: 'Query Params', tableInfo: [] },
{ key: '2', title: 'Header', tableInfo: [] },
{ key: '3', title: 'Body' },
],
script:
'var sql="select id as value,name as label from roke_partner where delete_mark = 0 and customer = \'1\'";\r\nreturn db.select(sql);',
}, },
dicOptions: [], dicOptions: [],
required: false, required: false,
...@@ -421,6 +381,32 @@ export const formProps: FormProps = { ...@@ -421,6 +381,32 @@ export const formProps: FormProps = {
style: { width: '100%' }, style: { width: '100%' },
}, },
}, },
{
key: 'dc4db2b098ab4dd198655c04b27f4df6',
field: 'zl',
label: '重量',
type: 'number',
component: 'InputNumber',
colProps: { span: 24 },
defaultValue: '',
componentProps: {
width: '100%',
span: 7,
defaultValue: '',
step: 0.01,
disabled: true,
showLabel: true,
controls: true,
required: false,
subTotal: false,
isShow: false,
rules: [],
events: {},
placeholder: '',
tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' },
},
},
], ],
}, },
{ {
...@@ -443,7 +429,7 @@ export const formProps: FormProps = { ...@@ -443,7 +429,7 @@ export const formProps: FormProps = {
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
addonAfter: '', addonAfter: '',
disabled: false, disabled: true,
allowClear: false, allowClear: false,
showLabel: true, showLabel: true,
required: false, required: false,
...@@ -462,19 +448,18 @@ export const formProps: FormProps = { ...@@ -462,19 +448,18 @@ export const formProps: FormProps = {
{ {
key: '1c0bf170e3ba4be78474821571cda0e6', key: '1c0bf170e3ba4be78474821571cda0e6',
field: 'csl', field: 'csl',
label: '产出量', label: '产出量',
type: 'number', type: 'number',
component: 'InputNumber', component: 'InputNumber',
colProps: { span: 24 }, colProps: { span: 24 },
defaultValue: 0, defaultValue: null,
componentProps: { componentProps: {
width: '100%', width: '100%',
span: 7, span: 7,
defaultValue: 0, defaultValue: null,
min: 0, min: 0,
max: 100,
step: 1, step: 1,
disabled: false, disabled: true,
showLabel: true, showLabel: true,
controls: true, controls: true,
required: false, required: false,
...@@ -507,9 +492,8 @@ export const formProps: FormProps = { ...@@ -507,9 +492,8 @@ export const formProps: FormProps = {
{ key: 2, label: '已入库', value: '已入库' }, { key: 2, label: '已入库', value: '已入库' },
{ key: 3, label: '未入库', value: '未入库' }, { key: 3, label: '未入库', value: '未入库' },
], ],
defaultSelect: '', datasourceType: 'dic',
datasourceType: 'staticData', labelField: 'name',
labelField: 'label',
valueField: 'value', valueField: 'value',
apiConfig: { apiConfig: {
path: 'CodeGeneration/selection', path: 'CodeGeneration/selection',
...@@ -522,6 +506,34 @@ export const formProps: FormProps = { ...@@ -522,6 +506,34 @@ export const formProps: FormProps = {
events: {}, events: {},
isShow: true, isShow: true,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
params: { itemId: '2016706939403292674' },
itemId: '2016706939403292674',
style: { width: '100%' },
},
},
{
key: '9b0eb4203d0f48bda446532f1db3cbdb',
field: 'ks',
label: '捆数',
type: 'number',
component: 'InputNumber',
colProps: { span: 24 },
defaultValue: '',
componentProps: {
width: '100%',
span: 7,
defaultValue: '',
step: 0.01,
disabled: true,
showLabel: true,
controls: true,
required: false,
subTotal: false,
isShow: false,
rules: [],
events: {},
placeholder: '',
tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' }, style: { width: '100%' },
}, },
}, },
...@@ -547,7 +559,7 @@ export const formProps: FormProps = { ...@@ -547,7 +559,7 @@ export const formProps: FormProps = {
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
addonAfter: '', addonAfter: '',
disabled: false, disabled: true,
allowClear: false, allowClear: false,
showLabel: true, showLabel: true,
required: false, required: false,
...@@ -578,8 +590,8 @@ export const formProps: FormProps = { ...@@ -578,8 +590,8 @@ export const formProps: FormProps = {
placeholder: '', placeholder: '',
format: 'YYYY-MM-DD HH:mm:ss', format: 'YYYY-MM-DD HH:mm:ss',
showLabel: true, showLabel: true,
allowClear: true, allowClear: false,
disabled: false, disabled: true,
required: false, required: false,
isShow: true, isShow: true,
rules: [], rules: [],
...@@ -590,6 +602,46 @@ export const formProps: FormProps = { ...@@ -590,6 +602,46 @@ export const formProps: FormProps = {
style: { width: '100%' }, style: { width: '100%' },
}, },
}, },
{
key: 'd0e0407ab883414baed7b5e4ac06dca1',
field: 'ywzz',
label: '业务组织',
type: 'select',
component: 'XjrSelect',
colProps: { span: 24 },
componentProps: {
width: '100%',
span: 7,
placeholder: '',
showLabel: true,
showSearch: false,
isMultiple: false,
clearable: false,
disabled: false,
staticOptions: [
{ key: 1, label: '进行中', value: '进行中' },
{ key: 2, label: '已入库', value: '已入库' },
{ key: 3, label: '未入库', value: '未入库' },
],
datasourceType: 'dic',
labelField: 'name',
valueField: 'value',
apiConfig: {
path: 'CodeGeneration/selection',
method: 'GET',
apiId: '93d735dcb7364a0f8102188ec4d77ac7',
},
dicOptions: [],
required: false,
rules: [],
events: {},
isShow: true,
tooltipConfig: { visible: false, title: '提示文本' },
params: { itemId: '2015724355955159041' },
itemId: '2015724355955159041',
style: { width: '100%' },
},
},
], ],
}, },
], ],
...@@ -642,7 +694,7 @@ export const formButtons = [ ...@@ -642,7 +694,7 @@ export const formButtons = [
name: '重置', name: '重置',
style: 'default', style: 'default',
event: [], event: [],
isShow: true, isShow: false,
index: 0, index: 0,
type: 1, type: 1,
}, },
......
...@@ -2,29 +2,28 @@ export const permissionList = [ ...@@ -2,29 +2,28 @@ export const permissionList = [
{ {
required: false, required: false,
view: true, view: true,
edit: true, edit: false,
disabled: false, disabled: true,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '编号', fieldName: '编号',
fieldId: 'bh', fieldId: 'bh',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'input', type: 'auto-code',
key: 'c31870ac60a74049bbf979f225394251', key: 'ea62ca64d4e04d7b9b5113ccbfcfe537',
children: [], children: [],
options: {}, options: {},
defaultValue: '',
}, },
{ {
required: false, required: false,
view: true, view: true,
edit: true, edit: false,
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '炉号', fieldName: '炉号',
fieldId: 'lph', fieldId: 'lch',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'input', type: 'input',
...@@ -36,7 +35,7 @@ export const permissionList = [ ...@@ -36,7 +35,7 @@ export const permissionList = [
{ {
required: false, required: false,
view: true, view: true,
edit: true, edit: false,
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
...@@ -52,7 +51,24 @@ export const permissionList = [ ...@@ -52,7 +51,24 @@ export const permissionList = [
{ {
required: false, required: false,
view: true, view: true,
edit: true, edit: false,
disabled: false,
isSaveTable: false,
tableName: '',
fieldName: '重量',
fieldId: 'zl',
isSubTable: false,
showChildren: true,
type: 'number',
key: 'dc4db2b098ab4dd198655c04b27f4df6',
children: [],
options: {},
defaultValue: '',
},
{
required: false,
view: true,
edit: false,
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
...@@ -69,11 +85,11 @@ export const permissionList = [ ...@@ -69,11 +85,11 @@ export const permissionList = [
{ {
required: false, required: false,
view: true, view: true,
edit: true, edit: false,
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '产出量', fieldName: '产出量',
fieldId: 'csl', fieldId: 'csl',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
...@@ -81,7 +97,7 @@ export const permissionList = [ ...@@ -81,7 +97,7 @@ export const permissionList = [
key: '1c0bf170e3ba4be78474821571cda0e6', key: '1c0bf170e3ba4be78474821571cda0e6',
children: [], children: [],
options: {}, options: {},
defaultValue: 0, defaultValue: null,
}, },
{ {
required: false, required: false,
...@@ -102,7 +118,24 @@ export const permissionList = [ ...@@ -102,7 +118,24 @@ export const permissionList = [
{ {
required: false, required: false,
view: true, view: true,
edit: true, edit: false,
disabled: false,
isSaveTable: false,
tableName: '',
fieldName: '捆数',
fieldId: 'ks',
isSubTable: false,
showChildren: true,
type: 'number',
key: '9b0eb4203d0f48bda446532f1db3cbdb',
children: [],
options: {},
defaultValue: '',
},
{
required: false,
view: true,
edit: false,
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
...@@ -119,7 +152,7 @@ export const permissionList = [ ...@@ -119,7 +152,7 @@ export const permissionList = [
{ {
required: false, required: false,
view: true, view: true,
edit: true, edit: false,
disabled: false, disabled: false,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
...@@ -134,7 +167,7 @@ export const permissionList = [ ...@@ -134,7 +167,7 @@ export const permissionList = [
defaultValue: '', defaultValue: '',
}, },
{ {
required: true, required: false,
view: true, view: true,
edit: true, edit: true,
disabled: false, disabled: false,
...@@ -145,7 +178,7 @@ export const permissionList = [ ...@@ -145,7 +178,7 @@ export const permissionList = [
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'select', type: 'select',
key: 'lkajsldjaljdla', key: 'd0e0407ab883414baed7b5e4ac06dca1',
children: [], children: [],
options: {}, options: {},
}, },
......
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
//展示在列表内的按钮 //展示在列表内的按钮
const actionButtons = ref<string[]>(["view"]); const actionButtons = ref<string[]>(["view"]);
const buttonConfigs = computed(()=>{ const buttonConfigs = computed(()=>{
const list = [{"name":"查看","code":"view","icon":"ant-design:eye-outlined","isDefault":true,"isUse":true},{"buttonId":"2010596152129912832","name":"入库申请","code":"rksq","icon":"","isDefault":false,"isUse":true,"setting":[],"showType":"top","buttonType":"primary"}] const list = [{"buttonId":"2010597918263234560","name":"查看","code":"view","icon":"ant-design:eye-outlined","isDefault":true,"isUse":true},{"buttonId":"2010596152129912832","name":"入库申请","code":"rksq","icon":"","isDefault":false,"isUse":true,"setting":[],"showType":"top","buttonType":"primary"}]
return filterButtonAuth(list); return filterButtonAuth(list);
}) })
......
...@@ -1745,7 +1745,7 @@ export const formProps: FormProps = { ...@@ -1745,7 +1745,7 @@ export const formProps: FormProps = {
disabled: false, disabled: false,
showLabel: true, showLabel: true,
controls: true, controls: true,
required: false, required: true,
subTotal: false, subTotal: false,
isShow: true, isShow: true,
rules: [], rules: [],
......
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