二手车交易,调数字键盘
This commit is contained in:
@ -100,7 +100,7 @@
|
|||||||
type="number"
|
type="number"
|
||||||
style="border: none"
|
style="border: none"
|
||||||
class="radioWrap"
|
class="radioWrap"
|
||||||
v-model="form.maxPrice"
|
v-model="form.minPrice"
|
||||||
input-align="right"
|
input-align="right"
|
||||||
>
|
>
|
||||||
<template slot="right-icon" >
|
<template slot="right-icon" >
|
||||||
@ -172,7 +172,7 @@ export default {
|
|||||||
mileage:'',
|
mileage:'',
|
||||||
contactNumber:'',
|
contactNumber:'',
|
||||||
minPrice:0,
|
minPrice:0,
|
||||||
maxPrice:'',
|
// maxPrice:'',
|
||||||
desc:'',
|
desc:'',
|
||||||
},
|
},
|
||||||
radio: 0,
|
radio: 0,
|
||||||
@ -339,7 +339,7 @@ export default {
|
|||||||
if (this.form.vehicleType=='拖车' && !this.form.boardType) {
|
if (this.form.vehicleType=='拖车' && !this.form.boardType) {
|
||||||
this.$toast('落板方式不能为空')
|
this.$toast('落板方式不能为空')
|
||||||
return
|
return
|
||||||
}else{
|
}else if(this.form.vehicleType !=='拖车'){
|
||||||
this.form.boardType=''
|
this.form.boardType=''
|
||||||
}
|
}
|
||||||
let rule=this.validationRules.find(item=>!item.value)
|
let rule=this.validationRules.find(item=>!item.value)
|
||||||
@ -359,7 +359,7 @@ export default {
|
|||||||
sessionStorage.setItem('vehicleAnglePhotoList','')
|
sessionStorage.setItem('vehicleAnglePhotoList','')
|
||||||
sessionStorage.setItem('otherImgSrcList','')
|
sessionStorage.setItem('otherImgSrcList','')
|
||||||
sessionStorage.setItem('otherImgSrc','')
|
sessionStorage.setItem('otherImgSrc','')
|
||||||
this.$toast('发布完成')
|
this.$toast('发布成功')
|
||||||
if(this.isWebFunc()){
|
if(this.isWebFunc()){
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
this.closeParentDialog()
|
this.closeParentDialog()
|
||||||
|
@ -131,7 +131,7 @@ export default {
|
|||||||
if(res.data.otherPhoto){
|
if(res.data.otherPhoto){
|
||||||
this.imgSrcList=res.data.otherPhoto.split(',') || []
|
this.imgSrcList=res.data.otherPhoto.split(',') || []
|
||||||
}
|
}
|
||||||
this.imgSrcList.push(res?.data?.vehicleAnglePhoto)
|
this.imgSrcList.unshift(res?.data?.vehicleAnglePhoto)
|
||||||
console.log("this.imgSrcList",this.imgSrcList)
|
console.log("this.imgSrcList",this.imgSrcList)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -65,12 +65,12 @@
|
|||||||
<div class="item priceItem">
|
<div class="item priceItem">
|
||||||
<span> <span class="star">*</span>价格区间 </span>
|
<span> <span class="star">*</span>价格区间 </span>
|
||||||
<div style="display: flex;align-items: center" class="price">
|
<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 slot="suffix" >元
|
||||||
</template>
|
</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
<span style="font-size: 14px;color: rgba(44, 61, 84, 0.59);margin: 0 6px">-</span>
|
<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 slot="suffix" >元
|
||||||
</template>
|
</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
@ -214,7 +214,7 @@ export default {
|
|||||||
if (this.form.vehicleType=='拖车' && !this.form.boardType) {
|
if (this.form.vehicleType=='拖车' && !this.form.boardType) {
|
||||||
this.$toast('落板方式不能为空')
|
this.$toast('落板方式不能为空')
|
||||||
return
|
return
|
||||||
}else {
|
}else if(this.form.vehicleType !=='拖车'){
|
||||||
this.form.boardType=''
|
this.form.boardType=''
|
||||||
}
|
}
|
||||||
let rule=this.validationRules.find(item=>!item.value)
|
let rule=this.validationRules.find(item=>!item.value)
|
||||||
@ -227,7 +227,7 @@ export default {
|
|||||||
...this.form,
|
...this.form,
|
||||||
})
|
})
|
||||||
if(res.code == 200 && !res.msg){
|
if(res.code == 200 && !res.msg){
|
||||||
this.$toast('发布完成')
|
this.$toast('发布成功')
|
||||||
if(this.isWebFunc()){
|
if(this.isWebFunc()){
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
this.closeParentDialog()
|
this.closeParentDialog()
|
||||||
|
Reference in New Issue
Block a user