fix: 签约状态判断

dev-1021
Seep 1 year ago
parent 7fe7cd7999
commit 6a7214d948
  1. 21
      pages/my/mySign.vue
  2. 2
      unpackage/dist/build/h5/index.html
  3. 2
      unpackage/dist/build/h5/static/js/index.51db67c2.js
  4. 3
      unpackage/dist/build/h5/static/js/pages-my-mySign.5669d9fb.js
  5. 3
      unpackage/dist/build/h5/static/js/pages-my-mySign.e2e5c22f.js

@ -11,19 +11,19 @@
<view v-if="userInfo.sign_status === 0&&userInfo.sign_image" style="text-align: center;color:grey;font-weight: 600;width: 100%;">审核中</view>
<u-form :model="form" ref="uForm" :rules="rules">
<u-form-item label="姓名" prop="bank_username" border-bottom required>
<u-input :border="false" :disabled="userInfo.sign_status === 1||(userInfo.sign_status === 0&&userInfo.sign_image)" placeholder="请输入姓名" v-model="form.bank_username" />
<u-input :border="false" :disabled="isEdit" placeholder="请输入姓名" v-model="form.bank_username" />
</u-form-item>
<u-form-item :label-width="100" label="银行卡姓名" prop="bank_realname" border-bottom required>
<u-input :border="false" :disabled="userInfo.sign_status === 1||(userInfo.sign_status === 0&&userInfo.sign_image)" placeholder="请输入银行卡姓名" v-model="form.bank_realname" />
<u-input :border="false" :disabled="isEdit" placeholder="请输入银行卡姓名" v-model="form.bank_realname" />
</u-form-item>
<u-form-item :label-width="85" label="银行卡号" prop="bank_no" border-bottom required>
<u-input :border="false" :disabled="userInfo.sign_status === 1||(userInfo.sign_status === 0&&userInfo.sign_image)" placeholder="请输入银行卡号" v-model="form.bank_no" />
<u-input :border="false" :disabled="isEdit" placeholder="请输入银行卡号" v-model="form.bank_no" />
</u-form-item>
<u-form-item :label-width="70" label="开户行" prop="bank_address" border-bottom required>
<u-input :border="false" :disabled="userInfo.sign_status === 1||(userInfo.sign_status === 0&&userInfo.sign_image)" placeholder="请输入开户行" v-model="form.bank_address" />
<u-input :border="false" :disabled="isEdit" placeholder="请输入开户行" v-model="form.bank_address" />
</u-form-item>
<u-form-item label="支行" prop="bank_sub_address" border-bottom required>
<u-input :disabled="userInfo.sign_status === 1||(userInfo.sign_status === 0&&userInfo.sign_image)" :border="false" placeholder="请输入支行" v-model="form.bank_sub_address" />
<u-input :disabled="isEdit" :border="false" placeholder="请输入支行" v-model="form.bank_sub_address" />
</u-form-item>
<u-form-item label="签字" prop="sign_image" border-bottom required>
<view v-if="!form.sign_image" class="sign-btn" @click="showSign">点击签名</view>
@ -130,6 +130,17 @@ export default{
intervalTime: 15,
}
},
computed:{
isEdit(){
let val = false;
if(this.userInfo.sign_status === 1){
val = true
}else if(this.userInfo.sign_status === 0&&this.userInfo.sign_image){
val = true
}
return val
}
},
methods:{
showSign(){
if(this.userInfo.sign_status === 1||(this.userInfo.sign_status === 0&&this.userInfo.sign_image)){

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>商城</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.aabf9ea3.js></script><script src=/static/js/index.0ddc0def.js></script></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.aabf9ea3.js></script><script src=/static/js/index.51db67c2.js></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save