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 74e90dac
authored
Feb 06, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 样式调整
1 parent
57831ba9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
153 additions
and
78 deletions
src/layout/header-aside/layout.vue
src/router/modules/908_stockManagement.js
src/views/stockManage/components/stockDetailDialog.vue
src/views/stockManage/transferOperationsReview/handleReject.vue
src/views/stockManage/transferOperationsReview/handleReview.vue
src/views/stockManage/transferOperationsReview/index.vue
src/layout/header-aside/layout.vue
View file @
74e90da
<
template
>
<
template
>
<div
class=
"d2-layout-header-aside-group"
:style=
"styleLayoutMainGroup"
:class=
"
{ grayMode: grayActive }">
<div
class=
"d2-layout-header-aside-group"
:style=
"styleLayoutMainGroup"
:class=
"
{ grayMode: grayActive }"
>
<!-- 半透明遮罩 -->
<!-- 半透明遮罩 -->
<div
class=
"d2-layout-header-aside-mask"
/>
<div
class=
"d2-layout-header-aside-mask"
/>
<!-- 主体内容 -->
<!-- 主体内容 -->
<div
class=
"d2-layout-header-aside-content"
flex=
"dir:top"
>
<div
class=
"d2-layout-header-aside-content"
flex=
"dir:top"
>
<!-- 顶栏 -->
<!-- 顶栏 -->
<div
class=
"d2-theme-header"
:style=
"
{
<div
opacity: this.searchActive ? 0.5 : 1
class=
"d2-theme-header"
}" flex-box="0" flex>
:style=
"
{
<div
class=
"logo-group d2-theme-header-logo"
:class=
"asideCollapse ? 'logo-only' : 'logo-all'"
flex-box=
"0"
>
opacity: this.searchActive ? 0.5 : 1
}"
flex-box="0"
flex
>
<div
class=
"logo-group d2-theme-header-logo"
:class=
"asideCollapse ? 'logo-only' : 'logo-all'"
flex-box=
"0"
>
<img
v-if=
"asideCollapse"
src=
"../../assets/icon-only.png"
/>
<img
v-if=
"asideCollapse"
src=
"../../assets/icon-only.png"
/>
<img
v-else
src=
"../../assets/all.png"
/>
<img
v-else
src=
"../../assets/all.png"
/>
<!--
<img
style=
"width: 32px; height: 32px;"
src=
"../../assets/icon-only.png"
>
-->
<!--
<img
style=
"width: 32px; height: 32px;"
src=
"../../assets/icon-only.png"
>
-->
...
@@ -35,24 +48,47 @@
...
@@ -35,24 +48,47 @@
<d2-header-user
/>
<d2-header-user
/>
</div>
</div>
</div>
</div>
<div
class=
"d2-theme-header"
style=
"height: 40px; font-size: 14px; border-top: 1px solid #f0f2f5"
flex-box=
"0"
<div
flex
>
class=
"d2-theme-header"
<div
class=
"logo-group d2-theme-header-logo"
style=
"height: 1px; margin-top: -1px"
style=
"height: 40px; font-size: 14px; border-top: 1px solid #f0f2f5"
:class=
"asideCollapse ? 'logo-only' : 'logo-all'"
flex-box=
"0"
/>
flex-box=
"0"
<hamburger
:on-click=
"handleToggleAside"
:is-active=
"asideCollapse"
flex-box=
"0"
class=
"toggle-aside-btn"
/>
flex
>
<div
class=
"logo-group d2-theme-header-logo"
style=
"height: 1px; margin-top: -1px"
:class=
"asideCollapse ? 'logo-only' : 'logo-all'"
flex-box=
"0"
/>
<hamburger
:on-click=
"handleToggleAside"
:is-active=
"asideCollapse"
flex-box=
"0"
class=
"toggle-aside-btn"
/>
<span
class=
"header-title"
>
{{
headerTitle
}}
</span>
<span
class=
"header-title"
>
{{
headerTitle
}}
</span>
</div>
</div>
<!-- 下面 主体 -->
<!-- 下面 主体 -->
<div
class=
"d2-theme-container"
flex-box=
"1"
flex
>
<div
class=
"d2-theme-container"
flex-box=
"1"
flex
>
<!-- 主体 侧边栏 -->
<!-- 主体 侧边栏 -->
<div
flex-box=
"0"
ref=
"aside"
class=
"d2-theme-container-aside"
:style=
"
{
<div
width: asideCollapse ? asideWidthCollapse : asideWidth,
flex-box=
"0"
opacity: this.searchActive ? 0.5 : 1
ref=
"aside"
}">
class=
"d2-theme-container-aside"
:style=
"
{
width: asideCollapse ? asideWidthCollapse : asideWidth,
opacity: this.searchActive ? 0.5 : 1
}"
>
<d2-menu-side
/>
<d2-menu-side
/>
</div>
</div>
<!-- 主体 -->
<!-- 主体 -->
<div
class=
"d2-theme-container-main"
:class=
"this.searchActive ? 'is-search' : ''"
flex-box=
"1"
flex
>
<div
class=
"d2-theme-container-main"
:class=
"this.searchActive ? 'is-search' : ''"
flex-box=
"1"
flex
>
<!-- 搜索 -->
<!-- 搜索 -->
<transition
name=
"fade-scale"
>
<transition
name=
"fade-scale"
>
<div
v-if=
"searchActive"
class=
"d2-theme-container-main-layer"
flex
>
<div
v-if=
"searchActive"
class=
"d2-theme-container-main-layer"
flex
>
...
@@ -61,14 +97,21 @@
...
@@ -61,14 +97,21 @@
</transition>
</transition>
<!-- 内容 -->
<!-- 内容 -->
<transition
name=
"fade-scale"
>
<transition
name=
"fade-scale"
>
<div
v-if=
"!searchActive"
class=
"d2-theme-container-main-layer"
flex=
"dir:top"
>
<div
v-if=
"!searchActive"
class=
"d2-theme-container-main-layer"
flex=
"dir:top"
>
<!-- tab -->
<!-- tab -->
<div
class=
"d2-theme-container-main-header"
flex-box=
"0"
>
<div
class=
"d2-theme-container-main-header"
flex-box=
"0"
>
<!--
<d2-tabs/>
-->
<!--
<d2-tabs/>
-->
</div>
</div>
<!-- 页面 -->
<!-- 页面 -->
<div
class=
"d2-theme-container-main-body"
flex-box=
"1"
>
<div
class=
"d2-theme-container-main-body"
flex-box=
"1"
>
<transition
:name=
"transitionActive ? 'el-fade-in' : ''"
mode=
"out-in"
>
<transition
:name=
"transitionActive ? 'el-fade-in' : ''"
mode=
"out-in"
>
<keep-alive
:include=
"keepAlive"
>
<keep-alive
:include=
"keepAlive"
>
<router-view
/>
<router-view
/>
</keep-alive>
</keep-alive>
...
@@ -163,8 +206,8 @@ export default {
...
@@ -163,8 +206,8 @@ export default {
return
{
return
{
...(
this
.
themeActiveSetting
.
backgroundImage
...(
this
.
themeActiveSetting
.
backgroundImage
?
{
?
{
backgroundImage
:
`url('
${
this
.
$baseUrl
}${
this
.
themeActiveSetting
.
backgroundImage
}
')`
backgroundImage
:
`url('
${
this
.
$baseUrl
}${
this
.
themeActiveSetting
.
backgroundImage
}
')`
}
}
:
{})
:
{})
}
}
}
}
...
@@ -173,8 +216,12 @@ export default {
...
@@ -173,8 +216,12 @@ export default {
...
mapActions
(
"d2admin/menu"
,
[
"asideCollapseToggle"
]),
...
mapActions
(
"d2admin/menu"
,
[
"asideCollapseToggle"
]),
...
mapActions
(
"d2admin/user"
,
[
"load"
]),
...
mapActions
(
"d2admin/user"
,
[
"load"
]),
findTitle
(
val
)
{
findTitle
(
val
)
{
this
.
headerTitle
=
val
?.
title
let
title
=
val
?.
title
?
val
.
title
+
(
this
.
headerTitle
?
" / "
:
""
)
+
this
.
headerTitle
if
(
val
?.
dynamicTitle
&&
typeof
val
.
dynamicTitle
===
"function"
)
{
title
=
val
.
dynamicTitle
(
this
.
$route
)
||
title
}
this
.
headerTitle
=
title
?
title
+
(
this
.
headerTitle
?
" / "
:
""
)
+
this
.
headerTitle
:
""
:
""
if
(
val
?.
parentId
&&
+
val
?.
parentId
!==
1
)
{
if
(
val
?.
parentId
&&
+
val
?.
parentId
!==
1
)
{
return
this
.
findTitle
(
return
this
.
findTitle
(
...
...
src/router/modules/908_stockManagement.js
View file @
74e90da
...
@@ -527,7 +527,12 @@ export const routerName = {
...
@@ -527,7 +527,12 @@ export const routerName = {
title
:
"审批"
,
title
:
"审批"
,
authId
:
"908090301"
,
authId
:
"908090301"
,
parentId
:
"90809"
,
parentId
:
"90809"
,
cache
:
false
cache
:
false
,
dynamicTitle
:
(
route
)
=>
{
if
(
route
.
query
.
reviewType
===
"operator"
)
return
"运营审核"
if
(
route
.
query
.
reviewType
===
"business"
)
return
"商务审核"
return
"审批"
}
},
},
component
:
_import
(
"stockManage/transferOperationsReview/handleReview"
)
component
:
_import
(
"stockManage/transferOperationsReview/handleReview"
)
},
},
...
@@ -538,7 +543,12 @@ export const routerName = {
...
@@ -538,7 +543,12 @@ export const routerName = {
title
:
"驳回"
,
title
:
"驳回"
,
authId
:
"908090401"
,
authId
:
"908090401"
,
parentId
:
"90809"
,
parentId
:
"90809"
,
cache
:
false
cache
:
false
,
dynamicTitle
:
(
route
)
=>
{
if
(
route
.
query
.
reviewType
===
"operator"
)
return
"运营驳回"
if
(
route
.
query
.
reviewType
===
"business"
)
return
"商务驳回"
return
"驳回"
}
},
},
component
:
_import
(
"stockManage/transferOperationsReview/handleReject"
)
component
:
_import
(
"stockManage/transferOperationsReview/handleReject"
)
},
},
...
@@ -549,7 +559,12 @@ export const routerName = {
...
@@ -549,7 +559,12 @@ export const routerName = {
title
:
"审批"
,
title
:
"审批"
,
authId
:
"908100301"
,
authId
:
"908100301"
,
parentId
:
"90810"
,
parentId
:
"90810"
,
cache
:
false
cache
:
false
,
dynamicTitle
:
(
route
)
=>
{
if
(
route
.
query
.
reviewType
===
"operator"
)
return
"运营审核"
if
(
route
.
query
.
reviewType
===
"business"
)
return
"商务审核"
return
"审批"
}
},
},
component
:
_import
(
"stockManage/transferOperationsReview/handleReview"
)
component
:
_import
(
"stockManage/transferOperationsReview/handleReview"
)
},
},
...
@@ -560,7 +575,12 @@ export const routerName = {
...
@@ -560,7 +575,12 @@ export const routerName = {
title
:
"驳回"
,
title
:
"驳回"
,
authId
:
"908100401"
,
authId
:
"908100401"
,
parentId
:
"90810"
,
parentId
:
"90810"
,
cache
:
false
cache
:
false
,
dynamicTitle
:
(
route
)
=>
{
if
(
route
.
query
.
reviewType
===
"operator"
)
return
"运营驳回"
if
(
route
.
query
.
reviewType
===
"business"
)
return
"商务驳回"
return
"驳回"
}
},
},
component
:
_import
(
"stockManage/transferOperationsReview/handleReject"
)
component
:
_import
(
"stockManage/transferOperationsReview/handleReject"
)
}
}
...
...
src/views/stockManage/components/stockDetailDialog.vue
View file @
74e90da
...
@@ -4,32 +4,40 @@
...
@@ -4,32 +4,40 @@
title=
"库存明细"
title=
"库存明细"
:is-visible=
"dialogVisible"
:is-visible=
"dialogVisible"
class=
"stockMonthDailog"
class=
"stockMonthDailog"
width=
"40%"
width=
"50%"
:no-cancel=
"true"
:no-cancel=
"false"
btn-ok-label=
"关闭"
btn-ok-label=
"确定"
btn-cancel-label=
"取消"
@
closeDialog=
"handleClose"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
>
<div>
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<div
class=
"search-box"
>
<d2-table
<el-input
ref=
"recordTable"
v-model=
"searchForm.merchantName"
:get-list-api=
"getListApi"
size=
"small"
:search-form=
"searchForm"
placeholder=
"请输入商户名称"
:table-params=
"tableParams"
prefix-icon=
"el-icon-search"
>
style=
"width: 200px; margin-right: 10px"
</d2-table>
></el-input>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
>
查询
</el-button>
</div>
</div>
<d2-table
ref=
"recordTable"
:get-list-api=
"getListApi"
:search-form=
"searchForm"
:table-params=
"tableParams"
>
</d2-table>
</div>
</div>
</d2-dialog>
</d2-dialog>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mapActions
,
mapState
}
from
"vuex"
import
{
mapActions
,
mapState
}
from
"vuex"
import
{
import
{
merchantShopGoodsStockPageH5
}
from
"@api/stockManage"
merchantShopGoodsStockPage
,
merchantShopGoodsStockPageH5
}
from
"@api/stockManage"
import
{
baseConfig
}
from
"@/main"
import
{
baseConfig
}
from
"@/main"
export
default
{
export
default
{
...
@@ -42,10 +50,6 @@ export default {
...
@@ -42,10 +50,6 @@ export default {
recordInfo
:
{
recordInfo
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{}
default
:
()
=>
{}
},
useNewApi
:
{
type
:
Boolean
,
default
:
false
}
}
},
},
data
()
{
data
()
{
...
@@ -54,11 +58,10 @@ export default {
...
@@ -54,11 +58,10 @@ export default {
membraneTypeList
:
baseConfig
.
membraneTypeList
,
membraneTypeList
:
baseConfig
.
membraneTypeList
,
searchForm
:
{
searchForm
:
{
upgradeGoodsId
:
""
,
upgradeGoodsId
:
""
,
yqMerchantId
:
""
merchantName
:
""
// yqMerchantId: ""
},
},
getListApi
:
this
.
useNewApi
getListApi
:
merchantShopGoodsStockPageH5
,
?
merchantShopGoodsStockPageH5
:
merchantShopGoodsStockPage
,
tableData
:
[],
tableData
:
[],
tableParams
:
{
tableParams
:
{
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
...
@@ -67,8 +70,7 @@ export default {
...
@@ -67,8 +70,7 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
"门店"
,
label
:
"门店"
,
prop
:
"merchantName"
,
prop
:
"merchantName"
width
:
"200px"
},
},
{
{
label
:
"当前库存"
,
label
:
"当前库存"
,
...
@@ -125,17 +127,20 @@ export default {
...
@@ -125,17 +127,20 @@ export default {
// })
// })
// },
// },
chooseYear
()
{
//
chooseYear() {
this
.
getList
()
//
this.getList()
},
//
},
// getList() {
// handleSearch() {
// var params = deepClone(this.searchForm)
// this.$refs.recordTable.handleSearch()
// getReportByGoods(params).then(res => {
// this.tableData = res
// })
// },
// },
handleReset
()
{
// this.handleSearch()
this
.
searchForm
.
merchantName
=
""
// this.$refs.showSearch.handleReset(true, true)
},
handleClose
()
{
handleClose
()
{
// this.$emit('dialogClose')
// this.$emit('dialogClose')
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
...
@@ -143,13 +148,20 @@ export default {
...
@@ -143,13 +148,20 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
lang=
"scss"
>
.count-txt
{
.count-txt
{
font-weight
:
700
;
font-weight
:
700
;
color
:
#2a58ad
;
color
:
#2a58ad
;
margin
:
0
2px
;
margin
:
0
2px
;
}
}
.stockMonthDailog
::v-deep
.el-dialog__body
{
padding
:
0px
20px
;
.d2-container-content
{
padding
:
0px
0px
!important
;
}
}
.stockMonthDailog
.el-dialog
{
.stockMonthDailog
.el-dialog
{
margin-top
:
20vh
!important
;
margin-top
:
20vh
!important
;
min-width
:
700px
;
min-width
:
700px
;
...
@@ -173,7 +185,8 @@ export default {
...
@@ -173,7 +185,8 @@ export default {
padding
:
6.5px
10px
;
padding
:
6.5px
10px
;
}
}
.show-search
{
.search-box
{
margin-left
:
-65px
;
display
:
flex
;
margin-bottom
:
15px
;
}
}
</
style
>
</
style
>
src/views/stockManage/transferOperationsReview/handleReject.vue
View file @
74e90da
...
@@ -274,7 +274,6 @@
...
@@ -274,7 +274,6 @@
v
-
if
=
"stockDetailDialogVisible"
v
-
if
=
"stockDetailDialogVisible"
:
visible
.
sync
=
"stockDetailDialogVisible"
:
visible
.
sync
=
"stockDetailDialogVisible"
:
recordInfo
=
"stockDetailInfo"
:
recordInfo
=
"stockDetailInfo"
:
use
-
new
-
api
=
"true"
/>
/>
<
/d2-container>
<
/d2-container>
<
/template>
<
/template>
...
...
src/views/stockManage/transferOperationsReview/handleReview.vue
View file @
74e90da
...
@@ -197,10 +197,7 @@
...
@@ -197,10 +197,7 @@
<
span
class
=
"span-txt-one"
>
{{
<
span
class
=
"span-txt-one"
>
{{
item
.
status
?
$$
(
statusForShow
,
[
item
.
status
],
"text"
)
:
""
item
.
status
?
$$
(
statusForShow
,
[
item
.
status
],
"text"
)
:
""
}}
<
/span>
}}
<
/span>
<
span
<
span
class
=
"span-txt-two"
>
class
=
"span-txt-two"
style
=
"display: inline-block; width: 116px"
>
<
span
<
span
:
class
=
"item.status ? examineStatusClass[item.status] : ''"
:
class
=
"item.status ? examineStatusClass[item.status] : ''"
>
>
...
@@ -302,7 +299,6 @@
...
@@ -302,7 +299,6 @@
:
visible
.
sync
=
"stockDetailDialogVisible"
:
visible
.
sync
=
"stockDetailDialogVisible"
v
-
if
=
"stockDetailDialogVisible"
v
-
if
=
"stockDetailDialogVisible"
:
record
-
info
=
"stockDetailInfo"
:
record
-
info
=
"stockDetailInfo"
:
use
-
new
-
api
=
"true"
/>
/>
<
/d2-container>
<
/d2-container>
<
/template>
<
/template>
...
@@ -682,13 +678,12 @@ export default {
...
@@ -682,13 +678,12 @@ export default {
.
audit
-
form
{
.
audit
-
form
{
margin
-
bottom
:
30
px
;
margin
-
bottom
:
30
px
;
max
-
width
:
800
px
;
}
}
}
}
.
examine
-
record
{
.
examine
-
record
{
position
:
relative
;
position
:
relative
;
width
:
850
px
;
width
:
100
%
;
min
-
height
:
60
px
;
min
-
height
:
60
px
;
border
-
radius
:
4
px
;
border
-
radius
:
4
px
;
border
:
1
px
solid
#
fafafa
;
border
:
1
px
solid
#
fafafa
;
...
@@ -736,21 +731,22 @@ export default {
...
@@ -736,21 +731,22 @@ export default {
.
record
-
div
-
d
{
.
record
-
div
-
d
{
margin
-
top
:
10
px
;
margin
-
top
:
10
px
;
display
:
flex
;
align
-
items
:
center
;
}
}
.
span
-
txt
-
one
{
.
span
-
txt
-
one
{
margin
-
left
:
14
px
;
margin
-
left
:
14
px
;
width
:
203
px
;
margin
-
right
:
30
px
;
height
:
21
px
;
}
}
.
reviewer
{
.
reviewer
{
display
:
inline
-
block
;
display
:
inline
-
block
;
width
:
14
0
px
;
margin
-
right
:
3
0
px
;
}
}
.
span
-
txt
-
two
{
.
span
-
txt
-
two
{
margin
-
left
:
2
0
px
;
margin
-
right
:
3
0
px
;
}
}
.
greenSp
{
.
greenSp
{
...
...
src/views/stockManage/transferOperationsReview/index.vue
View file @
74e90da
...
@@ -272,11 +272,11 @@ export default {
...
@@ -272,11 +272,11 @@ export default {
{
{
confId
:
3
,
confId
:
3
,
confLabel
:
"部分发货"
confLabel
:
"部分发货"
},
{
confId
:
4
,
confLabel
:
"结束发货"
}
}
// {
// confId: 4,
// confLabel: "结束发货"
// }
]
]
},
},
...
...
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