Commit 30c3a842 by 朱继来

联营列表添加搜索

parent c8e7a192
Showing with 16 additions and 1 deletions
......@@ -259,6 +259,19 @@
</dl>
@endif
<dl>
<dt>业务类型:</dt>
<dd>
<select id="business_type" name="business_type" class="form-control business_type selectpicker" title="全部" multiple>
@if (Config('params.business_type'))
@foreach (Config('params.business_type') as $k=>$v)
<option value="{{$k}}">{{$v}}</option>
@endforeach
@endif
</select>
</dd>
</dl>
@if (in_array('check_test_order', $userPerms))
<dl>
<dt></dt>
......@@ -520,12 +533,13 @@
var is_manager_audit = "{{$condition['is_manager_audit']}}";
var manager = "{{$role}}";
var cc_sales = eval('{!! isset($cc_sales) ? json_encode($cc_sales) : '' !!}'); // 抄送人集合
var business_type = "{{$condition['business_type']}}";
if (test_order) {
$('input[name=test_order]').attr('checked', true);
}
$(".order_status, .order_payment_mode, .order_source_pf, .is_manager_audit").selectpicker({
$(".order_status, .order_payment_mode, .order_source_pf, .is_manager_audit, .business_type").selectpicker({
actionsBox:true, //在下拉选项添加选中所有和取消选中的按钮
countSelectedText:"已选中{0}项",
selectedTextFormat:"count > 5",
......@@ -545,6 +559,7 @@
$('#erp_order_id').selectpicker('val', erp_order_id);
$('#is_new_order').selectpicker('val', is_new_order);
$('.is_manager_audit').selectpicker('val', is_manager_audit.split(',')).trigger("change");
$('.business_type').selectpicker('val', business_type.split(',')).trigger("change");
$.lie.order.index();
$.lie.track.orderTrack();
......
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