Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
许珑标
薪瑞通-前端
Commits
4f4f0901
Commit
4f4f0901
authored
May 13, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'yx-feat-tax' into test
parents
6fb64619
0fbebac5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
92 additions
and
44 deletions
+92
-44
src/assets/images/stepRecharge.png
src/assets/images/stepRecharge.png
+0
-0
src/views/business/invoiceApply/index.vue
src/views/business/invoiceApply/index.vue
+15
-21
src/views/business/salaryAccount/index.vue
src/views/business/salaryAccount/index.vue
+77
-22
src/views/business/taxUser/index.vue
src/views/business/taxUser/index.vue
+0
-1
No files found.
src/assets/images/stepRecharge.png
0 → 100644
View file @
4f4f0901
20.9 KB
src/views/business/invoiceApply/index.vue
View file @
4f4f0901
...
@@ -881,8 +881,8 @@ export default {
...
@@ -881,8 +881,8 @@ export default {
},
},
onlineInvoice
(
row
)
{
onlineInvoice
(
row
)
{
let
taxpayerQuery
=
{
let
taxpayerQuery
=
{
//
companyType: 2,
companyType
:
2
,
//
companyId: row.taxCompanyId
companyId
:
row
.
taxCompanyId
}
}
listAllLoginUser
(
taxpayerQuery
).
then
(
resp
=>
{
listAllLoginUser
(
taxpayerQuery
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
if
(
200
===
resp
.
code
)
{
...
@@ -898,20 +898,20 @@ export default {
...
@@ -898,20 +898,20 @@ export default {
}
}
},
},
onlineGen
()
{
onlineGen
()
{
this
.
$prompt
(
'
请输入返回值
'
,
'
操作提示
'
,
{
// this.$prompt('请输入返回值', '操作提示', {
confirmButtonText
:
'
确定
'
,
// confirmButtonText: '确定',
cancelButtonText
:
'
取消
'
,
// cancelButtonText: '取消',
}).
then
(({
value
})
=>
{
// }).then(({ value }) => {
let
testData
=
{
// let testData = {
code
:
value
// code: value
}
this
.
invoicingAfter
(
testData
)
})
// onlineInvoicing(this.onlineInvoiceForm).then(resp => {
// if (200 === resp.code) {
// this.invoicingAfter(resp.data)
// }
// }
// this.invoicingAfter(testData)
// })
// })
onlineInvoicing
(
this
.
onlineInvoiceForm
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
this
.
invoicingAfter
(
resp
.
data
)
}
})
},
},
invoicingAfter
(
data
)
{
invoicingAfter
(
data
)
{
let
code
=
data
.
code
let
code
=
data
.
code
...
@@ -930,14 +930,8 @@ export default {
...
@@ -930,14 +930,8 @@ export default {
confirmButtonText
:
'
确定
'
,
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
cancelButtonText
:
'
取消
'
,
}).
then
(({
value
})
=>
{
}).
then
(({
value
})
=>
{
// todo 重新发起
this
.
onlineInvoiceForm
.
smsCode
=
value
this
.
onlineInvoiceForm
.
smsCode
=
value
// this.onlineGen()
this
.
onlineGen
()
this
.
$message
({
type
:
'
success
'
,
message
:
'
你输入的短信验证码是:
'
+
value
});
console
.
log
(
'
一键开票请求参数:
'
,
this
.
onlineInvoiceForm
)
})
})
}
else
if
(
code
==
500
)
{
}
else
if
(
code
==
500
)
{
this
.
$modal
.
msgError
(
data
.
msg
)
this
.
$modal
.
msgError
(
data
.
msg
)
...
...
src/views/business/salaryAccount/index.vue
View file @
4f4f0901
...
@@ -282,7 +282,33 @@
...
@@ -282,7 +282,33 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<div
class=
"ownRechargeMain"
>
<div
class=
"ownRechargeMain"
>
<img
class=
"ownRechargeImage"
src=
"@/assets/images/xianxia.png"
alt=
""
>
<img
class=
"ownRechargeImage"
src=
"@/assets/images/xianxia.png"
alt=
""
>
<el-button
class=
"ownRechargeButton"
@
click=
"offlineRecharge"
>
线下充值
</el-button>
<el-button
class=
"ownRechargeButton"
@
click=
"offlineRecharge(true)"
>
线下充值
</el-button>
</div>
</el-col>
</el-row>
</el-dialog>
<!-- 第三方发薪账号充值 -->
<el-dialog
title=
"第三方发薪账户充值"
:visible.sync=
"rechargeCoursePanelDialog"
width=
"42%"
center
>
<el-row
:gutter=
"64"
>
<el-col
:span=
"12"
>
<p
style=
"text-align: center;"
>
通过与账本同主体的企业支付宝进行充值,可在手机端和电脑端充值
</p>
</el-col>
<el-col
:span=
"12"
>
<p
style=
"text-align: center;"
>
通过银行系统进行打款充值
</p>
</el-col>
</el-row>
<el-row
:gutter=
"64"
>
<el-col
:span=
"12"
>
<div
class=
"ownRechargeMain"
>
<img
class=
"ownRechargeImage"
src=
"@/assets/images/zfb.png"
alt=
""
>
<el-button
class=
"ownRechargeButton"
@
click=
"rechargeCoursePanelDialog = false; aliQRCodeRechargeOpen = true"
>
直属账户充值
</el-button>
</div>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"ownRechargeMain"
>
<img
class=
"ownRechargeImage"
src=
"@/assets/images/xianxia.png"
alt=
""
>
<el-button
class=
"ownRechargeButton"
@
click=
"offlineRecharge(false)"
>
线下账户充值
</el-button>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -291,9 +317,15 @@
...
@@ -291,9 +317,15 @@
<el-dialog
title=
"汇款充值"
:visible.sync=
"rechargeCoursePanel"
width=
"50%"
>
<el-dialog
title=
"汇款充值"
:visible.sync=
"rechargeCoursePanel"
width=
"50%"
>
<h2
style=
"font-weight: bold;font-size: 22px;margin-top: -15px;color: #1a1a1a"
>
什么是汇款充值
</h2>
<h2
style=
"font-weight: bold;font-size: 22px;margin-top: -15px;color: #1a1a1a"
>
什么是汇款充值
</h2>
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
v-if=
"offlineRechargeStatic"
>
商户可通过银行转账方式完成对应支付宝专属收款账户的充值。支付宝会为商户的每个支付宝账户提供独立的"专属收款账户",商户从任一同名银行账户向其对应的"专属收款账户"转账,即可完成充值。
商户可通过银行转账方式完成对应支付宝专属收款账户的充值。支付宝会为商户的每个支付宝账户提供独立的"专属收款账户",商户从任一同名银行账户向其对应的"专属收款账户"转账,即可完成充值。
</el-col>
</el-col>
<el-col
:span=
"24"
v-else
>
代发企业为商户开设支付宝安全发专属账本,商户可使用开设“安全发专属账本”时备案的银行账户(切记一定要使用备案的银行账户转账,否则系统将无法自动划转至专属账本)将需下发资金转入至代发企业招行专户,招行专户收到款后,将在30分钟内由系统自动将钱转入至“支付宝安全发专属账本”,具体转账路径如下图所示:
<div
style=
"text-align: center;"
>
<img
style=
"width:80%;margin-top: 10px;"
src=
"@/assets/images/stepRecharge.png"
alt=
""
>
</div>
</el-col>
</el-row>
</el-row>
<el-row
style=
"margin-top: 15px;"
>
<el-row
style=
"margin-top: 15px;"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
...
@@ -310,18 +342,21 @@
...
@@ -310,18 +342,21 @@
<el-timeline-item>
<el-timeline-item>
<span
style=
"font-weight: bold;font-size: 18px"
>
登录你的网上银行
</span>
<span
style=
"font-weight: bold;font-size: 18px"
>
登录你的网上银行
</span>
<span
style=
"color: gray;font-size: 14px"
>
(支持任意银行)
</span>
<span
style=
"color: gray;font-size: 14px"
>
(支持任意银行)
</span>
<div
style=
"font-size: 14px;margin-top: 5px"
>
必须使用本公司同名的银行账户进行汇款转账,首次使用建议小金额转入测试
</div>
<div
v-if=
"offlineRechargeStatic"
style=
"font-size: 14px;margin-top: 5px"
>
必须使用本公司同名的银行账户进行汇款转账,首次使用建议小金额转入测试
</div>
<div
v-else
style=
"font-size: 14px;margin-top: 5px"
>
必须使用开设“支付宝安全发专属账本”时备案的银行账户进行汇款转账,首次使用建议小额转入测试。
</div>
</el-timeline-item>
</el-timeline-item>
<el-timeline-item>
<el-timeline-item>
<span
style=
"font-weight: bold;font-size: 18px"
>
转账时填写以下专属账户
</span>
<span
style=
"font-weight: bold;font-size: 18px"
>
转账时填写以下专属账户
</span>
<div
style=
"font-size: 14px;margin-top: 5px"
>
请注意收款账户支行选择:
<div
v-if=
"offlineRechargeStatic"
style=
"font-size: 14px;margin-top: 5px"
>
请注意收款账户支行选择:
<span
style=
"color: red"
>
支付宝-备付金账户
</span>
<span
style=
"color: red"
>
支付宝-备付金账户
</span>
<span>
、开户地选择:
</span>
<span>
、开户地选择:
</span>
<span
style=
"color: red"
>
上海市-上海市
</span>
<span
style=
"color: red"
>
上海市-上海市
</span>
<span>
,否则支付宝无法收到资金
</span>
<span>
,否则支付宝无法收到资金
</span>
</div>
</div>
<el-descriptions
title=
"你的企业备付金余额账户"
:column=
"1"
:border=
"true"
style=
"margin-top: 15px
"
<el-descriptions
:title=
"offlineRechargeStatic ? '你的企业备付金余额账户' : ''"
:column=
"1"
:border=
"true
"
:label-style=
"accDetail.label_style"
:contentStyle=
"accDetail.content_style"
>
style=
"margin-top: 15px"
:label-style=
"accDetail.label_style"
:contentStyle=
"accDetail.content_style"
>
<el-descriptions-item
label=
"账号"
>
{{ offlineRechargeData.cardNo }}
</el-descriptions-item>
<el-descriptions-item
label=
"账号"
>
{{ offlineRechargeData.cardNo }}
</el-descriptions-item>
<el-descriptions-item
label=
"户名"
>
{{ offlineRechargeData.bankAccName
<el-descriptions-item
label=
"户名"
>
{{ offlineRechargeData.bankAccName
}}
</el-descriptions-item>
}}
</el-descriptions-item>
...
@@ -542,6 +577,7 @@ export default {
...
@@ -542,6 +577,7 @@ export default {
// 线下充值
// 线下充值
rechargeCoursePanel
:
false
,
rechargeCoursePanel
:
false
,
offlineRechargeData
:
{},
offlineRechargeData
:
{},
offlineRechargeStatic
:
false
,
// 充值记录相关参数
// 充值记录相关参数
billQuery
:
{
billQuery
:
{
pageNum
:
1
,
pageNum
:
1
,
...
@@ -556,7 +592,9 @@ export default {
...
@@ -556,7 +592,9 @@ export default {
billTotal
:
0
,
billTotal
:
0
,
userInfoName
:
null
,
userInfoName
:
null
,
accountCollection
:
[],
accountCollection
:
[],
loading
:
false
loading
:
false
,
// 第三方发薪账号余额、服务费充值选择弹窗
rechargeCoursePanelDialog
:
false
,
}
}
},
},
created
()
{
created
()
{
...
@@ -616,20 +654,35 @@ export default {
...
@@ -616,20 +654,35 @@ export default {
})
})
},
},
// 选择线下充值方法
// 选择线下充值方法
offlineRecharge
()
{
offlineRecharge
(
isBol
)
{
this
.
ownAliQRCodeRechargeOpen
=
false
this
.
offlineRechargeStatic
=
isBol
this
.
$modal
.
loading
(
'
...加载中
'
)
if
(
isBol
)
{
getAccAliInfo
(
this
.
aliQRCodeRechargeForm
.
payeeAccNo
).
then
(
resp
=>
{
this
.
ownAliQRCodeRechargeOpen
=
false
if
(
200
===
resp
.
code
)
{
this
.
offlineRechargeData
=
resp
.
data
this
.
$modal
.
loading
(
'
...加载中
'
)
this
.
rechargeCoursePanel
=
true
getAccAliInfo
(
this
.
aliQRCodeRechargeForm
.
payeeAccNo
).
then
(
resp
=>
{
// this.accDetail.companyName = card.companyName
if
(
200
===
resp
.
code
)
{
// this.accDetail.info = resp.data
this
.
offlineRechargeData
=
resp
.
data
// this.accDetail.panel = true
this
.
rechargeCoursePanel
=
true
// this.accDetail.companyName = card.companyName
// this.accDetail.info = resp.data
// this.accDetail.panel = true
}
}).
finally
(()
=>
{
this
.
$modal
.
closeLoading
()
})
}
else
{
this
.
rechargeCoursePanel
=
false
this
.
offlineRechargeData
=
{
cardNo
:
'
515901720410008
'
,
bankAccName
:
'
盐城美好生活专业清洁服务有限公司
'
,
cardBank
:
'
招商银行
'
,
cardBranch
:
'
盐城市青年路支行
'
,
cardLocation
:
'
江苏-盐城市
'
,
cardDeposit
:
'
308311000033
'
}
}
}).
finally
(()
=>
{
this
.
rechargeCoursePanel
=
true
this
.
$modal
.
closeLoading
()
}
})
},
},
// 点击服务分充值方法-自有
// 点击服务分充值方法-自有
ownServiceChargeRecharge
(
val
)
{
ownServiceChargeRecharge
(
val
)
{
...
@@ -652,14 +705,16 @@ export default {
...
@@ -652,14 +705,16 @@ export default {
this
.
aliQRCodeRechargeForm
.
rechargeType
=
2
this
.
aliQRCodeRechargeForm
.
rechargeType
=
2
this
.
aliQRCodeRechargeForm
.
payeeAccNo
=
val
.
payAccNo
this
.
aliQRCodeRechargeForm
.
payeeAccNo
=
val
.
payAccNo
this
.
aliQRCodeRechargeForm
.
bindType
=
val
.
bindType
this
.
aliQRCodeRechargeForm
.
bindType
=
val
.
bindType
this
.
aliQRCodeRechargeOpen
=
true
this
.
rechargeCoursePanelDialog
=
true
// this.aliQRCodeRechargeOpen = true
},
},
// 点击服务费充值方法-第三方
// 点击服务费充值方法-第三方
serviceChargeRecharge
(
val
)
{
serviceChargeRecharge
(
val
)
{
this
.
aliQRCodeRechargeForm
.
rechargeType
=
1
this
.
aliQRCodeRechargeForm
.
rechargeType
=
1
this
.
aliQRCodeRechargeForm
.
payeeAccNo
=
val
.
payAccNo
this
.
aliQRCodeRechargeForm
.
payeeAccNo
=
val
.
payAccNo
this
.
aliQRCodeRechargeForm
.
bindType
=
val
.
bindType
this
.
aliQRCodeRechargeForm
.
bindType
=
val
.
bindType
this
.
aliQRCodeRechargeOpen
=
true
this
.
rechargeCoursePanelDialog
=
true
// this.aliQRCodeRechargeOpen = true
},
},
// 确认支付按钮
// 确认支付按钮
getAliPayUrl
()
{
getAliPayUrl
()
{
...
...
src/views/business/taxUser/index.vue
View file @
4f4f0901
...
@@ -293,7 +293,6 @@ export default {
...
@@ -293,7 +293,6 @@ export default {
this
.
title
=
"
添加办税人信息
"
;
this
.
title
=
"
添加办税人信息
"
;
},
},
getAllUnit
()
{
getAllUnit
()
{
console
.
log
(
this
.
unitList
)
if
(
!
this
.
unitList
||
this
.
unitList
.
length
<
1
)
{
if
(
!
this
.
unitList
||
this
.
unitList
.
length
<
1
)
{
listAllUnitInfo
().
then
(
resp
=>
{
listAllUnitInfo
().
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
if
(
200
===
resp
.
code
)
{
...
...
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