From edb5616505a118523882a83f53f00e88d03bd373 Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期一, 20 五月 2024 12:07:51 +0800
Subject: [PATCH] qxtj

---
 src/views/hosp/order/index.vue |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/src/views/hosp/order/index.vue b/src/views/hosp/order/index.vue
index 88b2a51..e48c0cf 100644
--- a/src/views/hosp/order/index.vue
+++ b/src/views/hosp/order/index.vue
@@ -96,6 +96,16 @@
           >瀵煎嚭</el-button
         >
       </el-col>
+     
+      <el-col :span="1.5">
+        <el-button
+          type="primary"
+          size="mini"
+          @click="handleRevoke"
+          :disabled="single"
+          >鎾ら攢绛惧埌</el-button
+        >
+      </el-col>
       <el-col :span="1.5">
         <el-button
           type="primary"
@@ -106,6 +116,7 @@
           >琛ュ綍椤圭洰</el-button
         >
       </el-col>
+      
       <el-col :span="1.5">
         <el-button
           type="primary"
@@ -801,7 +812,7 @@
   hasReport,
   getPdf,
   getOrderList,
-  getNewDateList,
+  getNewDateList,revokeTjOrderByTjNum,
 } from "@/api/hosp/order";
 import moment from "moment";
 import { getwater } from "@/api/hosp/customer";
@@ -1059,6 +1070,13 @@
         }
       });
     },
+
+    handleRevoke(){
+      revokeTjOrderByTjNum(this.tjnumbers).then(res => {
+        this.$modal.msgSuccess("鎾ら攢鎴愬姛")
+        this.getList();
+      })
+    },
     /** 鐐瑰嚮鏄剧ず浣撴鎶ュ憡鎶ヨ〃*/
     // viewReport(row) {
     //   const tjNumber = row.tjNumber;
@@ -1276,6 +1294,7 @@
       this.Projectopen1 = true;
       this.title = "琛ュ綍椤圭洰";
     },
+   
     // 鐐瑰嚮鑾峰彇姣忎釜鏍戣妭鐐�
     handleCurrentChecked(data, checked, checkedNodes) {
       this.dataObj = data

--
Gitblit v1.8.0