Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 e83dd5f1
authored
May 30, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
价格自动减0.01 bug
1 parent
8755f264
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
src/views/beforeSale/editEquity.vue
src/views/claims/ghOrder.vue
src/views/claims/order.vue
src/views/beforeSale/editEquity.vue
View file @
e83dd5f
...
@@ -724,7 +724,6 @@ export default {
...
@@ -724,7 +724,6 @@ export default {
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
const
urlParam
=
this
.
$route
.
params
const
urlParam
=
this
.
$route
.
params
this
.
routeInfo
=
JSON
.
parse
(
decodeURIComponent
(
urlParam
.
id
))
this
.
routeInfo
=
JSON
.
parse
(
decodeURIComponent
(
urlParam
.
id
))
console
.
log
(
this
.
routeInfo
,
8889999
)
this
.
disabled
=
this
.
routeInfo
.
addOrEdit
==
'5'
this
.
disabled
=
this
.
routeInfo
.
addOrEdit
==
'5'
// 提单成功 - 修改
// 提单成功 - 修改
if
(
this
.
routeInfo
.
isSuper
!=
'true'
)
{
if
(
this
.
routeInfo
.
isSuper
!=
'true'
)
{
...
...
src/views/claims/ghOrder.vue
View file @
e83dd5f
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
computed
:
{
computed
:
{
totalPrice
()
{
totalPrice
()
{
let
total
=
this
.
serviceItemsList
.
reduce
(
function
(
prev
,
cur
)
{
let
total
=
this
.
serviceItemsList
.
reduce
(
function
(
prev
,
cur
)
{
return
prev
+
parseInt
(
cur
.
approveAmount
*
100
)
return
prev
+
(
cur
.
approveAmount
*
100
)
},
0
)
},
0
)
return
total
/
100
return
total
/
100
}
}
...
@@ -122,7 +122,10 @@ export default {
...
@@ -122,7 +122,10 @@ export default {
for
(
let
key
in
this
.
accountForm
)
{
for
(
let
key
in
this
.
accountForm
)
{
this
.
accountForm
[
key
]
=
res
[
key
]
this
.
accountForm
[
key
]
=
res
[
key
]
}
}
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
accountType
!==
1
)
{
this
.
accountForm
.
accountType
=
0
this
.
accountForm
.
objectType
=
0
}
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accountType
=
0
this
.
serviceItemsList
=
serviceItemsList
this
.
serviceItemsList
=
serviceItemsList
// 以下是文件数据
// 以下是文件数据
...
...
src/views/claims/order.vue
View file @
e83dd5f
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
computed
:
{
computed
:
{
totalPrice
()
{
totalPrice
()
{
let
total
=
this
.
serviceItemsList
.
reduce
(
function
(
prev
,
cur
)
{
let
total
=
this
.
serviceItemsList
.
reduce
(
function
(
prev
,
cur
)
{
return
prev
+
parseInt
(
cur
.
approveAmount
*
100
)
return
prev
+
(
cur
.
approveAmount
*
100
)
},
0
)
},
0
)
return
total
/
100
return
total
/
100
}
}
...
@@ -122,7 +122,10 @@ export default {
...
@@ -122,7 +122,10 @@ export default {
for
(
let
key
in
this
.
accountForm
)
{
for
(
let
key
in
this
.
accountForm
)
{
this
.
accountForm
[
key
]
=
res
[
key
]
this
.
accountForm
[
key
]
=
res
[
key
]
}
}
if
(
this
.
accountForm
.
accountType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
accountType
!==
1
)
{
this
.
accountForm
.
accountType
=
0
this
.
accountForm
.
objectType
=
0
}
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accountType
=
0
if
(
this
.
accountForm
.
objectType
!==
1
)
this
.
accountForm
.
accountType
=
0
this
.
serviceItemsList
=
serviceItemsList
this
.
serviceItemsList
=
serviceItemsList
// 以下是文件数据
// 以下是文件数据
...
...
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