Commit f3b281dd authored by youjie's avatar youjie

no message

parent a3601e84
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
</view> </view>
</view> </view>
<view class="row"> <view class="row">
<view class="row" @click="SelectDate"> <view class="row" @click="SelectDate" v-if="msg.active!=3">
<text>{{year}}年</text> <text>{{year}}年</text>
<text>{{month}}月</text> <text>{{month}}月</text>
<u-icon name="arrow-down" size="28" color="#000"></u-icon> <u-icon name="arrow-down" size="28" color="#000"></u-icon>
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
{{ item.lineName }} {{ item.lineName }}
</view> </view>
<view class="userHeadPListATime"> <view class="userHeadPListATime">
{{ item.updateTime?item.updateTime:item.orderId }} {{ msg.active!=3?item.updateTime:item.orderId }}
</view> </view>
</view> </view>
<view class="userHeadPListR"> <view class="userHeadPListR">
...@@ -264,9 +264,20 @@ ...@@ -264,9 +264,20 @@
if(ID>=0) { if(ID>=0) {
this.msg.active = ID this.msg.active = ID
if(ID!=3){ if(ID!=3){
if(this.msg.StartTime==''){
const now = new Date();
this.year = now.getFullYear();
this.month = String(now.getMonth() + 1).padStart(2, '0');
this.msg.StartTime = this.year + '-' + this.month + '-01'
now.setMonth(now.getMonth() + 1, 0);
this.msg.EndTime = this.year + '-' + this.month + '-'+now.getDate()
this.times = this.year + '-' + this.month
}
this.msg.Type = ID this.msg.Type = ID
this.msg.BalanceState = 1 this.msg.BalanceState = 1
}else{ }else{
this.msg.StartTime = ''
this.msg.EndTime = ''
this.msg.BalanceState = 2 this.msg.BalanceState = 2
} }
} }
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</view> </view>
</view> </view>
<view class="row"> <view class="row">
<view class="row" @click="SelectDate"> <view class="row" @click="SelectDate" v-if="msg.active!=3">
<text>{{year}}年</text> <text>{{year}}年</text>
<text>{{month}}月</text> <text>{{month}}月</text>
<u-icon name="arrow-down" size="28" color="#000"></u-icon> <u-icon name="arrow-down" size="28" color="#000"></u-icon>
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
{{ item.lineName }} {{ item.lineName }}
</view> </view>
<view class="userHeadPListATime"> <view class="userHeadPListATime">
{{ item.updateTime?item.updateTime:item.orderId }} {{ msg.active!=3?item.updateTime:item.orderId }}
</view> </view>
</view> </view>
<view class="userHeadPListR"> <view class="userHeadPListR">
...@@ -265,9 +265,20 @@ ...@@ -265,9 +265,20 @@
if(ID>=0) { if(ID>=0) {
this.msg.active = ID this.msg.active = ID
if(ID!=3){ if(ID!=3){
if(this.msg.QStartDate==''){
const now = new Date();
this.year = now.getFullYear();
this.month = String(now.getMonth() + 1).padStart(2, '0');
this.msg.QStartDate = this.year + '-' + this.month + '-01'
now.setMonth(now.getMonth() + 1, 0);
this.msg.QEndDate = this.year + '-' + this.month + '-'+now.getDate()
this.times = this.year + '-' + this.month
}
this.msg.Type = ID this.msg.Type = ID
this.msg.IntegralState = 1 this.msg.IntegralState = 1
}else{ }else{
this.msg.QStartDate = ''
this.msg.QEndDate = ''
this.msg.IntegralState = 2 this.msg.IntegralState = 2
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment