From 0026a9269703182de8c32dc4d35a4c4f1fd6202e Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 8 May 2026 16:51:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/tcm-prescription/index.vue | 209 ++++++++++++++++++ admin/tsconfig.tsbuildinfo | 2 +- 2 files changed, 210 insertions(+), 1 deletion(-) diff --git a/admin/src/components/tcm-prescription/index.vue b/admin/src/components/tcm-prescription/index.vue index fee177e3..06028b65 100644 --- a/admin/src/components/tcm-prescription/index.vue +++ b/admin/src/components/tcm-prescription/index.vue @@ -80,6 +80,7 @@ 中药处方 (RP) 添加中药 从处方库导入 + 导入药方
@@ -661,6 +662,40 @@ />
+ + + +

+ 粘贴整张药方文本,系统按「药名 + 剂量」解析;药名须与药品库中名称完全一致才会录入,否则跳过。支持顿号/逗号/换行分隔;单行可用空格分味(如「黄芪15g + 白术10g」);「黄芪、党参各10克」等同剂量写法亦可识别。 +

+ +
+ 导入方式 + + 覆盖现有药材 + 追加到末尾 + +
+ +