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
linweijiong
jinfa-platform
Commits
1414f7f8
Commit
1414f7f8
authored
Jun 07, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加 合同订单手工发货相关 判断
parent
29fab658
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
38 additions
and
23 deletions
+38
-23
constants.ts
src/pages/afterService/constants.ts
+20
-4
verify.tsx
...rService/exchangeApplication/exchangePrDeliver/verify.tsx
+4
-4
verify.tsx
...Service/exchangeApplication/exchangePrReceived/verify.tsx
+3
-3
verify.tsx
.../afterService/exchangeManage/exchangePrDeliver/verify.tsx
+3
-3
verify.tsx
...afterService/exchangeManage/exchangePrReceived/verify.tsx
+3
-3
verify.tsx
...afterService/returnApplication/returnPrDeliver/verify.tsx
+2
-2
verify.tsx
...ges/afterService/returnManage/returnPrReceived/verify.tsx
+3
-4
No files found.
src/pages/afterService/constants.ts
View file @
1414f7f8
...
...
@@ -306,11 +306,11 @@ export const REFUND_OUTER_STATUS_TAG_MAP = {
// 工作流相关
/**
* 售后退货
外部流转
* 售后退货
默认流程
*/
export
const
RETURN_GOODS_OUTER_DELIVERY
=
18
;
/**
* 售后换货
外部流转
* 售后换货
默认流程
*/
export
const
EXCHANGE_GOODS_OUTER_DELIVERY
=
20
;
/**
...
...
@@ -320,4 +320,20 @@ export const EXCHANGE_GOODS_MANUAL_DELIVERY = 30;
/**
* 售后退货手工发货
*/
export
const
RETURN_GOODS_MANUAL_DELIVERY
=
31
;
\ No newline at end of file
export
const
RETURN_GOODS_MANUAL_DELIVERY
=
31
;
/**
* 售后退货默认流程-合同订单
*/
export
const
RETURN_GOODS_OUTER_DELIVERY_CONTRACT
=
43
;
/**
* 售后退货手工发货-合同订单
*/
export
const
RETURN_GOODS_MANUAL_DELIVERY_CONTRACT
=
44
;
/**
* 售后换货默认流程-合同订单
*/
export
const
EXCHANGE_GOODS_OUTER_DELIVERY_CONTRACT
=
45
;
/**
* 售后换货手工发货-合同订单
*/
export
const
EXCHANGE_GOODS_MANUAL_DELIVERY_CONTRACT
=
46
;
\ No newline at end of file
src/pages/afterService/exchangeApplication/exchangePrDeliver/verify.tsx
View file @
1414f7f8
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-01-06 11:36:34
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-0
2-20 17:18:35
* @LastEditTime: 2021-0
6-07 17:08:04
* @Description:
*/
import
React
,
{
useState
}
from
'react'
;
...
...
@@ -11,12 +11,12 @@ import { history } from 'umi';
import
{
PublicApi
}
from
'@/services/api'
;
import
{
SettingOutlined
}
from
'@ant-design/icons'
;
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
import
{
EXCHANGE_GOODS_MANUAL_DELIVERY
}
from
'../../constants'
;
import
{
EXCHANGE_GOODS_MANUAL_DELIVERY
,
EXCHANGE_GOODS_MANUAL_DELIVERY_CONTRACT
}
from
'../../constants'
;
import
ManualDeliveryModal
from
'../../components/ManualDeliveryModal'
;
import
DetailInfo
from
'../components/DetailInfo'
;
const
ExchangePrDeliverVerify
:
React
.
FC
=
()
=>
{
const
{
id
,
creditId
}
=
usePageStatus
();
const
{
id
}
=
usePageStatus
();
const
[
modalVisible
,
setModalVisible
]
=
useState
(
false
);
const
[
submitLoading
,
setSubmitLoading
]
=
useState
(
false
);
...
...
@@ -47,7 +47,7 @@ const ExchangePrDeliverVerify: React.FC = () => {
id=
{
id
}
headExtra=
{
info
=>
(
<>
{
(
info
&&
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY
)
&&
(
{
(
info
&&
(
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY
||
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY_CONTRACT
)
)
&&
(
<
Button
type=
"default"
icon=
{
<
SettingOutlined
/>
}
...
...
src/pages/afterService/exchangeApplication/exchangePrReceived/verify.tsx
View file @
1414f7f8
...
...
@@ -11,12 +11,12 @@ import { history } from 'umi';
import
{
PublicApi
}
from
'@/services/api'
;
import
{
SettingOutlined
}
from
'@ant-design/icons'
;
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
import
{
EXCHANGE_GOODS_MANUAL_DELIVERY
}
from
'../../constants'
;
import
{
EXCHANGE_GOODS_MANUAL_DELIVERY
,
EXCHANGE_GOODS_MANUAL_DELIVERY_CONTRACT
}
from
'../../constants'
;
import
ManualDeliveryModal
from
'../../components/ManualDeliveryModal'
;
import
DetailInfo
from
'../components/DetailInfo'
;
const
ExchangePrReceivedVerify
:
React
.
FC
=
()
=>
{
const
{
id
,
creditId
}
=
usePageStatus
();
const
{
id
}
=
usePageStatus
();
const
[
modalVisible
,
setModalVisible
]
=
useState
(
false
);
const
[
submitLoading
,
setSubmitLoading
]
=
useState
(
false
);
...
...
@@ -51,7 +51,7 @@ const ExchangePrReceivedVerify: React.FC = () => {
return
(
<>
{
(
info
&&
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY
)
&&
(
{
(
info
&&
(
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY
||
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY_CONTRACT
)
)
&&
(
<>
<
Button
type=
"default"
...
...
src/pages/afterService/exchangeManage/exchangePrDeliver/verify.tsx
View file @
1414f7f8
...
...
@@ -4,12 +4,12 @@ import { history } from 'umi';
import
{
PublicApi
}
from
'@/services/api'
;
import
{
SettingOutlined
}
from
'@ant-design/icons'
;
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
import
{
EXCHANGE_GOODS_MANUAL_DELIVERY
}
from
'../../constants'
;
import
{
EXCHANGE_GOODS_MANUAL_DELIVERY
,
EXCHANGE_GOODS_MANUAL_DELIVERY_CONTRACT
}
from
'../../constants'
;
import
ManualDeliveryModal
from
'../../components/ManualDeliveryModal'
;
import
DetailInfo
from
'../components/DetailInfo'
;
const
ExchangePrDeliverVerify
:
React
.
FC
=
()
=>
{
const
{
id
,
creditId
}
=
usePageStatus
();
const
{
id
}
=
usePageStatus
();
const
[
modalVisible
,
setModalVisible
]
=
useState
(
false
);
const
[
submitLoading
,
setSubmitLoading
]
=
useState
(
false
);
...
...
@@ -40,7 +40,7 @@ const ExchangePrDeliverVerify: React.FC = () => {
id=
{
id
}
headExtra=
{
info
=>
(
<>
{
(
info
&&
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY
)
&&
(
{
(
info
&&
(
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY
||
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY_CONTRACT
)
)
&&
(
<
Button
type=
"default"
icon=
{
<
SettingOutlined
/>
}
...
...
src/pages/afterService/exchangeManage/exchangePrReceived/verify.tsx
View file @
1414f7f8
...
...
@@ -11,12 +11,12 @@ import { history } from 'umi';
import
{
PublicApi
}
from
'@/services/api'
;
import
{
SettingOutlined
}
from
'@ant-design/icons'
;
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
import
{
EXCHANGE_GOODS_MANUAL_DELIVERY
}
from
'../../constants'
;
import
{
EXCHANGE_GOODS_MANUAL_DELIVERY
,
EXCHANGE_GOODS_MANUAL_DELIVERY_CONTRACT
}
from
'../../constants'
;
import
ManualDeliveryModal
from
'../../components/ManualDeliveryModal'
;
import
DetailInfo
from
'../components/DetailInfo'
;
const
ExchangePrReceivedVerify
:
React
.
FC
=
()
=>
{
const
{
id
,
creditId
}
=
usePageStatus
();
const
{
id
}
=
usePageStatus
();
const
[
modalVisible
,
setModalVisible
]
=
useState
(
false
);
const
[
submitLoading
,
setSubmitLoading
]
=
useState
(
false
);
...
...
@@ -51,7 +51,7 @@ const ExchangePrReceivedVerify: React.FC = () => {
return
(
<>
{
(
info
&&
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY
)
&&
(
{
(
info
&&
(
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY
||
info
.
taskType
===
EXCHANGE_GOODS_MANUAL_DELIVERY_CONTRACT
)
)
&&
(
<>
<
Button
type=
"default"
...
...
src/pages/afterService/returnApplication/returnPrDeliver/verify.tsx
View file @
1414f7f8
...
...
@@ -4,7 +4,7 @@ import { history } from 'umi';
import
{
PublicApi
}
from
'@/services/api'
;
import
{
SettingOutlined
}
from
'@ant-design/icons'
;
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
import
{
RETURN_GOODS_MANUAL_DELIVERY
}
from
'../../constants'
;
import
{
RETURN_GOODS_MANUAL_DELIVERY
,
RETURN_GOODS_MANUAL_DELIVERY_CONTRACT
}
from
'../../constants'
;
import
ManualDeliveryModal
from
'../../components/ManualDeliveryModal'
;
import
DetailInfo
from
'../components/DetailInfo'
;
...
...
@@ -40,7 +40,7 @@ const ReturnPrDeliverVerify: React.FC = () => {
id=
{
id
}
headExtra=
{
info
=>
(
<>
{
(
info
&&
info
.
taskType
===
RETURN_GOODS_MANUAL_DELIVERY
)
&&
(
{
(
info
&&
(
info
.
taskType
===
RETURN_GOODS_MANUAL_DELIVERY
||
info
.
taskType
===
RETURN_GOODS_MANUAL_DELIVERY_CONTRACT
)
)
&&
(
<
Button
type=
"default"
icon=
{
<
SettingOutlined
/>
}
...
...
src/pages/afterService/returnManage/returnPrReceived/verify.tsx
View file @
1414f7f8
...
...
@@ -8,16 +8,15 @@
import
React
,
{
useState
}
from
'react'
;
import
{
Button
}
from
'antd'
;
import
{
history
}
from
'umi'
;
import
moment
from
'moment'
;
import
{
PublicApi
}
from
'@/services/api'
;
import
{
SettingOutlined
}
from
'@ant-design/icons'
;
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
import
{
RETURN_GOODS_MANUAL_DELIVERY
}
from
'../../constants'
;
import
{
RETURN_GOODS_MANUAL_DELIVERY
,
RETURN_GOODS_MANUAL_DELIVERY_CONTRACT
}
from
'../../constants'
;
import
ManualDeliveryModal
from
'../../components/ManualDeliveryModal'
;
import
DetailInfo
from
'../components/DetailInfo'
;
const
ReturnPrReceivedVerify
:
React
.
FC
=
()
=>
{
const
{
id
,
creditId
}
=
usePageStatus
();
const
{
id
}
=
usePageStatus
();
const
[
modalVisible
,
setModalVisible
]
=
useState
(
false
);
const
[
submitLoading
,
setSubmitLoading
]
=
useState
(
false
);
...
...
@@ -52,7 +51,7 @@ const ReturnPrReceivedVerify: React.FC = () => {
return
(
<>
{
(
info
&&
info
.
taskType
===
RETURN_GOODS_MANUAL_DELIVERY
)
&&
(
{
(
info
&&
(
info
.
taskType
===
RETURN_GOODS_MANUAL_DELIVERY
||
info
.
taskType
===
RETURN_GOODS_MANUAL_DELIVERY_CONTRACT
)
)
&&
(
<>
<
Button
type=
"default"
...
...
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