|
|
@@ -2,83 +2,85 @@
|
|
|
|
|
|
@section('content')
|
|
|
@component('order.index.menu')@endcomponent
|
|
|
- <div id="list" class="d-none">
|
|
|
- <form method="GET" action="{{url('order/index/delivering')}}" id="form">
|
|
|
- <table class="table table-sm table-bordered text-nowrap mb-0 ml-3">
|
|
|
- <tr v-if="isBeingFilterConditions">
|
|
|
- <td colspan="10">
|
|
|
- <div class="col" style="padding:0">
|
|
|
- <a href="{{url('order/index/delivering')}}"><span class="btn btn-warning text-dark">清除过滤条件</span></a>
|
|
|
- </div></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="10">
|
|
|
- <select name="paginate" v-model="filterData.paginate" class="tooltipTarget form-control-sm" style="vertical-align: middle" @change="submit">
|
|
|
- <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 style="width: 300px">
|
|
|
- <select name="codename_c" v-model="filterData.codename_c" class="form-control form-control-sm" style="vertical-align: middle;max-width: 100px" @change="submit">
|
|
|
- <option value="" class="text-secondary">订单状态</option>
|
|
|
- <option v-for="code in codes" :value="code.code" class="font-weight-bold">@{{ code.codename_c }}</option>
|
|
|
- </select></td>
|
|
|
- <td style="width: 300px">
|
|
|
- <input style="max-width: 200px" type="date" name="ordertime_start" class="form-control form-control-sm tooltipTarget" title="选择显示指定日期的起始时间"
|
|
|
- v-model="filterData.ordertime_start" :class="filterData.ordertime_start?'bg-warning':''">
|
|
|
- </td>
|
|
|
- <td style="width: 300px">
|
|
|
- <input style="max-width: 200px" type="date" class=" form-control form-control-sm tooltipTarget" name="ordertime_end" title="选择显示指定日期的结束时间"
|
|
|
- v-model="filterData.ordertime_end" :class="filterData.ordertime_end?'bg-warning':''" >
|
|
|
- </td>
|
|
|
- <td style="width: 300px">
|
|
|
- <input style="max-width: 200px" name="carriername" v-model="filterData.carriername" class="form-control form-control-sm tooltipTarget" placeholder="承运人" :class="filterData.carriername?'bg-warning':''">
|
|
|
- </td>
|
|
|
- <td style="width: 300px">
|
|
|
- <input style="max-width: 200px" name="issuepartyname" v-model="filterData.issuepartyname" class="form-control form-control-sm tooltipTarget" placeholder="店铺名称" :class="filterData.issuepartyname?'bg-warning':''">
|
|
|
- </td>
|
|
|
- <td colspan="5"></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td >
|
|
|
- <div class="form-inline">
|
|
|
- <input type="text" class="form-control form-control-sm tooltipTarget" placeholder="客户"
|
|
|
- style="width:70px" @input="owner_seek"
|
|
|
- title="输入关键词快速定位下拉列表,回车确定">
|
|
|
- <select name="customerid" v-model="filterData.customerid" @change="submit" style="max-width: 120px" class="form-control form-control-sm tooltipTarget" title="选择要显示的客户" :class="filterData.customerid?'bg-warning':''">
|
|
|
- <option > </option>
|
|
|
- <option v-for="owner in owners" :value="owner.customerid" >@{{owner.descr_c}}</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <input style="max-width: 200px" name="orderno" v-model="filterData.orderno" class="form-control form-control-sm tooltipTarget" placeholder="发运单号" :class="filterData.orderno?'bg-warning':''">
|
|
|
- </td>
|
|
|
- <td >
|
|
|
- <input style="max-width: 200px" name="soreference5" title="可输入多快递单号" v-model="filterData.soreference5" class="form-control form-control-sm tooltipTarget" placeholder="快递单号" :class="filterData.soreference5?'bg-warning':''">
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <input style="max-width: 200px" name="soreference1" v-model="filterData.soreference1" class="form-control form-control-sm tooltipTarget" placeholder="客户订单号" :class="filterData.soreference1?'bg-warning':''">
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <div class="form-inline">
|
|
|
- <input style="max-width: 200px" name="notes" title="右侧选择查询范围,默认为一天内" v-model="filterData.notes" class="form-control form-control-sm tooltipTarget" placeholder="备注" :class="filterData.notes?'bg-warning':''">
|
|
|
- <select style="max-width: 100px" title="查询范围" name="addtime" v-model="filterData.addtime" class="form-control form-control-sm tooltipTarget">
|
|
|
- <option value="1">近一天</option>
|
|
|
- <option value="3">近三天</option>
|
|
|
- <option value="7">近一周</option>
|
|
|
- <option value="30">近一月</option>
|
|
|
- <option value="0">不限期</option>
|
|
|
- </select></div>
|
|
|
- </td>
|
|
|
- <td colspan="5"><input hidden type="submit"></td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td colspan="10">
|
|
|
+ <div class="container-fluid">
|
|
|
+ <div style="min-width: 4070px;">
|
|
|
+ <div id="list" class="d-none">
|
|
|
+ <form method="GET" action="{{url('order/index/delivering')}}" id="form">
|
|
|
+ <table class="table table-sm table-bordered text-nowrap mb-0 ml-3">
|
|
|
+ <tr v-if="isBeingFilterConditions">
|
|
|
+ <td colspan="10">
|
|
|
+ <div class="col" style="padding:0">
|
|
|
+ <a href="{{url('order/index/delivering')}}"><span class="btn btn-warning text-dark">清除过滤条件</span></a>
|
|
|
+ </div></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="10">
|
|
|
+ <select name="paginate" v-model="filterData.paginate" class="tooltipTarget form-control-sm" style="vertical-align: middle" @change="submit">
|
|
|
+ <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 style="width: 300px">
|
|
|
+ <select name="codename_c" v-model="filterData.codename_c" class="form-control form-control-sm" style="vertical-align: middle;max-width: 100px" @change="submit">
|
|
|
+ <option value="" class="text-secondary">订单状态</option>
|
|
|
+ <option v-for="code in codes" :value="code.code" class="font-weight-bold">@{{ code.codename_c }}</option>
|
|
|
+ </select></td>
|
|
|
+ <td style="width: 300px">
|
|
|
+ <input style="max-width: 200px" type="date" name="ordertime_start" class="form-control form-control-sm tooltipTarget" title="选择显示指定日期的起始时间"
|
|
|
+ v-model="filterData.ordertime_start" :class="filterData.ordertime_start?'bg-warning':''">
|
|
|
+ </td>
|
|
|
+ <td style="width: 300px">
|
|
|
+ <input style="max-width: 200px" type="date" class=" form-control form-control-sm tooltipTarget" name="ordertime_end" title="选择显示指定日期的结束时间"
|
|
|
+ v-model="filterData.ordertime_end" :class="filterData.ordertime_end?'bg-warning':''" >
|
|
|
+ </td>
|
|
|
+ <td style="width: 300px">
|
|
|
+ <input style="max-width: 200px" name="carriername" v-model="filterData.carriername" class="form-control form-control-sm tooltipTarget" placeholder="承运人" :class="filterData.carriername?'bg-warning':''">
|
|
|
+ </td>
|
|
|
+ <td style="width: 300px">
|
|
|
+ <input style="max-width: 200px" name="issuepartyname" v-model="filterData.issuepartyname" class="form-control form-control-sm tooltipTarget" placeholder="店铺名称" :class="filterData.issuepartyname?'bg-warning':''">
|
|
|
+ </td>
|
|
|
+ <td colspan="5"></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td >
|
|
|
+ <div class="form-inline">
|
|
|
+ <input type="text" class="form-control form-control-sm tooltipTarget" placeholder="客户"
|
|
|
+ style="width:70px" @input="owner_seek"
|
|
|
+ title="输入关键词快速定位下拉列表,回车确定">
|
|
|
+ <select name="customerid" v-model="filterData.customerid" @change="submit" style="max-width: 120px" class="form-control form-control-sm tooltipTarget" title="选择要显示的客户" :class="filterData.customerid?'bg-warning':''">
|
|
|
+ <option > </option>
|
|
|
+ <option v-for="owner in owners" :value="owner.customerid" >@{{owner.descr_c}}</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <input style="max-width: 200px" name="orderno" v-model="filterData.orderno" class="form-control form-control-sm tooltipTarget" placeholder="编号" :class="filterData.orderno?'bg-warning':''">
|
|
|
+ </td>
|
|
|
+ <td >
|
|
|
+ <input style="max-width: 200px" name="soreference5" title="可输出多快递单号" v-model="filterData.soreference5" class="form-control form-control-sm tooltipTarget" placeholder="快递单号" :class="filterData.soreference5?'bg-warning':''">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <input style="max-width: 200px" name="soreference1" v-model="filterData.soreference1" class="form-control form-control-sm tooltipTarget" placeholder="客户订单号" :class="filterData.soreference1?'bg-warning':''">
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div class="form-inline">
|
|
|
+ <input style="max-width: 200px" name="notes" title="右侧选择查询范围,默认为一天内" v-model="filterData.notes" class="form-control form-control-sm tooltipTarget" placeholder="备注" :class="filterData.notes?'bg-warning':''">
|
|
|
+ <select style="max-width: 100px" title="查询范围,范围越短搜索越快" name="addtime" v-model="filterData.addtime" class="form-control form-control-sm tooltipTarget">
|
|
|
+ <option value="31">近一月</option>
|
|
|
+ <option value="92">近三月</option>
|
|
|
+ <option value="183">近半年</option>
|
|
|
+ <option value="366">近一年</option>
|
|
|
+ <option value="0">不限期</option>
|
|
|
+ </select></div>
|
|
|
+ </td>
|
|
|
+ <td colspan="5"><input hidden type="submit"></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td colspan="10">
|
|
|
<span class="dropdown">
|
|
|
<button type="button" class="btn btn-outline-dark btn-sm form-control-sm dropdown-toggle tooltipTarget" :class="[checkData.length>0?'btn-dark text-light':'']"
|
|
|
data-toggle="dropdown" title="导出所有页将会以搜索条件得到的过滤结果,将其全部记录(每一页)导出">
|
|
|
@@ -89,115 +91,121 @@
|
|
|
<a class="dropdown-item" @click="orderExport(2)" href="javascript:">导出所有页</a>
|
|
|
</div>
|
|
|
</span>
|
|
|
- @can('订单管理-批量备注')<button @click="modal()" type="button" class="btn btn-sm ml-2 btn-outline-primary">批量备注追加</button>@endcan
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </form>
|
|
|
- <div class="modal fade " style="top: 20%" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
|
|
- <div class="modal-dialog">
|
|
|
- <div class="modal-content">
|
|
|
- <div class="modal-header">
|
|
|
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
- </div>
|
|
|
- <div class="modal-body">
|
|
|
- <input class="form-control" v-model="content" placeholder="注释内容">
|
|
|
- </div>
|
|
|
- <div class="modal-footer">
|
|
|
- <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
|
|
|
- <button type="button" @click="batchComments()" class="btn btn-primary">批量备注追加</button>
|
|
|
- </div>
|
|
|
- </div><!-- /.modal-content -->
|
|
|
- </div><!-- /.modal -->
|
|
|
- </div>
|
|
|
- <table class="table table-sm table-striped table-bordered table-hover text-nowrap card-body mt-2 ml-3">
|
|
|
- <tr>
|
|
|
- <th>
|
|
|
- <label for="all">
|
|
|
- <input id="all" type="checkbox" @click="checkAll($event)">全选
|
|
|
- </label>
|
|
|
- </th>
|
|
|
- <th>序号</th>
|
|
|
- <th>编号</th>
|
|
|
- <th>订单状态</th>
|
|
|
- <th>接口下发时间</th>
|
|
|
- <th>店铺名称</th>
|
|
|
- <th>客户</th>
|
|
|
- <th>客户订单号</th>
|
|
|
- <th>承运人</th>
|
|
|
- <th>快递单号</th>
|
|
|
- <th>收货人名称</th>
|
|
|
- <th>收货人电话</th>
|
|
|
- <th>省</th>
|
|
|
- <th>市</th>
|
|
|
- <th>区</th>
|
|
|
- <th>收货人地址</th>
|
|
|
- <th>波次编号</th>
|
|
|
- <th>仓库</th>
|
|
|
- <th>快递获取标记</th>
|
|
|
- <th>快递获取时间</th>
|
|
|
- <th style="width: 200px">产品代码</th>
|
|
|
- <th style="width: 200px">产品条码</th>
|
|
|
- <th style="width: 200px">产品名称</th>
|
|
|
- <th>订单数量</th>
|
|
|
- <th>备注</th>
|
|
|
- <th>接口取消标记</th>
|
|
|
- <th>拣货单打印标记</th>
|
|
|
- <th>接口回传标记</th>
|
|
|
- <th>订单冻结标记</th>
|
|
|
-
|
|
|
- </tr>
|
|
|
- <tr v-for="(order,i) in orders" @click="selectedColor(order.orderno)" :style="{'font-weight': order.orderno==selectedStyle?'bold':''}">
|
|
|
- <td>
|
|
|
- <input class="checkItem" type="checkbox" :value="order.orderno" v-model="checkData">
|
|
|
- </td>
|
|
|
- <td>@{{ i+1 }}</td>
|
|
|
- <td class="text-dark font-weight-bold">@{{ order.orderno }}</td>
|
|
|
- <td class="text-muted">@{{ order.codename_c }}</td>
|
|
|
- <td>@{{ order.addtime }}</td>
|
|
|
- <td>@{{ order.issuepartyname }}</td>
|
|
|
- <td >@{{ order.customer_descr_c }}</td>
|
|
|
- <td>@{{ order.soreference1 }}</td>
|
|
|
- <td class="text-muted">@{{ order.carriername }}</td>
|
|
|
- <td>@{{ order.soreference5 }}</td>
|
|
|
- <td class="text-muted">@{{ order.c_contact }}</td>
|
|
|
- <td class="text-muted">@{{ order.c_tel1 }}</td>
|
|
|
- <td> @{{ order.c_province }}</td>
|
|
|
- <td> @{{ order.c_city }}</td>
|
|
|
- <td> @{{ order.c_district }}</td>
|
|
|
- <td>@{{ order.c_address1 }}</td>
|
|
|
- <td>@{{ order.waveno }}</td>
|
|
|
- <td> @{{ order.warehouseid }}</td>
|
|
|
- <td>@{{ order.edisendflag2 }}</td>
|
|
|
- <td>@{{ order.edisendtime2 }}</td>
|
|
|
- <td colspan="4" class="text-center">
|
|
|
- <table v-if="commodities[order.orderno]&&commodities[order.orderno].length==1 || isBtn[order.orderno]" class="table table-sm">
|
|
|
- <tr v-for="oracleDOCOrderDetail in commodities[order.orderno]">
|
|
|
- <td><div style="width: 180px;overflow: hidden">@{{ oracleDOCOrderDetail.sku }}</div></td>
|
|
|
- <td><div style="width: 180px;overflow: hidden">@{{ oracleDOCOrderDetail.alternate_sku1 }}</div></td>
|
|
|
- <td><div :title="oracleDOCOrderDetail.descr_c" class="tooltipTarget" style="width: 180px;overflow: hidden">@{{ oracleDOCOrderDetail.descr_c }}</div></td>
|
|
|
- <td>@{{ oracleDOCOrderDetail.qtyordered }}</td>
|
|
|
- </tr>
|
|
|
- <tr v-if="isBtn[order.orderno]">
|
|
|
- <td colspan="4">
|
|
|
- <b style="cursor:pointer;color: #4aa0e6;" @click="isBtn[order.orderno]=false;">点击收起明细</b>
|
|
|
+ @can('订单管理-批量备注')<button @click="modal()" type="button" class="btn btn-sm ml-2 btn-outline-primary">批量备注追加</button>@endcan
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
- <b @click="unfold(order.orderno)" style="cursor:pointer;text-decoration: underline;color: #4aa0e6;" v-if="commodities[order.orderno]&&commodities[order.orderno].length>1 && !isBtn[order.orderno]">共有 @{{ commodities[order.orderno].length }} 件商品,点击展开</b>
|
|
|
- </td>
|
|
|
- <td>@{{ order.notes }}</td>
|
|
|
- <td>@{{ order.erpcancelflag }}</td>
|
|
|
- <td>@{{ order.picking_print_flag }}</td>
|
|
|
- <td>@{{ order.edisendflag }}</td>
|
|
|
- <td>@{{ order.releasestatus }}</td>
|
|
|
+ </form>
|
|
|
+ <div class="modal fade " style="top: 20%" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
|
|
+ <div class="modal-dialog">
|
|
|
+ <div class="modal-content">
|
|
|
+ <div class="modal-header">
|
|
|
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
+ </div>
|
|
|
+ <div class="modal-body">
|
|
|
+ <input class="form-control" v-model="content" placeholder="注释内容">
|
|
|
+ </div>
|
|
|
+ <div class="modal-footer">
|
|
|
+ <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
|
|
|
+ <button type="button" @click="batchComments()" class="btn btn-primary">批量备注追加</button>
|
|
|
+ </div>
|
|
|
+ </div><!-- /.modal-content -->
|
|
|
+ </div><!-- /.modal -->
|
|
|
+ </div>
|
|
|
+ <table class="table table-sm table-striped table-bordered table-hover card-body mt-2 ml-3">
|
|
|
+ <tr class="text-nowrap">
|
|
|
+ <th>
|
|
|
+ <label for="all">
|
|
|
+ <input id="all" type="checkbox" @click="checkAll($event)">全选
|
|
|
+ </label>
|
|
|
+ </th>
|
|
|
+ <th>序号</th>
|
|
|
+ <th>操作</th>
|
|
|
+ <th>编号</th>
|
|
|
+ <th>订单状态</th>
|
|
|
+ <th>接口下发时间</th>
|
|
|
+ <th>店铺名称</th>
|
|
|
+ <th>客户</th>
|
|
|
+ <th>客户订单号</th>
|
|
|
+ <th>承运人</th>
|
|
|
+ <th>快递单号</th>
|
|
|
+ <th>收货人名称</th>
|
|
|
+ <th>收货人电话</th>
|
|
|
+ <th>省</th>
|
|
|
+ <th>市</th>
|
|
|
+ <th>区</th>
|
|
|
+ <th style="min-width:320px;">收货人地址</th>
|
|
|
+ <th>波次编号</th>
|
|
|
+ <th>仓库</th>
|
|
|
+ <th>快递获取标记</th>
|
|
|
+ <th>快递获取时间</th>
|
|
|
+ <th style="min-width: 200px">产品代码</th>
|
|
|
+ <th style="min-width: 200px">产品条码</th>
|
|
|
+ <th style="min-width: 200px">产品名称</th>
|
|
|
+ <th>订单数量</th>
|
|
|
+ <th>复核时间</th>
|
|
|
+ <th style="min-width:260px;">备注</th>
|
|
|
+ <th>接口取消标记</th>
|
|
|
+ <th>拣货单打印标记</th>
|
|
|
+ <th>接口回传标记</th>
|
|
|
+ <th>订单冻结标记</th>
|
|
|
+
|
|
|
+ </tr>
|
|
|
+ <tr v-for="(order,i) in orders" @click="selectedColor(order.orderno)" :style="{'font-weight': order.orderno==selectedStyle?'bold':''}">
|
|
|
+ <td>
|
|
|
+ <input class="checkItem" type="checkbox" :value="order.orderno" v-model="checkData">
|
|
|
+ </td>
|
|
|
+ <td>@can('订单管理-编辑')<button v-if="order.releasestatus==='N'" @click="freeze(order.orderno,order.waveno)" class="btn btn-sm btn-outline-danger text-nowrap">冻结</button>@endcan</td>
|
|
|
+ <td>@{{ i+1 }}</td>
|
|
|
+ <td class="text-dark font-weight-bold text-nowrap">@{{ order.orderno }}</td>
|
|
|
+ <td class="text-muted text-nowrap">@{{ order.codename_c }}</td>
|
|
|
+ <td class="text-nowrap">@{{ order.addtime }}</td>
|
|
|
+ <td class="text-nowrap">@{{ order.issuepartyname }}</td>
|
|
|
+ <td class="text-nowrap">@{{ order.customer_descr_c }}</td>
|
|
|
+ <td class="text-nowrap">@{{ order.soreference1 }}</td>
|
|
|
+ <td class="text-muted text-nowrap">@{{ order.carriername }}</td>
|
|
|
+ <td class="text-nowrap">@{{ order.soreference5 }}</td>
|
|
|
+ <td class="text-muted text-nowrap">@{{ order.c_contact }}</td>
|
|
|
+ <td class="text-muted text-nowrap">@{{ order.c_tel1 }}</td>
|
|
|
+ <td class="text-nowrap"> @{{ order.c_province }}</td>
|
|
|
+ <td class="text-nowrap"> @{{ order.c_city }}</td>
|
|
|
+ <td class="text-nowrap"> @{{ order.c_district }}</td>
|
|
|
+ <td class="text-muted">@{{ order.c_address1 }}</td>
|
|
|
+ <td class="text-nowrap">@{{ order.waveno }}</td>
|
|
|
+ <td class="text-nowrap"> @{{ order.warehouseid }}</td>
|
|
|
+ <td class="text-nowrap">@{{ order.edisendflag2 }}</td>
|
|
|
+ <td class="text-nowrap">@{{ order.edisendtime2 }}</td>
|
|
|
+ <td colspan="5" class="text-center">
|
|
|
+ <table v-if="commodities[order.orderno]&&commodities[order.orderno].length==1 || isBtn[order.orderno]" class="table text-nowrap table-sm">
|
|
|
+ <tr v-for="oracleDOCOrderDetail in commodities[order.orderno]">
|
|
|
+ <td><div style="width: 180px;overflow: hidden">@{{ oracleDOCOrderDetail.sku }}</div></td>
|
|
|
+ <td><div style="width: 180px;overflow: hidden">@{{ oracleDOCOrderDetail.alternate_sku1 }}</div></td>
|
|
|
+ <td><div :title="oracleDOCOrderDetail.descr_c" class="tooltipTarget" style="width: 180px;overflow: hidden">@{{ oracleDOCOrderDetail.descr_c }}</div></td>
|
|
|
+ <td>@{{ oracleDOCOrderDetail.qtyordered }}</td>
|
|
|
+ <td><div style="width: 180px;overflow: hidden">@{{ oracleDOCOrderDetail.checktime }}</div></td>
|
|
|
+ </tr>
|
|
|
+ <tr v-if="isBtn[order.orderno]">
|
|
|
+ <td colspan="5">
|
|
|
+ <b style="cursor:pointer;color: #4aa0e6;" @click="isBtn[order.orderno]=false;">点击收起明细</b>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <b @click="unfold(order.orderno)" style="cursor:pointer;text-decoration: underline;color: #4aa0e6;" v-if="commodities[order.orderno]&&commodities[order.orderno].length>1 && !isBtn[order.orderno]">共有 @{{ commodities[order.orderno].length }} 件商品,点击展开</b>
|
|
|
+ </td>
|
|
|
+ <td>@{{ order.notes }}</td>
|
|
|
+ <td>@{{ order.erpcancelflag }}</td>
|
|
|
+ <td>@{{ order.picking_print_flag }}</td>
|
|
|
+ <td>@{{ order.edisendflag }}</td>
|
|
|
+ <td>@{{ order.releasestatus }}</td>
|
|
|
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- <button type="button" @click="pageUp()" :readonly="page>1?false:true" class="btn btn-sm " :class="page>1?'btn-outline-info':''">上一页</button>
|
|
|
- <button type="button" @click="pageDown()" :readonly="page<maxPage?false:true" class="btn btn-sm m-3" :class="page<maxPage?'btn-outline-info':''">下一页</button>
|
|
|
- <input @keyup.enter="pageSkip($event)" class="form-control-sm ml-3 tooltipTarget" :placeholder="'当前页数:'+page+'/'+maxPage" title="去往指定页">
|
|
|
- <span class="text-muted m-1">共 @{{ sum }} 条</span>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ <button type="button" @click="pageUp()" :readonly="page>1?false:true" class="btn btn-sm " :class="page>1?'btn-outline-info':''">上一页</button>
|
|
|
+ <button type="button" @click="pageDown()" :readonly="page<maxPage?false:true" class="btn btn-sm m-3" :class="page<maxPage?'btn-outline-info':''">下一页</button>
|
|
|
+ <input @keyup.enter="pageSkip($event)" class="form-control-sm ml-3 tooltipTarget" :placeholder="'当前页数:'+page+'/'+maxPage" title="去往指定页">
|
|
|
+ <span class="text-muted m-1">共 @{{ sum }} 条</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
@endsection
|
|
|
|
|
|
@@ -208,7 +216,7 @@
|
|
|
data:{
|
|
|
filterData:{
|
|
|
paginate:50,ordertime_start:'',ordertime_end:'',customerid:'',orderno:'',soreference5:'',codename_c:'',
|
|
|
- carriername:'',issuepartyname:'',soreference1:'',notes:'',addtime:'1'
|
|
|
+ carriername:'',issuepartyname:'',soreference1:'',notes:'',addtime:'31'
|
|
|
},
|
|
|
page:Number('{{$page}}'),
|
|
|
maxPage:1,
|
|
|
@@ -354,14 +362,14 @@
|
|
|
return;
|
|
|
}
|
|
|
window.location.href="{{url('order/index/delivering?ordertime_start=')}}"+this.filterData.ordertime_start
|
|
|
- +"&&ordertime_end="+this.filterData.ordertime_end+"&&orderno="+this.filterData.orderno
|
|
|
- +"&&soreference5="+this.filterData.soreference5+"&&export="+true+"&&codename_c="+this.filterData.codename_c
|
|
|
+ +"&&ordertime_end="+this.filterData.ordertime_end+"&&orderno="+this.filterData.orderno
|
|
|
+ +"&&soreference5="+this.filterData.soreference5+"&&export="+true+"&&codename_c="+this.filterData.codename_c
|
|
|
+"&&issuepartyname="+this.filterData.issuepartyname+"&&carriername="+this.filterData.carriername
|
|
|
+"&&soreference1="+this.filterData.soreference1+"&¬es="+this.filterData.notes
|
|
|
+"&&addtime="+this.filterData.addtime;
|
|
|
},
|
|
|
modal(){
|
|
|
- $("#myModal").modal('show');
|
|
|
+ $("#myModal").modal('show');
|
|
|
},
|
|
|
batchComments(){
|
|
|
let _this=this;
|
|
|
@@ -391,9 +399,9 @@
|
|
|
tempTip.showSuccess('注释完毕!')
|
|
|
_this.content='';
|
|
|
}).catch(function (err) {
|
|
|
- tempTip.setDuration(4000);
|
|
|
- tempTip.show('网络错误:'+err)
|
|
|
- });
|
|
|
+ tempTip.setDuration(4000);
|
|
|
+ tempTip.show('网络错误:'+err)
|
|
|
+ });
|
|
|
$("#myModal").modal('hide');
|
|
|
},
|
|
|
selectedColor(orderno){
|
|
|
@@ -402,7 +410,27 @@
|
|
|
return;
|
|
|
}
|
|
|
this.selectedStyle=orderno;
|
|
|
- }
|
|
|
+ },
|
|
|
+ freeze(orderno,waveno){
|
|
|
+ if(!confirm('确定要冻结“'+orderno+'”吗?'))return;
|
|
|
+ let _this=this;
|
|
|
+ axios.post('{{url('order/freeze')}}',{orderno:orderno,waveno:waveno})
|
|
|
+ .then(function (response) {
|
|
|
+ if (response.data.success){
|
|
|
+ _this.orders.some(function (order) {
|
|
|
+ if (order.orderno===orderno){
|
|
|
+ order.releasestatus='Y';
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ tempTip.setDuration(3000);
|
|
|
+ tempTip.show('订单已被冻结!');
|
|
|
+ }
|
|
|
+ }).catch(function (err) {
|
|
|
+ tempTip.setDuration(3000);
|
|
|
+ tempTip.show('网络异常:'+err);
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
});
|
|
|
</script>
|