|
|
@@ -100,7 +100,12 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
|
|
|
render: (clientName, record) => (
|
|
|
<div className="text-primary hover:text-hex-967bbd">
|
|
|
<span
|
|
|
- onClick={() => dispatchModal('D_CLIENT_DETAIL', { dataId: record.id })}
|
|
|
+ onClick={() =>
|
|
|
+ dispatchModal('D_CLIENT_DETAIL', {
|
|
|
+ dataId: record.id,
|
|
|
+ orderIds: client.client.map(item => item.id)
|
|
|
+ })
|
|
|
+ }
|
|
|
className="cursor-pointer ">
|
|
|
{clientName}
|
|
|
</span>
|
|
|
@@ -133,7 +138,12 @@ const CompanyTabList = ({ initData, customerId, client, software, customer, busi
|
|
|
width: 90,
|
|
|
render: (clientName, record) => (
|
|
|
<span
|
|
|
- onClick={() => dispatchModal('D_LOCK_DETAIL', { dataId: record.id })}
|
|
|
+ onClick={() =>
|
|
|
+ dispatchModal('D_LOCK_DETAIL', {
|
|
|
+ dataId: record.id,
|
|
|
+ orderIds: software.longle.map(item => item.id)
|
|
|
+ })
|
|
|
+ }
|
|
|
className={classNames('cursor-pointer hover:text-hex-967bbd', {
|
|
|
'text-primary': record.preserveStatus === 3
|
|
|
})}>
|