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
366ed250
authored
Dec 01, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Order:修改售后类型显示错误
parent
985c6cd7
Show 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 @
366ed250
...
...
@@ -57,7 +57,15 @@ layui.use(['form', 'table', 'laydate'], function () {
{
field
:
'remarks'
,
title
:
translation
.
remarks
,
width
:
120
},
{
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