@ -213,7 +213,7 @@ export const fenToYuan = (amount: string | number): number => {
export const removeNullField = (obj: Object) => {
for (const key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
if (obj[key] === '') {
if (obj[key] === '' || obj[key] === null || obj[key] == undefined) {
delete obj[key]
}
@ -162,6 +162,7 @@ const formSchema = computed(() => {
newSchema.forEach((it) => {
if (it.field == 'consultTime') {
it.componentProps['disabled-date'] = dateAfterToday
it.componentProps['disabled'] = formType.value != 'create'
})
return [