Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-shop
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 88ef0263
authored
Aug 24, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
0b450c52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
src/views/staffManage/edit.vue
src/views/staffManage/edit.vue
View file @
88ef026
...
@@ -68,11 +68,11 @@
...
@@ -68,11 +68,11 @@
</template>
</template>
<
template
v-else-if=
"item == 'constructionBonus'"
>
<
template
v-else-if=
"item == 'constructionBonus'"
>
<div
class=
"constructionBonus-wrap"
>
<div
class=
"constructionBonus-wrap"
>
<el-form
ref=
"
form"
size=
"small"
:model=
"employeePerformanceConfig"
label-width=
"154
px"
:inline=
"true"
>
<el-form
ref=
"
editFormRef2"
size=
"small"
:rules=
"editRule"
:model=
"employeePerformanceConfig"
label-width=
"160
px"
:inline=
"true"
>
<el-form-item
label=
"升级订单施工奖励/元:"
>
<el-form-item
label=
"升级订单施工奖励/元:"
prop=
"upgradeConstructionBonus"
>
<el-input
v-model=
"employeePerformanceConfig.upgradeConstructionBonus"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"employeePerformanceConfig.upgradeConstructionBonus"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"战败订单施工奖励/元:"
>
<el-form-item
label=
"战败订单施工奖励/元:"
prop=
"notUpgradeConstructionBonus"
>
<el-input
v-model=
"employeePerformanceConfig.notUpgradeConstructionBonus"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"employeePerformanceConfig.notUpgradeConstructionBonus"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -668,9 +668,11 @@ export default {
...
@@ -668,9 +668,11 @@ export default {
let
params
=
{}
let
params
=
{}
let
form1
=
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
()
let
form1
=
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
()
let
form2
=
this
.
$refs
.
editFormRef1
.
$refs
[
this
.
editChildRef
].
validate
()
let
form2
=
this
.
$refs
.
editFormRef1
.
$refs
[
this
.
editChildRef
].
validate
()
Promise
.
all
([
form1
,
form2
])
console
.
log
(
this
.
$refs
.
editFormRef2
)
let
form3
=
this
.
$refs
.
editFormRef2
&&
this
.
$refs
.
editFormRef2
[
0
].
validate
()
Promise
.
all
([
form1
,
form2
,
form3
])
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
.
length
==
2
)
{
if
(
res
.
length
>=
2
)
{
params
=
{
params
=
{
...
this
.
editForm
...
this
.
editForm
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment