Browse Source

feat: 充值订单管理 - 用户注册时间 - 默认当天逻辑

zhengxy 1 year ago
parent
commit
1e9cbbf3f5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      project/src/components/orderManage/charge.vue

+ 2 - 1
project/src/components/orderManage/charge.vue

@@ -11,7 +11,7 @@
11 11
         <self-channel style="margin-right: 10px;" title="" type='promotionType' :reset="resetFlag" :labelWidth="true" @channelDefine="(val) => { plat_order_type = val; init(1); init_predata() }" />
12 12
         <self-channel style="margin-right: 10px;" title="" type='incomeSource' :reset="resetFlag" :labelWidth="true" @channelDefine="(val) => { is_ad_user = val; init(1); init_predata() }" />
13 13
         <selfChannelV2 style="margin-right: 10px;" v-model="account_id" type='adqAccount' title="" :labelWidth="true" @change="(val) => { account_id = val; init(1); init_predata() }" />
14
-        <date-picker title="" :quickFlag="false" :clearFlag='true' :timeFlag="true" :reset="resetFlag" placeholder="用户注册时间" :defaultTime="['00:00:00', '23:59:59']" :pickerOptions="pickerOptions" @changeTime="changeTimeUserReg" style="margin-right: 10px;"  />
14
+        <date-picker title="" :quickFlag="false" :clearFlag='true' :timeFlag="true" :reset="resetFlag" placeholder="用户注册时间" :defaultTime="['00:00:00', '23:59:59']" :pickerOptions="pickerOptions" @changeTime="changeTimeUserReg" style="margin-right: 10px;" :afferent_time="userRegTime" />
15 15
         <selfChannelV2 style="margin-right: 10px;" v-model="order_pay_type" type='orderPayType' title="" :labelWidth="true" @change="onChangeOrderPayType" />
16 16
         <selfChannelV2 style="margin-right: 10px;" v-model="ad_report_action_type" type='adReportType' title="" :labelWidth="true" @change="onChangeAdReportActionType" />
17 17
         <selfSelectCorp style="margin-right: 10px;" v-model="corp_id" labelName="" placeholder="企微主体" @change="onChangeCorpid" />
@@ -251,6 +251,7 @@ export default {
251 251
     if (account) { // 默认筛选ADQ账号
252 252
       this.account_id = account
253 253
       this.default_time = [this.$getDay(0, false), this.$getDay(0, false)]
254
+      this.userRegTime = [this.$getDay(0, false) + ' 00:00:00', this.$getDay(0, false) + ' 23:59:59']
254 255
     }
255 256
   },
256 257
   mounted() {