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
16c6c081
Commit
16c6c081
authored
Jul 02, 2025
by
谢子梦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stage:合作机构-签约合同加入默认税率
parent
a7c4060f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
91 additions
and
21 deletions
+91
-21
src/views/business/taxUnit/signList.vue
src/views/business/taxUnit/signList.vue
+91
-21
No files found.
src/views/business/taxUnit/signList.vue
View file @
16c6c081
...
@@ -48,8 +48,7 @@
...
@@ -48,8 +48,7 @@
v-if=
"scope.row.signStatus && 1 === scope.row.signStatus"
v-hasPermi=
"['business:laborSign:add']"
>
签约合约
v-if=
"scope.row.signStatus && 1 === scope.row.signStatus"
v-hasPermi=
"['business:laborSign:add']"
>
签约合约
</el-button>
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-lollipop"
@
click=
"givePayAcc(scope.row)"
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-lollipop"
@
click=
"givePayAcc(scope.row)"
v-if=
"scope.row.signStatus && 2 === scope.row.signStatus"
v-if=
"scope.row.signStatus && 2 === scope.row.signStatus"
v-hasPermi=
"['business:laborSign:add']"
>
代发账户
v-hasPermi=
"['business:laborSign:add']"
>
代发账户
</el-button>
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -62,6 +61,26 @@
...
@@ -62,6 +61,26 @@
<el-button
@
click=
"doAgreePanelCancel"
>
取 消
</el-button>
<el-button
@
click=
"doAgreePanelCancel"
>
取 消
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<!-- 签约合同-提交税费弹窗 -->
<el-dialog
title=
"操作提示"
class=
"setDefaulttaxRateMain"
width=
"25%"
:visible.sync=
"setDefaulttaxRateDialog"
>
<div
class=
"setDefaulttaxRateConter"
>
<div
class=
"setDefaulttaxRateTitle"
>
<i
class=
"el-icon-warning"
></i>
<span
class=
"setDefaulttaxRateText"
>
确认签订与{{ this.doAgreeData.inviterName }}的合约吗?
</span>
</div>
<el-form
class=
"setDefaulttaxRateForm"
:model=
"setDefaulttaxRateForm"
ref=
"setDefaulttaxRateFormRef"
:rules=
"setDefaulttaxRateRules"
label-width=
"60px"
>
<el-form-item
label=
"税率"
prop=
"taxRate"
>
<el-input-number
style=
"width: 90%;"
v-model=
"setDefaulttaxRateForm.taxRate"
:step=
"0.00001"
:min=
"0"
:max=
"1"
placeholder=
"请输入税率"
:precision=
"6"
></el-input-number>
</el-form-item>
</el-form>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"setDefaulttaxRateDialog = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"etDefaulttaxRateSubmit"
>
确 认
</el-button>
</div>
</el-dialog>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
@
pagination=
"getList"
/>
</div>
</div>
...
@@ -99,6 +118,16 @@ export default {
...
@@ -99,6 +118,16 @@ export default {
doAgreeData
:
{},
doAgreeData
:
{},
/** 合同查看弹窗 */
/** 合同查看弹窗 */
doAgreePanelVisible
:
false
,
doAgreePanelVisible
:
false
,
// 签约合同-提交税费弹窗
setDefaulttaxRateDialog
:
false
,
setDefaulttaxRateForm
:
{
taxRate
:
0
},
setDefaulttaxRateRules
:
{
taxRate
:
[
{
required
:
true
,
message
:
'
请输入税费比例
'
,
trigger
:
'
blur
'
},
]
},
}
}
},
},
created
()
{
created
()
{
...
@@ -169,7 +198,7 @@ export default {
...
@@ -169,7 +198,7 @@ export default {
// this.doAgreeData.contractUrl = contractUrl;
// this.doAgreeData.contractUrl = contractUrl;
const
sealObj
=
{
const
sealObj
=
{
id
:
this
.
doAgreeData
.
id
,
id
:
this
.
doAgreeData
.
id
,
contractUrl
:
contractUrl
,
contractUrl
:
contractUrl
,
inviterId
:
this
.
doAgreeData
.
inviterId
,
inviterId
:
this
.
doAgreeData
.
inviterId
,
taxUnitId
:
this
.
doAgreeData
.
taxUnitId
,
taxUnitId
:
this
.
doAgreeData
.
taxUnitId
,
};
};
...
@@ -179,7 +208,7 @@ export default {
...
@@ -179,7 +208,7 @@ export default {
this
.
$modal
.
msgSuccess
(
"
签订合同成功
"
);
this
.
$modal
.
msgSuccess
(
"
签订合同成功
"
);
this
.
doAgreePanelVisible
=
false
;
this
.
doAgreePanelVisible
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
}
else
{
this
.
$modal
.
msgError
(
"
签订合同失败:
"
+
(
resp
.
msg
||
"
未知错误
"
));
this
.
$modal
.
msgError
(
"
签订合同失败:
"
+
(
resp
.
msg
||
"
未知错误
"
));
}
}
}
else
{
}
else
{
...
@@ -193,21 +222,23 @@ export default {
...
@@ -193,21 +222,23 @@ export default {
}
}
},
},
doAgreePanelSubmit
()
{
doAgreePanelSubmit
()
{
this
.
$confirm
(
`确认签订与
${
this
.
doAgreeData
.
inviterName
}
的合约吗?`
,
'
操作提示
'
,
{
this
.
setDefaulttaxRateForm
.
taxRate
=
0
confirmButtonText
:
'
确定
'
,
this
.
setDefaulttaxRateDialog
=
true
cancelButtonText
:
'
取消
'
,
}
,
type
:
'
warning
'
// 签约合同确认按钮-方法
}).
then
(()
=>
{
etDefaulttaxRateSubmit
()
{
// TODO 这里换成用户输入的费率
this
.
$refs
.
setDefaulttaxRateFormRef
.
validate
((
valid
)
=>
{
const
taxRate
=
''
;
if
(
valid
)
{
agreeSign
(
this
.
doAgreeData
.
id
,
taxRate
).
then
(
resp
=>
{
agreeSign
(
this
.
doAgreeData
.
id
,
this
.
setDefaulttaxRateForm
.
taxRate
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
if
(
200
===
resp
.
code
)
{
this
.
$modal
.
msgSuccess
(
"
操作成功
"
)
this
.
$modal
.
msgSuccess
(
"
操作成功
"
)
this
.
doAgreePanelVisible
=
false
this
.
doAgreePanelVisible
=
false
this
.
setDefaulttaxRateDialog
=
false
this
.
getList
()
this
.
getList
()
}
}
})
})
}).
catch
(()
=>
{
});
}
})
},
},
doAgreePanelCancel
()
{
doAgreePanelCancel
()
{
this
.
doAgreePanelVisible
=
false
this
.
doAgreePanelVisible
=
false
...
@@ -221,3 +252,42 @@ export default {
...
@@ -221,3 +252,42 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
.setDefaulttaxRateMain
{
margin-top
:
25vh
!
important
;
.el-dialog__header
{
padding
:
18px
10px
12px
20px
!
important
;
}
.el-dialog__body
{
padding
:
2px
20px
0px
!
important
;
}
.el-dialog__footer
{
padding
:
5px
20px
10px
10px
!
important
;
}
.setDefaulttaxRateConter
{
.setDefaulttaxRateTitle
{
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-start
;
gap
:
8px
;
.el-icon-warning
{
color
:
#ffba00
;
font-size
:
22px
;
}
.setDefaulttaxRateText
{
font-size
:
14px
;
}
}
.setDefaulttaxRateForm
{
margin-top
:
16px
;
}
}
}
</
style
>
\ No newline at end of file
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