diff --git a/apps/web-antd/src/views/business/chat/components/PrescriptionModal.vue b/apps/web-antd/src/views/business/chat/components/PrescriptionModal.vue index e3ef444f..03b72ded 100644 --- a/apps/web-antd/src/views/business/chat/components/PrescriptionModal.vue +++ b/apps/web-antd/src/views/business/chat/components/PrescriptionModal.vue @@ -1168,9 +1168,13 @@ function openCommonPrescriptionModal() { } /** - * 打开金方导入(VIP:golden_formula) + * 打开金方导入(VIP:golden_formula);仅中药处方可用 */ function openGoldenFormulaModal() { + if (Number(prescriptionStore.activeCategory) !== 1) { + message.warning('金方仅支持中药处方'); + return; + } if (!canUseGoldenFormula.value) { message.warning('当前门店未开通金方 VIP 功能'); return; @@ -1590,7 +1594,7 @@ const cancelSaveCommonPrescription = () => { 选择常用方