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
691c8f14
Commit
691c8f14
authored
Aug 17, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 对接新增售后换货简单流程
parent
424ede16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
24 deletions
+15
-24
index.tsx
...cation/exchangePrSubmit/components/ExchangeForm/index.tsx
+0
-0
index.ts
.../exchangePrSubmit/components/ExchangeForm/schema/index.ts
+15
-24
No files found.
src/pages/afterService/exchangeApplication/exchangePrSubmit/components/ExchangeForm/index.tsx
View file @
691c8f14
This diff is collapsed.
Click to expand it.
src/pages/afterService/exchangeApplication/exchangePrSubmit/components/ExchangeForm/schema/index.ts
View file @
691c8f14
...
...
@@ -305,32 +305,27 @@ export const addSchema = (orderType: number): ISchema => {
title
:
'订单号'
,
'x-component'
:
'OrderNo'
,
},
materielNo
:
{
associatedProductId
:
{
type
:
'string'
,
title
:
'物料编号'
,
'x-component'
:
'Text'
,
},
materielNameAndTyp
e
:
{
associatedProductNam
e
:
{
type
:
'string'
,
title
:
'物料名称、规格'
,
'x-component'
:
'Text'
,
},
materielType
:
{
type
:
'string'
,
title
:
'规格'
,
'x-component'
:
'Text'
,
},
materielCategory
:
{
associatedCategory
:
{
type
:
'string'
,
title
:
'品类'
,
'x-component'
:
'Text'
,
},
materiel
Brand
:
{
associated
Brand
:
{
type
:
'string'
,
title
:
'品牌'
,
'x-component'
:
'Text'
,
},
materiel
Unit
:
{
associated
Unit
:
{
type
:
'string'
,
title
:
'单位'
,
'x-component'
:
'Text'
,
...
...
@@ -397,11 +392,6 @@ export const addSchema = (orderType: number): ISchema => {
}
],
},
// 不用于展示,只用于收集值
id
:
{
type
:
'string'
,
display
:
false
,
},
// 其他数据,不用于展示,只用于收集值
extraData
:
{
type
:
'string'
,
...
...
@@ -488,9 +478,9 @@ export const addSchema = (orderType: number): ISchema => {
title
:
'退货发货地址'
,
type
:
'string'
,
visible
:
false
,
'x-component'
:
'
AddressFormItem
'
,
'x-component'
:
'
CustomAddressSelect
'
,
'x-component-props'
:
{
dataSource
:
[]
,
isDefaultAddress
:
true
,
},
'x-rules'
:
[
{
...
...
@@ -501,12 +491,12 @@ export const addSchema = (orderType: number): ISchema => {
},
// 退货自提地址
pickupAddress
:
{
title
:
'退货自提地址'
,
type
:
'string'
,
visible
:
false
,
'x-component'
:
'
AddressFormItem
'
,
title
:
'退货自提地址'
,
type
:
'string'
,
visible
:
false
,
'x-component'
:
'
CustomAddressSelect
'
,
'x-component-props'
:
{
dataSource
:
[]
,
isDefaultAddress
:
true
,
},
'x-rules'
:
[
{
...
...
@@ -519,9 +509,10 @@ export const addSchema = (orderType: number): ISchema => {
deliveryAddress
:
{
title
:
'换货收货地址'
,
type
:
'string'
,
'x-component'
:
'
AddressFormItem
'
,
'x-component'
:
'
CustomAddressSelect
'
,
'x-component-props'
:
{
dataSource
:
[],
isDefaultAddress
:
true
,
addressType
:
1
,
},
'x-rules'
:
[
{
...
...
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