扫码进来按钮
This commit is contained in:
@@ -213,4 +213,7 @@ export default {
|
|||||||
researhqrcode(data) { //查询人脸认证结果
|
researhqrcode(data) { //查询人脸认证结果
|
||||||
return uni.api.post("hfive/researhqrcode", data);
|
return uni.api.post("hfive/researhqrcode", data);
|
||||||
},
|
},
|
||||||
|
checkqrcodestatus(data) { //检查二维码状态
|
||||||
|
return uni.api.post("user/checkqrcodestatus", data);
|
||||||
|
},
|
||||||
}
|
}
|
||||||
@@ -94,7 +94,8 @@
|
|||||||
<u-icon name="weixin-fill" color="#04be02" size="28"></u-icon>
|
<u-icon name="weixin-fill" color="#04be02" size="28"></u-icon>
|
||||||
微信抬头一键导入
|
微信抬头一键导入
|
||||||
</view>
|
</view>
|
||||||
<view class="content_bottom" @click="requestSubscribeMessage">确定</view>
|
<view class="content_bottom" @click="requestSubscribeMessage"
|
||||||
|
:style="disabled?'':'background:rgb(219 214 214);color: #666666;'">确定</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -151,7 +152,6 @@
|
|||||||
} else {
|
} else {
|
||||||
this.form.id = e.id
|
this.form.id = e.id
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取开票抬头
|
// 获取开票抬头
|
||||||
// 这是H5
|
// 这是H5
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
@@ -163,6 +163,15 @@
|
|||||||
this.showtitle = true
|
this.showtitle = true
|
||||||
this.form.open_id = uni.cache.get('open_id')
|
this.form.open_id = uni.cache.get('open_id')
|
||||||
// #endif
|
// #endif
|
||||||
|
// 这是状态
|
||||||
|
let RES = await this.api.checkqrcodestatus({
|
||||||
|
id: this.form.id
|
||||||
|
})
|
||||||
|
if (RES.code == 1) {
|
||||||
|
this.disabled = true
|
||||||
|
} else {
|
||||||
|
this.disabled = false
|
||||||
|
}
|
||||||
// 开票失败的回显
|
// 开票失败的回显
|
||||||
if (e.view_type == 'fail') {
|
if (e.view_type == 'fail') {
|
||||||
this.form.view_type = e.view_type;
|
this.form.view_type = e.view_type;
|
||||||
|
|||||||
Reference in New Issue
Block a user