From bbd8b70f2544e07ce6ce4247ebb13f892dd86112 Mon Sep 17 00:00:00 2001
From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com>
Date: 星期四, 27 六月 2024 15:11:51 +0800
Subject: [PATCH] qxtj

---
 src/views/reservation/resercopy/index.vue |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/src/views/reservation/resercopy/index.vue b/src/views/reservation/resercopy/index.vue
index b04a7f9..18d9250 100644
--- a/src/views/reservation/resercopy/index.vue
+++ b/src/views/reservation/resercopy/index.vue
@@ -716,43 +716,43 @@
           sums[index] = this.ListObj.count;
           return;
         }
-        if (index === 7) {
+        if (index === 6) {
           sums[index] = "鐢风粍浜烘暟";
           return;
         }
-        if (index === 8) {
+        if (index === 7) {
           sums[index] = this.ListObj.manCount;
           return;
         }
-        if (index === 9) {
+        if (index === 8) {
           sums[index] = "鐢风粍閲戦";
           return;
         }
-        if (index === 10) {
+        if (index === 9) {
           sums[index] = this.ListObj.manMoney;
           return;
         }
-        if (index === 12) {
+        if (index === 11) {
           sums[index] = "濂崇粍浜烘暟";
           return;
         }
-        if (index === 13) {
+        if (index === 12) {
           sums[index] = this.ListObj.woManCount;
           return;
         }
-        if (index === 14) {
+        if (index === 13) {
           sums[index] = "濂崇粍閲戦";
           return;
         }
-        if (index === 15) {
+        if (index === 14) {
           sums[index] = this.ListObj.woManMoney;
           return;
         }
-        if (index === 16) {
+        if (index === 15) {
           sums[index] = "鍚堣閲戦";
           return;
         }
-        if (index === 17) {
+        if (index === 16) {
           sums[index] = this.ListObj.hjMoney;
           return;
         }
@@ -784,6 +784,7 @@
     // 鍙栨秷鎸夐挳
     cancel() {
       this.open = false;
+      this.open1 = false;
       this.creaseopen = false;
       this.reset();
     },
@@ -845,7 +846,7 @@
 
     /** 瀵煎叆鎸夐挳鎿嶄綔 */
     handleImport() {
-      if (this.data.dwId || this.data.dwDeptId) {
+      if (this.objs.drugManufacturerId && this.objs.reservationTime &&this.objs.dwDeptName) {
         this.upload.title = "鐢ㄦ埛瀵煎叆";
         this.upload.open = true;
       } else {
@@ -963,6 +964,7 @@
         newConfirm(data).then((res) => {
           this.$modal.msgSuccess("鎻愪氦鎴愬姛");
           this.confirm = true;
+           this.userList = [];
         });
       } else {
         this.$modal.msgError("璇峰~鍐欏甫鏄熷彿鍐呭");

--
Gitblit v1.8.0