Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fd203a47
authored
Jun 27, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js问题
parent
0fe97ee4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
resources/views/script/SkuListScript.blade.php
resources/views/script/SkuListScript.blade.php
View file @
fd203a47
...
@@ -76,7 +76,12 @@
...
@@ -76,7 +76,12 @@
field
:
'cn_price'
,
title
:
'人民币成本价(¥)'
,
align
:
'left'
,
width
:
150
,
templet
:
function
(
data
)
{
field
:
'cn_price'
,
title
:
'人民币成本价(¥)'
,
align
:
'left'
,
width
:
150
,
templet
:
function
(
data
)
{
if
(
data
.
ladder_price
)
{
if
(
data
.
ladder_price
)
{
let
ladder
=
data
.
ladder_price
[
data
.
ladder_price
.
length
-
1
];
let
ladder
=
data
.
ladder_price
[
data
.
ladder_price
.
length
-
1
];
return
'
<
div
class
=
"view_ladder_price_cn layui-row"
><
div
class
=
"layui-col-xs5"
><
span
>
'+ (ladder.purchases) + '
+<
/span></
div
><
div
class
=
"layui-col-xs7"
><
span
>
¥
' + (ladder.price_cn) + '
<
/span></
div
><
/div>'
;
if
(
ladder
)
{
return
'
<
div
class
=
"view_ladder_price_cn layui-row"
><
div
class
=
"layui-col-xs5"
><
span
>
'+ (ladder.purchases) + '
+<
/span></
div
><
div
class
=
"layui-col-xs7"
><
span
>
¥
' + (ladder.price_cn) + '
<
/span></
div
><
/div>'
;
}
else
{
return
''
;
}
}
}
return
''
;
return
''
;
}
}
...
...
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