Commit b9210054 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

🐞 fix(结算管理): 修改跳转链接

parent cc55ad7e
......@@ -118,8 +118,8 @@ const router = [
// platformCouponManageRoute,
// afterServiceRoutes,
// marketingManageRoutes,
// ...asyncRoutes,
...refactorRoutes,
...asyncRoutes,
// ...refactorRoutes,
// purchaseBidRoute,
{
path: '/noAuth',
......
......@@ -36,7 +36,7 @@ interface ItemIprops extends ReceiptProps {
const ReceiptItem: React.FC<ItemIprops> = (props: ItemIprops) => {
const { id, kindName, typeName, invoiceTitle, taxNo, bankOfDeposit, account, address, tel, defaultName } = props;
const handleRouterPush = () => {
history.push(`/settlementManage/platformSettlement/balanced/receipt/detail?id=${id}`);
history.push(`/settlementManage/balanced/receipt/detail?id=${id}`);
}
const handleDelete = (id: number | string) => {
props.onRemove(id);
......@@ -113,7 +113,7 @@ const Receipt: React.FC<{}> = () => {
}, [])
const handleRouterAdd = () => {
history.push('/settlementManage/platformSettlement/balanced/receipt/add')
history.push('/settlementManage/balanced/receipt/add')
}
// 删除发票
......
......@@ -141,7 +141,7 @@ const Info: React.FC = () => {
serviceActions(postData).then((data) => {
setSubmitLoading(false);
if(data.code === 1000) {
history.push('/settlementManage/platformSettlement/balanced/receipt')
history.push('/settlementManage/balanced/receipt')
}
})
}
......@@ -158,7 +158,7 @@ const Info: React.FC = () => {
}, [id])
const handleCancel = () => {
history.push('/settlementManage/platformSettlement/balanced/receipt')
history.push('/settlementManage/balanced/receipt')
}
return (
......
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