|
@@ -28,6 +28,7 @@
|
|
|
<button type="button" @click="thaw(null,true)" class="btn btn-sm btn-outline-danger tooltipTarget ml-1" title="解除已冻结订单" style="opacity: 0.7">解冻</button>
|
|
<button type="button" @click="thaw(null,true)" class="btn btn-sm btn-outline-danger tooltipTarget ml-1" title="解除已冻结订单" style="opacity: 0.7">解冻</button>
|
|
|
<span class="btn btn-sm btn-outline-dark tooltipTarget ml-1" @click="deAllocationAll" style="cursor: pointer" title="订单的取消分配条件要只局限在“分配完成”或“部分分配”">取消分配</span>
|
|
<span class="btn btn-sm btn-outline-dark tooltipTarget ml-1" @click="deAllocationAll" style="cursor: pointer" title="订单的取消分配条件要只局限在“分配完成”或“部分分配”">取消分配</span>
|
|
|
<button type="button" @click="resetLogisticsGetMark()" class="btn btn-sm ml-1 btn-outline-success">重置快递获取标记</button>
|
|
<button type="button" @click="resetLogisticsGetMark()" class="btn btn-sm ml-1 btn-outline-success">重置快递获取标记</button>
|
|
|
|
|
+ <button type="button" @click="resetInterfaceReturnMark()" class="btn btn-sm ml-1 btn-outline-secondary">重置接口回传标记</button>
|
|
|
@endcan
|
|
@endcan
|
|
|
@can('订单管理-订单-生成问题件')<button @click="orderIssueTag()" type="button" class="btn btn-sm ml-1 btn-outline-primary">标记问题件</button>@endcan
|
|
@can('订单管理-订单-生成问题件')<button @click="orderIssueTag()" type="button" class="btn btn-sm ml-1 btn-outline-primary">标记问题件</button>@endcan
|
|
|
@can('订单管理-订单-生成退货单')
|
|
@can('订单管理-订单-生成退货单')
|
|
@@ -675,6 +676,36 @@
|
|
|
tempTip.show("网络错误:"+err)
|
|
tempTip.show("网络错误:"+err)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
+ resetInterfaceReturnMark(){
|
|
|
|
|
+ if (checkData.length < 1){
|
|
|
|
|
+ tempTip.setDuration(3000);
|
|
|
|
|
+ tempTip.showSuccess('未选择任何单号');
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ if (!confirm('确定要重置接口回传标记吗?'))return;
|
|
|
|
|
+ let url = '{{url('order/resetInterfaceReturnMark')}}';
|
|
|
|
|
+ let _this = this;
|
|
|
|
|
+ axios.post(url,{orderno : checkData}).then(function (response) {
|
|
|
|
|
+ if (response.data.success){
|
|
|
|
|
+ checkData.forEach(orderno => {
|
|
|
|
|
+ _this.orders.some(order => {
|
|
|
|
|
+ if (order.orderno === orderno){
|
|
|
|
|
+ order.edisendflag = "N";
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ });
|
|
|
|
|
+ tempTip.setDuration(2000);
|
|
|
|
|
+ tempTip.showSuccess('重置接口回传标记成功!');
|
|
|
|
|
+ } else{
|
|
|
|
|
+ tempTip.setDuration(5000);
|
|
|
|
|
+ tempTip.show(response.data.fail_info);
|
|
|
|
|
+ }
|
|
|
|
|
+ }).catch(function (err) {
|
|
|
|
|
+ tempTip.setDuration(3000);
|
|
|
|
|
+ tempTip.show("网络错误:"+err)
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
changeRemark(){
|
|
changeRemark(){
|
|
|
this.typeId ='';
|
|
this.typeId ='';
|
|
|
this.result_explain ='';
|
|
this.result_explain ='';
|