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
f6c1e1af
Commit
f6c1e1af
authored
Feb 07, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加小数点保留位字段
parent
44823374
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
7 deletions
+28
-7
src/views/business/component/staffForm.vue
src/views/business/component/staffForm.vue
+28
-7
No files found.
src/views/business/component/staffForm.vue
View file @
f6c1e1af
...
...
@@ -42,12 +42,12 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"管理费"
prop=
"operationCost"
>
<el-input-number
v-model=
"formData.operationCost"
placeholder=
"请输入管理费"
:precision=
"2"
:step=
"1"
:min=
"0"
controls-position=
"right"
></el-input-number>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"管理费"
prop=
"operationCost"
>
<el-input-number
v-model=
"formData.operationCost"
placeholder=
"请输入管理费"
:precision=
"2"
:step=
"1"
:min=
"0"
controls-position=
"right"
></el-input-number>
</el-form-item>
</el-col>
</el-row>
</div>
</el-card>
...
...
@@ -284,6 +284,21 @@
</el-radio-group>
</el-col>
</el-row>
<el-row
:gutter=
"10"
style=
"margin-top: 25px;"
>
<el-col
:span=
"2"
>
<div
class=
"projectTitle"
>
工资小数位
</div>
</el-col>
<el-col
:span=
"5"
>
<el-select
style=
"width: 100%"
v-model=
"formData.wagesPoint"
placeholder=
"请选择工资保留小数位"
>
<el-option
:label=
"0"
:value=
"0"
></el-option>
<el-option
:label=
"1"
:value=
"1"
></el-option>
<el-option
:label=
"2"
:value=
"2"
></el-option>
</el-select>
</el-col>
<el-col
:span=
"1"
>
<span
style=
"line-height: 32px"
>
位
</span>
</el-col>
</el-row>
</div>
</el-card>
...
...
@@ -312,6 +327,7 @@ export default {
groupName
:
null
,
groupCode
:
null
,
sybxBase
:
0
,
wagesPoint
:
2
,
sybxCompanyRate
:
0
,
sybxPersonalRate
:
0
,
ylbxBase
:
0
,
...
...
@@ -424,11 +440,15 @@ export default {
},
created
()
{
},
updated
()
{
// this.reset()
},
mounted
()
{
this
.
reset
()
if
(
this
.
$route
.
query
.
id
)
{
this
.
getOutContractFN
(
this
.
$route
.
query
.
id
)
}
else
{
this
.
reset
()
}
this
.
getPayerCompanyList
()
},
...
...
@@ -728,6 +748,7 @@ export default {
// 表单重置方法
reset
()
{
this
.
formData
=
{
wagesPoint
:
2
,
contractName
:
null
,
contractCode
:
null
,
groupName
:
null
,
...
...
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