From 9c5b051f3e0da994b7717a260846a8711c7f696b Mon Sep 17 00:00:00 2001
From: wuteng <419274783@qq.com>
Date: Wed, 12 Nov 2025 11:22:51 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E6=9C=88=E7=BB=93=E5=AE=A2=E6=88=B7?=
=?UTF-8?q?=E5=87=BA=E8=B4=A7=E7=BB=9F=E8=AE=A1=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../monthlyShipmentStatQuery.vue | 89 +++++++++++++++++--
1 file changed, 80 insertions(+), 9 deletions(-)
diff --git a/src/views/emis/emisCustomerUser/monthlyShipmentStatQuery.vue b/src/views/emis/emisCustomerUser/monthlyShipmentStatQuery.vue
index d3a00c98..eeecb04a 100644
--- a/src/views/emis/emisCustomerUser/monthlyShipmentStatQuery.vue
+++ b/src/views/emis/emisCustomerUser/monthlyShipmentStatQuery.vue
@@ -118,6 +118,14 @@
+
+
+
+ {{ scope.row.otherTickets }}
+
+
+
+
@@ -341,7 +349,7 @@ export default {
return prev;
}
}, 0);
- sums[index] = sums[index].toFixed(2);
+ sums[index] = sums[index].toFixed(0);
}
else if (
@@ -374,7 +382,7 @@ export default {
return prev;
}
}, 0);
- sums[index] = sums[index].toFixed(2);
+ sums[index] = sums[index].toFixed(0);
}
else if (
@@ -390,8 +398,20 @@ export default {
}
}, 0);
sums[index] = sums[index].toFixed(2);
- }
- else if(
+ } else if (
+ column.property === 'airTickets'
+ ){
+ const values = data.map(item => Number(item.airTickets));
+ sums[index] = values.reduce((prev, curr) => {
+ const value = Number(curr);
+ if (!isNaN(value)) {
+ return prev + curr;
+ } else {
+ return prev;
+ }
+ }, 0);
+ sums[index] = sums[index].toFixed(0);
+ } else if(
column.property === 'airWeight'
){
const values = data.map(item => Number(item.airWeight));
@@ -403,7 +423,7 @@ export default {
return prev;
}
}, 0);
- sums[index] = sums[index].toFixed(0);
+ sums[index] = sums[index].toFixed(2);
}else if(
column.property === 'landTickets'
){
@@ -416,7 +436,7 @@ export default {
return prev;
}
}, 0);
- sums[index] = sums[index].toFixed(2);
+ sums[index] = sums[index].toFixed(0);
}else if(
column.property === 'landWeight'
){
@@ -429,7 +449,7 @@ export default {
return prev;
}
}, 0);
- sums[index] = sums[index].toFixed(0);
+ sums[index] = sums[index].toFixed(2);
}else if(
column.property === 'importTickets'
){
@@ -442,7 +462,7 @@ export default {
return prev;
}
}, 0);
- sums[index] = sums[index].toFixed(2);
+ sums[index] = sums[index].toFixed(0);
}else if(
column.property === 'importWeight'
){
@@ -455,10 +475,61 @@ export default {
return prev;
}
}, 0);
+ sums[index] = sums[index].toFixed(2);
+ }else if(
+ column.property === 'seaTickets'
+ ){
+ const values = data.map(item => Number(item.seaTickets));
+ sums[index] = values.reduce((prev, curr) => {
+ const value = Number(curr);
+ if (!isNaN(value)) {
+ return prev + curr;
+ } else {
+ return prev;
+ }
+ }, 0);
sums[index] = sums[index].toFixed(0);
+ }else if(
+ column.property === 'seaWeight'
+ ){
+ const values = data.map(item => Number(item.seaWeight));
+ sums[index] = values.reduce((prev, curr) => {
+ const value = Number(curr);
+ if (!isNaN(value)) {
+ return prev + curr;
+ } else {
+ return prev;
+ }
+ }, 0);
+ sums[index] = sums[index].toFixed(2);
+ }else if(
+ column.property === 'otherTickets'
+ ){
+ const values = data.map(item => Number(item.otherTickets));
+ sums[index] = values.reduce((prev, curr) => {
+ const value = Number(curr);
+ if (!isNaN(value)) {
+ return prev + curr;
+ } else {
+ return prev;
+ }
+ }, 0);
+ sums[index] = sums[index].toFixed(0);
+ }else if(
+ column.property === 'otherWeight'
+ ){
+ const values = data.map(item => Number(item.otherWeight));
+ sums[index] = values.reduce((prev, curr) => {
+ const value = Number(curr);
+ if (!isNaN(value)) {
+ return prev + curr;
+ } else {
+ return prev;
+ }
+ }, 0);
+ sums[index] = sums[index].toFixed(2);
}
});
- console.log(sums);
return sums
},
handleExportDtl(){
From 6711f03d535dd4b47afc1146d9c0dc7858ff42f0 Mon Sep 17 00:00:00 2001
From: wuteng <419274783@qq.com>
Date: Wed, 12 Nov 2025 13:05:27 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E6=9C=88=E7=BB=93=E5=AE=A2=E6=88=B7?=
=?UTF-8?q?=E5=87=BA=E8=B4=A7=E7=BB=9F=E8=AE=A1=E5=85=B6=E8=A1=A8=E2=80=98?=
=?UTF-8?q?=E5=85=B6=E4=BB=96=E2=80=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/emis/emisCustomerUser/monthlyShipmentStatQuery.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/emis/emisCustomerUser/monthlyShipmentStatQuery.vue b/src/views/emis/emisCustomerUser/monthlyShipmentStatQuery.vue
index eeecb04a..05182f47 100644
--- a/src/views/emis/emisCustomerUser/monthlyShipmentStatQuery.vue
+++ b/src/views/emis/emisCustomerUser/monthlyShipmentStatQuery.vue
@@ -121,7 +121,7 @@
- {{ scope.row.otherTickets }}
+ {{ scope.row.otherTickets }}
From 2529c15a3dafb5cf716f9e5b484bb483017547b2 Mon Sep 17 00:00:00 2001
From: wuteng <419274783@qq.com>
Date: Wed, 12 Nov 2025 16:24:48 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E6=9C=88=E7=BB=93=E5=AE=A2=E6=88=B7?=
=?UTF-8?q?=E5=87=BA=E8=B4=A7=E6=98=8E=E7=BB=86=E5=AF=BC=E5=87=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../monthlyShipmentDetail.vue | 244 ++-----
.../emisCustomerUser/monthlyShipmentStat.vue | 11 +-
...monthlyShipmentStatReceiveCountryQuery.vue | 644 ++++++++++++++++++
3 files changed, 722 insertions(+), 177 deletions(-)
create mode 100644 src/views/emis/emisCustomerUser/monthlyShipmentStatReceiveCountryQuery.vue
diff --git a/src/views/emis/emisCustomerUser/monthlyShipmentDetail.vue b/src/views/emis/emisCustomerUser/monthlyShipmentDetail.vue
index 788e400c..218232ea 100644
--- a/src/views/emis/emisCustomerUser/monthlyShipmentDetail.vue
+++ b/src/views/emis/emisCustomerUser/monthlyShipmentDetail.vue
@@ -24,7 +24,7 @@
>
-
+
@@ -551,21 +551,16 @@ export default {
this.openForm = false;
},
- /** 导出按钮操作 */
- handleExport() {
+ /** 导出按钮操作 */
+ handleExport() {
const loadingInstance = this.$loading({
text: '正在导出...'
})
-
- if(this.selectList&&this.selectList.length>0){
- this.exportData(this.selectList,loadingInstance);
+ if(this.selectionList&&this.selectionList.length>0){
+ this.exportData(this.selectionList,loadingInstance);
}
else{
-
- let qExportParam={...this.queryParams};
- qExportParam.pageNum=1;
- qExportParam.pageSize=20000;
- queryPayBackRecordList(qExportParam).then(response => {
+ monthlyShipmentDetail(this.queryParams).then(response => {
if (response.code === 200) {
this.exportData(response.rows,loadingInstance);
}
@@ -582,7 +577,7 @@ export default {
excel.export_json_to_excel({
header: tHeader,
data,
- filename: '收款明细',
+ filename: '月结客户出货统计明细',
autoWidth: true
})
loadingInstance.close()
@@ -595,177 +590,80 @@ export default {
if (j === 'index') {
return ++index
}
-
- if (j === 'waybillDetail.parcelQty') {
- return v['waybillDetail']['parcelQty'];
+ if (j === 'kjlx') {
+ return v['sendSiteName']+'--'+v['dispatchUnderlingSiteName'];
}
-
- if (j === 'waybillDetail.billWeight') {
- return v['waybillDetail']['billWeight'];
+ if (j === 'fjr') {
+ return v['sendName']+'--'+v['receiveName'];
}
-
- if (j === 'waybillDetail.totalVolume') {
- return v['waybillDetail']['totalVolume'];
- }
-
- if (j === 'waybillDetail.volumeWeight') {
- return v['waybillDetail']['volumeWeight'];
- }
-
- if (j === 'waybillDetail.settlementWeight') {
- return v['waybillDetail']['settlementWeight'];
- }
-
- if (j === 'waybillDetail.freight') {
- return v['waybillDetail']['freight'];
- }
-
-
- if (j === 'waybillDetail.productTypeName') {
- return v['waybillDetail']['productTypeName']+'('+v['waybillDetail']['timeType']+')';
- }
-
-
- if (j === 'waybillDetail.transLineTypeName') {
- return v['waybillDetail']['transLineTypeName'];
- }
-
- if (j === 'waybillDetail.sendCompany') {
- return v['waybillDetail']['sendCompany'];
- }
-
- if (j === 'waybillDetail.paymentType') {
- let paymentType=v['waybillDetail']['paymentType'];
- return this.selectDictLabel(this.dict.type.emis_payment_type,paymentType);
- }
-
-
-
- if (j === 'settleBillDetail.payee') {
- return v['settleBillDetail']['payee'];
- }
-
- if (j === 'settleBillDetail.salesmen') {
- return v['settleBillDetail']['salesmen'];
- }
-
- if (j === 'settleBillDetail.recMoney') {
- return v['settleBillDetail']['recMoney'];
- }
-
- if (j === 'settleBillDetail.recMoney') {
- return v['settleBillDetail']['recMoney'];
- }
-
- if (j === 'settleBillDetail.refundMoney') {
- return v['settleBillDetail']['refundMoney'];
- }
-
- if (j === 'settleBillDetail.satisfyMoney') {
- return v['settleBillDetail']['satisfyMoney'];
- }
-
-
- if (j === 'settleBillDetail.allowanceMoney') {
- return v['settleBillDetail']['allowanceMoney'];
- }
-
- if (j === 'settleBillDetail.deductionMoney') {
- return v['settleBillDetail']['deductionMoney'];
- }
-
- if (j === 'settleBillDetail.otherMoney') {
- return v['settleBillDetail']['otherMoney'];
- }
-
- if (j === 'settlePayRecordDetail.remark') {
- return v['settlePayRecordDetail']['remark'];
- }
-
- if (j === 'settlePayRecordDetail.tradeDate') {
- return v['settlePayRecordDetail']['tradeDate'];
- }
-
- if (j === 'settleBillDetail.paymentDueDate') {
- return v['settleBillDetail']['paymentDueDate'];
- }
-
- if (j === 'settlePayRecordDetail.payId') {
- return v['settlePayRecordDetail']['payId'];
- }
-
- if (j === 'settlePayRecordDetail.recType') {
- let recType=v['settlePayRecordDetail']['recType'];
- if(recType == 1){
- return '收款';
- }
- else if(recType == 2){
- return '退款';
- }
- }
- if (j === 'settlePayRecordDetail.createByName') {
- return v['settlePayRecordDetail']['createByName'];
- }
- if (j === 'settlePayRecordDetail.createTime') {
- return v['settlePayRecordDetail']['createTime'];
- }
-
- if (j === 'settleBillDetail.settleBillName') {
- return v['settleBillDetail']['settleBillName'];
- }
- if (j === 'settleBillDetail.billMonth') {
- return v['settleBillDetail']['billMonth'];
- }
- if (j === 'settleBillDetail.creditPeriod') {
- return v['settleBillDetail']['creditPeriod'];
- }
- if (j === 'settleBillDetail.custName') {
- return v['settleBillDetail']['custName'];
- }
- if (j === 'settleBillDetail.custName') {
- let paymentType=v['waybillDetail']['paymentType'];
+ if (j === 'custName') {
+ let paymentType=v['paymentType'];
if(paymentType==2 || paymentType==4 || paymentType==5 ){
- return v['settleBillDetail']['custName'];
+ return v['custName'];
}else{
return "";
}
}
-
-
- if (j === 'settlePayRecordDetail.payType') {
- let payType=v['settlePayRecordDetail']['payType'];
-
+ if (j === 'sendMobile') {
+ return "";
}
- if (j === 'settleSubBill.openBillStatus') {
- let openBillStatus=v['settleSubBill']['openBillStatus'];
- if(openBillStatus== 0){
- return '未开票';
- }
- else if(openBillStatus == 1){
- return '已开票';
- }
- else if(openBillStatus == 2){
- return '部分开票';
- }
- else if(openBillStatus == 3){
- return '不开票';
- }
- else if(openBillStatus == 4){
- return '已完成';
- }
- else{
- return '';
- }
- }
- if (j === 'settleSubBill.invoicedMoney') {
- return v['settleSubBill']['invoicedMoney'];
- }
- if (j === 'settleSubBill.paymentStatus') {
- let paymentStatus=v['settleSubBill']['paymentStatus'];
- return this.selectDictLabel(this.dict.type.emis_payment_status,paymentStatus);
+ if (j === 'paymentStatus') {
+ return this.selectDictLabel(this.dict.type.emis_payment_status,v[j]);
}
+ if (j === 'pickupMethod') {
+ return this.selectDictLabel(this.dict.type.emis_qujian_fangshi,v[j]);
+ }
+ if (j === 'customsEclaration') {
+ return this.selectDictLabel(this.dict.type.emis_declare_mode,v[j]);
+ }
+ if (j === 'customsClear') {
+ return this.selectDictLabel(this.dict.type.emis_customs_clear,v[j]);
+ }
+ if (j === 'packType') {
+ return this.selectDictLabels(this.dict.type.emis_tab_packing_type,v[j]);
+ }
+
+ if (j === 'dispatchMethod') {
+ if(v[j] == 1){
+ return '派送';
+ }else{
+ return '自提';
+ }
+ }
+ if (j === 'blUploadPic') {
+ if(v['goodsPics']!=null && v['goodsPics']!=''){
+ return '是';
+ }else{
+ return '否';
+ }
+ }
+
+ if (j === 'blMessage') {
+ if(v[j] == 1){
+ return '发送';
+ }else{
+ return '不发送';
+ }
+ }
+ if (j === 'blAcceptMessage') {
+ if(v[j] == 1){
+ return '发送';
+ }else{
+ return '不发送';
+ }
+ }
+ if (j === 'blSign') {
+ if(v[j] == 1){
+ return '已签收';
+ }else{
+ return '未签收';
+ }
+ }
+ if (j === 'paymentType') {
+ return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]);
+ }
return v[j]
}))
},
diff --git a/src/views/emis/emisCustomerUser/monthlyShipmentStat.vue b/src/views/emis/emisCustomerUser/monthlyShipmentStat.vue
index 7bbfc5f5..64d14bcc 100644
--- a/src/views/emis/emisCustomerUser/monthlyShipmentStat.vue
+++ b/src/views/emis/emisCustomerUser/monthlyShipmentStat.vue
@@ -2,9 +2,12 @@
-
+
+
@@ -17,18 +20,18 @@
import MonthlyShipmentStatQuery from '@/views/emis/emisCustomerUser/monthlyShipmentStatQuery.vue';
-
+import monthlyShipmentStatReceiveCountryQuery from '@/views/emis/emisCustomerUser/monthlyShipmentStatReceiveCountryQuery.vue';
export default {
name: "MonthlyShipmentStat",
components: {
MonthlyShipmentStatQuery,
-
+ monthlyShipmentStatReceiveCountryQuery,
},
dicts: [
],
data() {
return {
- activeTab:'payback',
+ activeTab:'shipment',
queryInfo:null,
queryType:null,
showDtlList:false,
diff --git a/src/views/emis/emisCustomerUser/monthlyShipmentStatReceiveCountryQuery.vue b/src/views/emis/emisCustomerUser/monthlyShipmentStatReceiveCountryQuery.vue
new file mode 100644
index 00000000..c5cb8109
--- /dev/null
+++ b/src/views/emis/emisCustomerUser/monthlyShipmentStatReceiveCountryQuery.vue
@@ -0,0 +1,644 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+ {{ scope.row.totalTickets }}
+
+
+
+
+
+
+
+ {{ scope.row.expressTickets }}
+
+
+
+
+
+
+
+ {{ scope.row.airTickets }}
+
+
+
+
+
+
+
+ {{ scope.row.landTickets }}
+
+
+
+
+
+
+
+ {{ scope.row.importTickets }}
+
+
+
+
+
+
+
+ {{ scope.row.seaTickets }}
+
+
+
+
+
+
+
+ {{ scope.row.otherTickets }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+