Commit 442ce6a1 authored by 李腾's avatar 李腾

fix: 修改待发货订单默认参数问题

parent b364e4aa
...@@ -456,9 +456,13 @@ const TableList = props => { ...@@ -456,9 +456,13 @@ const TableList = props => {
useEffect(() => { useEffect(() => {
if (location?.query) { if (location?.query) {
const { orderNo: orderNumber } = location?.query; const { orderNo: orderNumber } = location?.query;
if (orderNumber) {
setorderStatus('');
}
setOrderNo(orderNumber); setOrderNo(orderNumber);
if (actionRef.current) { if (ref.current) {
actionRef.current.reload(); ref.current.resetFields();
ref.current.submit();
} }
} else { } else {
setOrderNo(''); setOrderNo('');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment