|
|
|
@ -123,7 +123,7 @@ export const searchFormSchema: FormSchema[] = [ |
|
|
|
typeId: formModel.type, |
|
|
|
} |
|
|
|
//如果typeId是空,则不设置system'Options
|
|
|
|
if (!param.typeId) { |
|
|
|
if (!param.typeId || !param.unitId) { |
|
|
|
systemOptions.value = [] |
|
|
|
return |
|
|
|
} |
|
|
|
@ -155,7 +155,7 @@ export const searchFormSchema: FormSchema[] = [ |
|
|
|
typeId: e, |
|
|
|
} |
|
|
|
//如果typeId是空,则不设置system'Options
|
|
|
|
if (!param.typeId) { |
|
|
|
if (!param.typeId || !param.unitId) { |
|
|
|
systemOptions.value = [] |
|
|
|
return |
|
|
|
} |
|
|
|
|