yuansh преди 1 седмица
родител
ревизия
e917d09e69

+ 3 - 1
src/views/baseCode/CompanyInformation/BaseCompanyInformation.data.ts

@@ -58,6 +58,7 @@ export const formSchema: FormSchema[] = [
     label: '名称(name)',
     field: 'name',
     component: 'Input',
+    required: true,
     componentProps:{
       AutoComplete:'off'
     },
@@ -66,6 +67,7 @@ export const formSchema: FormSchema[] = [
     label: '税号(taxcode)',
     field: 'taxcode',
     component: 'Input',
+    required: true,
     componentProps:{
       AutoComplete:'off'
     },
@@ -139,4 +141,4 @@ export const superQuerySchema = {
 export function getBpmFormSchema(_formData): FormSchema[]{
   // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema
   return formSchema;
-}
+}

+ 2 - 1
src/views/baseCode/ExchangeRate/BaseExchangeRate.data.ts

@@ -63,6 +63,7 @@ export const formSchema: FormSchema[] = [
     componentProps:{
       dictCode: 'currency',
     },
+    required: true,
   },
   {
     label: '年度(year)',
@@ -107,4 +108,4 @@ export const superQuerySchema = {
 export function getBpmFormSchema(_formData): FormSchema[]{
   // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema
   return formSchema;
-}
+}