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
7d4d3389
Commit
7d4d3389
authored
May 12, 2022
by
何洋
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jinfa-0518-order' into 'jinfa-0518'
fix: 采购订单编辑bug See merge request project/jinfa-platform!25
parents
d2b3f8de
9dbc5ef2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
index.tsx
...r/orderCollectSrm/components/contractModalTable/index.tsx
+2
-2
index.tsx
...pages/transaction/purchaseOrder/orderCollectSrm/index.tsx
+17
-0
No files found.
src/pages/transaction/purchaseOrder/orderCollectSrm/components/contractModalTable/index.tsx
View file @
7d4d3389
...
...
@@ -78,10 +78,10 @@ const ContractModalTable:React.FC<ContractModalTableProps> = (props) => {
// 币别
schemaAction
.
setFieldValue
(
'currencyType'
,
item
.
currencyType
)
// 付款方式
schemaAction
.
setFieldValue
(
'paymentType'
,
item
.
paymentType
||
1
)
schemaAction
.
setFieldValue
(
'paymentType'
,
item
.
paymentType
)
schemaAction
.
setFieldValue
(
'paymentTypeName'
,
item
.
paymentTypeName
)
// 付款条件
schemaAction
.
setFieldValue
(
'paymentClauseType'
,
item
.
paymentClauseType
||
1
)
schemaAction
.
setFieldValue
(
'paymentClauseType'
,
item
.
paymentClauseType
)
schemaAction
.
setFieldValue
(
'paymentClauseTypeName'
,
item
.
paymentClauseTypeName
)
// 到货区域
schemaAction
.
setFieldValue
(
'arrivalArea'
,
item
.
arrivalArea
)
...
...
src/pages/transaction/purchaseOrder/orderCollectSrm/index.tsx
View file @
7d4d3389
...
...
@@ -161,6 +161,23 @@ const PurchaseOrderDetail:React.FC<PurchaseOrderDetailProps> = (props) => {
setTimeout
(()
=>
{
addSchemaAction
.
setFieldValue
(
'products'
,
_orderProductRequests
)
addSchemaAction
.
setFieldValue
(
'contract'
,
{...
data
.
contract
})
// 订单分类
addSchemaAction
.
setFieldValue
(
'sapOrderType'
,
data
.
sapOrderType
)
// 业务类型
addSchemaAction
.
setFieldValue
(
'businessType'
,
data
.
businessType
)
addSchemaAction
.
setFieldValue
(
'businessTypeName'
,
data
.
businessTypeName
)
// 币别
addSchemaAction
.
setFieldValue
(
'currencyType'
,
data
.
currencyType
)
// 付款方式
addSchemaAction
.
setFieldValue
(
'paymentType'
,
data
.
paymentType
)
addSchemaAction
.
setFieldValue
(
'paymentTypeName'
,
data
.
paymentTypeName
)
// 付款条件
addSchemaAction
.
setFieldValue
(
'paymentClauseType'
,
data
.
paymentClauseType
)
addSchemaAction
.
setFieldValue
(
'paymentClauseTypeName'
,
data
.
paymentClauseTypeName
)
// 到货区域
addSchemaAction
.
setFieldValue
(
'arrivalArea'
,
data
.
arrivalArea
)
// 到货港口
addSchemaAction
.
setFieldValue
(
'arrivalPort'
,
data
.
arrivalPort
)
addSchemaAction
.
setFieldState
(
'products'
,
productState
=>
{
const
columns
=
data
.
orderMode
===
OrderModalType
.
PURCHASE_REQUISITION_CONTRACT_ORDER
?
materialColumnsByRequisition
...
...
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