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

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

diff --git a/src/views/reservation/resercopy/index.vue b/src/views/reservation/resercopy/index.vue
index c33d7c6..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;
         }
@@ -846,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 {
@@ -964,6 +964,7 @@
         newConfirm(data).then((res) => {
           this.$modal.msgSuccess("鎻愪氦鎴愬姛");
           this.confirm = true;
+           this.userList = [];
         });
       } else {
         this.$modal.msgError("璇峰~鍐欏甫鏄熷彿鍐呭");

--
Gitblit v1.8.0