Ver Fonte

室内质控月分析总结报告查阅的时候子表按钮会显示bug修复(川北)

shenqilong há 8 meses atrás
pai
commit
2f070d0726
1 ficheiros alterados com 4 adições e 10 exclusões
  1. 4 10
      src/views/component/qualityControl/indexChuanBei.vue

+ 4 - 10
src/views/component/qualityControl/indexChuanBei.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
   <div class="qualityControl">
   <div class="qualityControl">
-    <div v-if="(!readonly && shiFouGuoShen) || daiBianZhi" class="btn">
+    <div v-if="!readonly && shiFouGuoShen" class="btn">
       <el-button type="primary" icon="ibps-icon-plus" @click="onAddClick"
       <el-button type="primary" icon="ibps-icon-plus" @click="onAddClick"
         >添加</el-button
         >添加</el-button
       >
       >
@@ -60,7 +60,7 @@
         </el-table-column>
         </el-table-column>
         <el-table-column label="是否合格" prop="shiFouHeGe" />
         <el-table-column label="是否合格" prop="shiFouHeGe" />
         <el-table-column
         <el-table-column
-          v-if="(!readonly && shiFouGuoShen) || daiBianZhi"
+          v-if="!readonly && shiFouGuoShen"
           label="操作栏位"
           label="操作栏位"
           fixed="right"
           fixed="right"
         >
         >
@@ -145,18 +145,12 @@ export default {
       if (
       if (
         !this.formData.shiFouGuoShen ||
         !this.formData.shiFouGuoShen ||
         this.formData.shiFouGuoShen === '已退回' ||
         this.formData.shiFouGuoShen === '已退回' ||
-        this.formData.shiFouGuoShen === '已暂存'
+        this.formData.shiFouGuoShen === '已暂存' ||
+        this.formData.shiFouGuoShen === '待编制'
       ) {
       ) {
         return true
         return true
       }
       }
       return false
       return false
-    },
-    daiBianZhi() {
-      if (this.formData.shiFouGuoShen == '待编制') {
-        return true
-      } else {
-        return false
-      }
     }
     }
   },
   },
   watch: {
   watch: {