diff --git a/src/views/cost/csotSettlement/component/finishTable.vue b/src/views/cost/csotSettlement/component/finishTable.vue index 906883b..26ee5b9 100644 --- a/src/views/cost/csotSettlement/component/finishTable.vue +++ b/src/views/cost/csotSettlement/component/finishTable.vue @@ -41,7 +41,8 @@ type="primary" v-if=" isSettle == 0 && - (isCostBear || (isRepair && currRowInfo.isSlt == 0)) + (isCostBear || (isRepair && currRowInfo.isSlt == 0)) && + tableData.length > 0 " @click="handleEdit" >{{ isEdit ? '取消编辑' : '编辑' }}