Commit 1174bd0a authored by xinzhedeai's avatar xinzhedeai

fix:商户bug修改

parent 73508876
...@@ -225,7 +225,7 @@ ...@@ -225,7 +225,7 @@
<div v-if="flag=='XG'"> <div v-if="flag=='XG'">
<van-uploader <van-uploader
v-model="formData.floorPlanPhotosH5" v-model="formData.floorPlanPhotosH5"
:max-count="1" :max-count="4"
:after-read="handleFileUpload" :after-read="handleFileUpload"
class="uploader-wrapper" class="uploader-wrapper"
/> />
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
<div v-if="flag=='XG'"> <div v-if="flag=='XG'">
<van-uploader <van-uploader
v-model="formData.storefrontPhotosH5" v-model="formData.storefrontPhotosH5"
:max-count="4" :max-count="1"
:after-read="handleFileUpload" :after-read="handleFileUpload"
class="uploader-wrapper" class="uploader-wrapper"
/> />
......
...@@ -69,7 +69,7 @@ window.addEventListener('load', function () { ...@@ -69,7 +69,7 @@ window.addEventListener('load', function () {
mounted() { mounted() {
// 详情编辑权限控制 // 详情编辑权限控制
const userType = gemhoUtil.getCookie('userType') const userType = gemhoUtil.getCookie('userType')
if (userType !== 'wgy') { if (userType == 'wgy') {
this.flag = 'XG' this.flag = 'XG'
} else { } else {
this.flag = 'XQ' this.flag = 'XQ'
...@@ -407,6 +407,10 @@ window.addEventListener('load', function () { ...@@ -407,6 +407,10 @@ window.addEventListener('load', function () {
}) })
return return
} }
// 删除对应参数
delete reqParam['floorPlanPhotos']
delete reqParam['businessLicensePhotos']
delete reqParam['storefrontPhotos']
http3.put('/gq/merchant', reqParam).then((res) => { http3.put('/gq/merchant', reqParam).then((res) => {
console.log('添加结果', 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