申请分期增加状态提示

feature/scanCodeOrder
游梦婷 10 months ago
parent 40b141b041
commit c6215013a5
  1. 38
      subpackages/applyPeriod/applyPeriod.vue

@ -9,6 +9,11 @@
{{item.platformTypeName}}
</view>
</view>
<template v-if="showItem&&showItem.platformPeriod">
<view class="marb20 fotct pd-main font15" :class="{'fcorred':showItem.platformPeriod.status==3,'green':showItem.platformPeriod.status==1,'yellow':showItem.platformPeriod.status==2}" >
{{showItem.platformPeriod | filterStatus}}
</view>
</template>
<view class="width100 line1"></view>
@ -38,7 +43,7 @@
</view>
<view class="dis-flex flex-center marb10" v-for="(item,index) in periodData.unionpayRate1" :key="index">
<view class="paddtright10">{{item.periodNum}}</view>
<input type="number" v-model.trim="item.rate" :disabled="!isShowMethodToUpdate" placeholder-class="corf6 font15"
<input type="digit" v-model.trim="item.rate" :disabled="!isShowMethodToUpdate" placeholder-class="corf6 font15"
placeholder="请输入费率">
<!-- <view v-else class="corf6 font15 rate">{{item.rate}}</view> -->
</view>
@ -49,7 +54,7 @@
<view class="dis-flex flex-center marb10" v-for="(item,index) in periodData.unionpayRate2" :key="index">
<view class=" paddtright10">{{item.periodNum}}</view>
<input type="number" v-model.trim="item.rate" :disabled="!isShowMethodToUpdate" placeholder-class="corf6 font15"
<input type="digit" v-model.trim="item.rate" :disabled="!isShowMethodToUpdate" placeholder-class="corf6 font15"
placeholder="请输入费率">
<!-- <view v-else class="corf6 font15 rate">{{item.rate}}</view> -->
</view>
@ -59,10 +64,10 @@
<view class=" pd-main bor-botm1 ">
<view class="dis-flex">
<view class=" fontwig6 marb10 ">协议照片:</view>
<view class="flex-1">
<!-- <view class="flex-1">
<view class="dis-flex flex-center"><image class="iconw40 height40p marRight10" mode="aspectFill" v-for="(item,index) in imgExampleValue" :key="index" :src="imgUrl+item" @click="previewImage(index,imgExampleValue)"></image></view>
<view class="corf6 font13 fotct">(示例照片)</view>
</view>
</view> -->
</view>
<view class="imageUploadContainer flex-1">
@ -162,8 +167,24 @@
return false
}
},
},
filters:{
/* 状态 0:不可用 1:正常 2: 审核中 3:审核驳回 */
filterStatus(type){
switch (type.status) {
case 1:
return '正常';
case 2:
return '审核中';
case 3:
return '审核驳回:'+type.suggestionReject;
default:
return '未知';
}
},
},
methods: {
/* 平台类型change切换 */
switchid(index) {
@ -324,6 +345,7 @@
}
if (res.return_code == '000000') {
this.listData = res.return_data;
if(this.listData.length>0){
this.switchid(this.platformPeriodIndex);
@ -436,6 +458,14 @@
</script>
<style lang="scss" scoped>
.yellow{
color:#f3a73f;
}
.green{
color: #18bc37;
}
.borbtom {
border-bottom: 3px solid #089bf5;
}

Loading…
Cancel
Save