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

fix:调整订单详情

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