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 337f88c3
authored
Dec 15, 2025
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 门店毛利按钮权限配置
1 parent
b675f1e1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
4 deletions
src/router/modules/906_systemSettings.js
src/views/systemConfig/ShopConfig/storeGrossProfit/index.vue
src/router/modules/906_systemSettings.js
View file @
337f88c
...
@@ -1036,6 +1036,50 @@ export const routerName = {
...
@@ -1036,6 +1036,50 @@ export const routerName = {
category
:
"Button"
,
category
:
"Button"
,
type
:
"primary"
,
type
:
"primary"
,
handle
:
"handleSetBatch"
handle
:
"handleSetBatch"
},
// 门店毛利额操作权限
{
authId
:
"9061937"
,
parentId
:
"90619"
,
label
:
"导入毛利"
,
category
:
"Button"
,
type
:
"primary"
,
handle
:
"handleImport"
},
{
authId
:
"9061938"
,
parentId
:
"90619"
,
label
:
"新增毛利"
,
icon
:
"plus"
,
category
:
"Button"
,
type
:
"primary"
,
handle
:
"handleAdd"
},
{
authId
:
"9061939"
,
parentId
:
"90619"
,
label
:
"导出"
,
category
:
"Button"
,
type
:
"primary"
,
handle
:
"handleExport"
},
{
authId
:
"9061940"
,
parentId
:
"90619"
,
label
:
"详情"
,
handle
:
"handleDetail"
},
{
authId
:
"9061941"
,
parentId
:
"90619"
,
label
:
"修改"
,
handle
:
"handleEdit"
},
{
authId
:
"9061942"
,
parentId
:
"90619"
,
label
:
"删除"
,
handle
:
"handleDelete"
}
}
],
],
// component: _import("systemConfig/ShopConfig/index")
// component: _import("systemConfig/ShopConfig/index")
...
...
src/views/systemConfig/ShopConfig/storeGrossProfit/index.vue
View file @
337f88c
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
<d2-table-header>
<d2-table-header>
<span>
<span>
<auth-button
category=
"Button"
<auth-button
category=
"Button"
:show-btn-ids=
"['90619
28','9061929','9061930
']"
/></span>
:show-btn-ids=
"['90619
37','9061938','9061939
']"
/></span>
</d2-table-header>
</d2-table-header>
<d2-table
ref=
"personalTable"
<d2-table
ref=
"personalTable"
:search-form=
"searchFormSearch"
:search-form=
"searchFormSearch"
...
@@ -76,19 +76,19 @@
...
@@ -76,19 +76,19 @@
<!-- 详情 -->
<!-- 详情 -->
<span
style=
"margin-right: 10px"
>
<span
style=
"margin-right: 10px"
>
<auth-button
:data=
"scope.scope"
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['90619
31
']"
/>
:show-btn-ids=
"['90619
40
']"
/>
</span>
</span>
<!-- 修改 -->
<!-- 修改 -->
<span
style=
"margin-right: 10px"
<span
style=
"margin-right: 10px"
v-if=
"scope.scope.allowUpdate == true"
>
v-if=
"scope.scope.allowUpdate == true"
>
<auth-button
:data=
"scope.scope"
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['90619
32
']"
/>
:show-btn-ids=
"['90619
41
']"
/>
</span>
</span>
<!-- 删除 -->
<!-- 删除 -->
<span
style=
"margin-right: 10px"
<span
style=
"margin-right: 10px"
v-if=
"scope.scope.allowUpdate == true"
>
v-if=
"scope.scope.allowUpdate == true"
>
<auth-button
:data=
"scope.scope"
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['90619
33
']"
/>
:show-btn-ids=
"['90619
42
']"
/>
</span>
</span>
</div>
</div>
</d2-table>
</d2-table>
...
...
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