wechat
lgyg 2023-09-09 23:15:43 +08:00
parent 949fd62f6b
commit d04de303be
1 changed files with 11 additions and 2 deletions

View File

@ -28,7 +28,7 @@
</view>
<view class="row_box">
<view class="text">季度{{item.quarter}}</view>
<view class="text">季度{{item.quarter|quartername}}</view>
</view>
<view class="row_box">
<view class="text">价格{{ item.price }}</view>
@ -112,7 +112,7 @@
</view>
<view class="plist u-border-bottom">
<view class="label_t">季度</view>
<view class="flex-1">{{formInfo.quarter}}</view>
<view class="flex-1">{{formInfo.quarter|quartername}}</view>
</view>
<view class="plist u-border-bottom">
<view class="label_t">价格</view>
@ -238,6 +238,14 @@
]
};
},
filters:{
quartername(val){
let keys = {1:'第一季度',2:'第二季度',3:'第三季度',4:'第四季度'}
let name = keys[val]?keys[val]:val
return name;
},
},
onLoad(){
this.queryDataList();
},
@ -286,6 +294,7 @@
queryBtn(){
this.list = [];
this.queryDataList(true);
this.screenShow = false;
},
uselectConfirm1(e){
if(this.isqueryselect){