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
6371cca1
authored
Oct 09, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_sample_20190925' into development
parents
303a91ab
867b00a7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
1 deletions
public/js/add_order.js
resources/views/addOnline/content.blade.php
resources/views/detail/content.blade.php
public/js/add_order.js
View file @
6371cca1
...
...
@@ -265,6 +265,7 @@
$
(
'.sku-info'
).
show
();
var
data
=
resp
.
data
;
var
status_val
=
''
;
$
(
'.goods_name'
).
text
(
data
.
goods_name
);
...
...
@@ -273,6 +274,14 @@
$
(
'.stock'
).
text
(
data
.
goods_number
);
$
(
'.moq'
).
text
(
data
.
min_buy
);
$
(
'.mpq'
).
text
(
data
.
min_mpq
);
if
(
data
.
self_supplier_type
==
1
){
$
(
'.self_supplier_type'
).
text
(
'自采'
);
}
else
if
(
data
.
self_supplier_type
==
2
){
$
(
'.self_supplier_type'
).
text
(
'立创'
);
}
else
{
$
(
'.self_supplier_type'
).
text
(
'无'
);
}
// if (goods_type == 1) {
// var status = data.goods_status;
...
...
resources/views/addOnline/content.blade.php
View file @
6371cca1
...
...
@@ -294,6 +294,16 @@
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-6"
>
<div
class=
"form-group"
>
<span>
自采标记:
</span>
<span
class=
"self_supplier_type"
></span>
</div>
</div>
</div>
</div>
<div
class=
"sku-info-right table-responsive"
>
...
...
resources/views/detail/content.blade.php
View file @
6371cca1
...
...
@@ -475,6 +475,7 @@
@if ($role != 12
&&
$role != 7)
<th>
供应商
</th>
@endif
<th>
自采标记
</th>
@if ($order_info['order_goods_type'] == 1)
<th>
生产跟踪
</th>
...
...
@@ -523,10 +524,23 @@
@if ($order_info['order_goods_type'] == 1)
<td><a
class=
"order-track"
data-rid=
"{{$v['rec_id']}}"
>
{{ App\Http\Controllers\getLastTrack($v['rec_id']) }}
</a></td>
@endif
@if ($action_name == 'changeOrder'
&&
count($order_items_info) > 1
&&
in_array($order_info['status'], [1, 2]))
<td><a
class=
"btn btn-danger deletegoods"
href=
"javascript:;"
data-id=
"{{$v['rec_id']}}"
>
删除
</a></td>
@endif
<td>
@if($v['self_supplier_type'] == 1)
自采
@elseif($v['self_supplier_type'] == 2)
立创
@else
无
@endif
</td>
</tr>
@endforeach
@endif
...
...
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