资格证书 银行bug
This commit is contained in:
@ -197,7 +197,7 @@ export const formProps: FormProps = {
|
||||
field: 'code',
|
||||
label: '编码',
|
||||
type: 'input',
|
||||
component: 'Input',
|
||||
component: 'InputNumber',
|
||||
colProps: { span: 24 },
|
||||
defaultValue: '',
|
||||
componentProps: {
|
||||
|
||||
@ -187,16 +187,22 @@
|
||||
(val) => {
|
||||
let suNecSignProps = data.formDataProps.schemas?.filter((item) => item.field === 'suNecSign')[0];
|
||||
let cuNecSignProps = data.formDataProps.schemas?.filter((item) => item.field === 'cuNecSign')[0];
|
||||
if (val.suNecSign == 'N' && !suNecSignProps.componentProps.disabled && val.suSign != 'N') return
|
||||
if (val.cuNecSign == 'N' && !cuNecSignProps.componentProps.disabled && val.cuSign != 'N') return
|
||||
if (val.suSign === 'N') {
|
||||
val.suNecSign = 'N';
|
||||
suNecSignProps.componentProps.disabled = true;
|
||||
} else {
|
||||
}
|
||||
if (val.suSign === 'Y') {
|
||||
suNecSignProps.componentProps.disabled = false;
|
||||
val.suNecSign = 'Y';
|
||||
}
|
||||
if (val.cuSign === 'N') {
|
||||
val.cuNecSign = 'N';
|
||||
cuNecSignProps.componentProps.disabled = true;
|
||||
} else {
|
||||
}
|
||||
if (val.cuSign === 'Y') {
|
||||
val.cuNecSign = 'Y';
|
||||
cuNecSignProps.componentProps.disabled = false;
|
||||
}
|
||||
},
|
||||
|
||||
@ -242,7 +242,7 @@ export const formProps: FormProps = {
|
||||
label: '供应商适用',
|
||||
type: 'select',
|
||||
component: 'XjrSelect',
|
||||
colProps: { span: 24 },
|
||||
colProps: { span: 12 },
|
||||
componentProps: {
|
||||
width: '100%',
|
||||
span: '',
|
||||
@ -255,6 +255,7 @@ export const formProps: FormProps = {
|
||||
showLabel: true,
|
||||
showSearch: false,
|
||||
clearable: false,
|
||||
allowClear: false,
|
||||
disabled: false,
|
||||
mode: '',
|
||||
staticOptions: [
|
||||
@ -287,7 +288,7 @@ export const formProps: FormProps = {
|
||||
label: '供应商必须提供',
|
||||
type: 'select',
|
||||
component: 'XjrSelect',
|
||||
colProps: { span: 24 },
|
||||
colProps: { span: 12 },
|
||||
componentProps: {
|
||||
width: '100%',
|
||||
span: '',
|
||||
@ -300,6 +301,7 @@ export const formProps: FormProps = {
|
||||
showLabel: true,
|
||||
showSearch: false,
|
||||
clearable: false,
|
||||
allowClear: false,
|
||||
disabled: false,
|
||||
mode: '',
|
||||
staticOptions: [
|
||||
@ -332,7 +334,7 @@ export const formProps: FormProps = {
|
||||
label: '客户适用',
|
||||
type: 'select',
|
||||
component: 'XjrSelect',
|
||||
colProps: { span: 24 },
|
||||
colProps: { span: 12 },
|
||||
componentProps: {
|
||||
width: '100%',
|
||||
span: '',
|
||||
@ -345,6 +347,7 @@ export const formProps: FormProps = {
|
||||
showLabel: true,
|
||||
showSearch: false,
|
||||
clearable: false,
|
||||
allowClear: false,
|
||||
disabled: false,
|
||||
mode: '',
|
||||
staticOptions: [
|
||||
@ -377,7 +380,7 @@ export const formProps: FormProps = {
|
||||
label: '客户必须提供',
|
||||
type: 'select',
|
||||
component: 'XjrSelect',
|
||||
colProps: { span: 24 },
|
||||
colProps: { span: 12 },
|
||||
componentProps: {
|
||||
width: '100%',
|
||||
span: '',
|
||||
@ -390,6 +393,7 @@ export const formProps: FormProps = {
|
||||
showLabel: true,
|
||||
showSearch: false,
|
||||
clearable: false,
|
||||
allowClear: false,
|
||||
disabled: false,
|
||||
mode: '',
|
||||
staticOptions: [
|
||||
|
||||
Reference in New Issue
Block a user