二手车交易,调数字键盘
This commit is contained in:
@ -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()
|
||||
|
@ -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)
|
||||
}
|
||||
},
|
||||
|
@ -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()
|
||||
|
Reference in New Issue
Block a user