载具类型del

This commit is contained in:
2025-10-21 16:29:38 +08:00
parent e0c1c8c7e4
commit 9e37b0eb9f

View File

@@ -24,14 +24,6 @@
/>
</view>
</view>
<view class="zd-row border-bottom">
<view class="zd-col-7">
<span class="filter_label">载具类型</span>
</view>
<view class="zd-col-24 filter_select">
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
</view>
</view>
</view>
</view>
<view class="zd-row submit-bar">
@@ -46,7 +38,6 @@
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import {bindEmptyVehicle, unBindEmptyVehicle} from '@/utils/getData1.js'
import {queryVehicleType} from '@/utils/getData2.js'
export default {
components: {
NavBar,
@@ -58,7 +49,6 @@
val1: '',
val2: '',
options: [],
index: '2',
disabled: false
};
},
@@ -66,28 +56,11 @@
this.title = options.title
},
created () {
this._queryVehicleType()
},
methods: {
async _queryVehicleType () {
try {
let res = await queryVehicleType()
if (res) {
this.options = res.data
} else {
this.options = []
}
} catch (e) {
this.options = []
}
},
selectChange (e) {
this.index = e
},
clearUp () {
this.val1 = ''
this.val2 = ''
this.index = ''
this.disabled = false
},
async _bindEmptyVehicle () {