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
shenshaokai
jinfa-platform
Commits
c94d4256
Commit
c94d4256
authored
Dec 14, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 代客申请售后订单类型不可选,只做现货订单
parent
b770926a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
6 deletions
+15
-6
index.tsx
.../afterService/exchangeManage/exchangeValetApply/index.tsx
+4
-2
schema.ts
.../afterService/exchangeManage/exchangeValetApply/schema.ts
+1
-0
index.tsx
...ages/afterService/repairManage/repairValetApply/index.tsx
+4
-2
schema.ts
...ages/afterService/repairManage/repairValetApply/schema.ts
+1
-0
index.tsx
...ages/afterService/returnManage/returnValetApply/index.tsx
+4
-2
schema.ts
...ages/afterService/returnManage/returnValetApply/schema.ts
+1
-0
No files found.
src/pages/afterService/exchangeManage/exchangeValetApply/index.tsx
View file @
c94d4256
...
...
@@ -23,6 +23,7 @@ import { getAuth } from '@/utils/auth';
import
{
ORDER_TYPE2_POINTS
,
ORDER_TYPE2_CHANNEL_POINTS
,
ORDER_TYPE_STORE_PURCHASE
,
}
from
'@/constants/order'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
import
StatusTag
from
'@/components/StatusTag'
;
...
...
@@ -170,13 +171,14 @@ OrderNo.isFieldComponent = true;
const
ExchangeValetApply
:
React
.
FC
<
BillsFormProps
>
=
()
=>
{
const
[
detailInfo
]
=
useState
<
DetailInfo
>
({
applyTime
:
moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
applyTime
:
moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
orderType
:
ORDER_TYPE_STORE_PURCHASE
,
});
const
[
unsaved
,
setUnsaved
]
=
useState
(
false
);
const
[
goodsValue
,
setGoodsValue
]
=
useState
([]);
const
[
submitLoading
,
setSubmitLoading
]
=
useState
(
false
);
const
[
visibleGoodsDrawer
,
setVisibleGoodsDrawer
]
=
useState
(
false
);
const
[
orderTypeValue
,
setOrderTypeValue
]
=
useState
(
0
);
const
[
orderTypeValue
,
setOrderTypeValue
]
=
useState
(
ORDER_TYPE_STORE_PURCHASE
);
const
isPointsOrder
=
orderTypeValue
===
ORDER_TYPE2_POINTS
||
orderTypeValue
===
ORDER_TYPE2_CHANNEL_POINTS
;
const
isMateriel
=
isMaterialOrder
(
orderTypeValue
);
...
...
src/pages/afterService/exchangeManage/exchangeValetApply/schema.ts
View file @
c94d4256
...
...
@@ -102,6 +102,7 @@ export const addSchema = (orderType: number): ISchema => {
placeholder
:
intl
.
formatMessage
({
id
:
'afterService.apply.orderType.placeholder'
},
{
default
:
'请选择'
}),
},
required
:
true
,
editable
:
false
,
},
applyNo
:
{
type
:
'string'
,
...
...
src/pages/afterService/repairManage/repairValetApply/index.tsx
View file @
c94d4256
...
...
@@ -21,6 +21,7 @@ import { getOrderCommonAgentAfterSalePage } from '@/services/OrderNewV2Api';
import
{
getMemberManageOrderAgentMembers
,
GetMemberManageOrderAgentMembersResponse
}
from
'@/services/MemberV2Api'
;
import
{
FileData
}
from
'@/utils'
;
import
{
getAuth
}
from
'@/utils/auth'
;
import
{
ORDER_TYPE_STORE_PURCHASE
}
from
'@/constants/order'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
import
NiceForm
from
'@/components/NiceForm'
;
import
StatusTag
from
'@/components/StatusTag'
;
...
...
@@ -81,14 +82,15 @@ OrderNo.isFieldComponent = true;
const
RepairValetApply
:
React
.
FC
<
BillsFormProps
>
=
()
=>
{
const
[
detailInfo
]
=
useState
<
DetailInfo
>
({
applyTime
:
moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
applyTime
:
moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
orderType
:
ORDER_TYPE_STORE_PURCHASE
,
});
const
[
repairGoodsList
]
=
useState
<
GetAsRepairGoodsPageRepairGoodsResponseDetail
[]
>
([]);
const
[
unsaved
,
setUnsaved
]
=
useState
(
false
);
const
[
goodsValue
,
setGoodsValue
]
=
useState
([]);
const
[
submitLoading
,
setSubmitLoading
]
=
useState
(
false
);
const
[
visibleDrawer
,
setVisibleDrawer
]
=
useState
(
false
);
const
[
orderTypeValue
,
setOrderTypeValue
]
=
useState
(
0
);
const
[
orderTypeValue
,
setOrderTypeValue
]
=
useState
(
ORDER_TYPE_STORE_PURCHASE
);
const
isMateriel
=
isMaterialOrder
(
orderTypeValue
);
...
...
src/pages/afterService/repairManage/repairValetApply/schema.ts
View file @
c94d4256
...
...
@@ -96,6 +96,7 @@ export const addSchema = (orderType: number): ISchema => {
placeholder
:
intl
.
formatMessage
({
id
:
'afterService.apply.orderType.placeholder'
},
{
default
:
'请选择'
}),
},
required
:
true
,
editable
:
false
,
},
applyNo
:
{
type
:
'string'
,
...
...
src/pages/afterService/returnManage/returnValetApply/index.tsx
View file @
c94d4256
...
...
@@ -21,6 +21,7 @@ import { postAsReturnGoodsAgentSave } from '@/services/AfterServiceV2Api';
import
{
getMemberManageOrderAgentMembers
,
GetMemberManageOrderAgentMembersResponse
}
from
'@/services/MemberV2Api'
;
import
{
FileData
}
from
'@/utils'
;
import
{
getAuth
}
from
'@/utils/auth'
;
import
{
ORDER_TYPE_STORE_PURCHASE
}
from
'@/constants/order'
;
import
ReutrnEle
from
'@/components/ReturnEle'
;
import
StatusTag
from
'@/components/StatusTag'
;
import
NiceForm
from
'@/components/NiceForm'
;
...
...
@@ -172,7 +173,8 @@ OrderNo.isFieldComponent = true;
const
ReturnValetApply
:
React
.
FC
<
BillsFormProps
>
=
()
=>
{
const
[
detailInfo
]
=
useState
<
DetailInfo
>
({
applyTime
:
moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
applyTime
:
moment
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
orderType
:
ORDER_TYPE_STORE_PURCHASE
,
});
const
[
unsaved
,
setUnsaved
]
=
useState
(
false
);
const
[
submitLoading
,
setSubmitLoading
]
=
useState
(
false
);
...
...
@@ -180,7 +182,7 @@ const ReturnValetApply: React.FC<BillsFormProps> = () => {
const
[
visibleGoodsDrawer
,
setVisibleGoodsDrawer
]
=
useState
(
false
);
const
[
visibleReturnInfoDrawer
,
setVisibleReturnInfoDrawer
]
=
useState
(
false
);
const
[
goodsValue
,
setGoodsValue
]
=
useState
([]);
const
[
orderTypeValue
,
setOrderTypeValue
]
=
useState
(
0
);
const
[
orderTypeValue
,
setOrderTypeValue
]
=
useState
(
ORDER_TYPE_STORE_PURCHASE
);
const
isMateriel
=
isMaterialOrder
(
orderTypeValue
);
...
...
src/pages/afterService/returnManage/returnValetApply/schema.ts
View file @
c94d4256
...
...
@@ -97,6 +97,7 @@ export const addSchema = (orderType: number): ISchema => {
placeholder
:
intl
.
formatMessage
({
id
:
'afterService.apply.orderType.placeholder'
},
{
default
:
'请选择'
}),
},
required
:
true
,
editable
:
false
,
},
applyNo
:
{
type
:
'string'
,
...
...
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