Commit ab14ff13 by 杨树贤

sku列表

parent cf20aeef
Showing with 89 additions and 91 deletions
...@@ -36,108 +36,106 @@ ...@@ -36,108 +36,106 @@
</div> </div>
</div> </div>
<div class="layui-collapse"> <div class="layui-collapse">
@if(checkPerm('ViewFilter'))
<!--通用的筛选--> <!--通用的筛选-->
<form class="layui-form" style="margin-top: 15px"> <form class="layui-form" style="margin-top: 15px">
<?php <?php
$routerName = explode('/', request()->path())[1]; $routerName = explode('/', request()->path())[1];
?> ?>
<div class="layui-row"> <div class="layui-row">
<div class="layui-inline"> <div class="layui-inline">
<label class="layui-form-label">商品型号</label> <label class="layui-form-label">商品型号</label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<input type="text" value="" name="goods_name/condition" placeholder="请输入型号" autocomplete="off" <input type="text" value="" name="goods_name/condition" placeholder="请输入型号" autocomplete="off"
class="layui-input"> class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">品牌</label>
<div class="layui-input-inline">
<div id="brandSelect" style="width: 155px"></div>
<input type="hidden" id="brand_id_condition"
select_value="{{json_encode($brandSelectValue)}}"
name="brand_id/condition" value="{{request()->get('brand_id/condition') or ''}}"
class="layui-input"/>
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">供应商编码</label>
<div class="layui-input-inline">
<input type="text" name="canal/condition" placeholder="请输入供应商编码" autocomplete="off"
class="layui-input" value="{{request()->input('supplier_code')}}">
</div>
</div>
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('goods_status/condition','SKU状态',request()->get('goods_status/condition'),[1=>'上架',3=>'下架']) !!}
</div> </div>
<div class="layui-inline"> </div>
@inject('statusPresenter','App\Presenters\StatusPresenter') <div class="layui-inline">
{!! $statusPresenter->render('goods_label/condition','SKU显示类型','',config('field.SkuGoodsLabel')) !!} <label class="layui-form-label">品牌</label>
<div class="layui-input-inline">
<div id="brandSelect" style="width: 155px"></div>
<input type="hidden" id="brand_id_condition"
select_value="{{json_encode($brandSelectValue)}}"
name="brand_id/condition" value="{{request()->get('brand_id/condition') or ''}}"
class="layui-input"/>
</div> </div>
<div class="layui-inline"> </div>
@inject('statusPresenter','App\Presenters\StatusPresenter') <div class="layui-inline">
{!! $statusPresenter->render('tags/condition','是否精选',request()->get('tags/condition'),[1=>'是',0=>'否']) !!} <label class="layui-form-label">供应商编码</label>
<div class="layui-input-inline">
<input type="text" name="canal/condition" placeholder="请输入供应商编码" autocomplete="off"
class="layui-input" value="{{request()->input('supplier_code')}}">
</div> </div>
{{-- <div class="layui-inline">--}} </div>
{{-- @inject('statusPresenter','App\Presenters\StatusPresenter')--}} <div class="layui-inline">
{{-- {!! $statusPresenter->render('status/condition','是否过期',request()->get('status/condition'),[0=>'是',1=>'否']) !!}--}} @inject('statusPresenter','App\Presenters\StatusPresenter')
{{-- </div>--}} {!! $statusPresenter->render('goods_status/condition','SKU状态',request()->get('goods_status/condition'),[1=>'上架',3=>'下架']) !!}
</div>
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('goods_label/condition','SKU显示类型','',config('field.SkuGoodsLabel')) !!}
</div>
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('tags/condition','是否精选',request()->get('tags/condition'),[1=>'是',0=>'否']) !!}
</div>
{{-- <div class="layui-inline">--}}
{{-- @inject('statusPresenter','App\Presenters\StatusPresenter')--}}
{{-- {!! $statusPresenter->render('status/condition','是否过期',request()->get('status/condition'),[0=>'是',1=>'否']) !!}--}}
{{-- </div>--}}
<div class="layui-inline"> <div class="layui-inline">
<label class="layui-form-label">起订量库存</label> <label class="layui-form-label">起订量库存</label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<select name="moq_stock_compare"> <select name="moq_stock_compare">
<option value="">请选择</option> <option value="">请选择</option>
<option value="lt">起订量 < 库存</option> <option value="lt">起订量 < 库存</option>
<option value="gt">起订量 > 库存</option> <option value="gt">起订量 > 库存</option>
<option value="e">起订量 = 库存</option> <option value="e">起订量 = 库存</option>
</select> </select>
</div>
</div> </div>
<div class="layui-inline"> </div>
<label class="layui-form-label">库存数量</label> <div class="layui-inline">
<div class="layui-input-inline"> <label class="layui-form-label">库存数量</label>
<div class="layui-row"> <div class="layui-input-inline">
<div class="layui-col-xs6" style="width: 74px"> <div class="layui-row">
<select name="stock_compare_type"> <div class="layui-col-xs6" style="width: 74px">
<option value="">请选择</option> <select name="stock_compare_type">
<option value="gt"> ></option> <option value="">请选择</option>
<option value="lt"> <</option> <option value="gt"> ></option>
<option value="eq"> =</option> <option value="lt"> <</option>
</select> <option value="eq"> =</option>
</div> </select>
<div class="layui-col-xs6" style="width: 84px;"> </div>
<input type="text" value="" name="stock_num" placeholder="数量" autocomplete="off" <div class="layui-col-xs6" style="width: 84px;">
class="layui-input"> <input type="text" value="" name="stock_num" placeholder="数量" autocomplete="off"
</div> class="layui-input">
</div> </div>
</div> </div>
</div> </div>
<div class="layui-inline">
@inject('statusPresenter','App\Presenters\StatusPresenter')
{!! $statusPresenter->render('encoded/condition','上传人',request()->get('encoded/condition'),
$userCodes) !!}
</div>
<div class="layui-inline" style="width: 600px">
@inject('transformableTimeIntervalPresenter','App\Presenters\Filter\TransformableTimeIntervalPresenter')
{!! $transformableTimeIntervalPresenter->render(['update_time'=>'更新时间','create_time'=>'上传时间']) !!}
</div>
</div> </div>
<div class="layui-row" style="margin-top:10px;margin-bottom: 10px;margin-left: 20px;"> <div class="layui-inline">
<button class="layui-btn layui-btn-sm layui-btn load" id="getSupplierListButton" lay-submit="" @inject('statusPresenter','App\Presenters\StatusPresenter')
lay-filter="load">查询 {!! $statusPresenter->render('encoded/condition','上传人',request()->get('encoded/condition'),
</button> $userCodes) !!}
<button type="button" class="layui-btn layui-btn-sm layui-btn" lay-submit="" lay-filter="reset">重置 </div>
</button>
<button type="button" class="layui-btn layui-btn-sm layui-btn hide_filter_type">隐藏罗盘</button> <div class="layui-inline" style="width: 600px">
<button type="button" class="layui-btn layui-btn-sm layui-btn show_filter_type" @inject('transformableTimeIntervalPresenter','App\Presenters\Filter\TransformableTimeIntervalPresenter')
style="display: none">显示罗盘 {!! $transformableTimeIntervalPresenter->render(['update_time'=>'更新时间','create_time'=>'上传时间']) !!}
</button>
</div> </div>
</form> </div>
@endif <div class="layui-row" style="margin-top:10px;margin-bottom: 10px;margin-left: 20px;">
<button class="layui-btn layui-btn-sm layui-btn load" id="getSupplierListButton" lay-submit=""
lay-filter="load">查询
</button>
<button type="button" class="layui-btn layui-btn-sm layui-btn" lay-submit="" lay-filter="reset">重置
</button>
<button type="button" class="layui-btn layui-btn-sm layui-btn hide_filter_type">隐藏罗盘</button>
<button type="button" class="layui-btn layui-btn-sm layui-btn show_filter_type"
style="display: none">显示罗盘
</button>
</div>
</form>
</div> </div>
<script> <script>
//一进来就去获取统计数据 //一进来就去获取统计数据
......
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