|
|
@@ -71,7 +71,7 @@
|
|
|
<div class="col-md-12"><em>* </em>如已上传最新版营业执照(三证合一),则其他两证无需上传 ; 仅支持JPG、PNG、GIF、PDF格式,每张大小不超过3M</div>
|
|
|
</div>
|
|
|
<!--增加品牌-->
|
|
|
- <div class="brand-type row" v-for="(brand, index) in brands">
|
|
|
+ <div class="brand-type row" v-for="(brand, index) in brands" >
|
|
|
<div class="col-md-1">品牌{{index+1}}<em v-if="index == 0">*</em></div>
|
|
|
<div class="col-md-7">
|
|
|
<input type="text" v-model="brand.name"
|
|
|
@@ -94,7 +94,7 @@
|
|
|
</div>
|
|
|
<div class="brand-small-upload col-md-4">
|
|
|
<div class="brand-small-img">
|
|
|
- <upload :typeData="index" @uploadAction="onUpload" :NopassThree="true"></upload>
|
|
|
+ <upload :typeData="index" @uploadAction="onUpload" :NopassThree="true" v-if="tab == 'ORIGINAL_FACTORY'"></upload>
|
|
|
</div>
|
|
|
<div class="file-text">品牌logo/商标注册原件/授权说明书</div>
|
|
|
<div v-show="brands.length > 1" @click="deleteBrand(index)" class="delete" title="删除"><i class="fa fa-trash"></i></div>
|
|
|
@@ -145,7 +145,7 @@
|
|
|
<div class="col-md-12"><em>* </em>如已上传最新版营业执照(三证合一),则其他两证无需上传 ; 仅支持JPG、PNG、GIF、PDF格式,每张大小不超过3M</div>
|
|
|
</div>
|
|
|
<!--增加品牌-->
|
|
|
- <div class="brand-type row" v-for="(brand, index) in brands">
|
|
|
+ <div class="brand-type row" v-for="(brand, index) in brands" >
|
|
|
<div class="col-md-1">品牌{{index+1}}<em>*</em></div>
|
|
|
<div class="col-md-7">
|
|
|
<input type="text" v-model="brand.name"
|
|
|
@@ -166,8 +166,8 @@
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div class="brand-small-upload col-md-4">
|
|
|
- <div class="brand-small-img">
|
|
|
- <upload :typeData="index" @uploadAction="onUpload" :NopassThree="true"></upload>
|
|
|
+ <div class="brand-small-img" v-bind:key="index">
|
|
|
+ <upload :typeData="index" @uploadAction="onUpload" :NopassThree="true" v-if="tab == 'AGENCY'"></upload>
|
|
|
</div>
|
|
|
<div class="file-text">代理资格证/代理授权书</div>
|
|
|
<div v-show="brands.length > 1" @click="deleteBrand(index)" class="delete" title="删除"><i class="fa fa-trash"></i></div>
|
|
|
@@ -332,13 +332,14 @@
|
|
|
},
|
|
|
toggleTab (t) {
|
|
|
this.tab = t
|
|
|
- this.brands = [{
|
|
|
+ this.brands.splice(0, this.brands.length)
|
|
|
+ this.brands.push({
|
|
|
type: 'BRAND',
|
|
|
name: '',
|
|
|
url: '',
|
|
|
isPdf: false,
|
|
|
brandUuid: ''
|
|
|
- }]
|
|
|
+ })
|
|
|
},
|
|
|
onUpload: function (obj) {
|
|
|
if (obj.type === 'BUSINESS_LICENSE') {
|