|
@@ -21,7 +21,7 @@ var fleaMarketForm = new Vue({
|
|
BrandList:[],
|
|
BrandList:[],
|
|
isShow:false,
|
|
isShow:false,
|
|
includedTax:'',
|
|
includedTax:'',
|
|
- GoodsImagesList:[''],
|
|
|
|
|
|
+ GoodsImagesList:['https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2306696130,3636777462&fm=26&gp=0.jpg'],
|
|
oldNum:0,
|
|
oldNum:0,
|
|
secondType:0,
|
|
secondType:0,
|
|
vShow_GoodsImages:false,
|
|
vShow_GoodsImages:false,
|
|
@@ -47,13 +47,13 @@ var fleaMarketForm = new Vue({
|
|
secondProductType:'',//
|
|
secondProductType:'',//
|
|
townId:'',//县区地址
|
|
townId:'',//县区地址
|
|
address:'',//详细地址
|
|
address:'',//详细地址
|
|
- image:'',//图片
|
|
|
|
|
|
+ image:'https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2306696130,3636777462&fm=26&gp=0.jpg',//图片
|
|
productDetails:'',//商品详细信息
|
|
productDetails:'',//商品详细信息
|
|
source:1,
|
|
source:1,
|
|
dockingPeopleMobile:'',
|
|
dockingPeopleMobile:'',
|
|
dockingPeopleName:'',
|
|
dockingPeopleName:'',
|
|
- authenticationImage:'',//身份证照片
|
|
|
|
- commitmentImage:'',//承诺函图片
|
|
|
|
|
|
+ authenticationImage:'https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2306696130,3636777462&fm=26&gp=0.jpg',//身份证照片
|
|
|
|
+ commitmentImage:'https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2306696130,3636777462&fm=26&gp=0.jpg',//承诺函图片
|
|
fileName:'',//文件名称
|
|
fileName:'',//文件名称
|
|
ossName:'',//文件OSS名称
|
|
ossName:'',//文件OSS名称
|
|
},
|
|
},
|
|
@@ -198,14 +198,25 @@ var fleaMarketForm = new Vue({
|
|
_this.GoodsImagesList.splice(index,1);
|
|
_this.GoodsImagesList.splice(index,1);
|
|
_this.secondParams.image =_this.GoodsImagesList.toString()+',';
|
|
_this.secondParams.image =_this.GoodsImagesList.toString()+',';
|
|
},
|
|
},
|
|
- removeAuthenticationImagesFn:function(){
|
|
|
|
|
|
+ removeAuthenticationImagesFn:function(){//删除身份验证照片
|
|
var _this = this;
|
|
var _this = this;
|
|
_this.secondParams.authenticationImage = '';
|
|
_this.secondParams.authenticationImage = '';
|
|
},
|
|
},
|
|
- removeCommitmentImagesFn:function(){
|
|
|
|
|
|
+ removeCommitmentImagesFn:function(){//删除授权函文件图片
|
|
var _this = this;
|
|
var _this = this;
|
|
_this.secondParams.commitmentImage = '';
|
|
_this.secondParams.commitmentImage = '';
|
|
},
|
|
},
|
|
|
|
+ deleteCommitmentFile:function(){//删除承诺函文件
|
|
|
|
+ var _this = this;
|
|
|
|
+ SecondApi.deleteOssFile({ ossName : _this.secondParams.ossName },function (response) {
|
|
|
|
+ if (response.code==0){
|
|
|
|
+ _this.secondParams.fileName = '';
|
|
|
|
+ _this.secondParams.ossName = '';
|
|
|
|
+ }else{
|
|
|
|
+ console.log('删除文件异常提示===>',response.msg)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
getProductType:function(item){
|
|
getProductType:function(item){
|
|
var _this = this;
|
|
var _this = this;
|
|
_this.secondType=item;
|
|
_this.secondType=item;
|