From c995b13498dfb85a14af92b5b60a6dddb3f61b99 Mon Sep 17 00:00:00 2001 From: Jimmy Liow Date: Wed, 24 Apr 2024 09:13:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=85=A5=E5=A2=83=E6=8F=90?= =?UTF-8?q?=E9=86=92=E7=B1=BB=E5=88=AB=EF=BC=8C=E4=BB=A5=E5=8F=8A=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/orders/Follow.jsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/orders/Follow.jsx b/src/views/orders/Follow.jsx index 3f8faec..98c3c3e 100644 --- a/src/views/orders/Follow.jsx +++ b/src/views/orders/Follow.jsx @@ -345,21 +345,21 @@ function OrderGroupTable({ formValues }) { deptKeys.forEach((deptNo, index) => { const deptOrderList = groupOrderData[deptNo] - // 1新订单;2未读消息;3需一催;4需二催;5需三催;6未处理邮件 + // 1新订单;2未读消息;3需一催;4需二催;5需三催;6未处理邮件;入境提醒coli_ordertype=7,余款提醒coli_ordertype=8 const newOrderList = deptOrderList.filter((o) => { return o.coli_ordertype === 1 }) const newMsgList = deptOrderList.filter((o) => { - return o.coli_ordertype === 2 + return o.coli_ordertype === 2 || o.coli_ordertype === 6 }) const followUpList = deptOrderList.filter((o) => { return o.coli_ordertype === 3 || o.coli_ordertype === 4 || o.coli_ordertype === 5 }) - const paymentList = deptOrderList.filter((o) => { - return o.coli_ordertype === 1000 - }) const entryList = deptOrderList.filter((o) => { - return o.coli_ordertype === 20000 + return o.coli_ordertype === 7 + }) + const paymentList = deptOrderList.filter((o) => { + return o.coli_ordertype === 8 }) deptItems.push( { @@ -371,7 +371,7 @@ function OrderGroupTable({ formValues }) { condition={newOrderList.length > 0} whenTrue={} + pagination={newOrderList.length <= 10 ? false : paginationProps} />} whenFalse={} /> @@ -380,7 +380,7 @@ function OrderGroupTable({ formValues }) { condition={newMsgList.length > 0} whenTrue={
} + pagination={newMsgList.length <= 10 ? false : paginationProps} />} whenFalse={} /> @@ -389,7 +389,7 @@ function OrderGroupTable({ formValues }) { condition={followUpList.length > 0} whenTrue={
} + pagination={followUpList.length <= 10 ? false : paginationProps} />} whenFalse={} /> @@ -398,7 +398,7 @@ function OrderGroupTable({ formValues }) { condition={paymentList.length > 0} whenTrue={
} + pagination={paymentList.length <= 10 ? false : paginationProps} />} whenFalse={} /> @@ -407,7 +407,7 @@ function OrderGroupTable({ formValues }) { condition={entryList.length > 0} whenTrue={
} + pagination={entryList.length <= 10 ? false : paginationProps} /> } whenFalse={} />