From d48a10fd6d1e2a88bc34da4b39eb006ad7ace091 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期五, 27 九月 2024 18:28:27 +0800 Subject: [PATCH] add:结算订单明细统计报表 --- pages/report/order-detail.vue | 77 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 77 insertions(+), 0 deletions(-) diff --git a/pages/report/order-detail.vue b/pages/report/order-detail.vue new file mode 100644 index 0000000..58c720c --- /dev/null +++ b/pages/report/order-detail.vue @@ -0,0 +1,77 @@ +<template> + <el-bus-crud ref="crud" v-bind="tableConfig"/> +</template> + +<script> +import { getPartnerListConfig } from '@/utils/form-item-config' +export default { + data() { + return { + tableConfig: { + url: 'flower/v2/report/order/detail/page', + hasEdit: false, + hasNew: false, + hasDelete: false, + hasView: false, + hasExport: true, + hasOperation: false, + exportUrl: 'flower/v2/report/order/detail/export', + exportText: '售后导出', + columns: [ + {label: '订单号', prop: 'orderNo', minWidth: '180px'}, + {label: '下单用户', prop: 'customer', minWidth: '100px'}, + {label: '收货人地址', prop: 'address', minWidth: '220px'}, + {label: '合伙人', prop: 'partnerName', minWidth: '100px'}, + {label: '下单时间', prop: 'orderDate', minWidth: '180px'}, + {label: '订单金额', prop: 'orderTotal', minWidth: '120px'}, + {label: '花农底价', prop: 'orderSupplierPriceAmount', minWidth: '100px'}, + {label: '平台区间加价', prop: 'orderMarkupOneAmount', minWidth: '100px'}, + {label: '平台加价', prop: 'orderMarkupTwoAmount', minWidth: '100px'}, + {label: '平台区域加价', prop: 'platformAreaFeeAmount', minWidth: '100px'}, + {label: '合伙人加价', prop: 'orderMarkupPartnerAmount', minWidth: '100px'}, + {label: '合伙人区间加价', prop: 'partnerSectionFeeAmount', minWidth: '120px'}, + {label: '会员折扣', prop: 'orderPriceDiscountAmount', minWidth: '100px'}, + {label: '优惠券', prop: 'orderCouponAmountTotal', minWidth: '100px'}, + {label: '质检降级扣款', prop: 'orderCheckFee', minWidth: '100px'}, + {label: '质检缺货扣款', prop: 'orderLackFeeSupplier', minWidth: '100px'}, + {label: '质检补货扣款', prop: 'orderReplaceFee', minWidth: '100px'}, + {label: '售后扣合伙人款', prop: 'orderFeePartner', minWidth: '120px'}, + {label: '售后扣花农款', prop: 'orderFeeSupplier', minWidth: '100px'}, + {label: '售后扣平台款', prop: 'orderFeePlatform', minWidth: '100px'}, + {label: '总包干费', prop: 'partnerTotalFeeAmount', minWidth: '100px'}, + {label: '销售扎数', prop: 'realSaleNum', minWidth: '100px'}, + {label: '利润', prop: 'profitFeeAmount', minWidth: '100px'}, + {label: '结算状态', prop: 'settleStatusStr', minWidth: '100px'}, + ], + searchForm: [ + { + type: 'row', + items: [ + { + label: '下单日期', + id: 'calDate', + component: 'el-date-picker', + type: 'date', + el: { + valueFormat: 'yyyy-MM-dd', + }, + }, + { ...getPartnerListConfig() }, + ], + }, + ], + form: [], + // extraButtons: [], + // extraDialogs: [], + }, + } + }, + head() { + return { + title: '订单结算明细', + } + }, + methods: {}, +} +</script> + -- Gitblit v1.9.3