Ver Fonte

中通同步status赋予默认值无

ANG YU há 5 anos atrás
pai
commit
6a5969e1dc

+ 1 - 0
app/Jobs/LogisticZopSync.php

@@ -236,6 +236,7 @@ class LogisticZopSync implements ShouldQueue
                 $resultItem['received_at'] = Carbon::parse($lastRoute->scanDate / 1000)->toDateTimeString();
                 break;
             default:
+                $resultItem['status'] = '无';
                 break;
         }
         return $resultItem;

+ 0 - 6
resources/views/package/logistic/index.blade.php

@@ -19,9 +19,6 @@
                     <th>发出日期</th>
                     <th>收货日期</th>
                     <th>称重日期</th>
-{{--                    <th>异常标记</th>--}}
-{{--                    <th>异常说明</th>--}}
-{{--                    <th>异常类型</th>--}}
                     <th>快递路由</th>
                     <th>客服备注</th>
                 </tr>
@@ -41,9 +38,6 @@
                     <td>@{{ package.sent_at }}</td>
                     <td>@{{ package.received_at }}</td>
                     <td>@{{ package.weighed_at }}</td>
-{{--                    <td>@{{ package.exception }}</td>--}}
-{{--                    <td>@{{ package.exception_message }}</td>--}}
-{{--                    <td>@{{ package.exception_type }}</td>--}}
                     <td>
                         <div v-if="package.transfer_status && package.transfer_status.length>0" class="text-overflow-warp-200 up" :id="'route-'+i">
                             <p v-for="route in package.transfer_status">