Commit a73167ed authored by 李俊赕's avatar 李俊赕

ui界面优化

parent 7facaa52
......@@ -105,7 +105,7 @@
return
}
const status = record.status
// const status = 4
// const status = 7
const infoArr = this.promptList.filter(item=>{
const itemStatus = item.status
// console.log(itemStatus,'itemStatus')
......
......@@ -66,10 +66,10 @@
</view>
</template>
<template v-else>
<view class="item item-input flex u-row-between">
<!-- <view class="item item-input flex u-row-between">
<label class="label">姓名</label>
<input placeholder="请输入账户名称" maxlength="30" v-model="baseInfo.bank_name" class="input flex1" />
</view>
</view> -->
<view class="item item-input flex u-row-between">
<label class="label">支付宝账号</label>
<input placeholder="请输入支付宝账号" maxlength="100" v-model="baseInfo.bank_no" class="input flex1" />
......@@ -136,9 +136,9 @@
computed: {
submitStatus() {
const baseInfo = this.baseInfo
let flag = baseInfo.pay_type && baseInfo.bank_no && baseInfo.bank_name
let flag = baseInfo.pay_type && baseInfo.bank_no
if(baseInfo.pay_type==='bankcard'){
flag = flag && baseInfo.bank_site
flag = flag && baseInfo.bank_site && baseInfo.bank_name
}
return flag && !this.saving && this.isStop;
},
......@@ -231,7 +231,7 @@
},
bank_name: function(value) {
const txt = baseInfo.pay_type==='bankcard' ? '银行' : '支付宝账户'
if (!value) {
if (!value && baseInfo.pay_type==='bankcard') {
uni.showToast({
title: '请输入'+txt+'名称',
icon: 'none'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment