浏览代码

对比优化

wyh 1 年之前
父节点
当前提交
d83d1b3b02
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/views/module_kzks/projectCostList/ProjectCostList.vue

+ 4 - 4
src/views/module_kzks/projectCostList/ProjectCostList.vue

@@ -112,14 +112,14 @@
       </a-upload> -->
       <!-- 高级查询区域 -->
       <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
-      <a-dropdown v-if="selectedRowKeys.length > 0">
-        <a-button key="1" @click="batchDuiBi" disabled="chooseStatus"><a-icon type="shrink" />对比</a-button>
+      <a-button @click="batchDuiBi" :disabled="chooseStatus"><a-icon type="shrink" />对比</a-button>
+      <!-- <a-dropdown v-if="selectedRowKeys.length > 0"> -->
         <!-- <a-menu slot="overlay"> -->
           <!-- <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>对比</a-menu-item> -->
           <!-- <a-menu-item key="1" @click="batchDuiBi"><a-icon type="shrink" />对比</a-menu-item>
         </a-menu>
         <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button> -->
-      </a-dropdown>
+      <!-- </a-dropdown> -->
     </div>
 
     <!-- table区域-begin -->
@@ -301,7 +301,7 @@ import ProjectImportListModal from '../projectImportList/modules/ProjectImportLi
         // 获取对比级
         chooseRowType: undefined,
         // 对比状态
-        chooseStatus: undefined,
+        chooseStatus: true,
         // 获取到的对比数据
         duibiList: [],
         // 获取到的材料费对比数据