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/history.vue | 7 ++++---
src/views/qyp-project-order/draw.vue | 4 ++--
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/qyp-project-order/draw.vue b/src/views/qyp-project-order/draw.vue
index a8d7ffb..9e628e8 100644
--- a/src/views/qyp-project-order/draw.vue
+++ b/src/views/qyp-project-order/draw.vue
@@ -97,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] === '') {
diff --git a/src/views/qyp-project-order/history.vue b/src/views/qyp-project-order/history.vue
index 57dba04..03db8cb 100644
--- a/src/views/qyp-project-order/history.vue
+++ b/src/views/qyp-project-order/history.vue
@@ -3,7 +3,7 @@
* @Author: zhaoxiaoqiang 287285524@qq.com
* @Date: 2023-08-24 15:16:23
* @LastEditors: zhaoxiaoqiang 287285524@qq.com
- * @LastEditTime: 2023-09-06 17:44:03
+ * @LastEditTime: 2023-09-07 10:13:57
* @FilePath: \qyp_plat\src\views\qyp-project-order\history.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
@@ -248,8 +248,9 @@
});
},
onSearch() {
- this.formInline.payStartTime = this.createdTime[0]?this.createdTime[0]:null;
- this.formInline.payEndTime = this.createdTime[1]?this.createdTime[1]:null;
+
+ this.formInline.payStartTime = this.createdTime&&this.createdTime[0]?this.createdTime[0]:null;
+ this.formInline.payEndTime = 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