|
|
|
@ -29,10 +29,11 @@ |
|
|
|
<view class="list-1" :style="{height:popleType == 'kdName'?'75rpx':'120rpx'}" style="display: flex;position: relative;" @tap="clickList(item)" v-for="item in popleList" :key="item"> |
|
|
|
<view class="name-tel"> |
|
|
|
<text style="line-height: 75rpx;">{{item.companyName}}</text> |
|
|
|
<text style="line-height: 75rpx;">{{item.shippingMethod}}</text> |
|
|
|
<text style="line-height: 75rpx;">{{item.workerName}}</text> |
|
|
|
</view> |
|
|
|
<view class="phone-btn" @tap.stop="clickPhone(item.mobile)" v-if="popleType != 'kdName'">拨打电话</view> |
|
|
|
<view class="standard-box" @tap.stop="toggle('center',item.remark)"> |
|
|
|
<view class="standard-box" @tap.stop="toggle('center',item.remark || item.chargingStandard)"> |
|
|
|
收费标准<uni-icons type="info" color='#088FEB' size="16" |
|
|
|
style="line-height: 75rpx;padding-right:40rpx;"></uni-icons> |
|
|
|
</view> |
|
|
|
@ -70,7 +71,8 @@ |
|
|
|
radioType: '', //选择的是快递还是物流 |
|
|
|
companyType: '', //运输公司类型 快递公司有值 物流公司直接传空 |
|
|
|
modelShow:false, |
|
|
|
remark:'' |
|
|
|
remark:'', |
|
|
|
khName:{} |
|
|
|
} |
|
|
|
}, |
|
|
|
onShow(){ |
|
|
|
@ -81,7 +83,9 @@ |
|
|
|
}, |
|
|
|
onLoad(options) { |
|
|
|
this.popleType = options.popleType |
|
|
|
this.companyType = options.companyType || '' |
|
|
|
this.companyType = options.companyType || '' |
|
|
|
this.khName = JSON.parse(options.khName) || '' |
|
|
|
console.log(this.khName) |
|
|
|
// this.radioType = options.radioType |
|
|
|
if (options.popleType == 'khName' || options.popleType == 'gysName') { //供应商或者客户 |
|
|
|
this.khOrGysList(); |
|
|
|
@ -115,18 +119,37 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
//物流或者快递列表 |
|
|
|
wlOrKdList(e) { |
|
|
|
wlOrKdList(e) { |
|
|
|
let url, |
|
|
|
data = {}, |
|
|
|
isTrue |
|
|
|
//物流:1 快递:2 发车3 |
|
|
|
if (e == 'wlName') { |
|
|
|
this.signCompany = 1; |
|
|
|
} else if (e == 'kdName') { |
|
|
|
this.signCompany = 2 |
|
|
|
} else if (e == 'fcName') { |
|
|
|
this.signCompany = 3 |
|
|
|
if (e == 'wlName') { |
|
|
|
url = '/app/operatingArea/getByArea' |
|
|
|
isTrue = true |
|
|
|
data = { |
|
|
|
province:this.khName.province, |
|
|
|
city:this.khName.city, |
|
|
|
area:this.khName.area, |
|
|
|
shippingType:0 |
|
|
|
} |
|
|
|
} else if (e == 'kdName') { |
|
|
|
isTrue = false |
|
|
|
url = '/app/logitics/getAll' |
|
|
|
data = { |
|
|
|
signCompany:1 |
|
|
|
} |
|
|
|
} else if (e == 'fcName') { |
|
|
|
isTrue = true |
|
|
|
data = { |
|
|
|
province:this.khName.province, |
|
|
|
city:this.khName.city, |
|
|
|
area:this.khName.area, |
|
|
|
shippingType:4 |
|
|
|
} |
|
|
|
url = '/app/operatingArea/getByArea' |
|
|
|
} |
|
|
|
this.tui.request("/app/logitics/getAll", "post", { |
|
|
|
signCompany: this.signCompany |
|
|
|
}, false, false).then((res) => { |
|
|
|
this.tui.request(url, "post", data, false, isTrue).then((res) => { |
|
|
|
if (res.code == 200) { |
|
|
|
this.popleList = res.result; |
|
|
|
}else{ |
|
|
|
|