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