二手车交易,调数字键盘

This commit is contained in:
2025-03-14 09:27:04 +08:00
parent 34d228099c
commit 938d6c9386
3 changed files with 9 additions and 9 deletions

View File

@ -100,7 +100,7 @@
type="number"
style="border: none"
class="radioWrap"
v-model="form.maxPrice"
v-model="form.minPrice"
input-align="right"
>
<template slot="right-icon" >
@ -172,7 +172,7 @@ export default {
mileage:'',
contactNumber:'',
minPrice:0,
maxPrice:'',
// maxPrice:'',
desc:'',
},
radio: 0,
@ -339,7 +339,7 @@ export default {
if (this.form.vehicleType=='拖车' && !this.form.boardType) {
this.$toast('落板方式不能为空')
return
}else{
}else if(this.form.vehicleType !=='拖车'){
this.form.boardType=''
}
let rule=this.validationRules.find(item=>!item.value)
@ -359,7 +359,7 @@ export default {
sessionStorage.setItem('vehicleAnglePhotoList','')
sessionStorage.setItem('otherImgSrcList','')
sessionStorage.setItem('otherImgSrc','')
this.$toast('发布成')
this.$toast('发布成')
if(this.isWebFunc()){
setTimeout(()=>{
this.closeParentDialog()

View File

@ -131,7 +131,7 @@ export default {
if(res.data.otherPhoto){
this.imgSrcList=res.data.otherPhoto.split(',') || []
}
this.imgSrcList.push(res?.data?.vehicleAnglePhoto)
this.imgSrcList.unshift(res?.data?.vehicleAnglePhoto)
console.log("this.imgSrcList",this.imgSrcList)
}
},

View File

@ -65,12 +65,12 @@
<div class="item priceItem">
<span> <span class="star">*</span>价格区间 </span>
<div style="display: flex;align-items: center" class="price">
<el-input v-model.number="form.minPrice" >
<el-input type="tel" v-model.number="form.minPrice" >
<template slot="suffix" >
</template>
</el-input>
<span style="font-size: 14px;color: rgba(44, 61, 84, 0.59);margin: 0 6px">-</span>
<el-input v-model.number="form.maxPrice" >
<el-input type="tel" v-model.number="form.maxPrice" >
<template slot="suffix" >
</template>
</el-input>
@ -214,7 +214,7 @@ export default {
if (this.form.vehicleType=='拖车' && !this.form.boardType) {
this.$toast('落板方式不能为空')
return
}else {
}else if(this.form.vehicleType !=='拖车'){
this.form.boardType=''
}
let rule=this.validationRules.find(item=>!item.value)
@ -227,7 +227,7 @@ export default {
...this.form,
})
if(res.code == 200 && !res.msg){
this.$toast('发布成')
this.$toast('发布成')
if(this.isWebFunc()){
setTimeout(()=>{
this.closeParentDialog()