|
@@ -663,19 +663,20 @@
|
|
|
tempTip.waitingTip('处理中,请稍候');
|
|
tempTip.waitingTip('处理中,请稍候');
|
|
|
let data = {orderNos:this.checkData,typeId: this.typeId,result_explain:this.result_explain};
|
|
let data = {orderNos:this.checkData,typeId: this.typeId,result_explain:this.result_explain};
|
|
|
axios.post("{{url('apiLocal/order/issue/orderIssueTag')}}",data).then(function(res){
|
|
axios.post("{{url('apiLocal/order/issue/orderIssueTag')}}",data).then(function(res){
|
|
|
- tempTip.setDuration(5000)
|
|
|
|
|
|
|
+ tempTip.setDuration(5000);
|
|
|
tempTip.cancelWaitingTip();
|
|
tempTip.cancelWaitingTip();
|
|
|
if(res.data.success){
|
|
if(res.data.success){
|
|
|
- tempTip.setDuration(3000)
|
|
|
|
|
- tempTip.showSuccess('已标记为问题件')
|
|
|
|
|
|
|
+ tempTip.setDuration(3000);
|
|
|
|
|
+ tempTip.showSuccess('已标记为问题件');
|
|
|
_this.checkData.forEach(function(orderNo){
|
|
_this.checkData.forEach(function(orderNo){
|
|
|
_this.orderIssueNos.push(orderNo)
|
|
_this.orderIssueNos.push(orderNo)
|
|
|
- })
|
|
|
|
|
|
|
+ });
|
|
|
_this.checkData = []
|
|
_this.checkData = []
|
|
|
}else{
|
|
}else{
|
|
|
|
|
+ console.log(res.data);
|
|
|
if(res.data.exitsOrderNos){
|
|
if(res.data.exitsOrderNos){
|
|
|
- _this.message.checkOrderIssueMessage = res.data.fail_info+res.data.exitsOrderNos
|
|
|
|
|
- $("#checkModal").modal('show')
|
|
|
|
|
|
|
+ _this.message.checkOrderIssueMessage = res.data.fail_info+res.data.exitsOrderNos;
|
|
|
|
|
+ $("#checkModal").modal('show');
|
|
|
}else{
|
|
}else{
|
|
|
tempTip.setDuration(3000);
|
|
tempTip.setDuration(3000);
|
|
|
tempTip.show(res.data.fail_info);
|
|
tempTip.show(res.data.fail_info);
|