|
|
@@ -365,7 +365,7 @@
|
|
|
fromValue.storeCategory == '126565' &&
|
|
|
fromValue.orgName &&
|
|
|
fromValue.orgName.indexOf('BMD') != -1 &&
|
|
|
- displayImg.length <= 3
|
|
|
+ displayImg.length < 3
|
|
|
">
|
|
|
<van-col span="12">
|
|
|
<div>
|
|
|
@@ -785,13 +785,15 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="mask" v-if="progressFlag">
|
|
|
- <el-progress
|
|
|
- type="circle"
|
|
|
- :percentage="percentage"
|
|
|
- :show-text="true"
|
|
|
- :width="110"
|
|
|
- :format="format"></el-progress>
|
|
|
- <!-- <div class="progressClose" @click="progressClose">取消</div> -->
|
|
|
+ <div class="progress">
|
|
|
+ <el-progress
|
|
|
+ type="circle"
|
|
|
+ :percentage="percentage"
|
|
|
+ :show-text="true"
|
|
|
+ :width="110"
|
|
|
+ :format="format"></el-progress>
|
|
|
+ <!-- <div class="progressClose" @click="progressClose">取消</div> -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -1060,7 +1062,11 @@ export default {
|
|
|
storeCompetitorList: [],
|
|
|
otherCompetitor: '', //主营竞品品牌-其他
|
|
|
};
|
|
|
- this.displayImg = [];
|
|
|
+ this.displayImg = [
|
|
|
+ // 'https://cdn-svs-test.nipponpaint.com.cn/17790740128352026-05-18%E7%95%A5%E7%95%A5%E7%95%A5.jpg?Expires=2094693212&OSSAccessKeyId=LTAI5tG1DTJFA16BHkzHVxjz&Signature=1O13rUNy5FHiqTxcuJTq7RnPek4%3D',
|
|
|
+ // 'https://cdn-svs-test.nipponpaint.com.cn/17790740128352026-05-18%E7%95%A5%E7%95%A5%E7%95%A5.jpg?Expires=2094693212&OSSAccessKeyId=LTAI5tG1DTJFA16BHkzHVxjz&Signature=1O13rUNy5FHiqTxcuJTq7RnPek4%3D',
|
|
|
+ // 'https://cdn-svs-test.nipponpaint.com.cn/17790740128352026-05-18%E7%95%A5%E7%95%A5%E7%95%A5.jpg?Expires=2094693212&OSSAccessKeyId=LTAI5tG1DTJFA16BHkzHVxjz&Signature=1O13rUNy5FHiqTxcuJTq7RnPek4%3D',
|
|
|
+ ];
|
|
|
setTimeout(() => {
|
|
|
// this.getLocation()
|
|
|
});
|
|
|
@@ -1323,6 +1329,10 @@ export default {
|
|
|
this.fromValue.chainName = '';
|
|
|
this.getChainsByDeptId(value.deptId, this.fromValue.ifJzStoreType);
|
|
|
this.showPickerDept = false;
|
|
|
+ // 非BMD门店,清空陈列照图片展示
|
|
|
+ if (value.text.indexOf('BMD') == -1) {
|
|
|
+ this.displayImg = [];
|
|
|
+ }
|
|
|
},
|
|
|
setStoreNameFn() {
|
|
|
if (this.fromValue.storeName.trim() == '') {
|
|
|
@@ -1770,7 +1780,10 @@ export default {
|
|
|
this.fromValue.tcfxCode = '';
|
|
|
this.dictTypeFormShow = false;
|
|
|
}
|
|
|
-
|
|
|
+ // 非专业五金店
|
|
|
+ if (value.dictValue !== '126565') {
|
|
|
+ this.displayImg = [];
|
|
|
+ }
|
|
|
if (value.dictValue == 'C917') {
|
|
|
this.GZAttributeFormShow = true;
|
|
|
this.dictTypeSJSFormShow = false;
|
|
|
@@ -2091,6 +2104,7 @@ export default {
|
|
|
addStoreFun(BMDtype) {
|
|
|
addStore(this.fromValue).then((res) => {
|
|
|
this.toastLoading().clear();
|
|
|
+ this.resetProgress();
|
|
|
if (res.code == 200) {
|
|
|
if (res.data.serverCode) {
|
|
|
this.fromValue.storeCode = res.data.sfaStore.storeCode;
|
|
|
@@ -2170,7 +2184,6 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
} else {
|
|
|
- this.resetProgress();
|
|
|
this.$dialog.alert({
|
|
|
title: '系统提示',
|
|
|
message: res.msg,
|
|
|
@@ -2464,13 +2477,21 @@ export default {
|
|
|
bottom: 0;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- background: rgba(255, 255, 255, 0.3);
|
|
|
+ background: rgba(0, 0, 0, 0.5);
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
z-index: 99999999;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
+ .progress {
|
|
|
+ width: 90%;
|
|
|
+ height: 140px;
|
|
|
+ background: #fff;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
.progressClose {
|
|
|
width: 70px;
|
|
|
text-align: center;
|
|
|
@@ -2485,6 +2506,7 @@ export default {
|
|
|
}
|
|
|
.displayImg {
|
|
|
overflow: hidden;
|
|
|
+ padding-bottom: 10px;
|
|
|
.displayImgBox {
|
|
|
position: relative;
|
|
|
width: 48%;
|
|
|
@@ -2500,14 +2522,14 @@ export default {
|
|
|
.displayImgBox:nth-child(even) {
|
|
|
margin-right: 0;
|
|
|
}
|
|
|
- // i {
|
|
|
- // position: absolute;
|
|
|
- // right: 4px;
|
|
|
- // color: white;
|
|
|
- // background: red;
|
|
|
- // overflow: hidden;
|
|
|
- // border-radius: 50%;
|
|
|
- // }
|
|
|
+ i {
|
|
|
+ position: absolute;
|
|
|
+ right: 4px;
|
|
|
+ color: white;
|
|
|
+ background: red;
|
|
|
+ overflow: hidden;
|
|
|
+ border-radius: 50%;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|