|
@@ -54,7 +54,7 @@
|
|
|
</view>
|
|
|
</tui-bottom-popup>
|
|
|
</view>
|
|
|
- <view class="row" v-if="secondParams.brandID==161">
|
|
|
+ <view class="row" v-if="secondParams.brandId==161">
|
|
|
<view class="label">其它品牌</view>
|
|
|
<view class="spacing">
|
|
|
<input type="text" maxlength="40" v-model="secondParams.brandName" placeholder="请输入商品品牌" placeholder-class="placeholder">
|
|
@@ -87,7 +87,7 @@
|
|
|
<view class="row">
|
|
|
<view class="label">交易价</view>
|
|
|
<view class="spacing">
|
|
|
- <input type="text" maxlength="20" v-model="secondParams.price1" placeholder="请输入交易价" placeholder-class="placeholder">
|
|
|
+ <input type="text" maxlength="20" v-model="secondParams.price" placeholder="请输入交易价" placeholder-class="placeholder">
|
|
|
</view>
|
|
|
</view>
|
|
|
<view style="margin-top: 15rpx;">
|
|
@@ -130,19 +130,19 @@
|
|
|
<view class="row">
|
|
|
<view class="label">联系方式</view>
|
|
|
<view class="spacing">
|
|
|
- <input type="text" v-model="secondParams.contactMobile" maxlength="11" placeholder="请输入联系人手机号" placeholder-class="placeholder">
|
|
|
+ <input type="text" v-model="secondParams.contactMobile" maxlength="11" placeholder="请输入联系人手机号" placeholder-class="placeholder">
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="row">
|
|
|
- <view class="label">采美对接人</view>
|
|
|
+ <view class="label">采美对接人</view>
|
|
|
<view class="spacing">
|
|
|
- <input type="text" v-model="secondParams.dockingPeopleName" maxlength="15" placeholder="请输入采美对接人姓名" placeholder-class="placeholder">
|
|
|
+ <input type="text" v-model="secondParams.dockingPeopleName" maxlength="15" placeholder="请输入采美对接人姓名" placeholder-class="placeholder">
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="row">
|
|
|
<view class="label">对接人联系方式</view>
|
|
|
<view class="spacing">
|
|
|
- <input type="text" v-model="secondParams.dockingPeopleMobile" maxlength="11" placeholder="请输入采美对接人手机号" placeholder-class="placeholder">
|
|
|
+ <input type="text" v-model="secondParams.dockingPeopleMobile" maxlength="11" placeholder="请输入采美对接人手机号" placeholder-class="placeholder">
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="row">
|
|
@@ -269,18 +269,18 @@
|
|
|
],
|
|
|
BrandList:[],
|
|
|
isShow:false,
|
|
|
- GoodsImagesList:[],
|
|
|
+ GoodsImagesList:['https://img.caimei365.com/group1/M00/03/CB/Cmis2F_NkrqAfl7uAADETMOGKpQ791.png'],
|
|
|
vShow_GoodsImages:false,
|
|
|
secondParams:{
|
|
|
secondHandType:'',//一级分类
|
|
|
instrumentType:'',//二手仪器分类
|
|
|
name:'',
|
|
|
- brandID:'',//品牌ID
|
|
|
+ brandId:'',//品牌ID
|
|
|
brandName:'',//其他品牌
|
|
|
fixedYears:null,//出厂
|
|
|
companyName:'',//公司名称
|
|
|
maturityYears:'',//产品到期
|
|
|
- price1:'',//交易价
|
|
|
+ price:'',//交易价
|
|
|
detailTalkFlag:1,//是否启用详聊
|
|
|
normalPrice:'',//市场价
|
|
|
originalPrice:'',//采购价
|
|
@@ -293,7 +293,7 @@
|
|
|
secondProductType:'',//
|
|
|
townId:'',//县区地址
|
|
|
address:'',//详细地址
|
|
|
- image1:'',//图片
|
|
|
+ image:'https://img.caimei365.com/group1/M00/03/CB/Cmis2F_NkrqAfl7uAADETMOGKpQ791.png',//图片
|
|
|
productDetails:'',//商品详细信息
|
|
|
source:2
|
|
|
},
|
|
@@ -318,9 +318,9 @@
|
|
|
this.secondParams.productDetails = e.detail.value;
|
|
|
},
|
|
|
radioChange(e){//品牌
|
|
|
- this.secondParams.brandID = e.target.value;
|
|
|
+ this.secondParams.brandId = e.target.value;
|
|
|
this.BrandList.forEach((item,index)=>{
|
|
|
- if(item.id==this.secondParams.brandID){
|
|
|
+ if(item.id==this.secondParams.brandId){
|
|
|
this.brandname = item.name;
|
|
|
this.popupShow = false;
|
|
|
}
|
|
@@ -365,12 +365,12 @@
|
|
|
uploadGoodsImagesFn(event){//上传商品图片
|
|
|
uploadFileImage().then(res =>{
|
|
|
this.GoodsImagesList.push(JSON.parse(res.data).data);
|
|
|
- this.secondParams.image1 =this.GoodsImagesList.toString()+',';
|
|
|
+ this.secondParams.image =this.GoodsImagesList.toString()+',';
|
|
|
})
|
|
|
},
|
|
|
removeGoodsImagesFn(index){//删除商品图片
|
|
|
this.GoodsImagesList.splice(index,1);
|
|
|
- this.secondParams.image1 =this.GoodsImagesList.toString()+',';
|
|
|
+ this.secondParams.image =this.GoodsImagesList.toString()+',';
|
|
|
},
|
|
|
getProductType(e){
|
|
|
this.secondParams.secondProductType = e.target.value ;
|
|
@@ -386,7 +386,7 @@
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
- if(this.secondParams.brandID == ''){
|
|
|
+ if(this.secondParams.brandId == ''){
|
|
|
this.$util.msg('请选择商品品牌',2000);
|
|
|
return;
|
|
|
}
|
|
@@ -400,7 +400,7 @@
|
|
|
// return
|
|
|
// }
|
|
|
// }
|
|
|
- if(!this.$api.isNumber(this.secondParams.price1)){
|
|
|
+ if(!this.$api.isNumber(this.secondParams.price)){
|
|
|
this.$util.msg('请输入交易价',2000);
|
|
|
return
|
|
|
}
|