|
|
|
@ -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 (
|
|
|
|
|