Commit 3637c1be authored by XieZhiXiong's avatar XieZhiXiong

调整进销存详情页面 loading

parent bbcb2848
...@@ -86,6 +86,7 @@ const TranactionRoute = { ...@@ -86,6 +86,7 @@ const TranactionRoute = {
path: '/memberCenter/tranactionAbility/stockSellStorage/warehouse/add', path: '/memberCenter/tranactionAbility/stockSellStorage/warehouse/add',
name: 'addWarehouse', name: 'addWarehouse',
hideInMenu: true, hideInMenu: true,
noMargin: true,
component: '@/pages/transaction/stockSellStorage/warehouse/addWarehouse', component: '@/pages/transaction/stockSellStorage/warehouse/addWarehouse',
}, },
// 仓库-编辑 // 仓库-编辑
...@@ -93,6 +94,7 @@ const TranactionRoute = { ...@@ -93,6 +94,7 @@ const TranactionRoute = {
path: '/memberCenter/tranactionAbility/stockSellStorage/warehouse/edit', path: '/memberCenter/tranactionAbility/stockSellStorage/warehouse/edit',
name: 'editWarehouse', name: 'editWarehouse',
hideInMenu: true, hideInMenu: true,
noMargin: true,
component: '@/pages/transaction/stockSellStorage/warehouse/editWarehouse', component: '@/pages/transaction/stockSellStorage/warehouse/editWarehouse',
}, },
// 仓库-详情 // 仓库-详情
...@@ -100,6 +102,7 @@ const TranactionRoute = { ...@@ -100,6 +102,7 @@ const TranactionRoute = {
path: '/memberCenter/tranactionAbility/stockSellStorage/warehouse/detail', path: '/memberCenter/tranactionAbility/stockSellStorage/warehouse/detail',
name: 'warehouseDetail', name: 'warehouseDetail',
hideInMenu: true, hideInMenu: true,
noMargin: true,
component: '@/pages/transaction/stockSellStorage/warehouse/warehouseDetail', component: '@/pages/transaction/stockSellStorage/warehouse/warehouseDetail',
}, },
// 单据类型 // 单据类型
...@@ -113,6 +116,7 @@ const TranactionRoute = { ...@@ -113,6 +116,7 @@ const TranactionRoute = {
path: '/memberCenter/tranactionAbility/stockSellStorage/billsType/add', path: '/memberCenter/tranactionAbility/stockSellStorage/billsType/add',
name: 'addBillsType', name: 'addBillsType',
hideInMenu: true, hideInMenu: true,
noMargin: true,
component: '@/pages/transaction/stockSellStorage/billsType/addBillsType', component: '@/pages/transaction/stockSellStorage/billsType/addBillsType',
}, },
// 单据类型-编辑 // 单据类型-编辑
...@@ -120,6 +124,7 @@ const TranactionRoute = { ...@@ -120,6 +124,7 @@ const TranactionRoute = {
path: '/memberCenter/tranactionAbility/stockSellStorage/billsType/edit', path: '/memberCenter/tranactionAbility/stockSellStorage/billsType/edit',
name: 'editBillsType', name: 'editBillsType',
hideInMenu: true, hideInMenu: true,
noMargin: true,
component: '@/pages/transaction/stockSellStorage/billsType/editBillsType', component: '@/pages/transaction/stockSellStorage/billsType/editBillsType',
}, },
// 单据类型-详情 // 单据类型-详情
...@@ -127,6 +132,7 @@ const TranactionRoute = { ...@@ -127,6 +132,7 @@ const TranactionRoute = {
path: '/memberCenter/tranactionAbility/stockSellStorage/billsType/detail', path: '/memberCenter/tranactionAbility/stockSellStorage/billsType/detail',
name: 'billsTypeDetail', name: 'billsTypeDetail',
hideInMenu: true, hideInMenu: true,
noMargin: true,
component: '@/pages/transaction/stockSellStorage/billsType/billsTypeDetail', component: '@/pages/transaction/stockSellStorage/billsType/billsTypeDetail',
}, },
// 单据 // 单据
...@@ -140,6 +146,7 @@ const TranactionRoute = { ...@@ -140,6 +146,7 @@ const TranactionRoute = {
path: '/memberCenter/tranactionAbility/stockSellStorage/bills/add', path: '/memberCenter/tranactionAbility/stockSellStorage/bills/add',
name: 'addBills', name: 'addBills',
hideInMenu: true, hideInMenu: true,
noMargin: true,
component: '@/pages/transaction/stockSellStorage/bills/addBills', component: '@/pages/transaction/stockSellStorage/bills/addBills',
}, },
// 单据-编辑 // 单据-编辑
...@@ -147,6 +154,7 @@ const TranactionRoute = { ...@@ -147,6 +154,7 @@ const TranactionRoute = {
path: '/memberCenter/tranactionAbility/stockSellStorage/bills/edit', path: '/memberCenter/tranactionAbility/stockSellStorage/bills/edit',
name: 'editBills', name: 'editBills',
hideInMenu: true, hideInMenu: true,
noMargin: true,
component: '@/pages/transaction/stockSellStorage/bills/editBills', component: '@/pages/transaction/stockSellStorage/bills/editBills',
}, },
// 单据-详情 // 单据-详情
...@@ -154,6 +162,7 @@ const TranactionRoute = { ...@@ -154,6 +162,7 @@ const TranactionRoute = {
path: '/memberCenter/tranactionAbility/stockSellStorage/bills/detail', path: '/memberCenter/tranactionAbility/stockSellStorage/bills/detail',
name: 'billsDetail', name: 'billsDetail',
hideInMenu: true, hideInMenu: true,
noMargin: true,
component: '@/pages/transaction/stockSellStorage/bills/billsDetail', component: '@/pages/transaction/stockSellStorage/bills/billsDetail',
}, },
// 库存 // 库存
......
...@@ -590,6 +590,9 @@ const BillsForm: React.FC<BillsFormProps> = ({ ...@@ -590,6 +590,9 @@ const BillsForm: React.FC<BillsFormProps> = ({
return ( return (
<Spin spinning={infoLoading}> <Spin spinning={infoLoading}>
<PageHeaderWrapper <PageHeaderWrapper
style={{
padding: 24,
}}
onBack={() => history.goBack()} onBack={() => history.goBack()}
backIcon={<ReutrnEle description="返回" />} backIcon={<ReutrnEle description="返回" />}
title={ title={
......
...@@ -86,6 +86,9 @@ const BillTypeForm: React.FC<BillTypeFormProps> = ({ ...@@ -86,6 +86,9 @@ const BillTypeForm: React.FC<BillTypeFormProps> = ({
return ( return (
<Spin spinning={infoLoading}> <Spin spinning={infoLoading}>
<PageHeaderWrapper <PageHeaderWrapper
style={{
padding: 24,
}}
onBack={() => history.goBack()} onBack={() => history.goBack()}
backIcon={<ReutrnEle description="返回" />} backIcon={<ReutrnEle description="返回" />}
title={ title={
......
...@@ -120,6 +120,9 @@ const WarehouseForm: React.FC<WarehouseFormProps> = ({ ...@@ -120,6 +120,9 @@ const WarehouseForm: React.FC<WarehouseFormProps> = ({
return ( return (
<Spin spinning={infoLoading}> <Spin spinning={infoLoading}>
<PageHeaderWrapper <PageHeaderWrapper
style={{
padding: 24,
}}
onBack={() => history.goBack()} onBack={() => history.goBack()}
backIcon={<ReutrnEle description="返回" />} backIcon={<ReutrnEle description="返回" />}
title={ title={
......
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