Commit 7da44015 by 朱继来

调整订单列表同步

parent 1a52bebe
Showing with 1 additions and 7 deletions
......@@ -288,13 +288,7 @@
<td class="show-list">
<?php
if ($v['order_pay_type'] == 3) { // 账期订单待付款状态下显示未同步
$statusLimit = [-1, 1];
} else {
$statusLimit = [-1, 1, 2];
}
if (in_array($v['status'], $statusLimit)) {
if (in_array($v['status'], [-1, 1])) {
echo '不需同步';
} else {
echo $v['erp_order_id'] != '' && $v['erp_order_id'] != '-' ? '<span class="list-text-success"><b>已同步</b></span>' : '<span class="list-text-checking"><b>未同步</b></span>';
......
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