Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-finance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-finance
Commits
e1d3ee78
提交
e1d3ee78
authored
3月 03, 2026
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整发票列表和支付列表中的列宽和样式
上级
19bfba02
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
66 行增加
和
70 行删除
+66
-70
Breadcrumb.vue
src/components/layout/Breadcrumb.vue
+1
-1
List.vue
src/modules/invoice/views/List.vue
+2
-2
List.vue
src/modules/payment/views/List.vue
+63
-67
没有找到文件。
src/components/layout/Breadcrumb.vue
浏览文件 @
e1d3ee78
...
@@ -20,7 +20,7 @@ export default {
...
@@ -20,7 +20,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.app-breadcrumb
{
.app-breadcrumb
{
padding
:
1
8px
0
3
2px
;
padding
:
1
0px
0
2
2px
;
.el-breadcrumb
{
.el-breadcrumb
{
font-size
:
20px
;
font-size
:
20px
;
...
...
src/modules/invoice/views/List.vue
浏览文件 @
e1d3ee78
...
@@ -225,7 +225,7 @@ export default {
...
@@ -225,7 +225,7 @@ export default {
columns
:
[
columns
:
[
{
type
:
'selection'
,
align
:
'center'
,
minWidth
:
'200px'
,
fixed
:
'left'
},
{
type
:
'selection'
,
align
:
'center'
,
minWidth
:
'200px'
,
fixed
:
'left'
},
{
label
:
'发票代码'
,
prop
:
'invoice_daima'
,
align
:
'center'
,
minWidth
:
'150px'
},
{
label
:
'发票代码'
,
prop
:
'invoice_daima'
,
align
:
'center'
,
minWidth
:
'150px'
},
{
label
:
'发票号码'
,
prop
:
'invoice_haoma'
,
align
:
'center'
,
minWidth
:
'1
5
0px'
},
{
label
:
'发票号码'
,
prop
:
'invoice_haoma'
,
align
:
'center'
,
minWidth
:
'1
6
0px'
},
{
label
:
'客户姓名'
,
prop
:
'name'
,
align
:
'center'
,
minWidth
:
'200px'
},
{
label
:
'客户姓名'
,
prop
:
'name'
,
align
:
'center'
,
minWidth
:
'200px'
},
{
label
:
'客户编号'
,
prop
:
'customer_id'
,
align
:
'center'
,
minWidth
:
'200px'
},
{
label
:
'客户编号'
,
prop
:
'customer_id'
,
align
:
'center'
,
minWidth
:
'200px'
},
{
label
:
'订单编号'
,
prop
:
'payment_id'
,
align
:
'center'
,
minWidth
:
'300px'
},
{
label
:
'订单编号'
,
prop
:
'payment_id'
,
align
:
'center'
,
minWidth
:
'300px'
},
...
@@ -241,7 +241,7 @@ export default {
...
@@ -241,7 +241,7 @@ export default {
{
label
:
'开票类型'
,
prop
:
'invoiceColorTypeViewName'
,
align
:
'center'
,
minWidth
:
'100px'
},
{
label
:
'开票类型'
,
prop
:
'invoiceColorTypeViewName'
,
align
:
'center'
,
minWidth
:
'100px'
},
{
label
:
'原发票号码'
,
prop
:
'old_invoice_haoma'
,
align
:
'center'
,
minWidth
:
'150px'
},
{
label
:
'原发票号码'
,
prop
:
'old_invoice_haoma'
,
align
:
'center'
,
minWidth
:
'150px'
},
{
label
:
'原发票代码'
,
prop
:
'old_invoice_daima'
,
align
:
'center'
,
minWidth
:
'150px'
},
{
label
:
'原发票代码'
,
prop
:
'old_invoice_daima'
,
align
:
'center'
,
minWidth
:
'150px'
},
{
label
:
'纳税人名称'
,
prop
:
'taxpayer_name'
,
align
:
'center'
,
minWidth
:
'
1
00px'
},
{
label
:
'纳税人名称'
,
prop
:
'taxpayer_name'
,
align
:
'center'
,
minWidth
:
'
2
00px'
},
{
label
:
'纳税人识别号'
,
prop
:
'taxpayer_identifier'
,
align
:
'center'
,
minWidth
:
'200px'
},
{
label
:
'纳税人识别号'
,
prop
:
'taxpayer_identifier'
,
align
:
'center'
,
minWidth
:
'200px'
},
{
label
:
'地址'
,
prop
:
'taxpayer_address'
,
align
:
'center'
,
minWidth
:
'200px'
},
{
label
:
'地址'
,
prop
:
'taxpayer_address'
,
align
:
'center'
,
minWidth
:
'200px'
},
{
label
:
'电话'
,
prop
:
'taxpayer_mobile'
,
align
:
'center'
,
minWidth
:
'100px'
},
{
label
:
'电话'
,
prop
:
'taxpayer_mobile'
,
align
:
'center'
,
minWidth
:
'100px'
},
...
...
src/modules/payment/views/List.vue
浏览文件 @
e1d3ee78
...
@@ -18,8 +18,7 @@
...
@@ -18,8 +18,7 @@
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
size=
"small"
size=
"small"
style=
"width: 360px"
style=
"width: 360px"
>
>
</el-date-picker>
</el-date-picker>
</
template
>
</
template
>
<!-- 末次缴费时间 -->
<!-- 末次缴费时间 -->
...
@@ -32,8 +31,7 @@
...
@@ -32,8 +31,7 @@
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
size=
"small"
size=
"small"
style=
"width: 360px"
style=
"width: 360px"
>
>
</el-date-picker>
</el-date-picker>
</
template
>
</
template
>
<!-- 状态 -->
<!-- 状态 -->
...
@@ -43,8 +41,7 @@
...
@@ -43,8 +41,7 @@
active-value=
"1"
active-value=
"1"
inactive-value=
"2"
inactive-value=
"2"
@
change=
"handleStatus(row)"
@
change=
"handleStatus(row)"
:disabled=
"row.refund_time !== null"
:disabled=
"row.refund_time !== null"
></el-switch>
></el-switch>
</
template
>
</
template
>
<!-- 操作 -->
<!-- 操作 -->
<
template
v-slot:table-x=
"{ row }"
>
<
template
v-slot:table-x=
"{ row }"
>
...
@@ -79,8 +76,7 @@
...
@@ -79,8 +76,7 @@
:id=
"id"
:id=
"id"
@
close=
"ticketVisible = false"
@
close=
"ticketVisible = false"
@
createTicket=
"handleCreateTicket"
@
createTicket=
"handleCreateTicket"
:row=
"row"
:row=
"row"
/>
/>
<el-drawer
<el-drawer
size=
"30%"
size=
"30%"
title=
"历史开票信息"
title=
"历史开票信息"
...
@@ -89,8 +85,7 @@
...
@@ -89,8 +85,7 @@
append-to-body
append-to-body
:destroy-on-close=
"true"
:destroy-on-close=
"true"
center
center
:modal=
"false"
:modal=
"false"
>
>
<History
v-if=
"historyVisible"
:hasSearch=
"true"
@
select=
"handleSelect"
/>
<History
v-if=
"historyVisible"
:hasSearch=
"true"
@
select=
"handleSelect"
/>
</el-drawer>
</el-drawer>
</el-drawer>
</el-drawer>
...
@@ -129,13 +124,13 @@ export default {
...
@@ -129,13 +124,13 @@ export default {
invoice_type
:
[],
// 发票类型
invoice_type
:
[],
// 发票类型
confirm_status
:
[],
// 确认状态
confirm_status
:
[],
// 确认状态
taxpayer_type
:
[],
// 纳税人类型
taxpayer_type
:
[],
// 纳税人类型
invoice_color_type
:
[]
// 发票开票状态
invoice_color_type
:
[]
,
// 发票开票状态
},
},
disabledTicketVisible
:
false
,
// 发票状态弹框
disabledTicketVisible
:
false
,
// 发票状态弹框
ticketVisible
:
false
,
// 开具发票
ticketVisible
:
false
,
// 开具发票
codeVisible
:
false
,
// 发票二维码
codeVisible
:
false
,
// 发票二维码
multipleSelection
:
[],
multipleSelection
:
[],
payDetailList
:
{}
// 支付详情列表invoice_type
payDetailList
:
{}
,
// 支付详情列表invoice_type
}
}
},
},
computed
:
{
computed
:
{
...
@@ -163,16 +158,16 @@ export default {
...
@@ -163,16 +158,16 @@ export default {
sort
:
''
,
sort
:
''
,
related_id
:
''
,
related_id
:
''
,
class_name
:
''
,
class_name
:
''
,
product_name
:
''
product_name
:
''
,
},
},
beforeRequest
:
this
.
beforeRequest
beforeRequest
:
this
.
beforeRequest
,
},
},
filters
:
[
filters
:
[
// 客户姓名
// 客户姓名
{
{
type
:
'input'
,
type
:
'input'
,
prop
:
'product_name'
,
prop
:
'product_name'
,
placeholder
:
'产品名称'
placeholder
:
'产品名称'
,
},
},
// 项目
// 项目
{
{
...
@@ -183,13 +178,13 @@ export default {
...
@@ -183,13 +178,13 @@ export default {
valueKey
:
'project_id'
,
valueKey
:
'project_id'
,
placeholder
:
'项目'
,
placeholder
:
'项目'
,
filterable
:
true
,
filterable
:
true
,
remote
:
true
remote
:
true
,
},
},
// 客户姓名
// 客户姓名
{
{
type
:
'input'
,
type
:
'input'
,
prop
:
'name'
,
prop
:
'name'
,
placeholder
:
'客户姓名'
placeholder
:
'客户姓名'
,
},
},
// 渠道
// 渠道
{
{
...
@@ -200,7 +195,7 @@ export default {
...
@@ -200,7 +195,7 @@ export default {
valueKey
:
'channel_id'
,
valueKey
:
'channel_id'
,
placeholder
:
' 渠道'
,
placeholder
:
' 渠道'
,
filterable
:
true
,
filterable
:
true
,
remote
:
true
remote
:
true
,
},
},
// 申请状态
// 申请状态
{
{
...
@@ -211,7 +206,7 @@ export default {
...
@@ -211,7 +206,7 @@ export default {
valueKey
:
'key'
,
valueKey
:
'key'
,
multiple
:
true
,
multiple
:
true
,
allowCreate
:
true
,
allowCreate
:
true
,
placeholder
:
'支付状态'
placeholder
:
'支付状态'
,
},
},
// 费用类型
// 费用类型
{
{
...
@@ -222,7 +217,7 @@ export default {
...
@@ -222,7 +217,7 @@ export default {
valueKey
:
'key'
,
valueKey
:
'key'
,
multiple
:
true
,
multiple
:
true
,
allowCreate
:
true
,
allowCreate
:
true
,
placeholder
:
'费用类型'
placeholder
:
'费用类型'
,
},
},
// 发票状态
// 发票状态
{
{
...
@@ -233,20 +228,20 @@ export default {
...
@@ -233,20 +228,20 @@ export default {
valueKey
:
'key'
,
valueKey
:
'key'
,
placeholder
:
'发票状态'
,
placeholder
:
'发票状态'
,
filterable
:
true
,
filterable
:
true
,
remote
:
true
remote
:
true
,
},
},
// 交易流水号
// 交易流水号
{
{
type
:
'input'
,
type
:
'input'
,
prop
:
'related_id'
,
prop
:
'related_id'
,
placeholder
:
'交易流水号'
placeholder
:
'交易流水号'
,
},
},
{
{
type
:
'select'
,
type
:
'select'
,
options
:
this
.
conditionList
.
classes
,
options
:
this
.
conditionList
.
classes
,
prop
:
'class_name'
,
prop
:
'class_name'
,
placeholder
:
'班级名称'
placeholder
:
'班级名称'
,
}
}
,
],
],
moreFilters
:
[
moreFilters
:
[
{
{
...
@@ -258,30 +253,31 @@ export default {
...
@@ -258,30 +253,31 @@ export default {
labelKey
:
'user_name'
,
labelKey
:
'user_name'
,
valueKey
:
'user_id'
,
valueKey
:
'user_id'
,
filterable
:
true
,
filterable
:
true
,
remote
:
true
remote
:
true
,
},
},
{
{
label
:
'允许开具发票'
,
label
:
'允许开具发票'
,
prop
:
'can_add_invoice'
,
prop
:
'can_add_invoice'
,
slots
:
'can_add_invoice'
slots
:
'can_add_invoice'
,
},
},
{
{
label
:
'首次缴费时间'
,
label
:
'首次缴费时间'
,
prop
:
'first_payment_time'
,
prop
:
'first_payment_time'
,
slots
:
'firstDate'
slots
:
'firstDate'
,
},
},
{
{
label
:
'末次缴费时间'
,
label
:
'末次缴费时间'
,
prop
:
'final_payment_time'
,
prop
:
'final_payment_time'
,
slots
:
'lastDate'
slots
:
'lastDate'
,
}
}
,
],
],
columnsOptions
:
{
key
:
'payments'
},
columnsOptions
:
{
key
:
'payments'
},
height
:
'calc(100vh - 400px)'
,
columns
:
[
columns
:
[
{
type
:
'selection'
,
minWidth
:
'50px'
,
fixed
:
'left'
},
{
type
:
'selection'
,
minWidth
:
'50px'
,
fixed
:
'left'
},
{
label
:
'客户名称'
,
prop
:
'name'
,
minWidth
:
150
},
{
label
:
'客户名称'
,
prop
:
'name'
,
minWidth
:
90
,
fixed
:
'left'
},
{
label
:
'项目'
,
prop
:
'project_id_name'
,
align
:
'center'
,
minWidth
:
150
},
{
label
:
'项目'
,
prop
:
'project_id_name'
,
align
:
'center'
,
minWidth
:
150
},
{
label
:
'产品名称'
,
prop
:
'product_name'
,
align
:
'center'
,
minWidth
:
1
00
},
{
label
:
'产品名称'
,
prop
:
'product_name'
,
align
:
'center'
,
minWidth
:
3
00
},
{
label
:
'支付状态'
,
prop
:
'payment_status_name'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'支付状态'
,
prop
:
'payment_status_name'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'费用类型'
,
prop
:
'type_name'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'费用类型'
,
prop
:
'type_name'
,
align
:
'center'
,
minWidth
:
100
},
{
{
...
@@ -296,7 +292,7 @@ export default {
...
@@ -296,7 +292,7 @@ export default {
}
else
{
}
else
{
return
row
.
first_payment_time
return
row
.
first_payment_time
}
}
}
}
,
},
},
{
{
label
:
'末次缴费时间'
,
label
:
'末次缴费时间'
,
...
@@ -310,7 +306,7 @@ export default {
...
@@ -310,7 +306,7 @@ export default {
}
else
{
}
else
{
return
row
.
final_payment_time
return
row
.
final_payment_time
}
}
}
}
,
},
},
{
label
:
'应缴金额'
,
prop
:
'bill_total'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'应缴金额'
,
prop
:
'bill_total'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'实缴金额'
,
prop
:
'amount_need_to_pay'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'实缴金额'
,
prop
:
'amount_need_to_pay'
,
align
:
'center'
,
minWidth
:
100
},
...
@@ -345,7 +341,7 @@ export default {
...
@@ -345,7 +341,7 @@ export default {
}
}
}
else
{
}
else
{
if
(
row
.
secondary_service_charge_ratio
)
{
if
(
row
.
secondary_service_charge_ratio
)
{
const
radio
=
JSON
.
parse
(
row
.
secondary_service_charge_ratio
).
map
(
item
=>
{
const
radio
=
JSON
.
parse
(
row
.
secondary_service_charge_ratio
).
map
(
(
item
)
=>
{
item
.
ratio
=
'范围从'
+
item
.
start
+
'到'
+
item
.
end
+
'的比例为 '
+
item
.
value
+
'%'
item
.
ratio
=
'范围从'
+
item
.
start
+
'到'
+
item
.
end
+
'的比例为 '
+
item
.
value
+
'%'
return
item
.
ratio
return
item
.
ratio
})
})
...
@@ -355,29 +351,29 @@ export default {
...
@@ -355,29 +351,29 @@ export default {
}
else
if
(
row
.
secondary_service_fee_rules_type
===
''
||
row
.
secondary_service_fee_rules_type
===
'0'
)
{
}
else
if
(
row
.
secondary_service_fee_rules_type
===
''
||
row
.
secondary_service_fee_rules_type
===
'0'
)
{
return
row
.
secondary_service_charge_ratio
return
row
.
secondary_service_charge_ratio
}
}
}
}
,
},
},
{
{
label
:
'二级渠道不含税销售金额'
,
label
:
'二级渠道不含税销售金额'
,
prop
:
'secondary_sales_amount_excluding_tax'
,
prop
:
'secondary_sales_amount_excluding_tax'
,
align
:
'center'
,
align
:
'center'
,
minWidth
:
300
minWidth
:
300
,
},
},
{
{
label
:
'二级渠道渠道代理费提基数'
,
label
:
'二级渠道渠道代理费提基数'
,
prop
:
'secondary_channel_agent_fee_base'
,
prop
:
'secondary_channel_agent_fee_base'
,
align
:
'center'
,
align
:
'center'
,
minWidth
:
300
minWidth
:
300
,
},
},
{
label
:
'二级渠道代理服务费'
,
prop
:
'secondary_agency_service_fee'
,
align
:
'center'
,
minWidth
:
200
},
{
label
:
'二级渠道代理服务费'
,
prop
:
'secondary_agency_service_fee'
,
align
:
'center'
,
minWidth
:
200
},
{
{
label
:
'二级渠道代理服务费(不含税金额)'
,
label
:
'二级渠道代理服务费(不含税金额)'
,
prop
:
'secondary_agency_service_fee_excluding_tax'
,
prop
:
'secondary_agency_service_fee_excluding_tax'
,
align
:
'center'
,
align
:
'center'
,
minWidth
:
300
minWidth
:
300
,
},
},
{
label
:
'二级渠道渠道税率'
,
prop
:
'secondary_channel_tax_rate'
,
align
:
'center'
,
minWidth
:
200
},
{
label
:
'二级渠道渠道税率'
,
prop
:
'secondary_channel_tax_rate'
,
align
:
'center'
,
minWidth
:
200
},
{
label
:
'二级渠道户名'
,
prop
:
'secondary_channel_account_name'
,
align
:
'center'
,
minWidth
:
1
00
},
{
label
:
'二级渠道户名'
,
prop
:
'secondary_channel_account_name'
,
align
:
'center'
,
minWidth
:
2
00
},
{
label
:
'二级渠道账号'
,
prop
:
'secondary_channel_account'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'二级渠道账号'
,
prop
:
'secondary_channel_account'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'二级渠道开户行'
,
prop
:
'secondary_channel_bank_of_deposit'
,
align
:
'center'
,
minWidth
:
200
},
{
label
:
'二级渠道开户行'
,
prop
:
'secondary_channel_bank_of_deposit'
,
align
:
'center'
,
minWidth
:
200
},
...
@@ -400,7 +396,7 @@ export default {
...
@@ -400,7 +396,7 @@ export default {
}
}
}
else
{
}
else
{
if
(
row
.
service_charge_ratio
)
{
if
(
row
.
service_charge_ratio
)
{
const
radio
=
JSON
.
parse
(
row
.
service_charge_ratio
).
map
(
item
=>
{
const
radio
=
JSON
.
parse
(
row
.
service_charge_ratio
).
map
(
(
item
)
=>
{
item
.
ratio
=
'范围从'
+
item
.
start
+
'到'
+
item
.
end
+
'的比例为 '
+
item
.
value
+
'%'
item
.
ratio
=
'范围从'
+
item
.
start
+
'到'
+
item
.
end
+
'的比例为 '
+
item
.
value
+
'%'
return
item
.
ratio
return
item
.
ratio
})
})
...
@@ -410,7 +406,7 @@ export default {
...
@@ -410,7 +406,7 @@ export default {
}
else
if
(
row
.
service_fee_rules_type
===
''
||
row
.
service_fee_rules_type
===
'0'
)
{
}
else
if
(
row
.
service_fee_rules_type
===
''
||
row
.
service_fee_rules_type
===
'0'
)
{
return
row
.
service_charge_ratio
return
row
.
service_charge_ratio
}
}
}
}
,
},
},
{
label
:
'不含税销售金额'
,
prop
:
'sales_amount_excluding_tax'
,
align
:
'center'
,
minWidth
:
150
},
{
label
:
'不含税销售金额'
,
prop
:
'sales_amount_excluding_tax'
,
align
:
'center'
,
minWidth
:
150
},
{
label
:
'渠道代理提基数'
,
prop
:
'channel_agent_fee_base'
,
align
:
'center'
,
minWidth
:
150
},
{
label
:
'渠道代理提基数'
,
prop
:
'channel_agent_fee_base'
,
align
:
'center'
,
minWidth
:
150
},
...
@@ -419,7 +415,7 @@ export default {
...
@@ -419,7 +415,7 @@ export default {
label
:
'代理服务费(不含税金额)'
,
label
:
'代理服务费(不含税金额)'
,
prop
:
'agency_service_fee_excluding_tax'
,
prop
:
'agency_service_fee_excluding_tax'
,
align
:
'center'
,
align
:
'center'
,
minWidth
:
300
minWidth
:
200
,
},
},
{
label
:
'渠道税率'
,
prop
:
'channel_tax_rate'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'渠道税率'
,
prop
:
'channel_tax_rate'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'户名'
,
prop
:
'channel_account_name'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'户名'
,
prop
:
'channel_account_name'
,
align
:
'center'
,
minWidth
:
100
},
...
@@ -431,10 +427,10 @@ export default {
...
@@ -431,10 +427,10 @@ export default {
prop
:
'bill_customer_class_start_time'
,
prop
:
'bill_customer_class_start_time'
,
align
:
'center'
,
align
:
'center'
,
minWidth
:
200
,
minWidth
:
200
,
sortable
:
'custom'
sortable
:
'custom'
,
},
},
{
label
:
'学制期限'
,
prop
:
'bill_customer_class_length_of_schooling'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'学制期限'
,
prop
:
'bill_customer_class_length_of_schooling'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'客户编号'
,
prop
:
'customer_id'
,
align
:
'center'
,
minWidth
:
3
00
},
{
label
:
'客户编号'
,
prop
:
'customer_id'
,
align
:
'center'
,
minWidth
:
2
00
},
{
{
label
:
'退费状态'
,
label
:
'退费状态'
,
prop
:
'refund_time'
,
prop
:
'refund_time'
,
...
@@ -442,27 +438,27 @@ export default {
...
@@ -442,27 +438,27 @@ export default {
minWidth
:
100
,
minWidth
:
100
,
computed
({
row
})
{
computed
({
row
})
{
return
row
.
refund_time
===
null
?
'未退费'
:
'已退费'
return
row
.
refund_time
===
null
?
'未退费'
:
'已退费'
}
}
,
},
},
{
{
label
:
'发票状态'
,
label
:
'发票状态'
,
prop
:
'invoice_status_name'
,
prop
:
'invoice_status_name'
,
align
:
'center'
,
align
:
'center'
,
minWidth
:
100
minWidth
:
100
,
},
},
{
{
label
:
'发票申请日期'
,
label
:
'发票申请日期'
,
prop
:
'invoice_application_time'
,
prop
:
'invoice_application_time'
,
align
:
'center'
,
align
:
'center'
,
minWidth
:
20
0
,
minWidth
:
14
0
,
sortable
:
'custom'
sortable
:
'custom'
,
},
},
{
label
:
'允许开具发票'
,
prop
:
'can_add_invoice'
,
slots
:
'status'
,
align
:
'center'
,
minWidth
:
200
},
{
label
:
'允许开具发票'
,
prop
:
'can_add_invoice'
,
slots
:
'status'
,
align
:
'center'
,
minWidth
:
100
},
{
label
:
'操作'
,
slots
:
'table-x'
,
align
:
'center'
,
minWidth
:
300
,
fixed
:
'right'
}
{
label
:
'操作'
,
slots
:
'table-x'
,
align
:
'center'
,
minWidth
:
260
,
fixed
:
'right'
},
]
],
}
}
}
},
},
},
created
()
{
created
()
{
window
.
localStorage
.
getItem
(
'customColumns'
)
window
.
localStorage
.
getItem
(
'customColumns'
)
this
.
fetchCondition
()
// 获取过滤条件
this
.
fetchCondition
()
// 获取过滤条件
...
@@ -503,7 +499,7 @@ export default {
...
@@ -503,7 +499,7 @@ export default {
this
.
$confirm
(
'确定要作废此发票吗?作废后不可恢复,注意:开具的纸质发票需要您登录税控服务器上作废'
,
'提示'
,
{
this
.
$confirm
(
'确定要作废此发票吗?作废后不可恢复,注意:开具的纸质发票需要您登录税控服务器上作废'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
fetchDisabled
(
row
)
this
.
fetchDisabled
(
row
)
})
})
...
@@ -527,7 +523,7 @@ export default {
...
@@ -527,7 +523,7 @@ export default {
},
},
// 获取过滤条件
// 获取过滤条件
fetchCondition
()
{
fetchCondition
()
{
getCondition
().
then
(
res
=>
{
getCondition
().
then
(
(
res
)
=>
{
this
.
conditionList
=
res
.
data
this
.
conditionList
=
res
.
data
})
})
},
},
...
@@ -552,7 +548,7 @@ export default {
...
@@ -552,7 +548,7 @@ export default {
this
.
$message
.
success
(
'更新状态成功'
)
this
.
$message
.
success
(
'更新状态成功'
)
this
.
$refs
.
list
.
refetch
()
// 刷新订单列表
this
.
$refs
.
list
.
refetch
()
// 刷新订单列表
})
})
.
catch
(
error
=>
{
.
catch
(
(
error
)
=>
{
this
.
$message
.
error
(
error
.
message
)
this
.
$message
.
error
(
error
.
message
)
})
})
},
},
...
@@ -564,7 +560,7 @@ export default {
...
@@ -564,7 +560,7 @@ export default {
this
.
$message
.
success
(
'发票已作废'
)
this
.
$message
.
success
(
'发票已作废'
)
this
.
$refs
.
list
.
refetch
()
// 刷新订单列表
this
.
$refs
.
list
.
refetch
()
// 刷新订单列表
})
})
.
catch
(
error
=>
{
.
catch
(
(
error
)
=>
{
this
.
$message
.
error
(
error
.
message
)
this
.
$message
.
error
(
error
.
message
)
})
})
},
},
...
@@ -574,7 +570,7 @@ export default {
...
@@ -574,7 +570,7 @@ export default {
this
.
$confirm
(
'您确定要退费吗?'
,
'提示'
,
{
this
.
$confirm
(
'您确定要退费吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
fetchDrawBack
(
row
)
this
.
fetchDrawBack
(
row
)
})
})
...
@@ -587,22 +583,22 @@ export default {
...
@@ -587,22 +583,22 @@ export default {
this
.
$refs
.
list
.
refetch
()
// 刷新订单列表
this
.
$refs
.
list
.
refetch
()
// 刷新订单列表
this
.
$message
.
success
(
'退费成功'
)
this
.
$message
.
success
(
'退费成功'
)
})
})
.
catch
(
error
=>
{
.
catch
(
(
error
)
=>
{
this
.
$message
.
error
(
error
.
message
)
this
.
$message
.
error
(
error
.
message
)
})
})
},
},
// 导出
// 导出
exportSelect
()
{
exportSelect
()
{
const
list
=
this
.
tableOptions
.
columns
.
filter
(
item
=>
{
const
list
=
this
.
tableOptions
.
columns
.
filter
(
(
item
)
=>
{
return
item
.
prop
&&
item
.
prop
!==
'head_img'
return
item
.
prop
&&
item
.
prop
!==
'head_img'
})
})
const
headList
=
list
.
map
(
item
=>
item
.
label
)
const
headList
=
list
.
map
(
(
item
)
=>
item
.
label
)
const
propList
=
list
.
map
(
item
=>
item
.
prop
)
const
propList
=
list
.
map
(
(
item
)
=>
item
.
prop
)
const
excelList
=
[]
const
excelList
=
[]
excelList
.
push
(
headList
)
excelList
.
push
(
headList
)
this
.
multipleSelection
.
forEach
(
item
=>
{
this
.
multipleSelection
.
forEach
(
(
item
)
=>
{
const
rowValArr
=
[]
const
rowValArr
=
[]
propList
.
forEach
(
key
=>
{
propList
.
forEach
(
(
key
)
=>
{
let
val
=
item
[
key
]
let
val
=
item
[
key
]
if
(
key
===
'can_add_invoice'
)
val
=
val
===
'1'
?
'允许'
:
'不允许'
if
(
key
===
'can_add_invoice'
)
val
=
val
===
'1'
?
'允许'
:
'不允许'
if
(
key
===
'refund_time'
)
val
=
val
===
null
?
''
:
'已退费'
if
(
key
===
'refund_time'
)
val
=
val
===
null
?
''
:
'已退费'
...
@@ -642,7 +638,7 @@ export default {
...
@@ -642,7 +638,7 @@ export default {
{
wpx
:
200
},
{
wpx
:
200
},
{
wpx
:
200
},
{
wpx
:
200
},
{
wpx
:
200
},
{
wpx
:
200
},
{
wpx
:
200
}
{
wpx
:
200
}
,
]
]
const
wb
=
XLSX
.
utils
.
book_new
()
const
wb
=
XLSX
.
utils
.
book_new
()
wb
.
SheetNames
.
push
(
'Worksheet'
)
wb
.
SheetNames
.
push
(
'Worksheet'
)
...
@@ -654,7 +650,7 @@ export default {
...
@@ -654,7 +650,7 @@ export default {
},
},
// 导出全部
// 导出全部
exportAll
()
{
exportAll
()
{
Object
.
keys
(
this
.
tableOptions
.
remote
.
params
).
forEach
(
key
=>
{
Object
.
keys
(
this
.
tableOptions
.
remote
.
params
).
forEach
(
(
key
)
=>
{
if
(
this
.
tableOptions
.
remote
.
params
[
key
]
===
''
)
delete
this
.
tableOptions
.
remote
.
params
[
key
]
if
(
this
.
tableOptions
.
remote
.
params
[
key
]
===
''
)
delete
this
.
tableOptions
.
remote
.
params
[
key
]
})
})
const
params
=
queryString
.
stringify
(
this
.
tableOptions
.
remote
.
params
)
const
params
=
queryString
.
stringify
(
this
.
tableOptions
.
remote
.
params
)
...
@@ -673,7 +669,7 @@ export default {
...
@@ -673,7 +669,7 @@ export default {
this
.
tableOptions
.
remote
.
params
.
sort
=
columns
.
prop
this
.
tableOptions
.
remote
.
params
.
sort
=
columns
.
prop
}
}
this
.
$refs
.
list
.
refetch
()
this
.
$refs
.
list
.
refetch
()
}
}
,
}
}
,
}
}
</
script
>
</
script
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论