This commit is contained in:
linfso 2025-07-01 11:11:51 +08:00
parent efee676d07
commit d54c7ffc83

View File

@ -113,7 +113,6 @@
<el-button <el-button
type="primary" type="primary"
plain plain
icon="el-icon-plus"
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handleReCalcProfitByBillCode" @click="handleReCalcProfitByBillCode"
@ -521,14 +520,10 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
initQueryParams(){
this.queryParams=this.addDateRange(this.queryParams, this.dateTimeRange,"sendDate")
return this.queryParams;
},
/** 查询运输运单利润统计表列表 */ /** 查询运输运单利润统计表列表 */
getList() { getList() {
this.loading = true; this.loading = true;
listEmisTmsCostProfit(this.queryParams).then(response => { listEmisTmsCostProfit(this.addDateRange(this.queryParams, this.dateTimeRange,"sendDate")).then(response => {
this.emisTmsCostProfitList = response.rows; this.emisTmsCostProfitList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
@ -680,10 +675,10 @@ export default {
this.exportData(this.selectBillList,loadingInstance); this.exportData(this.selectBillList,loadingInstance);
} }
else{ else{
let qExportParam=this.initQueryParams(); let qExportParam={...queryParams};
qExportParam.pageNum=1; qExportParam.pageNum=1;
qExportParam.pageSize=20000; qExportParam.pageSize=20000;
listEmisTmsCostProfit(qExportParam).then(response => { listEmisTmsCostProfit(this.addDateRange(qExportParam, this.dateTimeRange,"sendDate")).then(response => {
if (response.code === 200) { if (response.code === 200) {
this.exportData(response.rows,loadingInstance); this.exportData(response.rows,loadingInstance);
} }