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
88bd95e6
Commit
88bd95e6
authored
Oct 11, 2019
by
liang ce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新bug
parent
0df90a54
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
51 additions
and
49 deletions
+51
-49
ConsumptionOrder.vue
src/components/pages/CanteenManagement/ConsumptionOrder.vue
+8
-6
ConsumptionStatistics.vue
...ponents/pages/CanteenManagement/ConsumptionStatistics.vue
+6
-3
MenuManagement.vue
src/components/pages/CanteenManagement/MenuManagement.vue
+5
-2
AccountManagement.vue
src/components/pages/PaymentManagement/AccountManagement.vue
+3
-2
AllowanceDetails.vue
src/components/pages/PaymentManagement/AllowanceDetails.vue
+3
-5
AllowancePayment.vue
src/components/pages/PaymentManagement/AllowancePayment.vue
+7
-19
RechargeRecord.vue
src/components/pages/PaymentManagement/RechargeRecord.vue
+6
-7
RecordsOfConsumption.vue
...mponents/pages/PaymentManagement/RecordsOfConsumption.vue
+13
-5
No files found.
src/components/pages/CanteenManagement/ConsumptionOrder.vue
View file @
88bd95e6
...
@@ -33,7 +33,9 @@
...
@@ -33,7 +33,9 @@
</a-popover>
</a-popover>
</span>
</span>
<span
slot=
"agentName"
>
经办人
</span>
<span
slot=
"agentName"
>
经办人
</span>
<span
slot=
"orderAmount"
>
消费总额(元)
</span>
<span
slot=
"orderAmount"
slot-scope=
"orderAmount"
>
{{ orderAmount.toFixed(2) }}
</span>
<span
slot=
"mingPayOrderDetailList"
slot-scope=
"mingPayOrderDetailList"
>
<span
slot=
"mingPayOrderDetailList"
slot-scope=
"mingPayOrderDetailList"
>
<a-popover>
<a-popover>
<
template
slot=
"content"
>
<
template
slot=
"content"
>
...
@@ -44,7 +46,7 @@
...
@@ -44,7 +46,7 @@
<div>
X
{{
item
.
productQuantity
}}
</div>
<div>
X
{{
item
.
productQuantity
}}
</div>
</div>
</div>
<div>
<div>
¥
{{
item
.
productPrice
}}
¥
{{
item
.
productPrice
.
toFixed
(
2
)
}}
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -93,11 +95,11 @@ export default {
...
@@ -93,11 +95,11 @@ export default {
scopedSlots
:
{
customRender
:
'buyerSysDeptNameList'
}
scopedSlots
:
{
customRender
:
'buyerSysDeptNameList'
}
},
{
},
{
title
:
'经办人'
,
title
:
'经办人'
,
dataIndex
:
'agentName'
,
dataIndex
:
'agentName'
scopedSlots
:
{
customRender
:
'agentName'
}
},
{
},
{
title
:
'消费总额'
,
title
:
'消费总额(元)'
,
dataIndex
:
'orderAmount'
dataIndex
:
'orderAmount'
,
scopedSlots
:
{
customRender
:
'orderAmount'
}
},
{
},
{
title
:
'消费菜品'
,
title
:
'消费菜品'
,
dataIndex
:
'mingPayOrderDetailList'
,
dataIndex
:
'mingPayOrderDetailList'
,
...
...
src/components/pages/CanteenManagement/ConsumptionStatistics.vue
View file @
88bd95e6
...
@@ -27,8 +27,10 @@
...
@@ -27,8 +27,10 @@
<img
style=
"width: 100px"
:src=
"productIcon"
alt=
""
/>
<img
style=
"width: 100px"
:src=
"productIcon"
alt=
""
/>
</span>
</span>
<span
slot=
"productName"
></span>
<span
slot=
"productName"
></span>
<span
slot=
"productPrice"
></span>
<span
slot=
"productPrice"
slot-scope=
"productPrice"
>
<span
slot=
"productPrice"
></span>
{{
productPrice
.
toFixed
(
2
)
}}
</span>
<span
slot=
"productStatisticalQuantity"
></span>
</a-table>
</a-table>
</div>
</div>
</
template
>
</
template
>
...
@@ -61,7 +63,8 @@ export default {
...
@@ -61,7 +63,8 @@ export default {
dataIndex
:
'productName'
,
dataIndex
:
'productName'
,
},
{
},
{
title
:
'价格(元)'
,
title
:
'价格(元)'
,
dataIndex
:
'productPrice'
dataIndex
:
'productPrice'
,
scopedSlots
:
{
customRender
:
'productPrice'
}
},
{
},
{
title
:
'售出(份数)'
,
title
:
'售出(份数)'
,
dataIndex
:
'productStatisticalQuantity'
dataIndex
:
'productStatisticalQuantity'
...
...
src/components/pages/CanteenManagement/MenuManagement.vue
View file @
88bd95e6
...
@@ -12,7 +12,9 @@
...
@@ -12,7 +12,9 @@
<img
style=
"width: 100px"
:src=
"productIcon"
alt=
""
/>
<img
style=
"width: 100px"
:src=
"productIcon"
alt=
""
/>
</span>
</span>
<span
slot=
"productName"
></span>
<span
slot=
"productName"
></span>
<span
slot=
"productPrice"
></span>
<span
slot=
"productPrice"
slot-scope=
"productPrice"
>
{{
productPrice
.
toFixed
(
2
)
}}
</span>
<span
slot=
"productStatus"
slot-scope=
"productStatus"
>
<span
slot=
"productStatus"
slot-scope=
"productStatus"
>
<a-badge
v-if=
"productStatus === 'UP'"
status=
"success"
text=
"已上架"
/>
<a-badge
v-if=
"productStatus === 'UP'"
status=
"success"
text=
"已上架"
/>
<a-badge
v-else-if=
"productStatus === 'DOWN'"
status=
"error"
text=
"已下架"
/>
<a-badge
v-else-if=
"productStatus === 'DOWN'"
status=
"error"
text=
"已下架"
/>
...
@@ -103,7 +105,8 @@ export default {
...
@@ -103,7 +105,8 @@ export default {
dataIndex
:
'productName'
dataIndex
:
'productName'
},
{
},
{
title
:
'价格(元)'
,
title
:
'价格(元)'
,
dataIndex
:
'productPrice'
dataIndex
:
'productPrice'
,
scopedSlots
:
{
customRender
:
'productPrice'
}
},
{
},
{
title
:
'排序值'
,
title
:
'排序值'
,
dataIndex
:
'sort'
dataIndex
:
'sort'
...
...
src/components/pages/PaymentManagement/AccountManagement.vue
View file @
88bd95e6
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
</a-popover>
</a-popover>
</div>
</div>
</span>
</span>
<span
slot=
"realityBalance"
slot-scope=
"realityBalance"
>
余额
<span
slot=
"realityBalance"
slot-scope=
"realityBalance"
>
{{ realityBalance.toFixed(2) }}
{{ realityBalance.toFixed(2) }}
</span>
</span>
<span
slot=
"cardNo"
slot-scope=
"cardNo"
>
<span
slot=
"cardNo"
slot-scope=
"cardNo"
>
...
@@ -149,7 +149,8 @@ export default {
...
@@ -149,7 +149,8 @@ export default {
width
:
'140px'
width
:
'140px'
},
{
},
{
title
:
'余额'
,
title
:
'余额'
,
dataIndex
:
'realityBalance'
dataIndex
:
'realityBalance'
,
scopedSlots
:
{
customRender
:
'realityBalance'
}
},
{
},
{
title
:
'卡号'
,
title
:
'卡号'
,
dataIndex
:
'cardNo'
,
dataIndex
:
'cardNo'
,
...
...
src/components/pages/PaymentManagement/AllowanceDetails.vue
View file @
88bd95e6
...
@@ -9,11 +9,11 @@
...
@@ -9,11 +9,11 @@
</div>
</div>
<div>
<div>
<label>
金额
</label>
<label>
金额
</label>
<div>
{{
allowanceDetails
.
money
}}
</div>
<div>
{{
allowanceDetails
.
money
.
toFixed
(
2
)
}}
</div>
</div>
</div>
<div>
<div>
<label>
截止日期
</label>
<label>
截止日期
</label>
<div>
{{
mwUtils
.
timeToStr
(
allowanceDetails
.
endTime
)
}}
</div>
<div>
{{
allowanceDetails
.
endTime
}}
</div>
</div>
</div>
<div>
<div>
<label>
津贴类型
</label>
<label>
津贴类型
</label>
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
</div>
</div>
<div>
<div>
<label>
发放时间
</label>
<label>
发放时间
</label>
<div>
{{
mwUtils
.
timeToStr
(
allowanceDetails
.
createTime
)
}}
</div>
<div>
{{
allowanceDetails
.
createTime
}}
</div>
</div>
</div>
<div>
<div>
<label>
备注
</label>
<label>
备注
</label>
...
@@ -40,12 +40,10 @@
...
@@ -40,12 +40,10 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mwUtils
}
from
'./../../../lib/utils.js'
export
default
{
export
default
{
name
:
'allowanceDetails'
,
name
:
'allowanceDetails'
,
data
()
{
data
()
{
return
{
return
{
mwUtils
:
mwUtils
,
allowanceDetails
:
''
allowanceDetails
:
''
}
}
},
},
...
...
src/components/pages/PaymentManagement/AllowancePayment.vue
View file @
88bd95e6
...
@@ -12,24 +12,14 @@
...
@@ -12,24 +12,14 @@
<a-button
type=
"primary"
@
click=
"search()"
>
查询
</a-button>
<a-button
type=
"primary"
@
click=
"search()"
>
查询
</a-button>
<a-button
type=
"primary"
@
click=
"changeModel()"
style=
"margin-left: 20px;"
><a-icon
type=
"pay-circle"
/>
发放津贴
</a-button>
<a-button
type=
"primary"
@
click=
"changeModel()"
style=
"margin-left: 20px;"
><a-icon
type=
"pay-circle"
/>
发放津贴
</a-button>
</div>
</div>
<!--
<div
class=
"searchUserMessage"
v-if=
"searchSource.UserMessage.emplId"
>
<div
class=
"positionDiv"
></div>
<div
class=
"clearUserMessage"
><a
href=
"javascript:;"
@
click=
"clearUserMessage"
>
清除
</a></div>
<div
style=
"text-align: center"
>
<img
v-if=
"searchSource.UserMessage.avatar"
:src=
"searchSource.UserMessage.avatar"
:alt=
"searchSource.UserMessage.name"
/>
<img
v-else
:src=
"this.avatarCanvasFn(searchSource.UserMessage.name)"
:alt=
"searchSource.UserMessage.name"
>
<span>
{{
searchSource
.
UserMessage
.
name
}}
</span>
</div>
</div>
-->
<a-table
:columns=
"columns"
:dataSource=
"recordsList"
size=
"default"
rowKey=
"grantNumber"
:pagination=
"pagination"
@
change=
"handleTableChange"
>
<a-table
:columns=
"columns"
:dataSource=
"recordsList"
size=
"default"
rowKey=
"grantNumber"
:pagination=
"pagination"
@
change=
"handleTableChange"
>
<span
slot=
"recipient"
>
成员
</span>
<span
slot=
"recipient"
>
成员
</span>
<span
slot=
"money"
>
金额
</span>
<span
slot=
"money"
slot-scope=
"money"
>
{{
money
.
toFixed
(
2
)
}}
</span>
<span
slot=
"type"
slot-scope=
"type"
>
{{
type
===
'TRAVEL'
?
'交通补助'
:
'餐补'
}}
</span>
<span
slot=
"type"
slot-scope=
"type"
>
{{
type
===
'TRAVEL'
?
'交通补助'
:
'餐补'
}}
</span>
<!--
<span
slot=
"grantNumber"
>
单号
</span>
-->
<span
slot=
"agentId"
>
经办人
</span>
<span
slot=
"agentId"
>
经办人
</span>
<span
slot=
"createTime"
slot-scope=
"createTime"
>
<span
slot=
"createTime"
>
时间
</span>
{{
mwUtils
.
timeToStr
(
createTime
)
}}
</span>
<span
slot=
"remark"
>
备注
</span>
<span
slot=
"remark"
>
备注
</span>
<span
slot=
"couponRecordStatus"
slot-scope=
"couponRecordStatus"
>
<span
slot=
"couponRecordStatus"
slot-scope=
"couponRecordStatus"
>
<a-badge
v-if=
"couponRecordStatus === MINGPAY_SUBSIDY_STATUS.WAITING_PERMIT"
status=
"processing"
text=
"审批中"
/>
<a-badge
v-if=
"couponRecordStatus === MINGPAY_SUBSIDY_STATUS.WAITING_PERMIT"
status=
"processing"
text=
"审批中"
/>
...
@@ -97,12 +87,10 @@ import { config } from './../../../api/config.js'
...
@@ -97,12 +87,10 @@ import { config } from './../../../api/config.js'
import
{
$http
}
from
'./../../../api/axios.js'
import
{
$http
}
from
'./../../../api/axios.js'
import
{
MINGPAY_SUBSIDY_STATUS
}
from
'./../../../api/constant'
import
{
MINGPAY_SUBSIDY_STATUS
}
from
'./../../../api/constant'
import
moment
from
'moment'
import
moment
from
'moment'
import
{
mwUtils
}
from
'./../../../lib/utils.js'
export
default
{
export
default
{
name
:
'AllowancePayment'
,
name
:
'AllowancePayment'
,
data
()
{
data
()
{
return
{
return
{
mwUtils
:
mwUtils
,
MINGPAY_SUBSIDY_STATUS
:
MINGPAY_SUBSIDY_STATUS
,
MINGPAY_SUBSIDY_STATUS
:
MINGPAY_SUBSIDY_STATUS
,
spinning
:
false
,
spinning
:
false
,
delayTime
:
100
,
delayTime
:
100
,
...
@@ -122,7 +110,8 @@ export default {
...
@@ -122,7 +110,8 @@ export default {
width
:
'200px'
width
:
'200px'
},
{
},
{
title
:
'金额'
,
title
:
'金额'
,
dataIndex
:
'money'
dataIndex
:
'money'
,
scopedSlots
:
{
customRender
:
'money'
}
},
{
},
{
title
:
'津贴类型'
,
title
:
'津贴类型'
,
dataIndex
:
'type'
,
dataIndex
:
'type'
,
...
@@ -140,8 +129,7 @@ export default {
...
@@ -140,8 +129,7 @@ export default {
dataIndex
:
'remark'
dataIndex
:
'remark'
},
{
},
{
title
:
'时间'
,
title
:
'时间'
,
dataIndex
:
'createTime'
,
dataIndex
:
'createTime'
scopedSlots
:
{
customRender
:
'createTime'
}
},
{
},
{
title
:
'操作'
,
title
:
'操作'
,
dataIndex
:
'action'
,
dataIndex
:
'action'
,
...
...
src/components/pages/PaymentManagement/RechargeRecord.vue
View file @
88bd95e6
...
@@ -26,14 +26,16 @@
...
@@ -26,14 +26,16 @@
<a-table
:columns=
"columns"
:dataSource=
"chargeList"
:pagination=
"pagination"
@
change=
"handleTableChange"
rowKey=
"orderNo"
>
<a-table
:columns=
"columns"
:dataSource=
"chargeList"
:pagination=
"pagination"
@
change=
"handleTableChange"
rowKey=
"orderNo"
>
<span
slot=
"userName"
>
姓名
</span>
<span
slot=
"userName"
>
姓名
</span>
<span
slot=
"departmentNameList"
slot-scope=
"departmentNameList, record"
>
<span
slot=
"departmentNameList"
slot-scope=
"departmentNameList, record"
>
<a-popover
v-if=
"item"
v-for=
"(item,indexOf) in departmentNameList"
:key=
"indexOf"
>
<div
v-if=
"departmentNameList.length > 0"
>
<a-popover
v-for=
"(item,indexOf) in departmentNameList"
:key=
"indexOf"
>
<template
slot=
"content"
>
<template
slot=
"content"
>
<p>
{{
record
.
parentSysDeptNameList
[
indexOf
]
}}
</p>
<p>
{{
record
.
parentSysDeptNameList
[
indexOf
]
}}
</p>
</
template
>
</
template
>
<span
class=
"deptModel"
>
{{item}}
</span>
<span
class=
"deptModel"
>
{{item}}
</span>
</a-popover>
</a-popover>
</div>
</span>
</span>
<span
slot=
"chargeAmount"
>
充值金额
</span>
<span
slot=
"chargeAmount"
></span>
<span
slot=
"agent"
slot-scope=
"agent, record"
>
<span
slot=
"agent"
slot-scope=
"agent, record"
>
{{ agent === ''
&&
record.payTypeCode === 'EXTERNAL_ALI_RECHAGE' ? '支付宝自充' : agent }}
{{ agent === ''
&&
record.payTypeCode === 'EXTERNAL_ALI_RECHAGE' ? '支付宝自充' : agent }}
</span>
</span>
...
@@ -42,9 +44,7 @@
...
@@ -42,9 +44,7 @@
<a-badge
v-else-if=
"orderStatus === MINGPAY_CHARGE_ORDERSTATUS.SUCCESS"
status=
"success"
text=
"已完成"
/>
<a-badge
v-else-if=
"orderStatus === MINGPAY_CHARGE_ORDERSTATUS.SUCCESS"
status=
"success"
text=
"已完成"
/>
<a-badge
v-else-if=
"orderStatus === MINGPAY_CHARGE_ORDERSTATUS.FAILED"
status=
"error"
text=
"审批未通过"
/>
<a-badge
v-else-if=
"orderStatus === MINGPAY_CHARGE_ORDERSTATUS.FAILED"
status=
"error"
text=
"审批未通过"
/>
</span>
</span>
<span
slot=
"createTime"
slot-scope=
"createTime"
>
<span
slot=
"createTime"
>
时间
</span>
{{ createTime }}
</span>
<span
slot=
"remark"
>
备注
</span>
<span
slot=
"remark"
>
备注
</span>
</a-table>
</a-table>
</div>
</div>
...
@@ -81,8 +81,7 @@ export default {
...
@@ -81,8 +81,7 @@ export default {
scopedSlots
:
{
customRender
:
'orderStatus'
}
scopedSlots
:
{
customRender
:
'orderStatus'
}
},
{
},
{
title
:
'时间'
,
title
:
'时间'
,
dataIndex
:
'createTime'
,
dataIndex
:
'createTime'
scopedSlots
:
{
customRender
:
'createTime'
}
},
{
},
{
title
:
'备注'
,
title
:
'备注'
,
dataIndex
:
'remark'
dataIndex
:
'remark'
...
...
src/components/pages/PaymentManagement/RecordsOfConsumption.vue
View file @
88bd95e6
...
@@ -25,16 +25,22 @@
...
@@ -25,16 +25,22 @@
<a-table
:columns=
"columns"
:dataSource=
"recordsList"
size=
"default"
rowKey=
"orderNo"
:pagination=
"pagination"
@
change=
"handleTableChange"
>
<a-table
:columns=
"columns"
:dataSource=
"recordsList"
size=
"default"
rowKey=
"orderNo"
:pagination=
"pagination"
@
change=
"handleTableChange"
>
<span
slot=
"userName"
>
消费人
</span>
<span
slot=
"userName"
>
消费人
</span>
<span
slot=
"departmentNameList"
slot-scope=
"departmentNameList, record"
>
<span
slot=
"departmentNameList"
slot-scope=
"departmentNameList, record"
>
<a-popover
v-if=
"item"
v-for=
"(item,indexOf) in departmentNameList"
:key=
"indexOf"
>
<div
v-if=
"departmentNameList.length > 0"
>
<a-popover
v-for=
"(item,indexOf) in departmentNameList"
:key=
"indexOf"
>
<template
slot=
"content"
>
<template
slot=
"content"
>
<p>
{{
record
.
parentSysDeptNameList
[
indexOf
]
}}
</p>
<p>
{{
record
.
parentSysDeptNameList
[
indexOf
]
}}
</p>
</
template
>
</
template
>
<span
class=
"deptModel"
>
{{item}}
</span>
<span
class=
"deptModel"
>
{{item}}
</span>
</a-popover>
</a-popover>
</div>
</span>
</span>
<span
slot=
"agent"
>
收银员
</span>
<span
slot=
"agent"
>
收银员
</span>
<span
slot=
"consumptionAmount"
>
实际消费
</span>
<span
slot=
"consumptionAmount"
slot-scope=
"consumptionAmount"
>
<span
slot=
"consumptionSubsidyAmount"
>
津贴消费
</span>
{{ consumptionAmount.toFixed(2) }}
</span>
<span
slot=
"consumptionSubsidyAmount"
slot-scope=
"consumptionSubsidyAmount"
>
{{ consumptionSubsidyAmount.toFixed(2) }}
</span>
<!-- <span slot="orderNo">单号</span> -->
<!-- <span slot="orderNo">单号</span> -->
<span
slot=
"orderStatus"
slot-scope=
"orderStatus"
>
<span
slot=
"orderStatus"
slot-scope=
"orderStatus"
>
<a-badge
v-if=
"orderStatus === MINGPAY_RECORDS_STATUS.SUCCESS"
status=
"success"
text=
"已消费"
/>
<a-badge
v-if=
"orderStatus === MINGPAY_RECORDS_STATUS.SUCCESS"
status=
"success"
text=
"已消费"
/>
...
@@ -85,11 +91,13 @@ export default {
...
@@ -85,11 +91,13 @@ export default {
dataIndex
:
'agent'
dataIndex
:
'agent'
},
{
},
{
title
:
'实际消费'
,
title
:
'实际消费'
,
dataIndex
:
'consumptionAmount'
dataIndex
:
'consumptionAmount'
,
scopedSlots
:
{
customRender
:
'consumptionAmount'
}
},
},
{
{
title
:
'津贴消费'
,
title
:
'津贴消费'
,
dataIndex
:
'consumptionSubsidyAmount'
dataIndex
:
'consumptionSubsidyAmount'
,
scopedSlots
:
{
customRender
:
'consumptionSubsidyAmount'
}
},
},
// {
// {
// title: '单号',
// title: '单号',
...
...
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