From bfadd84fbc2b23c59695e5a94778ab7ac40fea03 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 26 六月 2021 22:54:17 +0800
Subject: [PATCH] 2021-06-26

---
 src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx
index 6a0f7b9..1384f9c 100644
--- a/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx
+++ b/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx
@@ -148,18 +148,16 @@
       }
       if (item.type === 'group') {
         let copy = fromJS(item).toJS()
-        copy.key = search.datefield
-
+        
         item.value = `@${search.field}@`
         item.match = '='
         
+        copy.key = search.datefield
         copy.type = 'daterange'
         copy.match = 'between'
         copy.value = [`@${search.datefield}@`, `@${search.datefield}1@`]
 
-        if (search.transfer === 'true') {
-          newsearches.push(item)
-        }
+        newsearches.push(item)
         newsearches.push(copy)
         return
       } else if (item.type === 'dateweek') {

--
Gitblit v1.8.0