lilei 3 anos atrás
pai
commit
6ce436e4ad

+ 1 - 1
src/views/productManagement/productLaunchAudit/list.vue

@@ -40,7 +40,7 @@
         </div>
         <!-- 列表 -->
         <div style="margin-bottom: 10px">
-          <a-button type="primary" v-if="$hasPermissions('B_productLaunchAudit_batchAudit')" id="productLaunchAudit-export" :loading="loading" @click="handleBatchAudit">批量审核</a-button>
+          <a-button type="primary" v-if="$hasPermissions('B_productLaunchAudit_batchAudit')&&queryParam.bizState == 'WAIT'" id="productLaunchAudit-export" :loading="loading" @click="handleBatchAudit">批量审核</a-button>
           <span style="margin-left: 5px" v-if="$hasPermissions('B_productLaunchAudit_batchAudit')">
             <template v-if="rowSelectionInfo && rowSelectionInfo.selectedRowKeys.length>0">{{ `已选 ${rowSelectionInfo.selectedRowKeys.length} 项` }}</template>
           </span>

+ 1 - 1
src/views/productManagement/productOfflineAudit/list.vue

@@ -68,7 +68,7 @@
         </div>
         <!-- 列表 -->
         <div style="margin-bottom: 10px">
-          <a-button type="primary" v-if="$hasPermissions('B_productOfflineAudit_batchAudit')" id="productOfflineAudit-export" :loading="loading" @click="handleBatchAudit">批量审核</a-button>
+          <a-button type="primary" v-if="$hasPermissions('B_productOfflineAudit_batchAudit')&&queryParam.bizState == 'WAIT'" id="productOfflineAudit-export" :loading="loading" @click="handleBatchAudit">批量审核</a-button>
           <span style="margin-left: 5px" v-if="$hasPermissions('B_productOfflineAudit_batchAudit')">
             <template v-if="rowSelectionInfo && rowSelectionInfo.selectedRowKeys.length>0">{{ `已选 ${rowSelectionInfo.selectedRowKeys.length} 项` }}</template>
           </span>