Browse Source

求购界面调整

liusw 7 years ago
parent
commit
f517251a3f

+ 3 - 3
components/applyPurchase/ApplyInfo.vue

@@ -539,12 +539,12 @@
           .expand-content {
             display: none;
             position: absolute;
-            top: 67px;
+            top: 63px;
             justify-content: space-between;
             padding: 0 236px 0 36px;
             background: #fffbf0;
-            height: 45px;
-            line-height: 45px;
+            height: 48px;
+            line-height: 48px;
             color: #020202;
             div {
               display: inline-block;

+ 4 - 0
components/applyPurchase/BatchPublish.vue

@@ -379,6 +379,10 @@
       },
       modifyItem: function (index) {
         for (let i = 0; i < this.bomList.content.length; i++) {
+          if (this.bomList.content[i].active) {
+            this.$message.error('抱歉,您尚有未保存的信息')
+            return
+          }
           this.bomList.content[i].active = false
         }
 //        this.$set(this.bomList.content[index], 'active', true)