|
@@ -19,6 +19,18 @@
|
|
|
placeholder-style="color: #979797;"></input>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="broKerForm-item">
|
|
|
+ <view class="title">
|
|
|
+ 类型
|
|
|
+ </view>
|
|
|
+ <view class="item-area">
|
|
|
+ <picker @change="TypeChange" :value="typeIndex" :range="typeArray">
|
|
|
+ <view class="picker">
|
|
|
+ {{typeIndex>-1?typeArray[typeIndex]:'请选择类型'}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="broKerForm-item">
|
|
|
<view class="item-title">代理门店</view>
|
|
|
<view class="item-area">
|
|
@@ -137,6 +149,8 @@
|
|
|
],
|
|
|
townIndex: [0, 0],
|
|
|
village: [],
|
|
|
+ typeArray: ['经纪人','红色合伙人'],
|
|
|
+ typeIndex: 0,
|
|
|
};
|
|
|
},
|
|
|
onLoad: function() {
|
|
@@ -178,6 +192,9 @@
|
|
|
agentChange(e) {
|
|
|
this.agentIndex = e.detail.value
|
|
|
},
|
|
|
+ TypeChange(e){
|
|
|
+ this.typeIndex = e.detail.value
|
|
|
+ },
|
|
|
TownChange(e) {
|
|
|
this.townIndex = e.detail.value
|
|
|
},
|
|
@@ -241,6 +258,7 @@
|
|
|
data.agentid = _this.agentArray[_this.agentIndex].id;
|
|
|
data.town = _this.townArray[0][_this.townIndex[0]];
|
|
|
data.village = _this.townArray[1][_this.townIndex[1]];
|
|
|
+ data.type = _this.typeIndex - 0 + 1;
|
|
|
|
|
|
_this.$req.ajax({
|
|
|
path: "broker/apply",
|