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
黄庭坚
jinfa-platform
Commits
2b9b2be2
Commit
2b9b2be2
authored
Jul 14, 2021
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改新增加工
parent
d4ebbe8f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
171 additions
and
131 deletions
+171
-131
schema.tsx
...andling/assign/create/components/ProductDrawer/schema.tsx
+3
-1
index.tsx
src/pages/handling/assign/create/index.tsx
+55
-130
types.ts
src/pages/handling/assign/create/types.ts
+113
-0
No files found.
src/pages/handling/assign/create/components/ProductDrawer/schema.tsx
View file @
2b9b2be2
...
...
@@ -88,10 +88,12 @@ const schema: ISchema = {
processNum
:
{
type
:
'string'
,
title
:
'加工数量'
,
required
:
true
},
processUnitPrice
:
{
title
:
"单价"
,
type
:
'string'
type
:
'string'
,
required
:
true
},
isHasTax
:
{
title
:
"是否含税"
,
...
...
src/pages/handling/assign/create/index.tsx
View file @
2b9b2be2
This diff is collapsed.
Click to expand it.
src/pages/handling/assign/create/types.ts
0 → 100644
View file @
2b9b2be2
export
type
EnterpriceType
=
{
name
:
string
,
memberId
:
number
|
string
,
roleId
:
number
|
string
}
export
type
FileType
=
{
name
:
string
,
url
:
string
,
}
export
type
submitDataType
=
{
/** 物流地址id, 显示用,不提交 */
receivefullAddress
:
number
,
receiveAddress
:
string
receiveUserName
:
string
receiveUserTel
:
string
receiverAddressId
:
number
deliveryDate
:
string
,
/**配送方式 */
deliveryType
:
1
|
2
|
number
&
{},
/* 加工企业id */
processMemberId
:
number
,
processName
:
string
processRoleId
:
number
,
/** 来源 1 加工订单, 2 加工商品 */
source
:
1
|
2
|
number
&
{},
/** 通知单摘要 */
summary
:
string
,
orderList
?:
{
/** 品牌 */
brand
:
string
,
category
:
string
/** skuid */
commodityId
:
number
,
/** 附件 */
enclosure
:
FileType
[],
/** 订单商品,即下单的商品 唯一id */
id
:
string
,
/** 是否是 */
isHasTax
:
0
|
1
|
number
|
{},
/** 是否含税、税率,显示用 */
isHasTaxAndTaxRate
:
string
,
/** 商品图片 */
mainPic
:
string
,
/** 商品名 */
name
:
string
,
/** 订单id, 跟上面id 不一样 */
orderId
:
number
,
orderNo
:
string
,
/** 加工数量 */
processNum
:
string
,
/** 加工总价 = 加工数量 * 加工单价 */
processTotalPrice
:
string
,
/** 加工单价 */
processUnitPrice
:
string
,
/** 采购数量 或者叫订单数量 */
purchaseCount
:
number
/** 采购数量 跟 单位,只做显示用 */
purchaseCountAndUnit
:
string
,
/** skuid, 这里跟commodityId yizhi */
skuid
:
number
/** 加工剩余数量 */
surplusAndProcessNum
:
number
,
/** 税率 */
taxRate
:
string
,
/** 单位 */
unitName
:
string
,
/** 商品属性 */
productProps
:
{
name
:
string
,
value
:
string
,
}[]
}[],
/** 加工商品 */
productList
:
{
brand
:
string
,
category
:
string
,
/** 商品id */
commodityId
:
number
,
enclosure
:
FileType
[],
isHasTax
:
0
|
1
|
number
&
{}
isHasTaxAndTaxRate
:
string
,
mainPic
:
string
,
name
:
string
,
processNum
:
string
,
processTotalPrice
:
string
,
processUnitPrice
:
string
,
productProps
:
{
name
:
string
,
value
:
string
,
}[],
/** skuid */
skuid
:
number
,
taxRate
:
string
,
unitName
:
string
,
}[],
/** 其他说明 */
otherDesc
:
string
,
/** 包装说明 */
packingDesc
:
string
,
/** 付款说明 */
payDesc
:
string
,
/** 税费说明 */
taxDesc
:
string
,
/** 交付说明 */
deliveryDesc
:
string
,
/** 物资说明 */
materialDesc
:
string
,
enclosure
:
FileType
[]
}
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