This commit is contained in:
mashuai 2025-12-10 14:41:21 +08:00
parent 894d1a5e91
commit 61c40efe2b
2 changed files with 12 additions and 2 deletions

View File

@ -130,6 +130,8 @@
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="工程状态" align="center" prop="proStatus" :show-overflow-tooltip="true"/>
<el-table-column label="竣工日期" align="center" prop="actualEndDate" :show-overflow-tooltip="true"/>
</el-table> </el-table>
@ -916,6 +918,7 @@ export default {
// Excel // Excel
const columns = [ const columns = [
{ key: 'index', title: '序号' }, { key: 'index', title: '序号' },
{ key: 'impUnitName', title: '分公司' },
{ key: 'agreementCode', title: '协议号' }, { key: 'agreementCode', title: '协议号' },
{ key: 'unitName', title: '结算单位' }, { key: 'unitName', title: '结算单位' },
{ key: 'projectName', title: '结算工程' }, { key: 'projectName', title: '结算工程' },
@ -925,7 +928,9 @@ export default {
{ key: 'repairCost', title: '维修费用' }, { key: 'repairCost', title: '维修费用' },
{ key: 'loseCost', title: '丢失费用' }, { key: 'loseCost', title: '丢失费用' },
{ key: 'scrapCost', title: '报废费用' }, { key: 'scrapCost', title: '报废费用' },
{ key: 'costs', title: '合计费用(元)' } { key: 'costs', title: '合计费用(元)' },
{ key: 'proStatus', title: '工程状态' },
{ key: 'actualEndDate', title: '竣工日期' }
]; ];
// Excel // Excel
@ -965,6 +970,7 @@ export default {
// //
const columnWidths = [ const columnWidths = [
{ wch: 8 }, // { wch: 8 }, //
{ wch: 15 }, //
{ wch: 20 }, // { wch: 20 }, //
{ wch: 15 }, // { wch: 15 }, //
{ wch: 20 }, // { wch: 20 }, //
@ -974,7 +980,9 @@ export default {
{ wch: 12 }, // { wch: 12 }, //
{ wch: 12 }, // { wch: 12 }, //
{ wch: 12 }, // { wch: 12 }, //
{ wch: 15 } // { wch: 15 }, //
{ wch: 12 }, //
{ wch: 12 } //
]; ];
worksheet['!cols'] = columnWidths; worksheet['!cols'] = columnWidths;

View File

@ -139,6 +139,8 @@
<el-table-column label="在用总价值(元)" align="center" prop="usPrice"></el-table-column> <el-table-column label="在用总价值(元)" align="center" prop="usPrice"></el-table-column>
<!-- <el-table-column label="投入总价值(元)" align="center" prop="totalPrice" />--> <!-- <el-table-column label="投入总价值(元)" align="center" prop="totalPrice" />-->
<el-table-column label="协议状态" align="center" prop="isSltName" :show-overflow-tooltip="true"/> <el-table-column label="协议状态" align="center" prop="isSltName" :show-overflow-tooltip="true"/>
<el-table-column label="工程状态" align="center" prop="proStatus" :show-overflow-tooltip="true"/>
<el-table-column label="竣工日期" align="center" prop="actualEndDate" :show-overflow-tooltip="true"/>
</el-table> </el-table>
<pagination <pagination
v-show="total > 0" v-show="total > 0"