This commit is contained in:
parent
71f6bba93f
commit
a6a5ba5cce
|
|
@ -88,6 +88,17 @@
|
||||||
style="width: 220px"
|
style="width: 220px"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item prop="isFinish">
|
||||||
|
<el-select v-model="queryParams.isFinish" placeholder="请选择竣工状态" clearable filterable>
|
||||||
|
<el-option
|
||||||
|
v-for="item in proStatus"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.name"
|
||||||
|
:value="item.id"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
|
||||||
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" >查询</el-button>
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" >查询</el-button>
|
||||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery" >重置</el-button>
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery" >重置</el-button>
|
||||||
|
|
@ -122,6 +133,13 @@
|
||||||
{{ (scope.row.buyPrice * scope.row.num).toFixed(2) }}
|
{{ (scope.row.buyPrice * scope.row.num).toFixed(2) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="竣工状态" align="center" prop="isFinish" :show-overflow-tooltip="true">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tag v-if="scope.row.isFinish == 1" effect="plain">已竣工</el-tag>
|
||||||
|
<el-tag type="warning" v-if="scope.row.isFinish == 0" effect="plain">未竣工</el-tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="竣工日期" align="center" prop="actualEndDate" :show-overflow-tooltip="true"/>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<pagination
|
<pagination
|
||||||
|
|
@ -177,9 +195,14 @@ export default {
|
||||||
typeName: null,
|
typeName: null,
|
||||||
modelName: null,
|
modelName: null,
|
||||||
keyWord: null,
|
keyWord: null,
|
||||||
|
isFinish: null,
|
||||||
},
|
},
|
||||||
typeNameOptions:[],
|
typeNameOptions:[],
|
||||||
typeModelNameOptions:[],
|
typeModelNameOptions:[],
|
||||||
|
proStatus:[
|
||||||
|
{ id: 0, name: '未竣工' },
|
||||||
|
{ id: 1, name: '已竣工' },
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
@ -331,8 +354,8 @@ export default {
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
getLostReportList(this.queryParams).then((response) => {
|
getLostReportList(this.queryParams).then((response) => {
|
||||||
this.tableList = response.rows || []
|
this.tableList = response.data.rows || []
|
||||||
this.total = response.total
|
this.total = response.data.total
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
console.error('获取丢失费用报表失败:', error)
|
console.error('获取丢失费用报表失败:', error)
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,17 @@
|
||||||
style="width: 130px"
|
style="width: 130px"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item prop="isFinish">
|
||||||
|
<el-select v-model="queryParams.isFinish" placeholder="请选择竣工状态" clearable filterable>
|
||||||
|
<el-option
|
||||||
|
v-for="item in proStatus"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.name"
|
||||||
|
:value="item.id"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
|
||||||
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" >查询</el-button>
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" >查询</el-button>
|
||||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery" >重置</el-button>
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery" >重置</el-button>
|
||||||
|
|
@ -73,6 +84,13 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="维修方式" align="center" prop="repairType" width="120" />
|
<el-table-column label="维修方式" align="center" prop="repairType" width="120" />
|
||||||
<el-table-column label="费用类型" align="center" prop="partType" width="120" />
|
<el-table-column label="费用类型" align="center" prop="partType" width="120" />
|
||||||
|
<el-table-column label="竣工状态" align="center" prop="isFinish" :show-overflow-tooltip="true">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tag v-if="scope.row.isFinish == 1" effect="plain">已竣工</el-tag>
|
||||||
|
<el-tag type="warning" v-if="scope.row.isFinish == 0" effect="plain">未竣工</el-tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="竣工日期" align="center" prop="actualEndDate" :show-overflow-tooltip="true"/>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<pagination
|
<pagination
|
||||||
|
|
@ -124,7 +142,12 @@ export default {
|
||||||
dateRange: null,
|
dateRange: null,
|
||||||
startTime: null,
|
startTime: null,
|
||||||
endTime: null,
|
endTime: null,
|
||||||
|
isFinish: null,
|
||||||
},
|
},
|
||||||
|
proStatus:[
|
||||||
|
{ id: 0, name: '未竣工' },
|
||||||
|
{ id: 1, name: '已竣工' },
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,17 @@
|
||||||
style="width: 130px"
|
style="width: 130px"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item prop="isFinish">
|
||||||
|
<el-select v-model="queryParams.isFinish" placeholder="请选择竣工状态" clearable filterable>
|
||||||
|
<el-option
|
||||||
|
v-for="item in proStatus"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.name"
|
||||||
|
:value="item.id"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
|
||||||
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" >查询</el-button>
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery" >查询</el-button>
|
||||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery" >重置</el-button>
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery" >重置</el-button>
|
||||||
|
|
@ -71,6 +82,13 @@
|
||||||
{{ scope.row.costs ? scope.row.costs.toFixed(2) : '0.00' }}
|
{{ scope.row.costs ? scope.row.costs.toFixed(2) : '0.00' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="竣工状态" align="center" prop="isFinish" :show-overflow-tooltip="true">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-tag v-if="scope.row.isFinish == 1" effect="plain">已竣工</el-tag>
|
||||||
|
<el-tag type="warning" v-if="scope.row.isFinish == 0" effect="plain">未竣工</el-tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="竣工日期" align="center" prop="actualEndDate" :show-overflow-tooltip="true"/>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<pagination
|
<pagination
|
||||||
|
|
@ -122,7 +140,12 @@ export default {
|
||||||
dateRange: null,
|
dateRange: null,
|
||||||
startTime: null,
|
startTime: null,
|
||||||
endTime: null,
|
endTime: null,
|
||||||
|
isFinish: null,
|
||||||
},
|
},
|
||||||
|
proStatus:[
|
||||||
|
{ id: 0, name: '未竣工' },
|
||||||
|
{ id: 1, name: '已竣工' },
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
|
||||||
|
|
@ -38,11 +38,11 @@
|
||||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery" >重置</el-button>
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery" >重置</el-button>
|
||||||
<el-button type="success" icon="el-icon-download" size="mini" @click="exportExcel" :disabled="tableList.length === 0">导出Excel</el-button>
|
<el-button type="success" icon="el-icon-download" size="mini" @click="exportExcel" :disabled="tableList.length === 0">导出Excel</el-button>
|
||||||
<el-button type="info" icon="el-icon-document-copy" size="mini" @click="showHistoryReportDialog">查看历史报表</el-button>
|
<el-button type="info" icon="el-icon-document-copy" size="mini" @click="showHistoryReportDialog">查看历史报表</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
type="success"
|
type="success"
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="exportZip"
|
@click="exportZip"
|
||||||
:disabled="!canDownload"
|
:disabled="!canDownload"
|
||||||
:loading="isExporting">
|
:loading="isExporting">
|
||||||
{{ exportButtonText }}
|
{{ exportButtonText }}
|
||||||
|
|
@ -604,7 +604,7 @@ import {
|
||||||
getUnitList,
|
getUnitList,
|
||||||
getAgreementInfoById, getUnitListFilterTeam,
|
getAgreementInfoById, getUnitListFilterTeam,
|
||||||
} from '@/api/back/index.js'
|
} from '@/api/back/index.js'
|
||||||
import {getSltList, costExamine, getSltReportedList, getSltReportList, getHistoryReportList,
|
import {getSltList, costExamine, getSltReportedList, getSltReportList, getHistoryReportList,
|
||||||
getHistoryLeaseCostDetails, getHistoryRepairCostDetails, getHistoryLoseCostDetails, getHistoryScrapCostDetails,
|
getHistoryLeaseCostDetails, getHistoryRepairCostDetails, getHistoryLoseCostDetails, getHistoryScrapCostDetails,
|
||||||
getExportZipUnsettled,getExportZipProgress
|
getExportZipUnsettled,getExportZipProgress
|
||||||
} from '@/api/cost/cost'
|
} from '@/api/cost/cost'
|
||||||
|
|
@ -929,7 +929,7 @@ export default {
|
||||||
this.ids.map(item => {
|
this.ids.map(item => {
|
||||||
param.push({ agreementId: item.agreementId,settlementType:item.settlementType })
|
param.push({ agreementId: item.agreementId,settlementType:item.settlementType })
|
||||||
})
|
})
|
||||||
this.totalItems = param.length;
|
this.totalItems = param.length;
|
||||||
|
|
||||||
const taskId = null
|
const taskId = null
|
||||||
const payload = {
|
const payload = {
|
||||||
|
|
@ -946,7 +946,7 @@ export default {
|
||||||
console.error('未结算批量明细导出失败', err);
|
console.error('未结算批量明细导出失败', err);
|
||||||
this.handleDownloadError(err);
|
this.handleDownloadError(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/** 初始化下载状态 */
|
/** 初始化下载状态 */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue