|
@@ -419,7 +419,7 @@ const drugDefaultValue = async (isSearch: boolean, data: SearchOrdersType | YzTy
|
|
|
clearAndErrorMessage('请联系管理员。')
|
|
|
})
|
|
|
|
|
|
- yzInfoPrompt.value = prompt
|
|
|
+ yzInfoPrompt.value = XEUtils.isArray(prompt) ? prompt : []
|
|
|
|
|
|
const drugKey = `${data.orderCode}_${data.serial}`;
|
|
|
|
|
@@ -503,7 +503,7 @@ const itemDefaultValue = (isSearch: boolean, data: SearchOrdersType | YzType) =>
|
|
|
clearAndErrorMessage('请联系管理员。')
|
|
|
})
|
|
|
|
|
|
- yzInfoPrompt.value = prompt
|
|
|
+ yzInfoPrompt.value = XEUtils.isArray(prompt) ? prompt : []
|
|
|
|
|
|
if (isSearch) {
|
|
|
setYzData('dose', 1)
|