Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-finance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-finance
Commits
c9ed8ba6
提交
c9ed8ba6
authored
9月 10, 2021
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
uodate:更新最新代码
上级
681bf916
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
201 行增加
和
191 行删除
+201
-191
base.js
src/api/base.js
+5
-1
base.css
src/assets/css/base.css
+13
-0
AppList.vue
src/components/base/AppList.vue
+1
-0
api.js
src/modules/payment/api.js
+7
-1
Channel.vue
src/modules/payment/components/Channel.vue
+1
-17
Collection.vue
src/modules/payment/components/Collection.vue
+0
-18
Confirmed.vue
src/modules/payment/components/Confirmed.vue
+1
-10
History.vue
src/modules/payment/components/History.vue
+89
-0
Order.vue
src/modules/payment/components/Order.vue
+0
-18
Student.vue
src/modules/payment/components/Student.vue
+1
-19
Ticket.vue
src/modules/payment/components/Ticket.vue
+2
-20
TicketForm.vue
src/modules/payment/components/TicketForm.vue
+23
-35
Deal.vue
src/modules/payment/views/Deal.vue
+3
-5
Detail.vue
src/modules/payment/views/Detail.vue
+0
-1
List.vue
src/modules/payment/views/List.vue
+52
-11
PayDetail.vue
src/modules/payment/views/PayDetail.vue
+3
-35
没有找到文件。
src/api/base.js
浏览文件 @
c9ed8ba6
...
...
@@ -35,7 +35,11 @@ export function getTableColumns(params) {
export
function
updateTableColumns
(
data
)
{
return
httpRequest
.
post
(
'/api/finance/v1/payments/update-title'
,
data
)
}
// 获取历史发票信息
export
function
getRoles
(
params
)
{
return
httpRequest
.
get
(
'/api/finance/user/get-info'
,
{
params
})
}
// 下载发票列表
export
function
download
(
data
)
{
return
httpRequest
.
post
(
'/api/finance/v1/invoices/download'
,
data
)
}
src/assets/css/base.css
浏览文件 @
c9ed8ba6
...
...
@@ -2,3 +2,16 @@
margin
:
0
;
padding
:
0
;
}
table
{
/* border: 1px solid rgb(248, 244, 244); */
width
:
100%
;
}
th
{
width
:
120px
;
/* color:rgb(70, 63, 63); */
text-align
:
center
;
}
td
{
width
:
120px
;
text-align
:
center
;
}
src/components/base/AppList.vue
浏览文件 @
c9ed8ba6
...
...
@@ -250,6 +250,7 @@ export default {
this
.
loading
=
true
httpRequest
(
params
)
.
then
(
res
=>
{
console
.
log
(
res
)
const
{
list
=
[],
total
=
0
}
=
res
.
data
||
{}
this
.
page
.
total
=
parseInt
(
total
)
this
.
dataList
=
callback
?
callback
(
list
)
:
list
...
...
src/modules/payment/api.js
浏览文件 @
c9ed8ba6
...
...
@@ -16,9 +16,11 @@ export function payDetail(params) {
return
httpRequest
.
get
(
'/api/finance/v1/payments/details'
,
{
params
})
}
// 支付列表下载
// 下载发票列表
export
function
download
(
params
)
{
return
httpRequest
.
get
(
'/api/finance/v1/payments/download'
,
{
params
})
return
httpRequest
.
get
(
'/api/finance/v1/payments/download'
,
{
params
,
responseType
:
'blob'
})
}
// 是否允许开具发票
export
function
allowCreate
(
data
)
{
return
httpRequest
.
post
(
'/api/finance/v1/payments/update-can-invoice'
,
data
)
...
...
@@ -61,3 +63,7 @@ export function cancelPayDetail(data) {
export
function
payCancel
(
data
)
{
return
httpRequest
.
post
(
'/api/finance/v1/payments/undo-details-confirm'
,
data
)
}
// 获取开票历史
export
function
historyInfo
(
data
)
{
return
httpRequest
.
post
(
'/api/finance/v1/invoices/history'
,
data
)
}
src/modules/payment/components/Channel.vue
浏览文件 @
c9ed8ba6
...
...
@@ -43,20 +43,4 @@ export default {
}
</
script
>
<
style
scoped
>
.table
{
border
:
1px
solid
#000
;
width
:
100%
;
}
th
{
width
:
120px
;
text-align
:
center
;
font-size
:
20px
;
color
:
rgb
(
10
,
1
,
1
);
font-weight
:
normal
;
}
td
{
width
:
120px
;
text-align
:
center
;
}
</
style
>
src/modules/payment/components/Collection.vue
浏览文件 @
c9ed8ba6
...
...
@@ -36,21 +36,3 @@ export default {
}
}
</
script
>
<
style
scoped
>
.table
{
border
:
1px
solid
#000
;
width
:
100%
;
}
th
{
width
:
120px
;
text-align
:
center
;
font-size
:
20px
;
color
:
rgb
(
10
,
1
,
1
);
font-weight
:
normal
;
}
td
{
width
:
120px
;
text-align
:
center
;
}
</
style
>
src/modules/payment/components/Confirmed.vue
浏览文件 @
c9ed8ba6
...
...
@@ -14,7 +14,6 @@
import
AppList
from
'@/components/base/AppList.vue'
import
AppCard
from
'@/components/base/AppCard.vue'
import
{
payCancel
}
from
'../api'
const
payStatusMap
=
{
20
:
'支付待确认'
,
30
:
'部分到账'
,
70
:
'足额支付待确认'
,
80
:
'足额支付'
}
// 接口
export
default
{
props
:
{
...
...
@@ -40,15 +39,7 @@ export default {
{
label
:
'支付方式'
,
prop
:
'payment_method'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'其他支付方式'
,
prop
:
'payment_method_others'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'交易流水号'
,
prop
:
'txn_id'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'支付状态'
,
prop
:
'payment_status'
,
align
:
'center'
,
minWidth
:
100
,
computed
({
row
})
{
return
payStatusMap
[
row
.
payment_status
]
}
},
{
label
:
'支付状态'
,
prop
:
'payment_status'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'创建日期'
,
prop
:
'created_time'
,
align
:
'center'
,
minWidth
:
100
},
{
slots
:
'table-x'
,
align
:
'center'
,
minWidth
:
100
}
]
...
...
src/modules/payment/components/History.vue
0 → 100644
浏览文件 @
c9ed8ba6
<!-- 历史发票 -->
<
template
>
<div
class=
"history"
>
<div
class=
"search"
v-if=
"hasSearch"
>
<el-input
placeholder=
"请输入内容回车搜索"
prefix-icon=
"el-icon-search"
v-model=
"taxpayer_name"
size=
"small"
@
change=
"fetchHistory"
/>
</div>
<ul
v-if=
"list.length"
>
<li
class=
"invoice-item"
v-for=
"(item, index) in list"
:key=
"index"
@
click=
"handleSelect(item)"
>
纳税人名称:
{{
item
.
taxpayer_name
}}
</li>
</ul>
<el-empty
description=
"暂无数据"
v-else
></el-empty>
</div>
</
template
>
<
script
>
import
{
historyInfo
}
from
'../api'
export
default
{
props
:
{
hasSearch
:
{
type
:
Boolean
,
default
:
false
},
perPage
:
{
type
:
String
,
default
:
''
},
page
:
{
type
:
String
,
default
:
''
}
},
data
()
{
return
{
taxpayer_name
:
''
}
},
created
()
{
this
.
fetchHistory
()
},
methods
:
{
fetchHistory
()
{
const
params
=
{
taxpayer_name
:
this
.
taxpayer_name
||
undefined
,
'per-page'
:
this
.
perPage
,
page
:
this
.
page
}
historyInfo
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
list
=
res
.
data
.
list
}
})
},
handleSelect
(
item
)
{
this
.
$emit
(
'select'
,
item
)
}
}
}
</
script
>
<
style
scoped
>
.history
{
min-height
:
360px
;
max-height
:
500px
;
}
.search
{
padding
:
0
20px
;
}
ul
{
min-height
:
320px
;
max-height
:
450px
;
padding
:
0
20px
;
overflow-y
:
auto
;
}
li
{
font-size
:
15px
;
line-height
:
44px
;
cursor
:
pointer
;
transition
:
0.3s
;
}
li
:hover
{
color
:
#3276fc
;
}
</
style
>
src/modules/payment/components/Order.vue
浏览文件 @
c9ed8ba6
...
...
@@ -42,21 +42,3 @@ export default {
}
}
</
script
>
<
style
scoped
>
.table
{
width
:
100%
;
border
:
1px
solid
#000
;
}
th
{
width
:
120px
;
text-align
:
center
;
font-size
:
20px
;
color
:
rgb
(
10
,
1
,
1
);
font-weight
:
normal
;
}
td
{
width
:
120px
;
text-align
:
center
;
}
</
style
>
src/modules/payment/components/Student.vue
浏览文件 @
c9ed8ba6
...
...
@@ -6,7 +6,7 @@
<th>
学员姓名
</th>
<td>
{{
dealList
.
name
}}
</td>
<th>
报名项目
</th>
<td>
{{
dealList
.
project_name
}}
</td>
<td>
{{
dealList
.
project_
id_
name
}}
</td>
<td>
所属班次
</td>
<td>
{{
dealList
.
bill_customer_class
}}
</td>
</tr>
...
...
@@ -32,21 +32,3 @@ export default {
}
}
</
script
>
<
style
scoped
>
.table
{
border
:
1px
solid
#000
;
width
:
100%
;
}
th
{
width
:
120px
;
text-align
:
center
;
font-size
:
20px
;
color
:
rgb
(
10
,
1
,
1
);
font-weight
:
normal
;
}
td
{
width
:
120px
;
text-align
:
center
;
}
</
style
>
src/modules/payment/components/Ticket.vue
浏览文件 @
c9ed8ba6
<!-- 支付详情-发票表格 -->
<
template
>
<div
class=
"ticketInfo"
>
<div
class=
"ticketInfo"
v-if=
"invioceList.length"
>
<table
border=
"1"
width=
"1500px"
cellspacing=
"0"
class=
"table"
v-for=
"(item, index) in invioceList"
:key=
"index"
>
<tr>
<th
colspan=
"10"
>
发票
{{
item
.
id
}}
</th>
...
...
@@ -73,6 +73,7 @@
</tr>
</table>
</div>
<el-empty
description=
"暂无数据"
v-else
></el-empty>
</
template
>
<
script
>
...
...
@@ -93,22 +94,3 @@ export default {
}
}
</
script
>
<
style
scoped
>
.table
{
width
:
100%
;
border
:
1px
solid
#000
;
margin-bottom
:
40px
;
}
th
{
width
:
120px
;
text-align
:
center
;
font-size
:
20px
;
color
:
rgb
(
10
,
1
,
1
);
font-weight
:
normal
;
}
td
{
width
:
120px
;
text-align
:
center
;
}
</
style
>
src/modules/payment/components/TicketForm.vue
浏览文件 @
c9ed8ba6
...
...
@@ -13,7 +13,7 @@
</tr>
<tr>
<th>
支付状态
</th>
<td>
{{
getStatus
(
val
)
}}
</td>
<td>
{{
row
.
payment_status
}}
</td>
<th>
报名项目
</th>
<td>
{{
row
.
project
}}
</td>
<th>
应缴金额
</th>
...
...
@@ -49,7 +49,7 @@
</div>
<div
class=
"type"
style=
"border: 1px solid #ccc; margin-bottom: 10px; padding-right: 50px"
>
<el-form-item
label=
"发票信息"
label-width=
"100px"
class=
"title"
>
<
!--
<el-button
type=
"text"
style=
"float: right"
>
历史开票信息
</el-button>
--
>
<
el-button
type=
"text"
style=
"float: right"
@
click=
"$emit('history')"
>
历史开票信息
</el-button
>
</el-form-item>
<el-form-item
label=
"发票类型"
prop=
"invoice_type"
>
<!-- change事件 -->
...
...
@@ -125,6 +125,10 @@ export default {
row
:
{
type
:
Object
,
default
:
()
=>
{}
},
history
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
...
...
@@ -168,6 +172,23 @@ export default {
mounted
()
{
this
.
getPayDetail
()
},
watch
:
{
'form.taxpayer_type'
:
function
(
oldVal
,
val
)
{
if
(
val
!==
oldVal
)
{
this
.
form
.
invioce_type
=
''
}
},
history
:
{
handler
(
nv
)
{
if
(
nv
)
{
console
.
log
(
nv
)
Object
.
keys
(
this
.
form
).
forEach
(
key
=>
{
this
.
form
[
key
]
=
this
.
history
[
key
]
})
}
}
}
},
methods
:
{
getPayDetail
()
{
const
params
=
{
id
:
this
.
id
}
...
...
@@ -186,25 +207,6 @@ export default {
this
.
$emit
(
'createTicket'
,
this
.
form
)
}
})
},
getStatus
(
val
)
{
val
=
this
.
row
.
payment_status
if
(
val
===
'20'
)
{
return
'支付待确认'
}
else
if
(
val
===
'30'
)
{
return
'部分到账'
}
else
if
(
val
===
'70'
)
{
return
'足额待支付'
}
else
if
(
val
===
'80'
)
{
return
'足额支付'
}
}
},
watch
:
{
'form.taxpayer_type'
:
function
(
oldVal
,
val
)
{
if
(
val
!==
oldVal
)
{
this
.
form
.
invioce_type
=
''
}
}
}
}
...
...
@@ -212,20 +214,6 @@ export default {
<
style
scoped
>
.table
{
border
:
1px
solid
#000
;
margin-bottom
:
20px
;
width
:
100%
;
}
th
{
width
:
50px
;
text-align
:
center
;
font-size
:
16px
;
color
:
rgb
(
10
,
1
,
1
);
font-weight
:
normal
;
}
td
{
width
:
120px
;
text-align
:
center
;
color
:
rgb
(
10
,
1
,
1
);
}
</
style
>
src/modules/payment/views/Deal.vue
浏览文件 @
c9ed8ba6
...
...
@@ -6,7 +6,7 @@
<th>
支付人姓名
</th>
<td>
{{
row
.
payer_name
}}
</td>
<th>
费用类型
</th>
<td>
{{
row
.
type
}}
</td>
<td>
{{
row
.
type
_name
}}
</td>
<th>
支付金额
</th>
<td>
{{
row
.
amount
}}
</td>
<th>
支付状态
</th>
...
...
@@ -28,11 +28,11 @@
</tr>
<tr>
<th>
项目
</th>
<td>
{{
dealList
.
project_id
}}
</td>
<td>
{{
dealList
.
project_id
_name
}}
</td>
<th>
销售
</th>
<td>
{{
dealList
.
sales_rep_user_id_name
}}
</td>
<th>
渠道
</th>
<td
colspan=
"3"
>
{{
dealList
.
channel_id
}}
</td>
<td
colspan=
"3"
>
{{
dealList
.
channel_id
_name
}}
</td>
</tr>
<tr>
<th>
备注
</th>
...
...
@@ -148,5 +148,3 @@ export default {
}
}
</
script
>
<
style
></
style
>
src/modules/payment/views/Detail.vue
浏览文件 @
c9ed8ba6
...
...
@@ -140,4 +140,3 @@ export default {
}
</
script
>
<
style
></
style
>
src/modules/payment/views/List.vue
浏览文件 @
c9ed8ba6
...
...
@@ -63,11 +63,30 @@
<
template
#
footer
>
<span>
已选择
{{
multipleSelection
.
length
}}
条
</span>
<el-button
@
click=
"exportSelect"
style=
"margin-left: 40px"
>
导出
</el-button>
<el-button
@
click=
"exportAll"
style=
"margin-left: 40px"
>
导出全部
</el-button>
</
template
>
</app-list>
<!-- 开具发票 -->
<el-dialog
title=
"开具发票"
:visible
.
sync=
"ticketVisible"
width=
"900px"
append-to-body
:destroy-on-close=
"true"
>
<TicketForm
:id=
"id"
@
close=
"ticketVisible = false"
@
createTicket=
"handleCreateTicket"
:row=
"row"
/>
<TicketForm
:history=
"history"
@
history=
"handleHistory"
:id=
"id"
@
close=
"ticketVisible = false"
@
createTicket=
"handleCreateTicket"
:row=
"row"
/>
<el-dialog
title=
"历史开票信息"
:visible
.
sync=
"historyVisible"
width=
"460px"
top=
"15px"
append-to-body:destroy-on-close=
"true"
center
:modal=
"false"
>
<History
v-if=
"historyVisible"
:hasSearch=
"true"
@
select=
"handleSelect"
:per-page=
"per_page"
:page=
"page"
/>
</el-dialog>
</el-dialog>
<!-- 开票二维码 -->
<ShareQrcode
:visible
.
sync=
"codeVisible"
:value=
"shareUrl"
/>
...
...
@@ -79,14 +98,20 @@ import AppList from '@/components/base/AppList.vue'
import
AppCard
from
'@/components/base/AppCard.vue'
import
TicketForm
from
'../components/TicketForm.vue'
import
ShareQrcode
from
'../components/ShareQrcode.vue'
import
History
from
'../components/History.vue'
// 接口
import
{
getCondition
,
getPayList
,
allowCreate
,
createNewTicket
,
drawBack
,
cancelTicket
}
from
'../api'
import
{
getCondition
,
getPayList
,
allowCreate
,
createNewTicket
,
drawBack
,
cancelTicket
,
download
}
from
'../api'
import
XLSX
from
'xlsx'
import
{
funDownload
}
from
'@/utils/util'
import
fileDownload
from
'js-file-download'
export
default
{
components
:
{
AppCard
,
AppList
,
TicketForm
,
ShareQrcode
},
components
:
{
AppCard
,
AppList
,
TicketForm
,
ShareQrcode
,
History
},
data
()
{
return
{
history
:
{},
historyVisible
:
false
,
row
:
{},
id
:
''
,
shareUrl
:
''
,
...
...
@@ -132,8 +157,8 @@ export default {
first_payment_time_to
:
''
,
final_payment_time_from
:
''
,
final_payment_time_to
:
''
,
p
e
ge
:
''
,
per_page
:
''
p
a
ge
:
''
,
'per-page'
:
''
},
beforeRequest
:
this
.
beforeRequest
,
callback
:
this
.
callback
...
...
@@ -242,8 +267,8 @@ export default {
columns
:
[
{
type
:
'selection'
,
minWidth
:
'50px'
,
fixed
:
'left'
},
{
label
:
'客户名称'
,
prop
:
'name'
,
minWidth
:
100
},
{
label
:
'项目'
,
prop
:
'project'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'支付状态'
,
prop
:
'payment
StatuView
'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'项目'
,
prop
:
'project
_id_name
'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'支付状态'
,
prop
:
'payment
_status
'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'首次缴费时间'
,
prop
:
'first_payment_time'
,
align
:
'center'
,
minWidth
:
200
},
{
label
:
'末次缴费时间'
,
prop
:
'final_payment_time'
,
align
:
'center'
,
minWidth
:
200
},
{
label
:
'应缴金额'
,
prop
:
'bill_total'
,
align
:
'center'
,
minWidth
:
100
},
...
...
@@ -252,7 +277,7 @@ export default {
{
label
:
'到账金额'
,
prop
:
'amount_received'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'代缴金额'
,
prop
:
'amount_waiting_for_pay'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'跟进人'
,
prop
:
'sales_rep_user_id_name'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'渠道'
,
prop
:
'channel
View
'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'渠道'
,
prop
:
'channel
_id_name
'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'交易流水号'
,
prop
:
'txn_id_list'
,
align
:
'center'
,
minWidth
:
300
},
{
label
:
'服务费规则'
,
prop
:
'service_fee_rules'
,
align
:
'center'
,
minWidth
:
120
},
{
label
:
'服务费比例'
,
prop
:
'service_charge_ratio'
,
align
:
'center'
,
minWidth
:
120
},
...
...
@@ -313,14 +338,22 @@ export default {
return
params
},
callback
(
data
)
{
console
.
log
(
data
)
data
.
forEach
(
item
=>
{
item
.
project
=
this
.
findName
(
this
.
conditionList
.
project_id
,
item
.
project_id
,
'project_id'
,
'name'
)
item
.
paymentStatuView
=
this
.
findName
(
this
.
conditionList
.
payment_status
,
item
.
payment_status
,
'key'
,
'value'
)
item
.
channelView
=
this
.
findName
(
this
.
conditionList
.
channel_id
,
item
.
channel_id
,
'channel_id'
,
'title'
)
//
item.project = this.findName(this.conditionList.project_id, item.project_id, 'project_id', 'name')
//
item.paymentStatuView = this.findName(this.conditionList.payment_status, item.payment_status, 'key', 'value')
//
item.channelView = this.findName(this.conditionList.channel_id, item.channel_id, 'channel_id', 'title')
item
.
invoiceStatusView
=
this
.
findName
(
this
.
conditionList
.
invoice_status
,
item
.
invoice_status
,
'key'
,
'value'
)
})
return
data
},
handleSelect
(
val
)
{
this
.
history
=
val
this
.
dialogVisible
=
false
},
handleHistory
()
{
this
.
historyVisible
=
true
},
// 开具发票
createPop
(
row
)
{
console
.
log
(
row
)
...
...
@@ -479,6 +512,14 @@ export default {
const
url
=
URL
.
createObjectURL
(
new
window
.
Blob
([
wbout
],
{
type
:
'application/octet-stream'
}))
funDownload
(
url
,
`订单列表_
${
Date
.
now
()}
.xlsx`
)
},
// 导出全部
exportAll
()
{
// console.log(this.tableOptions.remote.params)
download
(
this
.
tableOptions
.
remote
.
params
).
then
(
res
=>
{
console
.
log
(
res
+
' ----'
)
fileDownload
(
res
,
'订单列表.xlsx'
)
})
},
findName
(
option
,
item
,
findKey
,
reName
)
{
const
found
=
option
.
find
(
findItem
=>
{
return
parseInt
(
findItem
[
findKey
])
===
parseInt
(
item
)
...
...
src/modules/payment/views/PayDetail.vue
浏览文件 @
c9ed8ba6
...
...
@@ -5,7 +5,7 @@
<th>
支付人姓名
</th>
<td>
{{
row
.
payer_name
}}
</td>
<th>
费用类型
</th>
<td>
{{
getPayType
(
val
)
}}
</td>
<td>
{{
row
.
type_name
}}
</td>
<th>
支付金额
</th>
<td>
{{
row
.
amount
}}
</td>
<th>
支付状态
</th>
...
...
@@ -13,12 +13,11 @@
</tr>
<tr>
<th>
项目
</th>
<td>
{{
dealList
.
project_id
}}
</td>
<td>
{{
dealList
.
project_id_name
}}
</td>
<th>
销售
</th>
<td>
{{
dealList
.
sales_rep_user_id_name
}}
</td>
<th>
渠道
</th>
<td
colspan=
"3"
>
{{
dealList
.
channel_id
}}
</td>
<td
colspan=
"3"
>
{{
dealList
.
channel_id
_name
}}
</td>
</tr>
<tr>
<th>
支付方式
</th>
...
...
@@ -73,37 +72,6 @@ export default {
mounted
()
{
this
.
row
=
this
.
$route
.
params
.
row
this
.
dealList
=
this
.
$route
.
params
.
dealList
},
methods
:
{
getPayType
(
val
)
{
val
=
this
.
row
.
type
if
(
val
===
'20'
)
{
return
'支付待确认'
}
else
if
(
val
===
'30'
)
{
return
'部分到账'
}
else
if
(
val
===
'70'
)
{
return
'足额待支付'
}
else
if
(
val
===
'80'
)
{
return
'足额支付'
}
}
}
}
</
script
>
<
style
scoped
>
.table
{
border
:
1px
solid
rgb
(
235
,
232
,
232
);
}
th
{
width
:
120px
;
text-align
:
center
;
font-size
:
20px
;
color
:
rgb
(
10
,
1
,
1
);
font-weight
:
normal
;
}
td
{
width
:
120px
;
text-align
:
center
;
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论