From 5d5ea5cd8c4cc06da24cec8442dba934e599f702 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期四, 19 十月 2023 17:11:28 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/WMS into zwf/style

---
 src/views/operate/scrap/AddScrapDialog.vue |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/src/views/operate/scrap/AddScrapDialog.vue b/src/views/operate/scrap/AddScrapDialog.vue
index c3c675e..3dc7f47 100644
--- a/src/views/operate/scrap/AddScrapDialog.vue
+++ b/src/views/operate/scrap/AddScrapDialog.vue
@@ -29,7 +29,6 @@
         label-position="right"
         label-width="120px"
         size="mini"
-        style="height: 60vh; overflow-x: hidden"
       >
         <div>
           <!-- <div>aaa</div> -->
@@ -121,9 +120,9 @@
         </div>
       </el-form>
       <!-- 灏� -->
-      <div v-if="showFooter" slot="footer" class="dialog-footer">
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" size="small" @click="saveClick('form')" :disabled="!showFooter">淇濆瓨</el-button>
         <el-button size="small" @click="editConfig.visible = false">鍙栨秷</el-button>
-        <el-button type="primary" size="small" @click="saveClick('form')">淇濆瓨</el-button>
       </div>
     </el-dialog>
   </div>
@@ -213,7 +212,7 @@
     },
     // 璁剧疆鍒犻櫎/鎵撳嵃/缂栬緫鏄惁鏄剧ず
     setBottonView() {
-      if (this.editConfig.title === "鏂板缓") {
+      if (this.editConfig.title === "鏂板缓"||this.editConfig.title==="缂栬緫") {
         this.showButton = false
         this.showEdit = false
         this.showFooter = true
@@ -225,7 +224,7 @@
         this.isValidateClick = false
       } else {
         this.showButton = true
-        this.showEdit = true
+        this.showEdit = false
         this.showFooter = false
         this.isValidateClick = true
       }
@@ -313,13 +312,13 @@
   height: calc(100% - 80px);
   overflow: auto;
   margin: 20px;
-  border: 1px solid #dcdfe6;
-  box-shadow: inset 0 0 2px #dee2e6;
-  -moz-box-shadow: inset 0 0 2px #dee2e6;
-  -webkit-box-shadow: inset 0 0 2px #dee2e6;
-  .basic-info-view {
-    margin-top: 20px;
-  }
+  // border: 1px solid #dcdfe6;
+  // box-shadow: inset 0 0 2px #dee2e6;
+  // -moz-box-shadow: inset 0 0 2px #dee2e6;
+  // -webkit-box-shadow: inset 0 0 2px #dee2e6;
+  // .basic-info-view {
+  //   margin-top: 20px;
+  // }
 }
 .purchase-view {
   display: flex;

--
Gitblit v1.8.0