Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
549c2c9e
Commit
549c2c9e
authored
Oct 12, 2019
by
季圣华
Browse files
解决商品信息展示的bug
parent
f90aa299
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/materials/material.html
View file @
549c2c9e
...
...
@@ -469,18 +469,20 @@
res
=
value
;
}
else
{
var
ps
=
rec
.
pricestrategy
;
var
arr
=
JSON
.
parse
(
ps
);
var
basic
=
""
;
if
(
type
==
"
lowprice
"
)
{
basic
=
arr
[
0
].
basic
.
LowPrice
;
}
else
if
(
type
==
"
presetpriceone
"
)
{
basic
=
arr
[
0
].
basic
.
PresetPriceOne
;
}
else
if
(
type
==
"
presetpricetwo
"
)
{
basic
=
arr
[
0
].
basic
.
PresetPriceTwo
;
}
else
if
(
type
==
"
retailprice
"
)
{
basic
=
arr
[
0
].
basic
.
RetailPrice
;
if
(
ps
)
{
var
arr
=
JSON
.
parse
(
ps
);
var
basic
=
""
;
if
(
type
==
"
lowprice
"
)
{
basic
=
arr
[
0
].
basic
.
LowPrice
;
}
else
if
(
type
==
"
presetpriceone
"
)
{
basic
=
arr
[
0
].
basic
.
PresetPriceOne
;
}
else
if
(
type
==
"
presetpricetwo
"
)
{
basic
=
arr
[
0
].
basic
.
PresetPriceTwo
;
}
else
if
(
type
==
"
retailprice
"
)
{
basic
=
arr
[
0
].
basic
.
RetailPrice
;
}
res
=
basic
;
}
res
=
basic
;
}
return
res
;
}
...
...
Write
Preview
Supports
Markdown
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