|
|
@ -32,7 +32,8 @@ |
|
|
<view class="tl-font-28-34 tl-name" v-if="item.type == '1'">{{payType[1].title}} {{item.accountNo}}</view> |
|
|
<view class="tl-font-28-34 tl-name" v-if="item.type == '1'">{{payType[1].title}} {{item.accountNo}}</view> |
|
|
<view class="tl-font-28-34 tl-name" v-if="item.type == '2'">{{payType[2].title}} {{item.accountNo}}</view> |
|
|
<view class="tl-font-28-34 tl-name" v-if="item.type == '2'">{{payType[2].title}} {{item.accountNo}}</view> |
|
|
<view> |
|
|
<view> |
|
|
<radio :value="item" color="#F2C827" :checked="item.isUse === '1'" class="radioStyle"/> |
|
|
<radio :value="JSON.stringify(item)" color="#F2C827" :checked="item.isUse === '1'" class="radioStyle"/> |
|
|
|
|
|
<!-- <uni-data-checkbox v-model="item" :localdata="range" @change="change"></uni-data-checkbox> --> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</label> |
|
|
</label> |
|
|
@ -122,12 +123,10 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
radioChange: function(evt) { |
|
|
radioChange: function(evt) { |
|
|
console.log(JSON.stringify(evt.detail.value)); |
|
|
const param = JSON.parse(evt.detail.value); |
|
|
let that = this; |
|
|
let that = this; |
|
|
that.type = evt.detail.value.type; |
|
|
that.type = param.type; |
|
|
that.accountNo = evt.detail.value.accountNo; |
|
|
that.accountNo = param.accountNo; |
|
|
console.log(that.type); |
|
|
|
|
|
console.log(that.accountNo); |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//检查是否超出余额 |
|
|
//检查是否超出余额 |
|
|
|