Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
562a87e7
Commit
562a87e7
authored
Oct 16, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
投诉单新增金额验证
parent
66acd22b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
ComplaintsDetail.vue
src/components/Complaints/ComplaintsDetail.vue
+8
-6
No files found.
src/components/Complaints/ComplaintsDetail.vue
View file @
562a87e7
...
...
@@ -323,7 +323,7 @@
<tr
v-if=
"isShowMoney"
>
<td>
赔偿金额:
</td>
<td>
<el-input
type=
"text"
v-model=
"EditMsg.CompensateMoney"
class=
"w160"
></el-input>
<el-input
type=
"text"
v-model=
"EditMsg.CompensateMoney"
class=
"w160"
@
keyup
.
native=
"checkPrice(EditMsg,'CompensateMoney')"
></el-input>
</td>
</tr>
<tr
v-if=
"isShowNextPersion"
>
...
...
@@ -363,7 +363,7 @@
<tr>
<td>
赔偿金额:
</td>
<td>
<el-input
type=
"text"
v-model=
"
CompensateMoney"
class=
"w160
"
></el-input>
<el-input
type=
"text"
v-model=
"
ZuiMsg.CompensateMoney"
class=
"w160"
@
keyup
.
native=
"checkPrice(ZuiMsg,'CompensateMoney')
"
></el-input>
</td>
</tr>
</table>
...
...
@@ -452,7 +452,9 @@
DealEmpName
:
''
,
ishowBtn
:
true
,
showAppendMoney
:
false
,
CompensateMoney
:
0
,
//赔偿金额
ZuiMsg
:{
CompensateMoney
:
0
,
//赔偿金额
},
ComplainCompensation
:
[],
//赔款列表
authority
:
[],
}
...
...
@@ -691,16 +693,16 @@
},
//追加赔偿金额
appendCompensateMoney
()
{
if
(
!
(
this
.
CompensateMoney
>
0
))
{
if
(
!
(
this
.
ZuiMsg
.
CompensateMoney
>
0
))
{
this
.
Error
(
'赔偿金额必须大于0'
)
return
false
}
let
msg
=
{
ID
:
this
.
queryMsg
.
ID
,
CompensateMoney
:
this
.
CompensateMoney
}
let
msg
=
{
ID
:
this
.
queryMsg
.
ID
,
CompensateMoney
:
this
.
ZuiMsg
.
CompensateMoney
}
this
.
apipost
(
'conplain_post_AppendCompensateMoney'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
'追加赔偿成功'
)
this
.
showAppendMoney
=
false
this
.
CompensateMoney
=
0
this
.
ZuiMsg
.
CompensateMoney
=
0
this
.
getDetial
()
}
else
{
this
.
Error
(
res
.
data
.
message
)
...
...
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