Browse Source

删除多余代码

master
453530270@qq.com 2 years ago
parent
commit
fb1618fe92
  1. 32
      pages/user/mycertinfo/orgverify.vue

32
pages/user/mycertinfo/orgverify.vue

@ -111,14 +111,6 @@
<text v-else class="col-80">选择行业类别</text> <text v-else class="col-80">选择行业类别</text>
</picker> </picker>
</view> </view>
<!-- 1st -->
<view class="form-item">
<picker mode="multiSelector" :range="citydata" range-key="name" :value="cityidx"
@change="onChangeCity" @columnchange="pickerColumnchange">
<text v-if="idIndex > -1">{{regionStr}}</text>
<text v-else class="col-80">机构注册地址</text>
</picker>
</view>
<!-- 2nd --> <!-- 2nd -->
<view class="form-item"> <view class="form-item">
<picker class="picker" mode="multiSelector" :range="region" range-key="name" :value="regionIndex" @change="pickerChange" <picker class="picker" mode="multiSelector" :range="region" range-key="name" :value="regionIndex" @change="pickerChange"
@ -326,23 +318,6 @@
// console.log(this.industryType) // console.log(this.industryType)
}, },
pickerColumnchange(e){
// console.log("address e:",e)
const curidx = e.detail.value
console.log(curidx)
// let newcdata = this.citydata[curidx]
// console.log("newcdata",newcdata)
// this.citydata = newcdata
},
onChangeCity(e){
// console.log("chg city:",e)
const curidx = e.detail.value
this.cityidx = curidx
this.regionStr = this.citydata[curidx].name
},
// +++++++++++++++++++++++++++ // +++++++++++++++++++++++++++
pickerChange(e) { pickerChange(e) {
// console.log(e, '1'); // console.log(e, '1');
@ -355,12 +330,7 @@
this.region[2][this.regionIndex[2]].name]); this.region[2][this.regionIndex[2]].name]);
}, },
pickerColumnchange(e) { pickerColumnchange(e) {
// console.log(e);
//
// console.log(e.detail.column);
//
// console.log(e.detail.value)
if (e.detail.column === 0) { if (e.detail.column === 0) {
// //
let cityArr = []; let cityArr = [];

Loading…
Cancel
Save