Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
XieZhiXiong
jinfa-platform
Commits
b6ec048a
Commit
b6ec048a
authored
Aug 04, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加 新增退货发货单 页面
parent
4403c167
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
1 deletion
+55
-1
returnRoute.ts
config/routes/afterServiceRoute/returnRoute.ts
+8
-0
menu.ts
src/locales/zh-CN/menu.ts
+1
-0
addDeliverBill.tsx
...e/returnApplication/returnPrAddDeliver/addDeliverBill.tsx
+38
-0
detail.tsx
...erService/returnApplication/returnPrAddDeliver/detail.tsx
+8
-1
No files found.
config/routes/afterServiceRoute/returnRoute.ts
View file @
b6ec048a
...
...
@@ -86,6 +86,14 @@ const route: RouterChild = {
hideInMenu
:
true
,
noMargin
:
true
,
},
// 待新增退货发货单-新增
{
path
:
'/memberCenter/afterService/returnApplication/returnPrAddDeliver/add'
,
name
:
'returnAddDeliverBill'
,
component
:
'@/pages/afterService/returnApplication/returnPrAddDeliver/addDeliverBill'
,
hideInMenu
:
true
,
noMargin
:
true
,
},
// 待新增退货发货单-订单详情
{
path
:
'/memberCenter/afterService/returnApplication/returnPrAddDeliver/orderDetail'
,
...
...
src/locales/zh-CN/menu.ts
View file @
b6ec048a
...
...
@@ -591,6 +591,7 @@ export default {
'menu.afterService.returnApplication.addReturnPrSubmit'
:
'新建退货申请单'
,
'menu.afterService.returnApplication.editReturnPrSubmit'
:
'编辑退货申请单'
,
'menu.afterService.returnApplication.returnPrAddDeliver'
:
'待新增退货发货单'
,
'menu.afterService.returnApplication.returnAddDeliverBill'
:
'新增退货发货单'
,
'menu.afterService.returnApplication.returnPrAddLogistics'
:
'待新增物流单'
,
'menu.afterService.returnApplication.returnPrDeliver'
:
'待退货发货'
,
'menu.afterService.returnApplication.verifyReturnPrDeliver'
:
'退货发货'
,
...
...
src/pages/afterService/returnApplication/returnPrAddDeliver/addDeliverBill.tsx
0 → 100644
View file @
b6ec048a
/*
* @Author: XieZhiXiong
* @Date: 2021-08-04 15:53:06
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-04 16:49:47
* @Description: 新增退货发货单
*/
import
React
from
'react'
;
import
{
DOC_TYPE_RETURN_INVOICE
}
from
'@/constants/commodity'
;
import
BillsFormPage
,
{
RelatedInfoType
}
from
'@/pages/transaction/stockSellStorage/bills/components/BillsFormPage'
;
import
{
PATTERN_MAPS
}
from
'@/constants/regExp'
;
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
const
ReturnAddDeliverBill
=
()
=>
{
const
{
id
}
=
usePageStatus
();
const
fetchRelatedInfo
=
():
Promise
<
RelatedInfoType
>
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
setTimeout
(()
=>
{
resolve
({
relatedNo
:
'FPTY12'
,
memberName
:
'温州龙昌手袋有限公司'
,
address
:
'张三 / 185 2929 6758 广东省广州市海珠区新港东路1068号中洲中心北塔6楼'
,
logisticsTypeName
:
'物流'
,
});
},
2000
);
});
};
return
(
<
BillsFormPage
billType=
{
DOC_TYPE_RETURN_INVOICE
}
fetchRelatedInfo=
{
fetchRelatedInfo
}
/>
);
};
export
default
ReturnAddDeliverBill
;
src/pages/afterService/returnApplication/returnPrAddDeliver/detail.tsx
View file @
b6ec048a
/*
* @Author: XieZhiXiong
* @Date: 2021-01-06 11:36:34
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-04 11:29:53
* @Description:
*/
import
React
from
'react'
;
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
import
DetailInfo
from
'../components/DetailInfo'
;
const
ReturnPrAddDeliverDetail
:
React
.
FC
=
()
=>
{
const
{
id
,
creditId
}
=
usePageStatus
();
const
{
id
}
=
usePageStatus
();
return
(
<
DetailInfo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment