duy 1 year ago
parent
commit
b8de60e948

+ 10 - 8
src/views/project/debit/contract/components/unit/row-data.vue

@@ -91,14 +91,16 @@
                         <el-button hc-btn type="primary" @click="addCheckListShow = true">添加</el-button>
                         <el-button hc-btn type="primary" @click="addCheckListShow = true">添加</el-button>
                     </template>
                     </template>
                 </hc-title>
                 </hc-title>
-                <hc-table :column="tableColumn" :datas="tableData" is-new :index-style="{ width: 60 }">
-                    <template #poseNum="{ row }">
-                        <hc-table-input v-model="row.poseNum" />
-                    </template>
-                    <template #action="{ row, index }">
-                        <el-link type="danger" @click="delRow(index)">删除</el-link>
-                    </template>
-                </hc-table>
+                <div style="height: 400px;">
+                    <hc-table :column="tableColumn" :datas="tableData" is-new :index-style="{ width: 60 }">
+                        <template #poseNum="{ row }">
+                            <hc-table-input v-model="row.poseNum" />
+                        </template>
+                        <template #action="{ row, index }">
+                            <el-link type="danger" @click="delRow(index)">删除</el-link>
+                        </template>
+                    </hc-table>
+                </div>
                 <div class="mt-4 text-orange">温馨提示:进行过变更的分解清单不允许修改编辑,分解清单编辑后,请重新下达零号变更台账</div>
                 <div class="mt-4 text-orange">温馨提示:进行过变更的分解清单不允许修改编辑,分解清单编辑后,请重新下达零号变更台账</div>
             </template>
             </template>
         </hc-body>
         </hc-body>

+ 7 - 5
src/views/project/debit/contract/unit.vue

@@ -33,11 +33,13 @@
                             <div class="text-sm text-orange">温馨提示:累计分解量 > 合同变更后量,整行文字红色</div>
                             <div class="text-sm text-orange">温馨提示:累计分解量 > 合同变更后量,整行文字红色</div>
                         </template>
                         </template>
                     </HcTitle>
                     </HcTitle>
-                    <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" is-new :index-style="{ width: 60 }">
-                        <template #key1="{ row }">
-                            <i class="i-iconoir-open-select-hand-gesture inline-block" />
-                        </template>
-                    </hc-table>
+                    <div style="height: 400px">
+                        <hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" is-new :index-style="{ width: 60 }">
+                            <template #key1="{ row }">
+                                <i class="i-iconoir-open-select-hand-gesture inline-block" />
+                            </template>
+                        </hc-table>
+                    </div>
                 </div>
                 </div>
             </hc-new-card>
             </hc-new-card>
         </div>
         </div>