主数据bug修复

This commit is contained in:
‘huanghaiixia’
2025-12-03 16:35:03 +08:00
parent 2506d02e95
commit a60bf862cf
19 changed files with 155 additions and 82 deletions

View File

@ -24,7 +24,7 @@
const { filterFormSchemaAuth } = usePermission();
const { mergeFormSchemas,mergeFormEventConfigs } = useFormConfig();
const { currentRoute } = useRouter();
const isView = currentRoute.value.query.isView
const RowKey = 'id';
const emits = defineEmits(['changeUploadComponentIds','loadingCompleted', 'form-mounted']);
const props = defineProps({
@ -44,6 +44,11 @@
let customFormEventConfigs=[];
onMounted(async () => {
formProps.schemas?.forEach(v => {
if (v.field === 'code') {
v.component = 'Input'
}
})
try {
// 合并渲染覆盖配置中的字段配置、表单事件配置
await mergeCustomFormRenderConfig();

View File

@ -15,11 +15,6 @@ export const searchFormSchema: FormSchema[] = [
label: '银行名称/简称',
component: 'Input',
},
{
field: 'code',
label: '编码',
component: 'Input',
},
{
field: 'bankCode',
label: '联行号',
@ -38,6 +33,11 @@ export const searchFormSchema: FormSchema[] = [
getPopupContainer: () => document.body,
},
},
{
field: 'code',
label: '编码',
component: 'Input',
},
// {
// field: 'fullName',
// label: '银行名称',

View File

@ -1,5 +1,5 @@
<template>
<PageWrapper dense fixedHeight contentFullHeight contentClass="flex" class="cusFormStyle">
<PageWrapper dense fixedHeight contentFullHeight contentClass="flex" class="cusFormStyle bankStyle">
<BasicTable @register="registerTable" ref="tableRef" @row-dbClick="dbClickRow">
<template #toolbar>
@ -215,7 +215,8 @@ const logPath = ref('/mdm/bank/datalog');
query: {
formPath: 'mdm/Bank',
formName: formName,
formId:currentRoute.value.meta.formId
formId:currentRoute.value.meta.formId,
isView: true
}
});
}
@ -374,6 +375,9 @@ const logPath = ref('/mdm/bank/datalog');
.cusFormStyle .cusSearchForm .advanceRow> div:nth-of-type(3){
display: none;
}
.bankStyle .w-full .advanceRow> div:nth-of-type(4){
display: none;
}
</style>