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