From d5109bc673f9e526c5331947429a31a00bf6754d Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <287285524@qq.com> Date: Thu, 07 Sep 2023 10:16:43 +0800 Subject: [PATCH] 支付历史,权益领取时间查询 --- src/views/qyp-project-order/draw.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/qyp-project-order/draw.vue b/src/views/qyp-project-order/draw.vue index 05e4283..9e628e8 100644 --- a/src/views/qyp-project-order/draw.vue +++ b/src/views/qyp-project-order/draw.vue @@ -52,7 +52,7 @@ :columns="columns" :exportUrl="{ url: '/qyp/order/useExport', - powerId: '', + powerId:'430208', name: '权益领取', }" > @@ -64,6 +64,13 @@ import Etable from "@/components/table.vue"; export default { components: { Etable }, + props:{ + orderId:"" + }, + created(){ + this.searchData.orderId = this.orderId; + this.formInline.orderId = this.orderId; + }, data() { return { columns:[ @@ -90,8 +97,8 @@ }, methods:{ onSearch(){ - this.formInline.creStartTime = this.createdTime[0]?this.createdTime[0]:null; - this.formInline.creEndTime = this.createdTime[1]?this.createdTime[1]:null; + this.formInline.creStartTime = this.createdTime&&this.createdTime[0]?this.createdTime[0]:null; + this.formInline.creEndTime = this.createdTime&&this.createdTime[1]?this.createdTime[1]:null; let objForm = JSON.parse(JSON.stringify(this.formInline)); for (let key in objForm) { if (objForm[key] === "all"||objForm[key] === null||objForm[key] === '') { -- Gitblit v1.8.0