浏览代码

手术编码问题

xiaochan 1 月之前
父节点
当前提交
aeb9a20db6

+ 7 - 16
public/static/printcss/test.css

@@ -1,18 +1,9 @@
-@media print {
-    @page {
-        size: auto;
-        margin: 20mm;
-        padding: 5px !important;
-        @bottom-right {
-            content: "第 " counter(page) " 页 / 共 " counter(pages) " 页";
-            height: 20px;
-        }
-        @top-center {
-            content: "长沙泰和医院"
-        }
-    }
-
-    .print-content {
-        border: 1px solid #000;
+@page {
+    size: auto;
+    margin: 0 0 5mm 0;
+    padding: 0;
+    @bottom-right {
+        content: "第 " counter(page) " 页 / 共 " counter(pages) " 页";
+        font-size: 12px;
     }
 }

+ 3 - 4
src/components/xmlr/components/projectInput/FeeInput.vue

@@ -17,7 +17,7 @@ import { useDialog } from "@/components/cy/CyDialog/index";
 import NewDialog from "@/components/xmlr/dialog/NewDialog.vue";
 import { xcMessage } from "@/utils/xiaochan-element-plus";
 import ScanCodeGun from "@/components/xmlr/dialog/ScanCodeGun.vue";
-import { needRule, ruleName } from "@/utils/public";
+import { isDev, needRule, ruleName } from "@/utils/public";
 import { magicApi } from "@/utils/database/magic-api-request";
 
 const { saveData, saveProxy, store, muBanRef, medicalTechnology } = inject(
@@ -27,7 +27,7 @@ const { saveData, saveProxy, store, muBanRef, medicalTechnology } = inject(
 const wardData = ref([]);
 const xiaoKeShiList = ref([]);
 
-const ssCode = ref("");
+const ssCode = ref(isDev ? "57026" : "");
 const receiptNo = ref("");
 
 const userStore = useUserStore().userInfo;
@@ -204,9 +204,8 @@ function handleSsCode() {
     }
     store.chargeDate = res[0].chargeDate;
     res.forEach(item => {
-      item.deptCode = store.patInfo.zkWard;
+      item.deptCode = item.execUnit ?? store.patInfo.zkWard;
     });
-
     saveProxy.push(...res);
   });
 }

+ 1 - 1
src/components/xmlr/index.ts

@@ -43,7 +43,7 @@ export const useXmlr = (props: XmlrProps, emits: UseDialogType.Emits) => {
 
   const store = reactive({
     // 住院号
-    searchPatNo: isDev ? "0430621" : "",
+    searchPatNo: isDev ? "0420189" : "",
     // 患者信息
     patInfo: {} as PatInfo,
     searchFeeParams: {