From 5b6260623a61951bc065da832ed330f0ad7ffb37 Mon Sep 17 00:00:00 2001
From: qx <2540746708@qq.com>
Date: 星期四, 20 六月 2024 22:45:05 +0800
Subject: [PATCH] qxtj

---
 src/views/system/tijian/index.vue |   61 +++++++++++++++---------------
 1 files changed, 31 insertions(+), 30 deletions(-)

diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue
index b693f41..c56e90d 100644
--- a/src/views/system/tijian/index.vue
+++ b/src/views/system/tijian/index.vue
@@ -1628,39 +1628,40 @@
         cusCardId: this.form.cusIdcard,
         proId: item.proPrantId,
       };
-      delTbBycusCardIdAndProId(data).then((res) => {});
-      getTransitionList(this.form.cusIdcard).then((response) => {
-        this.tableData1 = response.data;
-        this.TotalPrice1 = 0;
-        if (this.tableData1) {
-          this.tableData1.forEach((item) => {
-            this.TotalPrice1 += item.nowPrice;
-            if (item.pacName === null) {
-              item.pacName = "鍗曢」";
-            }
-            if (item.pacName == "鍗曢」") {
-              item.list.forEach((item9) => {
-                this.treeList.push(item9.proId);
-              });
-            }
-            this.pacName = item.pacName;
-          });
+      delTbBycusCardIdAndProId(data).then((res) => {
+        getTransitionList(this.form.cusIdcard).then((response) => {
+          this.tableData1 = response.data;
+          this.TotalPrice1 = 0;
+          if (this.tableData1) {
+            this.tableData1.forEach((item) => {
+              this.TotalPrice1 += item.nowPrice;
+              if (item.pacName === null) {
+                item.pacName = "鍗曢」";
+              }
+              if (item.pacName == "鍗曢」") {
+                item.list.forEach((item9) => {
+                  this.treeList.push(item9.proId);
+                });
+              }
+              this.pacName = item.pacName;
+            });
 
-          const r = /^\+?[0-9][0-9]*$/; //姝f暣鏁帮紙鍙互0鎵撳ご锛�
-          let TotalPrice = this.TotalPrice1 * (this.discount / 10);
-          if (r.test(TotalPrice)) {
-            this.TotalPrice = TotalPrice + ".00";
+            const r = /^\+?[0-9][0-9]*$/; //姝f暣鏁帮紙鍙互0鎵撳ご锛�
+            let TotalPrice = this.TotalPrice1 * (this.discount / 10);
+            if (r.test(TotalPrice)) {
+              this.TotalPrice = TotalPrice + ".00";
+            } else {
+              this.TotalPrice = TotalPrice;
+            }
+
+            this.list1 = false;
+            this.list3 = true;
           } else {
-            this.TotalPrice = TotalPrice;
+            this.list1 = true;
+
+            this.TotalPrice = "0.00";
           }
-
-          this.list1 = false;
-          this.list3 = true;
-        } else {
-          this.list1 = true;
-
-          this.TotalPrice = "0.00";
-        }
+        });
       });
     },
     cope() {

--
Gitblit v1.8.0