Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_admin
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
d794091d
authored
Dec 01, 2022
by
孙龙
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://git.ichunt.net/semour/semour_admin
parents
2c7eb3c3
e20b8e73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
public/assets/js/order/index.js
public/assets/js/order/index.js
View file @
d794091d
...
@@ -57,7 +57,15 @@ layui.use(['form', 'table', 'laydate'], function () {
...
@@ -57,7 +57,15 @@ layui.use(['form', 'table', 'laydate'], function () {
{
field
:
'remarks'
,
title
:
translation
.
remarks
,
width
:
120
},
{
field
:
'remarks'
,
title
:
translation
.
remarks
,
width
:
120
},
{
{
field
:
'type_cn'
,
title
:
translation
.
type_cn
,
width
:
120
,
templet
(
d
)
{
field
:
'type_cn'
,
title
:
translation
.
type_cn
,
width
:
120
,
templet
(
d
)
{
return
'<span>'
+
d
.
type_cn
+
'</span><div class="hide-input"><select class="input-style return_type" lay-ignore=""><option>'
+
translation
.
all
+
'</option><option value="1">'
+
translation
.
refund_of_returned_goods
+
'</option><option value="2">'
+
translation
.
refund_only
+
'</option></select></div>'
var
html
=
''
;
if
(
d
.
type_cn
==
translation
.
refund_of_returned_goods
)
{
html
=
'<select class="input-style return_type" lay-ignore=""><option value="1" selected>'
+
translation
.
refund_of_returned_goods
+
'</option><option value="2">'
+
translation
.
refund_only
+
'</option></select>'
;
}
else
if
(
d
.
type_cn
==
translation
.
refund_only
)
{
html
=
'<select class="input-style return_type" lay-ignore=""><option value="1">'
+
translation
.
refund_of_returned_goods
+
'</option><option value="2" selected>'
+
translation
.
refund_only
+
'</option></select>'
;
}
else
{
html
=
'<select class="input-style return_type" lay-ignore=""><option value="1">'
+
translation
.
refund_of_returned_goods
+
'</option><option value="2">'
+
translation
.
refund_only
+
'</option></select>'
;
}
return
'<span>'
+
d
.
type_cn
+
'</span><div class="hide-input">'
+
html
+
'</div>'
}
}
},
},
{
{
...
...
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