diff --git a/src/views/orders/Follow.jsx b/src/views/orders/Follow.jsx index 98c3c3e..c12bcbf 100644 --- a/src/views/orders/Follow.jsx +++ b/src/views/orders/Follow.jsx @@ -361,59 +361,73 @@ function OrderGroupTable({ formValues }) { const paymentList = deptOrderList.filter((o) => { return o.coli_ordertype === 8 }) - deptItems.push( - { - key: index, - label: deptMap.get(deptNo), - children: <> - 新订单 - 0} - whenTrue={} - whenFalse={} - /> - - 新消息/老邮件 - 0} - whenTrue={
} - whenFalse={} - /> - - 催信 - 0} - whenTrue={
} - whenFalse={} - /> - - 余款收付 - 0} - whenTrue={
} - whenFalse={} - /> - - 入境提醒 - 0} - whenTrue={
} - whenFalse={} - /> - - - } - ) + if (formValues.type === 'advance') { + deptItems.push( + { + key: index, + label: deptMap.get(deptNo), + children: <> +
+ + } + ) + } else { + deptItems.push( + { + key: index, + label: deptMap.get(deptNo), + children: <> + 新订单 + 0} + whenTrue={
} + whenFalse={} + /> + + 新消息/老邮件 + 0} + whenTrue={
} + whenFalse={} + /> + + 催信 + 0} + whenTrue={
} + whenFalse={} + /> + + 余款收付 + 0} + whenTrue={
} + whenFalse={} + /> + + 入境提醒 + 0} + whenTrue={
} + whenFalse={} + /> + + + } + ) + } }) return (