From 13dab651f815f307ca3a5def321ea8919e9f6ff2 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期六, 12 十月 2024 11:32:30 +0800
Subject: [PATCH] 1.合伙人结算报表
---
pages/order/list/index.vue | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/pages/order/list/index.vue b/pages/order/list/index.vue
index 378a70a..706be30 100644
--- a/pages/order/list/index.vue
+++ b/pages/order/list/index.vue
@@ -42,6 +42,9 @@
hasEdit: true,
hasDelete: false,
persistSelection: true,
+ hasExport: true,
+ exportUrl: 'flower/api/order/list/export',
+ exportText: '导出订单',
onResetView: (row) => {
this.$router.push(`${this.$route.path}/${row.id}`)
},
@@ -83,6 +86,7 @@
{ label: '底价(元)', prop: 'supplierAmount', minWidth: 150 },
{ label: '订单状态', prop: 'statusBackendStr', minWidth: 120 },
{ label: '下单时间', prop: 'createTime', minWidth: 180 },
+ { label: '支付时间', prop: 'paymentTime', minWidth: 180 },
{ label: '合伙人', prop: 'partnerName', minWidth: 120 },
{ label: '库位', prop: 'warehouseLocationCode', minWidth: 120 },
{ label: '特殊需求', prop: 'specialNeedsStr', minWidth: 120 },
@@ -178,7 +182,11 @@
component: 'el-bus-select-area',
span: 24,
commonFormat: true,
- commonFormatProps: ['customerProvince', 'customerCity', 'customerRegion'],
+ commonFormatProps: [
+ 'customerProvince',
+ 'customerCity',
+ 'customerRegion',
+ ],
str: true,
strKey: 'districtStr',
rules: { required: true, message: '请选择地区' },
@@ -355,7 +363,9 @@
},
methods: {
getDistrict(row) {
- return `${row.customerProvince || ''}${row.customerCity || ''}${row.customerRegion || ''}`
+ return `${row.customerProvince || ''}${row.customerCity || ''}${
+ row.customerRegion || ''
+ }`
},
},
}
--
Gitblit v1.9.3