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
44f585b3
authored
Jun 28, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整审核新增商品
parent
a52c7b95
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletions
public/js/goods.js
public/js/goods.js
View file @
44f585b3
...
...
@@ -95,7 +95,7 @@
var
order_item
=
data
.
item
;
// 当前新增商品信息
var
sup
=
order_item
.
canal
?
order_item
.
supplier_id
+
'.'
+
order_item
.
canal
:
order_item
.
supplier_id
;
html
+=
'<tr data-sup="'
+
sup
+
'">\
html
+=
'<tr data-sup="'
+
sup
+
'"
data-brand_name="'
+
order_item
.
brand_name
+
'"
>\
<td>'
+
curr_no
+
'</td>\
<td>\
<input type="hidden" name="change_info['
+
curr_no
+
'][supplier_id]" value="'
+
order_item
.
supplier_id
+
'">\
...
...
@@ -107,6 +107,26 @@
<p>'
+
order_item
.
goods_name
+
'</p>\
</td>\
<td>\
<input class="change_brand_id" type="hidden" name="change_info['
+
curr_no
+
'][brand_id]" value="'
+
order_item
.
brand_id
+
'">\
<p>'
+
order_item
.
brand_name
+
'</p>\
</td>'
;
if
(
order_item
.
standard_brand_name
)
{
html
+=
'<td>\
<input class="change_standard_brand_id" type="hidden" name="change_info['
+
curr_no
+
'][standard_brand_id]" value="'
+
order_item
.
standard_brand_id
+
'">\
<input class="change_standard_brand_name" type="hidden" name="change_info['
+
curr_no
+
'][standard_brand_name]" value="'
+
order_item
.
standard_brand_name
+
'">\
<p>'
+
order_item
.
standard_brand_name
+
'</p>\
</td>'
;
}
else
{
html
+=
'<td>\
<input class="change_standard_brand_id" type="hidden" name="change_info['
+
curr_no
+
'][standard_brand_id]">\
<input class="change_standard_brand_name" type="text" name="change_info['
+
curr_no
+
'][standard_brand_name]" readonly>\
<i class="fa fa-exclamation-triangle fa-2x select-standard-brand" aria-hidden="true" data-type=2></i>\
</td>'
;
}
html
+=
'<td>\
<input class="only_number num change_goods_number" name="change_info['
+
curr_no
+
'][goods_number]" value="'
+
order_item
.
goods_number
+
'">\
</td>\
<td>\
...
...
@@ -276,6 +296,8 @@
<input class="change_goods_name" type="hidden" name="change_info['
+
curr_no
+
'][goods_name]" value="'
+
add_goods_name
+
'">\
<p>'
+
add_goods_name
+
'</p>\
</td>\
<td></td>\
<td></td>\
<td>\
<input class="only_number num change_goods_number" name="change_info['
+
curr_no
+
'][goods_number]" value="'
+
add_goods_number
+
'">\
</td>\
...
...
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