...
|
...
|
@@ -26,6 +26,7 @@ message.config({ |
|
|
|
|
|
const ShowOrderComHandler: FC<IProps> = (props) => {
|
|
|
const { orderList } = props
|
|
|
const dispatch = useAppDispatch()
|
|
|
const [open, setOpenHandler] = useState(false)
|
|
|
const [confirmLoading, setConfirmLoading] = useState(false)
|
|
|
const [modalTitle, setModalTitle] = useState<string>(' ')
|
...
|
...
|
@@ -91,6 +92,8 @@ const ShowOrderComHandler: FC<IProps> = (props) => { |
|
|
|
|
|
typeof instance?.setFileList === 'function' && instance.setFileList([])
|
|
|
|
|
|
dispatch(fetchOrderDataAction({ pageNo: 1 }))
|
|
|
|
|
|
// console.log(SendPrescriptionRef.current, 'SendPrescription 子组件实例')
|
|
|
|
|
|
return
|
...
|
...
|
@@ -143,7 +146,7 @@ const ShowOrderComHandler: FC<IProps> = (props) => { |
|
|
<Button type="primary" shape="round" onClick={() => showModalHandler(1, _.id)}>
|
|
|
查看症状
|
|
|
</Button>
|
|
|
{[30, '30'].includes(_.orderState as string | number) && (
|
|
|
{[30, '30'].includes(_.orderState as string | number) && [null, undefined, ''].includes(_?.orderId) && (
|
|
|
<Button type="primary" shape="round" onClick={() => showModalHandler(2, _.id)}>
|
|
|
发送处方单
|
|
|
</Button>
|
...
|
...
|
|