|
@@ -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);
|
|
|
});
|
|
|
}
|