Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
刘文虎
account-book
Commits
73ac4ccc
Commit
73ac4ccc
authored
Sep 28, 2022
by
刘文虎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.banshouhui.com/liuwenhu/account-book
parents
f4d78598
86a24099
Pipeline
#3647
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
wage-setting.vue
pages/workpoint/employees/components/wage-setting.vue
+14
-5
No files found.
pages/workpoint/employees/components/wage-setting.vue
View file @
73ac4ccc
...
@@ -14,12 +14,12 @@
...
@@ -14,12 +14,12 @@
<view
class=
"label-view"
>
上班
</view>
<view
class=
"label-view"
>
上班
</view>
<view
class=
"value-view"
>
<view
class=
"value-view"
>
<view
class=
"input-view"
>
<view
class=
"input-view"
>
<u-input
type=
"digit"
:clearable=
"false"
:custom-style=
"customStyle"
:placeholder-style=
"placeholderStyle"
cursor-spacing=
"310
"
<u-input
type=
"digit"
:clearable=
"false"
:custom-style=
"customStyle"
:placeholder-style=
"placeholderStyle"
:cursor-spacing=
"155 + cursorSpacing
"
v-model=
"form.normalUnitHours"
placeholder=
"输入数值"
@
input=
"handleInput($event, 'normalUnitHours')"
/>
v-model=
"form.normalUnitHours"
placeholder=
"输入数值"
@
input=
"handleInput($event, 'normalUnitHours')"
/>
</view>
</view>
<view>
小时 =
</view>
<view>
小时 =
</view>
<view
class=
"input-view"
>
<view
class=
"input-view"
>
<u-input
type=
"digit"
:clearable=
"false"
:custom-style=
"customStyle"
:placeholder-style=
"placeholderStyle"
cursor-spacing=
"310
"
<u-input
type=
"digit"
:clearable=
"false"
:custom-style=
"customStyle"
:placeholder-style=
"placeholderStyle"
:cursor-spacing=
"155 + cursorSpacing
"
v-model=
"form.normalUnitMoney"
placeholder=
"输入金额"
@
input=
"handleInput($event, 'normalUnitMoney')"
/>
v-model=
"form.normalUnitMoney"
placeholder=
"输入金额"
@
input=
"handleInput($event, 'normalUnitMoney')"
/>
</view>
</view>
<view>
元 = 1个工
</view>
<view>
元 = 1个工
</view>
...
@@ -39,19 +39,19 @@
...
@@ -39,19 +39,19 @@
<view
class=
"label-view"
>
加班
</view>
<view
class=
"label-view"
>
加班
</view>
<view
class=
"value-view"
v-if=
"form.overType == 'UNIT'"
>
<view
class=
"value-view"
v-if=
"form.overType == 'UNIT'"
>
<view
class=
"input-view"
>
<view
class=
"input-view"
>
<u-input
type=
"digit"
:clearable=
"false"
:custom-style=
"customStyle"
:placeholder-style=
"placeholderStyle"
cursor-spacing=
"155
"
<u-input
type=
"digit"
:clearable=
"false"
:custom-style=
"customStyle"
:placeholder-style=
"placeholderStyle"
:cursor-spacing=
"cursorSpacing
"
v-model=
"form.overUnitHours"
placeholder=
"输入数值"
@
input=
"handleInput($event, 'overUnitHours')"
/>
v-model=
"form.overUnitHours"
placeholder=
"输入数值"
@
input=
"handleInput($event, 'overUnitHours')"
/>
</view>
</view>
<view>
小时 =
</view>
<view>
小时 =
</view>
<view
class=
"input-view"
>
<view
class=
"input-view"
>
<u-input
type=
"digit"
:clearable=
"false"
:custom-style=
"customStyle"
:placeholder-style=
"placeholderStyle"
cursor-spacing=
"155
"
<u-input
type=
"digit"
:clearable=
"false"
:custom-style=
"customStyle"
:placeholder-style=
"placeholderStyle"
:cursor-spacing=
"cursorSpacing
"
v-model=
"form.overUnitMoney"
placeholder=
"输入金额"
@
input=
"handleInput($event, 'overUnitMoney')"
/>
v-model=
"form.overUnitMoney"
placeholder=
"输入金额"
@
input=
"handleInput($event, 'overUnitMoney')"
/>
</view>
</view>
<view>
元 = 1个工
</view>
<view>
元 = 1个工
</view>
</view>
</view>
<view
class=
"value-view"
v-else
>
<view
class=
"value-view"
v-else
>
<view
class=
"input-view"
>
<view
class=
"input-view"
>
<u-input
type=
"digit"
:clearable=
"false"
:custom-style=
"customStyle"
:placeholder-style=
"placeholderStyle"
cursor-spacing=
"155
"
<u-input
type=
"digit"
:clearable=
"false"
:custom-style=
"customStyle"
:placeholder-style=
"placeholderStyle"
:cursor-spacing=
"cursorSpacing
"
v-model=
"form.overHoursMoney"
placeholder=
"输入金额"
@
input=
"handleInput($event, 'overHoursMoney')"
/>
v-model=
"form.overHoursMoney"
placeholder=
"输入金额"
@
input=
"handleInput($event, 'overHoursMoney')"
/>
</view>
</view>
<view>
元/小时
</view>
<view>
元/小时
</view>
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
uniSwipeActionItemVue
from
'../../../../components/uni-swipe-action-item/uni-swipe-action-item.vue'
export
default
{
export
default
{
props
:
{
props
:
{
...
@@ -110,6 +111,14 @@ export default {
...
@@ -110,6 +111,14 @@ export default {
isNormal
()
{
isNormal
()
{
return
this
.
type
==
'normal'
return
this
.
type
==
'normal'
},
},
cursorSpacing
()
{
switch
(
this
.
type
)
{
case
'pop'
:
return
155
case
'nomal'
:
return
30
}
},
title
()
{
title
()
{
return
this
.
isPop
?
'工资设置'
:
'工资设置(点工)'
return
this
.
isPop
?
'工资设置'
:
'工资设置(点工)'
},
},
...
...
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