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