Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
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
dc6ae536
authored
Mar 25, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整后台下单列表
parent
836e6902
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
public/js/add_order.js
public/js/add_order.js
View file @
dc6ae536
...
...
@@ -804,6 +804,8 @@
var
cart_ids
=
[];
if
(
len
>
0
)
{
var
buyer
=
''
;
// 购物车列表
for
(
var
i
=
0
;
i
<
len
;
i
++
)
{
html
+=
'<tr data-cid="'
+
list
[
i
].
cart_id
+
'" data-type="'
+
list
[
i
].
type
+
'" min_buy="'
+
list
[
i
].
min_buy
+
'">'
+
...
...
@@ -823,10 +825,13 @@
if
(
goods_type
==
1
)
{
html
+=
'<td>'
+
list
[
i
].
supplier_name
+
'</td>'
;
buyer
=
list
[
i
].
buyer_id
!=
'0'
?
list
[
i
].
buyer_id
:
''
;
html
+=
'<td>'
+
buyer
+
'</td>'
;
html
+=
'<td>'
+
list
[
i
].
batch
+
'</td>'
;
}
html
+=
'<td>'
+
list
[
i
].
buyer_id
+
'</td>'
;
html
+=
'<td>'
+
list
[
i
].
batch
+
'</td>'
;
html
+=
'<td><a class="btn btn-danger btn-xs remove-goods">删除</a></td>'
+
'</tr>'
;
...
...
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