Commit 2efc8099 authored by youjie's avatar youjie

修复bug

parent 100b4ffe
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
class="SaleText" @click="downloadTripPlanHandler(item)"> class="SaleText" @click="downloadTripPlanHandler(item)">
<view>{{ item.Name }}</view> <view>{{ item.Name }}</view>
<view> <view>
<button class="jz_ConButton row items-center" v-if="dataList.VisaProductInfo&&dataList.VisaProductInfo.DownloadMaterialsFileList.length>0"> <button class="jz_ConButton row items-center" style="height: 100%;" v-if="dataList.VisaProductInfo&&dataList.VisaProductInfo.DownloadMaterialsFileList.length>0">
<img style="width: 36rpx; height: 38rpx" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1695376860000_131.png" <img style="width: 36rpx; height: 38rpx" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1695376860000_131.png"
alt="" /> alt="" />
...@@ -1386,6 +1386,7 @@ ...@@ -1386,6 +1386,7 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
border-bottom: 1rpx solid #eee; border-bottom: 1rpx solid #eee;
overflow: hidden;
} }
.jz_LineDetaCZ{ .jz_LineDetaCZ{
height: 36rpx; height: 36rpx;
......
...@@ -633,14 +633,17 @@ ...@@ -633,14 +633,17 @@
</view> </view>
<u-picker mode="selector" v-model="showCountry" :default-selector="[0]" <u-picker mode="selector" v-model="showCountry" :default-selector="[0]"
:range="countrys" @confirm='(e)=>{changeDown(e,CountryType)}' :range="countrys" @confirm='(e)=>{changeDown(e,CountryType)}'
@change="(e)=>{columnChange(e,CountryType)}"
range-key="label" @input="showCountry=false"></u-picker> range-key="label" @input="showCountry=false"></u-picker>
<u-picker mode="selector" v-model="showProvince" :default-selector="[0]" <u-picker mode="selector" v-model="showProvince" :default-selector="[0]"
:range="provinceList" @confirm='(e)=>{changeDown(e,3)}' :range="provinceList" @confirm='(e)=>{changeDown(e,3)}'
@change="(e)=>{columnChange(e,3)}"
range-key="label" @input="showProvince=false"></u-picker> range-key="label" @input="showProvince=false"></u-picker>
<u-picker mode="selector" v-model="showCity" :default-selector="[0]" <u-picker mode="selector" v-model="showCity" :default-selector="[0]"
:range="cityList" @confirm='(e)=>{changeDown(e,4)}' :range="cityList" @confirm='(e)=>{changeDown(e,4)}'
@change="(e)=>{columnChange(e,4)}"
range-key="label" @input="showProvince=false"></u-picker> range-key="label" @input="showProvince=false"></u-picker>
<template v-if="couponList.length>0"> <template v-if="couponList.length>0">
...@@ -856,6 +859,7 @@ ...@@ -856,6 +859,7 @@
"level": 2 "level": 2
}, r => { }, r => {
if (r.resultCode == 1) { if (r.resultCode == 1) {
this.cityList = []
for (let i = 0; i < r.data.length; i++) { for (let i = 0; i < r.data.length; i++) {
let Count = r.data[i] let Count = r.data[i]
let obj = { let obj = {
...@@ -868,6 +872,28 @@ ...@@ -868,6 +872,28 @@
} }
}, err => {}) }, err => {})
}, },
columnChange(e,type){
let i = e
if(type == 1){
this.customer.count = this.countrys[i].ID
this.optionsTitle[0] = this.countrys[i].Name
this.customer.PhoneCountryStr = '+'+this.countrys[i].PhoneCode
}
if(type == 2){
this.orderMsg.RelationPhoneType = '+'+this.countrys[i].PhoneCode
this.optionsTitle[1] = this.countrys[i].Name
}
if(type == 3){
this.orderMsg.ReceiverProvince = this.provinceList[i].Name
this.orderMsg.ReceiverProvinceId = this.provinceList[i].ID
this.optionsTitle[2] = this.provinceList[i].Name
this.getCity()
}
if(type == 4){
this.orderMsg.ReceiverCity = this.cityList[i].Name
this.optionsTitle[3] = this.cityList[i].Name
}
},
changeDown(e,type){ changeDown(e,type){
let i = [e] let i = [e]
if(type == 1){ if(type == 1){
......
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