Kaynağa Gözat

面损表-保存按钮权限

jbb 2 yıl önce
ebeveyn
işleme
5ba1d12c5f
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/views/reportForms/fabric-loss-table.vue

+ 2 - 2
src/views/reportForms/fabric-loss-table.vue

@@ -380,7 +380,7 @@
           <a-button type="primary" @click="daYin" style="margin-right:6px" :disabled ="PrintButton">
             打印
           </a-button> 
-            <a-button type="primary" @click="save" :loading="loadingBtn">
+            <a-button type="primary" @click="save" :loading="loadingBtn" :disabled="!(fabricLoss.status==''||fabricLoss.status=='保存')">
             保存
           </a-button>       
         </a-col>
@@ -1444,7 +1444,7 @@ export default {
         
     if (ccode != undefined && ccode != ""){
       this.planNO = ccode;
-      this.showSelect=1;
+      // this.showSelect=1;
       this.isView = true;
       this.onSearch(this.planNO,'0');
     }