From b989da3c3a99fef9068c20ac55467d7ce25523af Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期五, 08 三月 2024 14:25:04 +0800
Subject: [PATCH] su

---
 src/views/system/bill/index.vue |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/src/views/system/bill/index.vue b/src/views/system/bill/index.vue
index 86131ec..e8576d4 100644
--- a/src/views/system/bill/index.vue
+++ b/src/views/system/bill/index.vue
@@ -468,7 +468,9 @@
   hasReport,
   hasPrintCode,
   getOrderList,
+  getNewDateList
 } from "@/api/hosp/order";
+import moment from "moment";
 import ViewPdf from "@/components/ViewPdf";
 import { projectGetList, getOrder } from "@/api/system/tijian";
 import { SubmitCompany, getCompany, queryCompany } from "@/api/team/tuanti";
@@ -632,9 +634,10 @@
     };
   },
   created() {
-    this.getNowTime();
+    // this.getNowTime();
     this.getList();
     this.Company();
+    this.getdate();
   },
   mounted() {
     this.$nextTick(() => {
@@ -642,6 +645,15 @@
     });
   },
   methods: {
+    getdate() {
+      getNewDateList().then((res) => {
+        this.createTimeList = [
+          moment(res.data).format("YYYY-MM-DD 00:00:00"),
+          moment(res.data).format("YYYY-MM-DD 23:59:00"),
+        ];
+        console.log(this.createTimeList, 111);
+      });
+    },
     // / 澶勭悊榛樿閫変腑褰撳墠鏃ユ湡
     getNowTime() {
       var curDate = new Date().getTime();

--
Gitblit v1.8.0