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
0c2deaa2
Commit
0c2deaa2
authored
Aug 18, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 添加备注字段相关
parent
af50b258
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
4 deletions
+20
-4
addDeliverBill.tsx
...e/returnApplication/returnPrAddDeliver/addDeliverBill.tsx
+2
-2
addWarehouseBill.tsx
.../returnManage/returnPrAddWarehousing/addWarehouseBill.tsx
+1
-1
interface.ts
...ckSellStorage/bills/components/BillsFormPage/interface.ts
+5
-0
schema.ts
...stockSellStorage/bills/components/BillsFormPage/schema.ts
+12
-1
No files found.
src/pages/afterService/returnApplication/returnPrAddDeliver/addDeliverBill.tsx
View file @
0c2deaa2
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-08-04 15:53:06
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-1
2 16:28:45
* @LastEditTime: 2021-08-1
8 09:54:52
* @Description: 新增退货发货单
*/
import
React
,
{
useState
}
from
'react'
;
...
...
@@ -59,7 +59,7 @@ const ReturnAddDeliverBill = () => {
returnId: applyId,
deliveryTime: values.createTime ? moment(values.createTime).valueOf() : 0,
orderAbstract: values.digest,
remark:
''
,
remark:
values.remark
,
inventoryName: values.inventoryName,
inventoryRole: values.inventoryRole,
detailList: values.billDetails.map((item) => ({
...
...
src/pages/afterService/returnManage/returnPrAddWarehousing/addWarehouseBill.tsx
View file @
0c2deaa2
...
...
@@ -60,7 +60,7 @@ const ReturnAddWarehouseBill = () => {
returnId
:
applyId
,
storageTime
:
values
.
createTime
?
moment
(
values
.
createTime
).
valueOf
()
:
0
,
orderAbstract
:
values
.
digest
,
remark
:
''
,
remark
:
values
.
remark
,
inventoryName
:
values
.
inventoryName
,
inventoryRole
:
values
.
inventoryRole
,
detailList
:
values
.
billDetails
.
map
((
item
)
=>
({
...
...
src/pages/transaction/stockSellStorage/bills/components/BillsFormPage/interface.ts
View file @
0c2deaa2
...
...
@@ -146,4 +146,8 @@ export type BillSubmitValuesType = RelatedInfoType & {
* 关联对应单据会员名称
*/
memberName
:
string
,
/**
* 备注
*/
remark
:
string
,
}
\ No newline at end of file
src/pages/transaction/stockSellStorage/bills/components/BillsFormPage/schema.ts
View file @
0c2deaa2
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-08-04 13:59:33
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-1
6 15:28:50
* @LastEditTime: 2021-08-1
8 09:53:05
* @Description:
*/
import
{
ISchema
}
from
'@formily/antd'
;
...
...
@@ -187,6 +187,17 @@ const createSchema = (billType: number): ISchema => {
},
],
},
remark
:
{
type
:
'string'
,
title
:
'备注'
,
'x-component'
:
'textarea'
,
'x-rules'
:
[
{
limitByte
:
true
,
// 自定义校验规则
maxByte
:
200
,
}
],
},
// 收集值用
inventoryName
:
{
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