From 1207635f481c71424cf5ee8855c58d1e606ebd4c Mon Sep 17 00:00:00 2001
From: zhouhao <787329763@qq.com>
Date: Thu, 06 Jan 2022 14:19:53 +0800
Subject: [PATCH] 修改订单查询
---
src/views/main/addBankcard.vue | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/views/main/addBankcard.vue b/src/views/main/addBankcard.vue
index 3e287db..c9b3181 100644
--- a/src/views/main/addBankcard.vue
+++ b/src/views/main/addBankcard.vue
@@ -10,11 +10,15 @@
</template>
</van-field> -->
<!-- <van-field readonly clickable name="noName" :value="bankName" label="银行名称" placeholder="请选择银行名称" @click="showPicker = true" :rules="noName" right-icon="arrow"/> -->
- <div>
+ <div v-if="this.bizType==0 && this.dataInfo.status==0 || this.dataInfo.status==0 && this.bizType==1">
<van-field v-model.trim="dataForm.name" label="姓名:" readonly/>
<van-field v-model.trim="dataForm.idNo" label="身份证号:" readonly/>
</div>
-
+ <div v-else>
+ <van-field v-model.trim="dataForm.name" label="企业名称:" readonly/>
+ <van-field v-model.trim="dataForm.idNo" label="负责人姓名:" readonly/>
+ <van-field v-model.trim="dataForm.idNo" label="负责人姓名:" readonly/>
+ </div>
<van-field v-model.trim="dataForm.verCode" center clearable label="短信验证码" :rules="codeRules" placeholder="请输入短信验证码" >
<template #button>
<van-button size="small" color="#6cc3bb" @click.stop="getCode" native-type="button" :disabled="isdisabled">{{codeText}}</van-button>
@@ -156,12 +160,14 @@
methods: {
bankCardNoInit() {
let objForm ={bizId:this.bizId,bizType:this.bizType}
- this.$api.refreshFaceStatus(objForm).then(res=>{
+ this.$api.getBizStatus(objForm).then(res=>{
this.dataInfo =res.body
if (this.dataInfo.status==0){
this.$api.getFrontData(objForm).then(res=>{
this.dataForm =res.body
})
+ }else if(this.dataInfo.status==1 && Number(this.bizType)==0 || this.dataInfo.status==1 && Number(this.bizType)==1 || this.dataInfo.status==4 && Number(this.bizType)==1){
+ this.$router.push({path:'/main/queryres',query:{...objForm}})
}
})
},
--
Gitblit v1.8.0