|
@@ -19,6 +19,7 @@ import { xcMessage } from "@/utils/xiaochan-element-plus";
|
|
|
import ScanCodeGun from "@/components/xmlr/dialog/ScanCodeGun.vue";
|
|
|
import { isDev, needRule, ruleName } from "@/utils/public";
|
|
|
import { magicApi } from "@/utils/database/magic-api-request";
|
|
|
+import dayjs from "dayjs";
|
|
|
|
|
|
const { saveData, saveProxy, store, muBanRef, medicalTechnology } = inject(
|
|
|
key
|
|
@@ -74,7 +75,7 @@ function handleSave() {
|
|
|
orderNo: medicalTechnology ? 3 : 0,
|
|
|
ledgerSn: store.patInfo.ledgerSn,
|
|
|
receiptNo: receiptNo.value,
|
|
|
- chargeDate: store.chargeDate,
|
|
|
+ chargeDate: dayjs(store.chargeDate).format("YYYY-MM-DD hh:mm:ss"),
|
|
|
};
|
|
|
|
|
|
if (needRule(ruleName.财务)) {
|