Commit b7529970 authored by 前端-许佳敏's avatar 前端-许佳敏

fix:调整订单详情

parent 23b83bc7
......@@ -172,7 +172,6 @@ export function onRouteChange({ routes, matchedRoutes, location, action }) {
history.replace('/memberCenter/home')
return;
}
console.log(query)
// 固定配置, 出现此参数说明需携带参数校验权限路由
if (query.page_type && routeAuthUrls.find(authPath => {
const parseUrl = queryString.parseUrl(authPath)
......
......@@ -246,7 +246,7 @@ const OrderProductTable:React.FC<OrderProductTableProps> = ({editable}) => {
})
})
}
}, [orderProductRequests])
}, [])
const handleSave = row => {
const newData = [...orderProductRequests];
......
......@@ -173,6 +173,7 @@ const CommonOrderDetail:React.FC<CommonOrderDetailProps> = (props) => {
}
const editableProductTable = pageStatus !== PageStatus.PREVIEW
console.log(1)
return formData ? (
<div>
<OrderDetailContext.Provider value={formContext}>
......@@ -190,16 +191,16 @@ const CommonOrderDetail:React.FC<CommonOrderDetailProps> = (props) => {
></AuditProcess> }
{/* 商品列表 */}
{/* <OrderProductTable editable={editableProductTable}/> */}
<OrderProductTable editable={editableProductTable}/>
{/* 支付信息 todo */}
<OrderPayTabs/>
{/* 杂项 */}
{/* <OrderMergeInfo/> */}
<OrderMergeInfo/>
{/* 订单流转记录 */}
{/* <OrderTransformRecord/> */}
<OrderTransformRecord/>
</div>
</OrderDetailWrapper>
......
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