港口、公司资质证书、品种测试问题修复
This commit is contained in:
@ -247,7 +247,7 @@ export const formProps: FormProps = {
|
||||
showSearch: false,
|
||||
clearable: false,
|
||||
disabled: false,
|
||||
mode: 'multiple',
|
||||
mode: '',
|
||||
staticOptions: [
|
||||
{ key: 1, label: 'Option 1', value: 'Option 1' },
|
||||
{ key: 2, label: 'Option 2', value: 'Option 2' },
|
||||
@ -355,8 +355,8 @@ export const formProps: FormProps = {
|
||||
showLabel: true,
|
||||
showSearch: false,
|
||||
clearable: false,
|
||||
disabled: false,
|
||||
mode: 'multiple',
|
||||
disabled: true,
|
||||
mode: '',
|
||||
staticOptions: [
|
||||
{ key: 1, label: 'Option 1', value: 'Option 1' },
|
||||
{ key: 2, label: 'Option 2', value: 'Option 2' },
|
||||
|
||||
@ -109,7 +109,7 @@
|
||||
},
|
||||
schemas: customSearchFormSchema,
|
||||
fieldMapToTime: [],
|
||||
showResetButton: false
|
||||
showResetButton: true
|
||||
},
|
||||
beforeFetch: (params) => {
|
||||
return { ...params, FormId: formIdComputedRef.value, PK: 'id' };
|
||||
|
||||
@ -108,7 +108,7 @@
|
||||
},
|
||||
schemas: customSearchFormSchema,
|
||||
fieldMapToTime: [],
|
||||
showResetButton: false
|
||||
showResetButton: true
|
||||
},
|
||||
beforeFetch: (params) => {
|
||||
return { ...params, FormId: formIdComputedRef.value, PK: 'id' };
|
||||
|
||||
@ -187,15 +187,17 @@
|
||||
(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.suSign === 'Y') {
|
||||
suNecSignProps.componentProps.required = true;
|
||||
if (val.suSign === 'N') {
|
||||
val.suNecSign = 'N';
|
||||
suNecSignProps.componentProps.disabled = true;
|
||||
} else {
|
||||
suNecSignProps.componentProps.required = false;
|
||||
suNecSignProps.componentProps.disabled = false;
|
||||
}
|
||||
if (val.cuSign === 'Y') {
|
||||
cuNecSignProps.componentProps.required = true;
|
||||
if (val.cuSign === 'N') {
|
||||
val.cuNecSign = 'N';
|
||||
cuNecSignProps.componentProps.disabled = true;
|
||||
} else {
|
||||
cuNecSignProps.componentProps.required = false;
|
||||
cuNecSignProps.componentProps.disabled = false;
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@ -74,7 +74,7 @@ export const columns: BasicColumn[] = [
|
||||
|
||||
{
|
||||
dataIndex: 'cuNecSign',
|
||||
title: '供应商必须提供',
|
||||
title: '客户必须提供',
|
||||
componentType: 'select',
|
||||
align: 'left',
|
||||
|
||||
@ -385,7 +385,7 @@ export const formProps: FormProps = {
|
||||
labelFixWidth: 150,
|
||||
responsive: false,
|
||||
respNewRow: false,
|
||||
placeholder: '请选择供应商必须提供',
|
||||
placeholder: '请选择客户必须提供',
|
||||
sepTextField: '',
|
||||
showLabel: true,
|
||||
showSearch: false,
|
||||
@ -408,7 +408,7 @@ export const formProps: FormProps = {
|
||||
apiId: '93d735dcb7364a0f8102188ec4d77ac7'
|
||||
},
|
||||
dicOptions: [],
|
||||
required: false,
|
||||
required: true,
|
||||
rules: [],
|
||||
events: {},
|
||||
isShow: true,
|
||||
|
||||
@ -108,7 +108,7 @@
|
||||
},
|
||||
schemas: customSearchFormSchema,
|
||||
fieldMapToTime: [],
|
||||
showResetButton: false
|
||||
showResetButton: true
|
||||
},
|
||||
beforeFetch: (params) => {
|
||||
return { ...params, FormId: formIdComputedRef.value, PK: 'id' };
|
||||
|
||||
@ -109,7 +109,7 @@
|
||||
},
|
||||
schemas: customSearchFormSchema,
|
||||
fieldMapToTime: [],
|
||||
showResetButton: false
|
||||
showResetButton: true
|
||||
},
|
||||
beforeFetch: (params) => {
|
||||
return { ...params, FormId: formIdComputedRef.value, PK: 'id' };
|
||||
|
||||
@ -349,7 +349,6 @@ export const formProps: FormProps = {
|
||||
min: null,
|
||||
max: null,
|
||||
step: 0.01,
|
||||
maxlength: 2,
|
||||
disabled: false,
|
||||
showLabel: true,
|
||||
controls: true,
|
||||
@ -381,7 +380,6 @@ export const formProps: FormProps = {
|
||||
min: null,
|
||||
max: null,
|
||||
step: 0.01,
|
||||
maxlength: 2,
|
||||
disabled: false,
|
||||
showLabel: true,
|
||||
controls: true,
|
||||
|
||||
@ -108,7 +108,7 @@
|
||||
},
|
||||
schemas: customSearchFormSchema,
|
||||
fieldMapToTime: [],
|
||||
showResetButton: false
|
||||
showResetButton: true
|
||||
},
|
||||
beforeFetch: (params) => {
|
||||
return { ...params, FormId: formIdComputedRef.value, PK: 'id' };
|
||||
|
||||
@ -107,7 +107,7 @@
|
||||
},
|
||||
schemas: customSearchFormSchema,
|
||||
fieldMapToTime: [],
|
||||
showResetButton: false
|
||||
showResetButton: true
|
||||
},
|
||||
beforeFetch: (params) => {
|
||||
return { ...params, FormId: formIdComputedRef.value, PK: 'id' };
|
||||
|
||||
Reference in New Issue
Block a user