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 0b14d1c4
authored
May 24, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
价格错误
1 parent
591f7c07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
src/views/serviceConfig/addService.vue
src/views/serviceConfig/addService.vue
View file @
0b14d1c
...
@@ -76,10 +76,14 @@
...
@@ -76,10 +76,14 @@
</div>
</div>
</
template
>
</
template
>
<div
class=
"footer-btn"
>
<div
class=
"footer-btn"
>
<el-button
@
click=
"jumpListPage"
>
取消
</el-button>
<
template
v-if=
"firstPage"
>
<el-button
type=
"primary"
@
click=
"firstPage = true"
>
上一步
</el-button>
<el-button
@
click=
"jumpListPage"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"nextStep"
>
下一步
</el-button>
<el-button
type=
"primary"
@
click=
"nextStep"
>
下一步
</el-button>
<el-button
type=
"primary"
@
click=
"commit"
>
提交
</el-button>
</
template
>
<
template
v-else
>
<el-button
type=
"primary"
@
click=
"firstPage = true"
>
上一步
</el-button>
<el-button
type=
"primary"
@
click=
"commit"
>
提交
</el-button>
</
template
>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -296,11 +300,11 @@ export default {
...
@@ -296,11 +300,11 @@ export default {
let
{
priceGrade
,
priceCoefficient
,
minPrice
,
maxPrice
}
=
ele
let
{
priceGrade
,
priceCoefficient
,
minPrice
,
maxPrice
}
=
ele
salePeriodData
.
forEach
(
element
=>
{
salePeriodData
.
forEach
(
element
=>
{
let
{
id
,
servicePeriod
,
standardSalesCost
,
standardShelfCost
}
=
element
let
{
id
,
servicePeriod
,
standardSalesCost
,
standardShelfCost
}
=
element
minP
rice
=
NP
.
times
(
minPrice
||
0
,
100
)
let
min_p
rice
=
NP
.
times
(
minPrice
||
0
,
100
)
maxP
rice
=
NP
.
times
(
maxPrice
||
0
,
100
)
let
max_p
rice
=
NP
.
times
(
maxPrice
||
0
,
100
)
standardSalesCost
=
NP
.
times
(
standardSalesCost
||
0
,
100
)
standardSalesCost
=
NP
.
times
(
standardSalesCost
||
0
,
100
)
standardShelfCost
=
NP
.
times
(
standardShelfCost
||
0
,
100
)
standardShelfCost
=
NP
.
times
(
standardShelfCost
||
0
,
100
)
_gradeConfigList
.
push
({
id
,
priceGrade
,
priceCoefficient
,
minPrice
,
maxP
rice
,
servicePeriod
,
standardSalesCost
,
standardShelfCost
})
_gradeConfigList
.
push
({
id
,
priceGrade
,
priceCoefficient
,
minPrice
:
min_price
,
maxPrice
:
max_p
rice
,
servicePeriod
,
standardSalesCost
,
standardShelfCost
})
})
})
})
})
let
_gradeObj
=
{
let
_gradeObj
=
{
...
...
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