Commit 867b00a7 by 朱继来

Merge branch 'master' of http://119.23.72.7/zhujilai/Order into zjl_sample_20190925

parents 634249ed 01852eb3
...@@ -265,6 +265,7 @@ ...@@ -265,6 +265,7 @@
$('.sku-info').show(); $('.sku-info').show();
var data = resp.data; var data = resp.data;
var status_val = ''; var status_val = '';
$('.goods_name').text(data.goods_name); $('.goods_name').text(data.goods_name);
...@@ -274,6 +275,14 @@ ...@@ -274,6 +275,14 @@
$('.moq').text(data.min_buy); $('.moq').text(data.min_buy);
$('.mpq').text(data.min_mpq); $('.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) { // if (goods_type == 1) {
// var status = data.goods_status; // var status = data.goods_status;
// } else { // } else {
......
...@@ -294,6 +294,16 @@ ...@@ -294,6 +294,16 @@
</div> </div>
</div> </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>
<div class="sku-info-right table-responsive"> <div class="sku-info-right table-responsive">
......
...@@ -475,6 +475,7 @@ ...@@ -475,6 +475,7 @@
@if ($role != 12 && $role != 7) @if ($role != 12 && $role != 7)
<th>供应商</th> <th>供应商</th>
@endif @endif
<th>自采标记</th>
@if ($order_info['order_goods_type'] == 1) @if ($order_info['order_goods_type'] == 1)
<th>生产跟踪</th> <th>生产跟踪</th>
...@@ -527,6 +528,19 @@ ...@@ -527,6 +528,19 @@
@if ($action_name == 'changeOrder' && count($order_items_info) > 1 && in_array($order_info['status'], [1, 2])) @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> <td><a class="btn btn-danger deletegoods" href="javascript:;" data-id="{{$v['rec_id']}}">删除</a></td>
@endif @endif
<td>
@if($v['self_supplier_type'] == 1)
自采
@elseif($v['self_supplier_type'] == 2)
立创
@else
@endif
</td>
</tr> </tr>
@endforeach @endforeach
@endif @endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment