From 8e9cdb3ed05fbd3fa988a6c5fc3ad744a31ee194 Mon Sep 17 00:00:00 2001 From: Fox-33 <1466778434@qq.com> Date: Thu, 16 Oct 2025 16:43:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8A=A5=E5=91=8A=E4=B8=8B=E8=BD=BD;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 3 +++ pages_order/report/export.vue | 26 ++++++++++++++++++++++++++ pages_order/report/index.vue | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 pages_order/report/export.vue diff --git a/pages.json b/pages.json index e5647cf..93065c0 100644 --- a/pages.json +++ b/pages.json @@ -59,6 +59,9 @@ { "path": "report/index" }, + { + "path": "report/export" + }, { "path": "service/index" }, diff --git a/pages_order/report/export.vue b/pages_order/report/export.vue new file mode 100644 index 0000000..c9eb87e --- /dev/null +++ b/pages_order/report/export.vue @@ -0,0 +1,26 @@ + + + + + \ No newline at end of file diff --git a/pages_order/report/index.vue b/pages_order/report/index.vue index 0cf2201..6cc84fc 100644 --- a/pages_order/report/index.vue +++ b/pages_order/report/index.vue @@ -47,6 +47,10 @@ + + + + @@ -61,12 +65,14 @@ }, data() { return { + batchNo: null, detail: null, tableList: [], } }, onLoad(arg) { const { batchNo } = arg + this.batchNo = batchNo this.getData(batchNo) }, methods: { @@ -125,6 +131,11 @@ } }, + onDownload() { + uni.navigateTo({ + url: `/pages_order/report/export?batchNo=${this.batchNo}` + }) + }, }, } @@ -218,4 +229,27 @@ padding: 42rpx 127rpx 46rpx 127rpx; box-sizing: border-box; } + + .bottom { + position: sticky; + left: 0; + bottom: 0; + width: 100%; + padding: 35rpx 56rpx; + padding-bottom: calc(env(safe-area-inset-bottom) + 35rpx); + background: #FFFFFF; + box-sizing: border-box; + + .btn { + width: 100%; + padding: 29rpx 0; + font-size: 30rpx; + line-height: 1.5; + color: #FFFFFF; + background: #014FA2; + border-radius: 50rpx; + } + } + + \ No newline at end of file