From 007f2d1683d45fd9c8a6e7ecf133d95f093617d8 Mon Sep 17 00:00:00 2001
From: qx <1084500556@qq.com>
Date: 星期四, 27 二月 2025 17:04:21 +0800
Subject: [PATCH] qx

---
 src/views/hosp/order/index.vue |   34 ++++++++++++++++++++++++++++------
 1 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/src/views/hosp/order/index.vue b/src/views/hosp/order/index.vue
index 7c847ec..1711183 100644
--- a/src/views/hosp/order/index.vue
+++ b/src/views/hosp/order/index.vue
@@ -1556,6 +1556,7 @@
 import { getwater } from "@/api/hosp/customer";
 import { getInfo } from "@/api/login";
 import ViewPdf from "@/components/ViewPdf";
+import { getDicts } from "@/api/system/dict/data";
 import {
   shijianzhou,
   getaddtTransition,
@@ -1617,8 +1618,8 @@
       createTimeList: "",
       packagedataList: [],
       cusId: "",
-      payType: "0",
-      jsType: "0",
+      payType: "",
+      jsType: "",
       packageList: [],
       checkedkeys: [],
       dialogVisible: false,
@@ -2568,7 +2569,19 @@
 
     // 琛ュ綍椤圭洰
     handleProject(row) {
-      this.payType = "0";
+      let dictType = "reservation_pay_type";
+      getDicts(dictType).then((res) => {
+        if (res.code == 200) {
+          this.jsType = res.data[0].dictValue;
+        }
+      })
+      let dictTypes = "dict_pay_type";
+      getDicts(dictTypes).then((res) => {
+        if (res.code == 200) {
+          this.payType = res.data[0].dictValue;
+        }
+      })
+      
       this.loading = true;
       this.DataList = [];
       this.DataList3 = [];
@@ -2577,8 +2590,6 @@
       this.orderId = row.orderId;
       this.cusId = row.tjCusIdCard;
       this.userId = row.userId;
-      console.log(row, 666);
-
       this.customer = {
         cusIdcard: row.tjCusIdCard,
         cusName: row.tjCustomerName,
@@ -2640,7 +2651,18 @@
     },
     // 琛ュ綍椤圭洰
     handleProject1() {
-      this.payType = "0";
+      let dictType = "reservation_pay_type";
+      getDicts(dictType).then((res) => {
+        if (res.code == 200) {
+          this.jsType = res.data[0].dictValue;
+        }
+      })
+      let dictTypes = "dict_pay_type";
+      getDicts(dictTypes).then((res) => {
+        if (res.code == 200) {
+          this.payType = res.data[0].dictValue;
+        }
+      })
       this.loading = true;
       this.DataList = [];
       this.DataList3 = [];

--
Gitblit v1.8.0