change
This commit is contained in:
@@ -14,6 +14,16 @@
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">起点点位</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box
|
||||
v-model="val3"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">站点类型</span>
|
||||
@@ -24,7 +34,7 @@
|
||||
</view>
|
||||
<view class="zd-row border-bottom" v-show="index !== '2'">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">目标站点</span>
|
||||
<span class="filter_label">终点站点</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<input type="text" class="filter_input" v-model="val2">
|
||||
@@ -60,6 +70,7 @@
|
||||
return {
|
||||
title: '',
|
||||
val1: '',
|
||||
val3: '',
|
||||
val2: '',
|
||||
options: [{text:'站点', value:'1'},{text:'区域',value: '2'}],
|
||||
index: '',
|
||||
@@ -104,12 +115,12 @@
|
||||
},
|
||||
async _transferConfirm () {
|
||||
this.disabled = true
|
||||
if (!this.val1 || !this.index) {
|
||||
if (!this.val3 || !this.val1 || !this.index) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await transferConfirm(this.val1, this.val2, this.index2)
|
||||
let res = await transferConfirm(this.val3, this.val1, this.val2, this.index2)
|
||||
if (res.code === '200') {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
Reference in New Issue
Block a user