Commit 1174bd0a authored by xinzhedeai's avatar xinzhedeai

fix:商户bug修改

parent 73508876
......@@ -225,7 +225,7 @@
<div v-if="flag=='XG'">
<van-uploader
v-model="formData.floorPlanPhotosH5"
:max-count="1"
:max-count="4"
:after-read="handleFileUpload"
class="uploader-wrapper"
/>
......@@ -272,7 +272,7 @@
<div v-if="flag=='XG'">
<van-uploader
v-model="formData.storefrontPhotosH5"
:max-count="4"
:max-count="1"
:after-read="handleFileUpload"
class="uploader-wrapper"
/>
......
......@@ -69,7 +69,7 @@ window.addEventListener('load', function () {
mounted() {
// 详情编辑权限控制
const userType = gemhoUtil.getCookie('userType')
if (userType !== 'wgy') {
if (userType == 'wgy') {
this.flag = 'XG'
} else {
this.flag = 'XQ'
......@@ -407,6 +407,10 @@ window.addEventListener('load', function () {
})
return
}
// 删除对应参数
delete reqParam['floorPlanPhotos']
delete reqParam['businessLicensePhotos']
delete reqParam['storefrontPhotos']
http3.put('/gq/merchant', reqParam).then((res) => {
console.log('添加结果', res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment