Commit b7a0f91a by 朱继来

调整自营列表状态展示

parent 6871523e
Showing with 1 additions and 1 deletions
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
</td> </td>
<td class="show-list"> <td class="show-list">
<?php <?php
if ($v['order_type_extend'] == 1 && $v['status'] <= 4) { // 团购订单状态 if ($v['order_type_extend'] == 1 && in_array($v['status'], [1, 2, 3, 4])) { // 团购订单状态
switch ($v['status_extend']) { switch ($v['status_extend']) {
case -16: echo '<span class="list-text-cancel"><b>团购失败</b></span>';break; case -16: echo '<span class="list-text-cancel"><b>团购失败</b></span>';break;
case 10: echo '<span class="list-text-send"><b>团购中</b></span>';break; case 10: echo '<span class="list-text-send"><b>团购中</b></span>';break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment