Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mingPayPc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
mingPayPc
Commits
12418c7a
Commit
12418c7a
authored
Oct 15, 2019
by
liang ce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文案修改
parent
50d5f0a4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
94 additions
and
18 deletions
+94
-18
MenuManagement.vue
src/components/pages/CanteenManagement/MenuManagement.vue
+21
-3
AllowanceDetails.vue
src/components/pages/PaymentManagement/AllowanceDetails.vue
+72
-14
AllowancePayment.vue
src/components/pages/PaymentManagement/AllowancePayment.vue
+1
-1
No files found.
src/components/pages/CanteenManagement/MenuManagement.vue
View file @
12418c7a
...
@@ -3,8 +3,13 @@
...
@@ -3,8 +3,13 @@
<a-button
style=
"margin-bottom: 20px"
type=
"primary"
@
click=
"showModal()"
>
添加菜品
</a-button>
<a-button
style=
"margin-bottom: 20px"
type=
"primary"
@
click=
"showModal()"
>
添加菜品
</a-button>
<div
style=
"display: flex"
>
<div
style=
"display: flex"
>
<div
class=
"productionMenu"
>
<div
class=
"productionMenu"
>
<div
class=
"menuItem"
style=
"font-weight: bold;"
>
菜品所有分类
</div>
<div
class=
"menuItem"
style=
"font-weight: bold;height: 52px;lint-height: 52px;"
>
菜品所有分类
</div>
<div
:class=
"item.productCategoryId === menuId ? 'menuItem menuItemAction' : 'menuItem'"
v-for=
"item in dataSource"
:key=
"item.productCategoryId"
@
click=
"changeMenuItem(item.productCategoryId)"
>
{{
item
.
productCategoryName
}}
</div>
<div
:class=
"item.productCategoryId === menuId ? 'menuItem menuItemAction' : 'menuItem'"
v-for=
"item in dataSource"
:key=
"item.productCategoryId"
@
click=
"changeMenuItem(item.productCategoryId)"
>
{{
item
.
productCategoryName
}}
<div
class=
"menuProductStatus"
v-if=
"item.isDisplay === 'HIDDEN'"
>
<img
src=
"../../../assets/hiddenMenu.png"
alt=
""
>
</div>
</div>
</div>
</div>
<div
style=
"flex: 1;padding-left: 20px"
>
<div
style=
"flex: 1;padding-left: 20px"
>
<a-table
:columns=
"columns"
:dataSource=
"tableSource"
rowKey=
"productId"
:pagination=
"pagination"
>
<a-table
:columns=
"columns"
:dataSource=
"tableSource"
rowKey=
"productId"
:pagination=
"pagination"
>
...
@@ -428,8 +433,9 @@ export default {
...
@@ -428,8 +433,9 @@ export default {
}
}
.productionMenu
>
.menuItem
{
.productionMenu
>
.menuItem
{
height
:
40px
;
height
:
40px
;
padding
:
0
24px
;
line-height
:
40px
;
line-height
:
40px
;
position
:
relative
;
text-align
:
center
}
}
.productionMenu
>
.menuItemAction
{
.productionMenu
>
.menuItemAction
{
background
:
#ffffff
;
background
:
#ffffff
;
...
@@ -447,4 +453,16 @@ export default {
...
@@ -447,4 +453,16 @@ export default {
margin-top
:
8px
;
margin-top
:
8px
;
color
:
#666
;
color
:
#666
;
}
}
.menuProductStatus
{
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
40px
;
height
:
40px
;
}
.menuProductStatus
img
{
width
:
40px
;
height
:
40px
;
display
:
block
;
}
</
style
>
</
style
>
src/components/pages/PaymentManagement/AllowanceDetails.vue
View file @
12418c7a
...
@@ -2,30 +2,22 @@
...
@@ -2,30 +2,22 @@
<div
class=
"allowanceDetails"
>
<div
class=
"allowanceDetails"
>
<a-button
type=
"primary"
@
click=
"back()"
><img
style=
"margin-top:-4px;margin-right: 6px;width: 14px"
src=
"../../../assets/back.png"
/>
返回
</a-button>
<a-button
type=
"primary"
@
click=
"back()"
><img
style=
"margin-top:-4px;margin-right: 6px;width: 14px"
src=
"../../../assets/back.png"
/>
返回
</a-button>
<div
class=
"title"
>
津贴详情
</div>
<div
class=
"title"
>
津贴详情
</div>
<div
class=
"allowanceDetailsBox"
>
<div
class=
"allowanceDetailsBox"
v-if=
"allowanceDetails"
>
<div>
<div>
<label>
成员
</label>
<label>
津贴类型
</label>
<div>
{{
allowanceDetails
.
recipient
}}
</div>
<div>
{{
allowanceDetails
.
subsidyType
===
'TRAVEL'
?
'交通补贴'
:
'餐补'
}}
</div>
</div>
<div>
<label>
金额
</label>
<div>
{{
allowanceDetails
.
money
.
toFixed
(
2
)
}}
</div>
</div>
</div>
<div>
<div>
<label>
截止日期
</label>
<label>
截止日期
</label>
<div>
{{
allowanceDetails
.
endTime
}}
</div>
<div>
{{
allowanceDetails
.
endTime
}}
</div>
</div>
</div>
<div>
<div>
<label>
津贴类型
</label>
<div>
{{
allowanceDetails
.
type
===
'TRAVEL'
?
'交通补贴'
:
'餐补'
}}
</div>
</div>
<div>
<label>
单号
</label>
<label>
单号
</label>
<div>
{{
allowanceDetails
.
grantNumber
}}
</div>
<div>
{{
allowanceDetails
.
grantNumber
}}
</div>
</div>
</div>
<div>
<div>
<label>
经办人
</label>
<label>
经办人
</label>
<div>
{{
allowanceDetails
.
agent
Id
}}
</div>
<div>
{{
allowanceDetails
.
agent
Name
}}
</div>
</div>
</div>
<div>
<div>
<label>
发放时间
</label>
<label>
发放时间
</label>
...
@@ -35,24 +27,56 @@
...
@@ -35,24 +27,56 @@
<label>
备注
</label>
<label>
备注
</label>
<div>
{{
allowanceDetails
.
remark
}}
</div>
<div>
{{
allowanceDetails
.
remark
}}
</div>
</div>
</div>
<div>
<label>
单笔金额
</label>
<div>
{{
allowanceDetails
.
subsidyAmount
.
toFixed
(
2
)
}}
</div>
</div>
<div>
<label>
成员
</label>
<div>
{{
allowanceDetails
.
recipient
}}
</div>
</div>
</div>
<div
class=
"clickshowsearchUserMessage"
@
click=
"this.isshow = !this.isshow"
><a
href=
"javascript:;"
>
查看具体成员
</a></div>
<div
class=
"searchUserMessage"
v:if=
"isshow"
>
<div
class=
"positionDiv"
></div>
<div
style=
"margin-bottom: 8px"
>
<label>
请输入查询人员:
</label><a-input
style=
"width:220px"
v-model=
"searchData"
placeholder=
""
/>
</div>
<div
class=
"userList"
>
<span
v-for=
"(item,index) in allowanceDetails.grantSubsidyUserName"
:class=
"searchData === item ? 'searchData': ''"
:key=
"index"
>
{{
item
}}
</span>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
$http
}
from
'./../../../api/axios.js'
export
default
{
export
default
{
name
:
'allowanceDetails'
,
name
:
'allowanceDetails'
,
data
()
{
data
()
{
return
{
return
{
allowanceDetails
:
''
grantNumber
:
''
,
allowanceDetails
:
''
,
searchData
:
''
,
isshow
:
false
}
}
},
},
watch
:
{},
watch
:
{},
computed
:
{},
computed
:
{},
created
:
function
()
{
created
:
function
()
{
this
.
allowanceDetails
=
this
.
$route
.
params
.
allowanceDetails
this
.
grantNumber
=
this
.
$route
.
params
.
allowanceDetails
this
.
getStatisticalProductPage
()
},
},
methods
:
{
methods
:
{
getStatisticalProductPage
()
{
let
data
=
this
.
$qs
.
stringify
({
grantNumber
:
this
.
grantNumber
})
$http
.
get
(
`/mingpay/v1/isv/account/coupon_record_detail?
${
data
}
`
).
then
((
res
)
=>
{
console
.
log
(
res
)
this
.
allowanceDetails
=
res
.
data
.
data
})
},
back
()
{
back
()
{
this
.
$router
.
go
(
-
1
)
this
.
$router
.
go
(
-
1
)
}
}
...
@@ -82,4 +106,38 @@ export default {
...
@@ -82,4 +106,38 @@ export default {
.allowanceDetailsBox
>
div
>
div
{
.allowanceDetailsBox
>
div
>
div
{
flex
:
1
;
flex
:
1
;
}
}
.searchUserMessage
{
width
:
100%
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
font-size
:
14px
;
padding
:
8px
8px
;
padding-right
:
20px
;
border
:
1px
solid
#cccccc
;
margin-bottom
:
15px
;
border-radius
:
8px
;
position
:
relative
;
}
.positionDiv
{
height
:
12px
;
width
:
12px
;
transform
:
rotate
(
45deg
);
border-left
:
1px
solid
#cccccc
;
border-top
:
1px
solid
#cccccc
;
position
:
absolute
;
top
:
-7px
;
left
:
30px
;
background
:
white
;
z-index
:
99
;
}
.searchData
{
color
:
red
;
}
.userList
>
span
{
padding
:
6px
;
}
.clickshowsearchUserMessage
{
margin-bottom
:
20px
;
}
</
style
>
</
style
>
src/components/pages/PaymentManagement/AllowancePayment.vue
View file @
12418c7a
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
})
})
},
},
toAllowanceDetails
(
record
,
text
,
index
)
{
toAllowanceDetails
(
record
,
text
,
index
)
{
this
.
$router
.
push
({
name
:
'allowanceDetails'
,
params
:
{
allowanceDetails
:
record
}
})
this
.
$router
.
push
({
name
:
'allowanceDetails'
,
params
:
{
allowanceDetails
:
record
.
grantNumber
}
})
},
},
selectAgent
(
value
)
{
selectAgent
(
value
)
{
this
.
searchSource
.
agentId
=
value
this
.
searchSource
.
agentId
=
value
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment