|
@@ -6,6 +6,8 @@ import { cptSex } from "@/utils/computed";
|
|
|
import Pr from "@/assets/prescription.png";
|
|
|
import { useVuePrint } from "@/utils/cy-use/useVuePrint";
|
|
|
import dayjs from "dayjs";
|
|
|
+import { stringIsBlank } from "@/utils/blank-utils";
|
|
|
+import { xcMessage } from "@/utils/xiaochan-element-plus";
|
|
|
|
|
|
const props = defineProps<{
|
|
|
data: PrintOrderVo;
|
|
@@ -140,7 +142,11 @@ defineExpose({
|
|
|
<el-button
|
|
|
@click="
|
|
|
() => {
|
|
|
- printFunc();
|
|
|
+ if (stringIsBlank(state.data.diagnose)) {
|
|
|
+ xcMessage.error('诊断不能为空');
|
|
|
+ } else {
|
|
|
+ printFunc();
|
|
|
+ }
|
|
|
}
|
|
|
"
|
|
|
>打印
|
|
@@ -386,7 +392,7 @@ defineExpose({
|
|
|
type="number"
|
|
|
/>mg 按医疗垃圾处理
|
|
|
</span>
|
|
|
- <span>
|
|
|
+ <span :class="item.dropAmt ? '' : 'print-none'">
|
|
|
双人签名:<span
|
|
|
style="width: 90pt; display: inline-block"
|
|
|
class="print-poisonous-hemp__tag--underline"
|
|
@@ -443,6 +449,14 @@ defineExpose({
|
|
|
style="width: 23%"
|
|
|
></div>
|
|
|
</div>
|
|
|
+ <div style="height: 4pt"></div>
|
|
|
+ <div style="display: flex">
|
|
|
+ <div>领药人:</div>
|
|
|
+ <div
|
|
|
+ class="print-poisonous-hemp__tag--underline"
|
|
|
+ style="width: 23%"
|
|
|
+ ></div>
|
|
|
+ </div>
|
|
|
<div style="margin: 5pt 0; border-top: 0.75pt solid #000"></div>
|
|
|
<div>说明:根据《处方管理办法》,本处方开具当日有效。</div>
|
|
|
</div>
|