From 2b78cf0cd68e1809bc4cad7d730bef6ab9c4c118 Mon Sep 17 00:00:00 2001
From: zzq <a13193816592@163.com>
Date: 星期四, 28 九月 2023 15:30:45 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/web/WMS

---
 src/views/overview/AddOverviewDialog.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/views/overview/AddOverviewDialog.vue b/src/views/overview/AddOverviewDialog.vue
index 0a83a4f..2dcf44e 100644
--- a/src/views/overview/AddOverviewDialog.vue
+++ b/src/views/overview/AddOverviewDialog.vue
@@ -107,10 +107,9 @@
                   </el-date-picker>
                 </el-form-item>
               </el-col>
-              <el-col :span="12">
+              <el-col v-if="showOperationType" :span="12">
                 <el-form-item label="鍏ュ簱绫诲瀷" prop="operationTypeId">
                   <el-select
-                    v-if="showOperationType"
                     v-model="editConfig.infomation.operationTypeId"
                     placeholder="璇烽�夋嫨"
                     size="mini"
@@ -120,7 +119,11 @@
                     <el-option v-for="item in operationTypeOptions" :key="item.id" :label="item.name" :value="item.id">
                     </el-option>
                   </el-select>
-                  <el-input v-else v-model="receiptType" disabled style="width: 90%"></el-input>
+                </el-form-item>
+              </el-col>
+              <el-col v-else :span="12">
+                <el-form-item label="鍏ュ簱绫诲瀷">
+                  <el-input v-model="receiptType" disabled style="width: 90%"></el-input>
                 </el-form-item>
               </el-col>
               <el-col :span="12">
@@ -411,7 +414,7 @@
         this.showEdit = false
         this.showFooter = true
         this.isValidateClick = false
-      } else if (this.editConfig.infomation.status === 4) {
+      } else if (this.editConfig.infomation.status === 4||this.editConfig.infomation.status === "瀹屾垚") {
         this.showButton = true
         this.showEdit = false
         this.isDelClick = true
@@ -423,6 +426,7 @@
         this.showFooter = false
         this.isValidateClick = false
       } else {
+        // 灏辩华---
         this.showButton = true
         this.showEdit = true
         this.showFooter = false
@@ -432,7 +436,8 @@
         this.list[0].status = "active"
       } else {
         this.list.map((item) => {
-          if (item.value === this.editConfig.infomation.status) {
+          console.log(item,this.editConfig.infomation.status,"鎵撳嵃淇℃伅")
+          if (item.value === this.editConfig.infomation.status||item.label===this.editConfig.infomation.status) {
             item.status = "active"
           } else {
             item.status = "todo"

--
Gitblit v1.8.0