Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 00f025c7
authored
Jul 21, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
店面配置操作按钮修改
1 parent
962a1a83
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
src/views/salesManagement/customer/components/EditMerchantDialog.vue
src/views/systemConfig/ShopConfig/index.vue
src/views/salesManagement/customer/components/EditMerchantDialog.vue
View file @
00f025c
...
@@ -273,7 +273,7 @@ export default {
...
@@ -273,7 +273,7 @@ export default {
});
});
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
error
(
"编辑商户弹窗初始化失败:"
,
e
);
console
.
error
(
"编辑商户弹窗初始化失败:"
,
e
);
this
.
$message
.
error
(
"数据加载失败,请关闭弹窗后重试"
);
//
this.$message.error("数据加载失败,请关闭弹窗后重试");
}
finally
{
}
finally
{
// 所有接口加载完成后关闭loading
// 所有接口加载完成后关闭loading
this
.
loading
=
false
;
this
.
loading
=
false
;
...
@@ -358,7 +358,6 @@ export default {
...
@@ -358,7 +358,6 @@ export default {
// 回显表单数据
// 回显表单数据
const
editDataMapped
=
mapMerchantDetailToEditData
(
res
);
const
editDataMapped
=
mapMerchantDetailToEditData
(
res
);
console
.
log
(
editDataMapped
,
"22222"
,
res
);
if
(
editDataMapped
)
{
if
(
editDataMapped
)
{
Object
.
keys
(
editDataMapped
).
forEach
((
key
)
=>
{
Object
.
keys
(
editDataMapped
).
forEach
((
key
)
=>
{
this
.
$set
(
this
.
editData
,
key
,
editDataMapped
[
key
]);
this
.
$set
(
this
.
editData
,
key
,
editDataMapped
[
key
]);
...
@@ -423,7 +422,8 @@ export default {
...
@@ -423,7 +422,8 @@ export default {
this
.
syncMerchantBrandSlotPlaceholder
();
this
.
syncMerchantBrandSlotPlaceholder
();
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
error
(
"加载商户详情失败:"
,
e
);
console
.
error
(
"加载商户详情失败:"
,
e
);
throw
e
;
// 抛出错误,让外层统一处理
// 接口失败时,设置默认商户类型为2(4S店)
this
.
$set
(
this
.
editData
,
"accounttypeId"
,
2
);
}
finally
{
}
finally
{
// 初始化完成,取消标记,后续用户手动修改账户等级时正常触发联动
// 初始化完成,取消标记,后续用户手动修改账户等级时正常触发联动
this
.
isLoadingEditDetail
=
false
;
this
.
isLoadingEditDetail
=
false
;
...
...
src/views/systemConfig/ShopConfig/index.vue
View file @
00f025c
...
@@ -133,8 +133,9 @@
...
@@ -133,8 +133,9 @@
</el-switch>
</el-switch>
</div>
</div>
</
template
>
</
template
>
<auth-button
slot=
"auth-button"
<div
slot=
"auth-button"
slot-scope=
"scope"
>
slot-scope=
"scope"
<auth-button
v-if=
"scope.scope.shopStatus != 4"
slot=
"auth-button"
:data=
"scope.scope"
:data=
"scope.scope"
:show-btn-ids=
"[
:show-btn-ids=
"[
'9061903',
'9061903',
...
@@ -144,8 +145,12 @@
...
@@ -144,8 +145,12 @@
'9061910',
'9061910',
'9061912',
'9061912',
'9061914',
'9061914',
'9061927',
]"
/>
]"
/>
<div
v-else
>
-
</div>
</div>
</d2-table>
</d2-table>
</div>
</div>
<d2-file-import-dialog
template-name=
"文件下载"
<d2-file-import-dialog
template-name=
"文件下载"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment