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
2fda2385
authored
Jun 12, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
temp
parent
c73337b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
public/js/add_order.js
public/js/standardBrand.js
public/js/add_order.js
View file @
2fda2385
...
...
@@ -879,11 +879,11 @@
// list = list.reverse();
// 购物车列表
for
(
var
i
=
len
-
1
;
i
>=
0
;
i
--
)
{
html
+=
'<tr data-cid="'
+
list
[
i
].
cart_id
+
'" data-type="'
+
list
[
i
].
type
+
'" min_buy="'
+
list
[
i
].
min_buy
+
'" data-sup_name="'
+
list
[
i
].
supplier_name
+
'" data-sup_id="'
+
list
[
i
].
supplier_id
+
'">'
+
html
+=
'<tr data-cid="'
+
list
[
i
].
cart_id
+
'" data-type="'
+
list
[
i
].
type
+
'" min_buy="'
+
list
[
i
].
min_buy
+
'" data-sup_name="'
+
list
[
i
].
supplier_name
+
'" data-sup_id="'
+
list
[
i
].
supplier_id
+
'"
data-brand_id="'
+
list
[
i
].
brand_id
+
'"
>'
+
'<td>'
+
(
len
-
i
)
+
'</td>'
+
'<td class="goods_id">'
+
list
[
i
].
goods_id
+
'</td>'
+
'<td>'
+
list
[
i
].
goods_name
+
'</td>'
+
'<td
class="brand_name"
>'
+
list
[
i
].
brand_name
+
'</td>'
;
'<td>'
+
list
[
i
].
brand_name
+
'</td>'
;
if
(
goods_type
==
1
)
{
// 联营添加标准品牌列
if
(
list
[
i
].
standard_brand_name
)
{
...
...
public/js/standardBrand.js
View file @
2fda2385
...
...
@@ -49,7 +49,7 @@ console.log(data)
$
(
'.standard_brand_name'
).
val
(
''
);
renderTable
();
// 重载表格
var
curr_brand_id
=
$
(
this
).
parents
(
'tr'
).
find
(
'.
brand_id'
);
var
curr_brand_id
=
$
(
this
).
parents
(
'tr'
).
data
(
'
brand_id'
);
layer
.
open
({
type
:
1
,
...
...
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