From 437a70bd86d8adda3da41853b8b1c2706a22fdd7 Mon Sep 17 00:00:00 2001 From: 张诺 <zhang_12370@163.com> Date: 星期四, 12 六月 2025 18:03:59 +0800 Subject: [PATCH] 优化文档管理及基础信息页面 --- src/views/production/components/ProductionDialog.vue | 16 ++-------------- 1 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/views/production/components/ProductionDialog.vue b/src/views/production/components/ProductionDialog.vue index 035d75a..07772d6 100644 --- a/src/views/production/components/ProductionDialog.vue +++ b/src/views/production/components/ProductionDialog.vue @@ -8,7 +8,6 @@ > <el-button type="primary" @click="handlData">閫夋嫨鏁版嵁</el-button> <ETable - v-if="tableData.length > 0" :columns="columns" height="200" @cell-edit="handleCellEdit" @@ -19,7 +18,7 @@ /> <div class="empty-table"> <h1>鐢熶骇鏄庣粏</h1> - <el-row :gutter="10" v-if="tableData.length > 0"> + <el-row :gutter="10"> <el-col :span="2"> <el-button type="primary" @click="addNewRow"> <el-icon> @@ -45,7 +44,6 @@ </el-col> --> </el-row> <ProductionDetailsTable - v-if="tableData.length > 0" v-model="detailsTableData" :border="false" :show-operations="true" @@ -53,7 +51,6 @@ @input-change="handleDetailsChange" @delete-row="handleDeleteRow" /> - <div style="margin-top: 20px;" v-else>鏆傛棤鏁版嵁锛岃閫夋嫨閰嶇疆鏁版嵁</div> </div> @@ -129,16 +126,7 @@ { label: "鏈浣跨敤鏁伴噺", prop: "used" }, ]; const detailsTableData = ref([ - { - coalType: "", - calorificValue: "", - productionQuantity: "", - laborCost: "", - energyCost: "", - equipmentDepreciation: "", - purchasePrice: "", - totalCost: "", - }, + ]); const handleRowClick = (row) => { currentRow.value = row; -- Gitblit v1.9.3