解决高级搜索没有订单类型

dev/timezone
Jimmy Liow 1 year ago
parent 1bf8020391
commit a892a5590e

@ -361,6 +361,19 @@ function OrderGroupTable({ formValues }) {
const paymentList = deptOrderList.filter((o) => {
return o.coli_ordertype === 8
})
if (formValues.type === 'advance') {
deptItems.push(
{
key: index,
label: deptMap.get(deptNo),
children: <>
<Table key={'advanceOrderTable' + deptNo} loading={loading} dataSource={deptOrderList}
columns={orderColumns}
pagination={deptOrderList.length <= 10 ? false : paginationProps} />
</>
}
)
} else {
deptItems.push(
{
key: index,
@ -414,6 +427,7 @@ function OrderGroupTable({ formValues }) {
</>
}
)
}
})
return (

Loading…
Cancel
Save