eric2h 4 лет назад
Родитель
Сommit
f0aa4098c5
1 измененных файлов с 5 добавлено и 3 удалено
  1. 5 3
      resources/views/rejected/rejectedPushTask/index.blade.php

+ 5 - 3
resources/views/rejected/rejectedPushTask/index.blade.php

@@ -172,7 +172,7 @@
             <div class="modal-dialog " style="max-width: 100% !important;">
                 <div class="modal-content ">
                     <div class="modal-header ">
-                        <h5 class="modal-title" id="staticBackdropLabel">明细</h5>
+                        <h5 class="modal-title" id="staticBackdropLabel">订单明细</h5>
                         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                             <span aria-hidden="true">&times;</span>
                         </button>
@@ -233,7 +233,7 @@
             <div class="modal-dialog modal-lg">
                 <div class="modal-content ">
                     <div class="modal-header ">
-                        <h5 class="modal-title" id="staticBackdropLabel">明细</h5>
+                        <h5 class="modal-title" id="staticBackdropLabel">商品明细</h5>
                         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                             <span aria-hidden="true">&times;</span>
                         </button>
@@ -244,6 +244,7 @@
                             <table class="table table-sm"
                                    style="background: #fff;" id="tableCommodity">
                                 <tr v-for="(item,i) in showDetailData.commodityDetail.data" :key="i">
+                                    <td class="td-warm text-muted"><span>@{{ i+1 }}</span></td>
                                     <td class="td-warm text-muted"><span>@{{ item.taskNum }}</span></td>
                                     <td class="td-warm text-muted"><span>@{{ item.sku }}</span></td>
                                     <td class="td-warm text-muted"><span>@{{ item.nameGoods }}</span></td>
@@ -494,7 +495,7 @@
                     let url = this.getBaseUrl() + `/api/wms/rejectedPushTask/init?ownerId=${this.assign.ownerId}`
                     axios.get(url).then(res => {
                         if (res.data.code !== 200) {
-                            tempTip.show('接口异常!');
+                            tempTip.show(res.data.message);
                             tempTip.setDuration(2000)
                         } else {
                             this.searchData();
@@ -629,6 +630,7 @@
                     } else {
                         idList = [id];
                     }
+                    if(!confirm('确定要停止攒单吗?')){return};
                     axios.post(url, {idList}).then(res => {
                         if (res.data.code !== 200) {
                             tempTip.show(res.data.message);