From 0e6e2c0aeb20a8a1eeca9158b4cd9ea8326474bc Mon Sep 17 00:00:00 2001 From: linfso Date: Thu, 13 Mar 2025 08:02:14 +0800 Subject: [PATCH] md --- src/views/emis/emisCreditCustomer/index.vue | 16 +++++++++++++ src/views/emis/emisCreditSalesmen/index.vue | 23 ++++++++++++++++--- .../emis/emisWaybill/sendWaybillList.vue | 21 +++++++++++++++++ 3 files changed, 57 insertions(+), 3 deletions(-) diff --git a/src/views/emis/emisCreditCustomer/index.vue b/src/views/emis/emisCreditCustomer/index.vue index aa706d0f..91c2ed24 100644 --- a/src/views/emis/emisCreditCustomer/index.vue +++ b/src/views/emis/emisCreditCustomer/index.vue @@ -64,6 +64,7 @@ @queryTable="getList" @selection-change="handleSelectionChange" @sort-change="handleSortChange" + @row-dblclick="handleShowBillList" >
@@ -275,6 +276,21 @@ export default { this.$modal.msgSuccess("已保存"); }); }, + handleShowBillList(row){ + let item0=row; + this.$router.push( + { + path: '/d24/waybillManagement/SendWaybillList', + query: { + action: "queryByCredit", + custNo: item0.monthlyPayCode, + startDate: item0.startDate, + endDate: item0.endDate, + '_t':(new Date()).getTime() + } + } + ); + }, /** 搜索按钮操作 */ handleQuery() { diff --git a/src/views/emis/emisCreditSalesmen/index.vue b/src/views/emis/emisCreditSalesmen/index.vue index e8314867..16361687 100644 --- a/src/views/emis/emisCreditSalesmen/index.vue +++ b/src/views/emis/emisCreditSalesmen/index.vue @@ -36,8 +36,8 @@
@@ -248,8 +250,23 @@ export default { this.total = response.total; this.loading = false; }); - }, + }, + handleShowBillList(row){ + let item0=row; + this.$router.push( + { + path: '/d24/waybillManagement/SendWaybillList', + query: { + action: "queryByCredit", + salemen: item0.salemen, + startDate: item0.startDate, + endDate: item0.endDate, + '_t':(new Date()).getTime() + } + } + ); + }, /** 搜索按钮操作 */ handleQuery() { this.queryParams.pageNum = 1; diff --git a/src/views/emis/emisWaybill/sendWaybillList.vue b/src/views/emis/emisWaybill/sendWaybillList.vue index 5b646416..28f64858 100644 --- a/src/views/emis/emisWaybill/sendWaybillList.vue +++ b/src/views/emis/emisWaybill/sendWaybillList.vue @@ -824,6 +824,27 @@ export default { }, }; }, + watch: { + $route () { + if(this.$route.action=='queryByCredit'){ + if(this.$route.query.custNo!=null){ + this.queryParams.custNo=this.$route.query.custNo; + } + + if(this.$route.query.salesmen!=null){ + this.queryParams.salesmen=this.$route.query.salesmen; + } + + let startTime=this.$route.query.startDate; + let endTime=this.$route.query.endDate; + this.dateRange=[timeFormat(startTime), timeFormat(endTime)] + this.queryOrderType="1"; + this.queryOrderDateType="1"; + this.getList(); + } + + } + }, created() { if(this.$store.getters.ownerSiteCode!='88888'){ this.queryParams.sendSiteCode=this.$store.getters.ownerSiteCode;