|
|
@@ -13,166 +13,188 @@
|
|
|
@endif
|
|
|
|
|
|
|
|
|
- <div class="col-12" style="background: #fff;">
|
|
|
- <div class="row">
|
|
|
- <div class="col" v-if="isBeingFilterConditions">
|
|
|
- <label for="">
|
|
|
- <a :href="'{{url('rejected').'?paginate='}}'+filterParams.paginate"><span class="btn btn-warning text-dark">清除过滤条件</span></a>
|
|
|
- </label>
|
|
|
- </div>
|
|
|
- <table class="table table-sm table-bordered m-0">
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <span class="text-muted">每页显示记录:</span>
|
|
|
- </td>
|
|
|
- <td colspan="9">
|
|
|
- <select name="" id="setPaginate" class="tooltipTarget form-control-sm" style="vertical-align: middle"
|
|
|
- @change="setPaginate" v-model="filterParams.paginate">
|
|
|
- <option value="50">50条</option>
|
|
|
- <option value="100">100条</option>
|
|
|
- <option value="200">200条</option>
|
|
|
- <option value="500">500条</option>
|
|
|
- <option value="1000">1000条</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td class="text-muted">按条件过滤:</td>
|
|
|
- <td colspan="2">
|
|
|
- <label for="">时间:</label>
|
|
|
- <input type="date" name="created_at_start" class="form-control-sm tooltipTarget" style="width:140px"
|
|
|
- :class="filterParams.created_at_start?'bg-warning':''" v-model="filterParams.created_at_start"
|
|
|
- @keypress="created_at_startEntering" @change="created_at_startChange" title="选择显示指定日期的起始时间">
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <label for="">客户:</label>
|
|
|
- <input type="text" class="form-control-sm tooltipTarget" placeholder="查找"
|
|
|
- style="width:70px" @input="locateOwner" @keypress="owner_idEntering"
|
|
|
- title="输入关键词快速定位下拉列表,回车确定">
|
|
|
- <select name="owner_id" id="owner_id" class="form-control-sm tooltipTarget"
|
|
|
- :class="filterParams.owner_id?'bg-warning':''" v-model="filterParams.owner_id"
|
|
|
- title="选择要显示的客户" @change="owner_idChange">
|
|
|
- <option value="" selected>全部客户</option>
|
|
|
- <option v-for="owner in owners" :value="owner.id">@{{ owner.name }}</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <label for="">订单号:</label>
|
|
|
- <input type="text" class="form-control-sm tooltipTarget" placeholder="搜索订单号" name="order_number"
|
|
|
- :class="filterParams.order_number?'bg-warning':''" v-model="filterParams.order_number"
|
|
|
- @input="order_numberEntering" @keypress="submitFilterOnEnter" title="15天以内的支持模糊搜索,回车提交">
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <label for="">退回单号:</label>
|
|
|
- <input type="text" class="form-control-sm tooltipTarget" placeholder="搜索退回单号" name="logistic_number_return"
|
|
|
- :class="filterParams.logistic_number_return?'bg-warning':''"
|
|
|
- @input="logistic_number_returnEntering" @keypress="submitFilterOnEnter" title="15天以内的支持模糊搜索,回车提交">
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <label for="">原单单号:</label>
|
|
|
- <input type="text" class="form-control-sm tooltipTarget" placeholder="搜索原单单号" name="logistic_number"
|
|
|
- :class="filterParams.logistic_number?'bg-warning':''"
|
|
|
- @input="logistic_numberEntering" @keypress="submitFilterOnEnter" title="15天以内的支持模糊搜索,回车提交">
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <label for="">审核:</label>
|
|
|
- <select name="is_checked" class="form-control-sm" @change="is_checkedChange"
|
|
|
- :class="filterParams.is_checked?'bg-warning':''">
|
|
|
- <option value=""></option>
|
|
|
- <option value="1">已审核</option>
|
|
|
- <option value="0">未审核</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- <td width="16%"></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td ></td>
|
|
|
- <td colspan="2">
|
|
|
- <label for=""> </label>
|
|
|
- <input type="date" name="created_at_end" class="form-control-sm tooltipTarget" style="width:140px"
|
|
|
- :class="filterParams.created_at_end?'bg-warning':''"
|
|
|
- @keypress="created_at_endEntering" @change="created_at_endChange" title="选择显示指定日期的结束时间">
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <label for="">商品条码:</label>
|
|
|
- <input type="text" class="form-control-sm tooltipTarget" placeholder="包含该商品的退单" name="barcode_goods"
|
|
|
- :class="filterParams.barcode_goods?'bg-warning':''" title="可模糊匹配右边未填完的部分,按回车提交"
|
|
|
- @input="barcode_goodsEntering" @keypress="submitFilterOnEnter">
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <label for="">是否正品:</label>
|
|
|
- <select name="id_quality_label" id="id_quality_label" class="form-control-sm tooltipTarget"
|
|
|
- :class="filterParams.id_quality_label?'bg-warning':''"
|
|
|
- title="正品仅显示全部是正品的退单,但残次显示的是包含有残次的退单" @change="id_quality_labelChange">
|
|
|
- <option value="" selected></option>
|
|
|
- <option v-for="qualityLabel in qualityLabels" :value="qualityLabel.id">@{{ qualityLabel.name }}</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <label for="">寄件人手机:</label>
|
|
|
- <input type="text" class="form-control-sm tooltipTarget" name="mobile_sender"
|
|
|
- :class="filterParams.mobile_sender?'bg-warning':''"
|
|
|
- @input="mobile_senderEntering" @keypress="submitFilterOnEnter" title="输入完成敲回车提交">
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <label for="">审核批次号:</label>
|
|
|
- <input type="text" class="form-control-sm tooltipTarget" name="checked_numbers"
|
|
|
- :class="filterParams.checked_numbers?'bg-warning':''"
|
|
|
- @input="checked_numbersEntering" @keypress="submitFilterOnEnter" title="支持右位留空的模糊搜索">
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <label for="">是否入库:</label>
|
|
|
- <select name="is_loaded" id="is_loaded" class="form-control-sm"
|
|
|
- :class="filterParams.is_loaded?'bg-warning':''"
|
|
|
- title="" @change="is_loadedChange">
|
|
|
- <option value="" selected></option>
|
|
|
- <option value="1">是</option>
|
|
|
- <option value="0">否</option>
|
|
|
- <option value="null">无需入库</option>
|
|
|
- <option value="2">待推单</option>
|
|
|
- </select>
|
|
|
- </td>
|
|
|
- <td></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- <span class="text-muted">操作选定记录:</span>
|
|
|
- </td>
|
|
|
- <td colspan="9">
|
|
|
- @can('退货管理-审核')
|
|
|
- <span class="btn btn-sm" @click="checkAll" style="cursor: pointer"
|
|
|
- :class="[rejectedBills_checkBoxes.length>0?'btn-dark':'btn-outline-dark']">审核</span>
|
|
|
- @endcan
|
|
|
- @can('退货管理-编辑')
|
|
|
- <span class="btn btn-sm" @click="finishAll" style="cursor: pointer"
|
|
|
- :class="[rejectedBills_checkBoxes.length>0?'btn-dark':'btn-outline-dark']">完结</span>
|
|
|
- @endcan
|
|
|
- <select name="" id="setIsLoaded_batch" class="tooltipTarget form-control-sm" style="vertical-align: middle"
|
|
|
- @change="exportExcel" title="导出所有页将会以搜索条件得到的过滤结果,将其全部记录(每一页)导出"
|
|
|
- :class="[rejectedBills_checkBoxes.length>0?'btn-dark':'btn-outline-dark']">
|
|
|
- <option value="">导出Excel</option>
|
|
|
- <option value="1">导出勾选内容</option>
|
|
|
- <option value="2">导出所有页</option>
|
|
|
- </select>
|
|
|
- @can('退货管理-编辑')
|
|
|
- <select name="" id="setIsLoaded_batch" class="tooltipTarget form-control-sm" style="vertical-align: middle"
|
|
|
- title="将勾选记录的入库状态设定为是或否,仅对未完结状态的记录有效" @change="setIsLoaded_batch"
|
|
|
- :class="[rejectedBills_checkBoxes.length>0?'btn-dark':'btn-outline-dark']">
|
|
|
- <option value="">修改入库</option>
|
|
|
- <option value="1">设定为是</option>
|
|
|
- <option value="0">设定为否</option>
|
|
|
- <option value="null">无需入库</option>
|
|
|
- <option value="2">待推单</option>
|
|
|
- </select>
|
|
|
- @endcan
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
+ <div class="col-12" style="background: #fff;">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col" v-if="isBeingFilterConditions">
|
|
|
+ <label for="">
|
|
|
+ <a :href="'{{url('rejected').'?paginate='}}'+filterParams.paginate"><span class="btn btn-warning text-dark">清除过滤条件</span></a>
|
|
|
+ </label>
|
|
|
</div>
|
|
|
+ <table class="table table-sm table-bordered m-0">
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <span class="text-muted">每页显示记录:</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="9">
|
|
|
+ <select name="" id="setPaginate" class="tooltipTarget form-control-sm" style="vertical-align: middle"
|
|
|
+ @change="setPaginate" v-model="filterParams.paginate">
|
|
|
+ <option value="50">50条</option>
|
|
|
+ <option value="100">100条</option>
|
|
|
+ <option value="200">200条</option>
|
|
|
+ <option value="500">500条</option>
|
|
|
+ <option value="1000">1000条</option>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td class="text-muted">按条件过滤:</td>
|
|
|
+ <td colspan="2">
|
|
|
+ <label for="">时间:</label>
|
|
|
+ <input type="date" name="created_at_start" class="form-control-sm tooltipTarget" style="width:140px"
|
|
|
+ :class="filterParams.created_at_start?'bg-warning':''" v-model="filterParams.created_at_start"
|
|
|
+ @keypress="created_at_startEntering" @change="created_at_startChange" title="选择显示指定日期的起始时间">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <label for="">客户:</label>
|
|
|
+ <input type="text" class="form-control-sm tooltipTarget" placeholder="查找"
|
|
|
+ style="width:70px" @input="locateOwner" @keypress="owner_idEntering"
|
|
|
+ title="输入关键词快速定位下拉列表,回车确定">
|
|
|
+ <select name="owner_id" id="owner_id" class="form-control-sm tooltipTarget"
|
|
|
+ :class="filterParams.owner_id?'bg-warning':''" v-model="filterParams.owner_id"
|
|
|
+ title="选择要显示的客户" @change="owner_idChange">
|
|
|
+ <option value="" selected>全部客户</option>
|
|
|
+ <option v-for="owner in owners" :value="owner.id">@{{ owner.name }}</option>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <label for="">订单号:</label>
|
|
|
+ <input type="text" class="form-control-sm tooltipTarget" placeholder="搜索订单号" name="order_number"
|
|
|
+ :class="filterParams.order_number?'bg-warning':''" v-model="filterParams.order_number"
|
|
|
+ @input="order_numberEntering" @keypress="submitFilterOnEnter" title="15天以内的支持模糊搜索,回车提交">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <label for="">退回单号:</label>
|
|
|
+ <input type="text" class="form-control-sm tooltipTarget" placeholder="搜索退回单号" name="logistic_number_return"
|
|
|
+ :class="filterParams.logistic_number_return?'bg-warning':''"
|
|
|
+ @input="logistic_number_returnEntering" @keypress="submitFilterOnEnter" title="15天以内的支持模糊搜索,回车提交">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <label for="">原单单号:</label>
|
|
|
+ <input type="text" class="form-control-sm tooltipTarget" placeholder="搜索原单单号" name="logistic_number"
|
|
|
+ :class="filterParams.logistic_number?'bg-warning':''"
|
|
|
+ @input="logistic_numberEntering" @keypress="submitFilterOnEnter" title="15天以内的支持模糊搜索,回车提交">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <label for="">审核:</label>
|
|
|
+ <select name="is_checked" class="form-control-sm" @change="is_checkedChange"
|
|
|
+ :class="filterParams.is_checked?'bg-warning':''">
|
|
|
+ <option value=""></option>
|
|
|
+ <option value="1">已审核</option>
|
|
|
+ <option value="0">未审核</option>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ <td width="16%"></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td ></td>
|
|
|
+ <td colspan="2">
|
|
|
+ <label for=""> </label>
|
|
|
+ <input type="date" name="created_at_end" class="form-control-sm tooltipTarget" style="width:140px"
|
|
|
+ :class="filterParams.created_at_end?'bg-warning':''"
|
|
|
+ @keypress="created_at_endEntering" @change="created_at_endChange" title="选择显示指定日期的结束时间">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <label for="">商品条码:</label>
|
|
|
+ <input type="text" class="form-control-sm tooltipTarget" placeholder="包含该商品的退单" name="barcode_goods"
|
|
|
+ :class="filterParams.barcode_goods?'bg-warning':''" title="可模糊匹配右边未填完的部分,按回车提交"
|
|
|
+ @input="barcode_goodsEntering" @keypress="submitFilterOnEnter">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <label for="">是否正品:</label>
|
|
|
+ <select name="id_quality_label" id="id_quality_label" class="form-control-sm tooltipTarget"
|
|
|
+ :class="filterParams.id_quality_label?'bg-warning':''"
|
|
|
+ title="正品仅显示全部是正品的退单,但残次显示的是包含有残次的退单" @change="id_quality_labelChange">
|
|
|
+ <option value="" selected></option>
|
|
|
+ <option v-for="qualityLabel in qualityLabels" :value="qualityLabel.id">@{{ qualityLabel.name }}</option>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <label for="">寄件人手机:</label>
|
|
|
+ <input type="text" class="form-control-sm tooltipTarget" name="mobile_sender"
|
|
|
+ :class="filterParams.mobile_sender?'bg-warning':''"
|
|
|
+ @input="mobile_senderEntering" @keypress="submitFilterOnEnter" title="输入完成敲回车提交">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <label for="">审核批次号:</label>
|
|
|
+ <input type="text" class="form-control-sm tooltipTarget" name="checked_numbers"
|
|
|
+ :class="filterParams.checked_numbers?'bg-warning':''"
|
|
|
+ @input="checked_numbersEntering" @keypress="submitFilterOnEnter" title="支持右位留空的模糊搜索">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <label for="">是否入库:</label>
|
|
|
+ <select name="is_loaded" id="is_loaded" class="form-control-sm"
|
|
|
+ :class="filterParams.is_loaded?'bg-warning':''"
|
|
|
+ title="" @change="is_loadedChange">
|
|
|
+ <option value="" selected></option>
|
|
|
+ <option value="1">是</option>
|
|
|
+ <option value="0">否</option>
|
|
|
+ <option value="null">无需入库</option>
|
|
|
+ <option value="2">待推单</option>
|
|
|
+ </select>
|
|
|
+ </td>
|
|
|
+ <td></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <span class="text-muted">操作选定记录:</span>
|
|
|
+ </td>
|
|
|
+ <td colspan="9">
|
|
|
+ @can('退货管理-审核')
|
|
|
+ <span class="btn btn-sm" @click="checkAll" style="cursor: pointer"
|
|
|
+ :class="[rejectedBills_checkBoxes.length>0?'btn-dark':'btn-outline-dark']">审核</span>
|
|
|
+ @endcan
|
|
|
+ @can('退货管理-编辑')
|
|
|
+ <span class="btn btn-sm" @click="finishAll" style="cursor: pointer"
|
|
|
+ :class="[rejectedBills_checkBoxes.length>0?'btn-dark':'btn-outline-dark']">完结</span>
|
|
|
+ @endcan
|
|
|
+ {{-- <select name="" class="tooltipTarget form-control-sm" style="vertical-align: middle"--}}
|
|
|
+ {{-- @change="exportExcel" title="导出所有页将会以搜索条件得到的过滤结果,将其全部记录(每一页)导出"--}}
|
|
|
+ {{-- :class="[rejectedBills_checkBoxes.length>0?'btn-dark':'btn-outline-dark']">--}}
|
|
|
+ {{-- <option value="">导出Excel</option>--}}
|
|
|
+ {{-- <option value="1">导出勾选内容</option>--}}
|
|
|
+ {{-- <option value="2">导出所有页</option>--}}
|
|
|
+ {{-- </select>--}}
|
|
|
+ <span class="dropdown">
|
|
|
+ <button class="btn btn-outline-dark btn-sm form-control-sm dropdown-toggle tooltipTarget":class="[rejectedBills_checkBoxes.length>0?'btn-dark text-light':'']"
|
|
|
+ data-toggle="dropdown" title="导出所有页将会以搜索条件得到的过滤结果,将其全部记录(每一页)导出">
|
|
|
+ 导出Excel
|
|
|
+ </button>
|
|
|
+ <div class="dropdown-menu">
|
|
|
+ <a class="dropdown-item" @click="exportExcel(1)" href="javascript:">导出勾选内容</a>
|
|
|
+ <a class="dropdown-item" @click="exportExcel(2)" href="javascript:">导出所有页</a>
|
|
|
+ </div>
|
|
|
+ </span>
|
|
|
+ @can('退货管理-编辑')
|
|
|
+{{-- <select name="" class="tooltipTarget form-control-sm" style="vertical-align: middle"--}}
|
|
|
+{{-- title="将勾选记录的入库状态设定为是或否,仅对未完结状态的记录有效" @change="setIsLoaded_batch"--}}
|
|
|
+{{-- :class="[rejectedBills_checkBoxes.length>0?'btn-dark':'btn-outline-dark']">--}}
|
|
|
+{{-- <option value="">修改入库</option>--}}
|
|
|
+{{-- <option value="1">设定为是</option>--}}
|
|
|
+{{-- <option value="0">设定为否</option>--}}
|
|
|
+{{-- <option value="null">无需入库</option>--}}
|
|
|
+{{-- <option value="2">待推单</option>--}}
|
|
|
+{{-- </select>--}}
|
|
|
+ <span class="dropdown">
|
|
|
+ <button class="btn btn-outline-dark btn-sm form-control-sm dropdown-toggle tooltipTarget":class="[rejectedBills_checkBoxes.length>0?'btn-dark text-light':'']"
|
|
|
+ data-toggle="dropdown" title="将勾选记录的入库状态设定为是或否,仅对未完结状态的记录有效">
|
|
|
+ 修改入库
|
|
|
+ </button>
|
|
|
+ <div class="dropdown-menu">
|
|
|
+ <a class="dropdown-item" @click="setIsLoaded_batch(1)" href="javascript:">设定为是</a>
|
|
|
+ <a class="dropdown-item" @click="setIsLoaded_batch(0)" href="javascript:">设定为否</a>
|
|
|
+ <a class="dropdown-item" @click="setIsLoaded_batch('null')" href="javascript:">无需入库</a>
|
|
|
+ <a class="dropdown-item" @click="setIsLoaded_batch(2)" href="javascript:">待推单</a>
|
|
|
+ </div>
|
|
|
+ </span>
|
|
|
+ @endcan
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
|
|
|
|
|
|
- <table class="table table-striped table-sm table-bordered table-hover mt-3" style="background: #fff;">
|
|
|
+ <table class="table table-striped table-sm table-bordered table-hover mt-3" style="background: #fff;">
|
|
|
<tr>
|
|
|
<th>
|
|
|
<input type="checkbox" class="form-control-sm tooltipTarget" title="全选"
|
|
|
@@ -319,5 +341,5 @@
|
|
|
let exportExcelOnFilterParamsURL='{{url("rejected/exportExcelOnFilterParams")}}';
|
|
|
let csrfInput='@csrf';
|
|
|
</script>
|
|
|
- <script src="{{asset('js/singles/rejectedIndex200305.js')}}"></script>
|
|
|
+ <script src="{{asset('js/singles/rejectedIndex200310.js')}}"></script>
|
|
|
@endsection
|