This commit is contained in:
linfso 2025-05-06 08:04:38 +08:00
parent af215cf63a
commit 63b4213575
2 changed files with 8 additions and 36 deletions

View File

@ -3,9 +3,7 @@
<div slot="pageContent" style="height:calc(100vh - 3rem)"> <div slot="pageContent" style="height:calc(100vh - 3rem)">
<XdTable <XdTable
slot="pageContent" slot="pageContent"
height="calc(100vh - 20rem)" height="calc(100vh - 20rem)"
v-loading="loading" v-loading="loading"
border stripe border stripe
size="mini" size="mini"
@ -22,8 +20,7 @@
@sort-change="handleSortChange" @sort-change="handleSortChange"
show-summary show-summary
:summary-method="getSummaries" :summary-method="getSummaries"
> >
<div slot="toolbar"> <div slot="toolbar">
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="1.5"> <el-col :span="1.5">
@ -195,19 +192,8 @@ export default {
pageNum: 1, pageNum: 1,
pageSize: 500, pageSize: 500,
billMonth: null, settleBillNo: null,
custNo: null,
openBillStatus: null,
paymentStatus: null,
chargeStatus: null,
payee: null,
salesmen: null,
params:{
noPayBill:null,
canOpenBill:null
}
}, },
}; };
}, },
@ -228,19 +214,7 @@ export default {
this.loading = true; this.loading = true;
this.emisSettleBillList=[]; this.emisSettleBillList=[];
console.log("====>queryInfo====>",this.queryInfo); console.log("====>queryInfo====>",this.queryInfo);
this.queryParams.salesmen=this.queryInfo.salesmen; this.queryParams.settleBillNo=this.queryInfo.settleBillNo;
this.queryParams.billMonth=this.queryInfo.billMonth;
if(this.queryType==1){
this.queryParams.params.noPayBill=1;
this.queryParams.params.canOpenBill=null;
this.queryParams.openBillStatus=null;
}
else if(this.queryType==2){
this.queryParams.params.noPayBill=null;
this.queryParams.params.canOpenBill=1;
this.queryParams.openBillStatus=0;
}
queryPayBackRecordList(this.queryParams).then(response => { queryPayBackRecordList(this.queryParams).then(response => {
this.emisSettleBillList = response.rows; this.emisSettleBillList = response.rows;
this.total = response.total; this.total = response.total;
@ -249,10 +223,6 @@ export default {
}, },
handleSendDbClick(row){
this.$emit("onSelect",row);
},
//指定列求和 //指定列求和
getSummaries(param) { getSummaries(param) {
const { columns, data } = param; const { columns, data } = param;
@ -410,7 +380,9 @@ export default {
qExportParam.pageNum=1; qExportParam.pageNum=1;
qExportParam.pageSize=20000; qExportParam.pageSize=20000;
listEmisSettleBill(qExportParam).then(response => { // qExportParam.settleBillNo=this.queryInfo.settleBillNo;
queryPayBackRecordList(qExportParam).then(response => {
if (response.code === 200) { if (response.code === 200) {
this.exportData(response.rows,loadingInstance); this.exportData(response.rows,loadingInstance);
} }

View File

@ -87,7 +87,7 @@
@click="handleExport" @click="handleExport"
>导出</el-button> >导出</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <!-- <el-col :span="1.5">
<el-button <el-button
type="warning" type="warning"
plain plain
@ -95,7 +95,7 @@
size="mini" size="mini"
@click="handleExportDtl" @click="handleExportDtl"
>导出收款明细</el-button> >导出收款明细</el-button>
</el-col> </el-col> -->
</el-row> </el-row>
</div> </div>