Commit 22bedd94 by yuzhenWang

修复自定义银行

parent e3385f0d
...@@ -46,6 +46,10 @@ export default { ...@@ -46,6 +46,10 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
nowBank: {
type: String,
default: '',
},
}, },
data() { data() {
return { return {
...@@ -85,14 +89,14 @@ export default { ...@@ -85,14 +89,14 @@ export default {
this.searchText = item.label; this.searchText = item.label;
this.showDropdown = false; this.showDropdown = false;
this.$emit('select', item); // 向父组件传递选中项 this.$emit('select', item); // 向父组件传递选中项
console.log('item',item);
console.log(' this.searchText', this.searchText);
}, },
}, },
mounted() { mounted() {
if(this.allData[0].show){ if(this.allData[0].show){
this.searchText = this.allData[0].label; this.searchText = this.allData[0].label;
} }
if(this.nowBank&&this.allData.filter(item=>item.label==this.nowBank).length>0) this.searchText = this.nowBank
// 初始展示前10条 // 初始展示前10条
this.displayedList = this.allData.slice(0, 8); this.displayedList = this.allData.slice(0, 8);
......
...@@ -34,14 +34,6 @@ ...@@ -34,14 +34,6 @@
<view class="contentDetail employ"> <view class="contentDetail employ">
<view class="contentItem yinhang"> <view class="contentItem yinhang">
<text>开户行</text> <text>开户行</text>
<!-- :disabled="this.backForm.approvalStatus!= 0 && this.backForm.approvalStatus != 2" -->
<!-- <input
class="form-control"
name=""
placeholder="请输入开户行"
v-model="backForm.bankAccountOpening"
/> -->
<view class="searchInput" > <view class="searchInput" >
<searchInput <searchInput
...@@ -49,6 +41,7 @@ ...@@ -49,6 +41,7 @@
:allData="bankList" :allData="bankList"
@select="onSelect" @select="onSelect"
:isClick="this.backForm.approvalStatus!= 0 && this.backForm.approvalStatus != 2" :isClick="this.backForm.approvalStatus!= 0 && this.backForm.approvalStatus != 2"
:nowBank="this.backForm.bankAccountOpening"
/> />
</view> </view>
...@@ -130,7 +123,7 @@ ...@@ -130,7 +123,7 @@
this.showBank = false this.showBank = false
} }
this.backForm.bankAccountOpening = item.bankName this.backForm.bankAccountOpening = item.bankName
console.log(this.backForm);
}, },
goBack() { goBack() {
uni.navigateBack({ uni.navigateBack({
......
...@@ -439,12 +439,7 @@ ...@@ -439,12 +439,7 @@
return return
} }
// uni.showToast({
// title: '未满18岁不可申请',
// duration: 2000,
// icon: 'none'
// })
// return;
} }
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<text>{{item.itemName}}</text> <text>{{item.itemName}}</text>
</view> </view>
<view class="ulBox"> <view class="ulBox">
<text>退积分:</text> <text>退积分:</text>
<text>{{Math.abs(item.commissionAmount)}}</text> <text>{{Math.abs(item.commissionAmount)}}</text>
</view> </view>
<view class="ulBox"> <view class="ulBox">
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<text @click="viewDetail(item)" class="dropStatus">{{item.orderStatus}}<i class="iconfont icon-youjiantou" style="margin-left: 5rpx;font-size: 26rpx;"></i></text> <text @click="viewDetail(item)" class="dropStatus">{{item.orderStatus}}<i class="iconfont icon-youjiantou" style="margin-left: 5rpx;font-size: 26rpx;"></i></text>
</view> </view>
<view class="ulBox"> <view class="ulBox">
<text>退时间:</text> <text>退时间:</text>
<text>{{item.refundTime}}</text> <text>{{item.refundTime}}</text>
</view> </view>
</view> </view>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<text>{{alreadyExchangeFortune?alreadyExchangeFortune:0}}积分</text> <text>{{alreadyExchangeFortune?alreadyExchangeFortune:0}}积分</text>
</view> </view>
<view class="item"> <view class="item">
<text>E.已退</text> <text>E.已退</text>
<text style="color: #0A2F99;" @click="viewDropLists()">{{returnFortune?returnFortune:0}}积分<i class="iconfont icon-youjiantou" style="margin-right: 10rpx;"></i></text> <text style="color: #0A2F99;" @click="viewDropLists()">{{returnFortune?returnFortune:0}}积分<i class="iconfont icon-youjiantou" style="margin-right: 10rpx;"></i></text>
</view> </view>
</view> </view>
......
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