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
d3334e84
Commit
d3334e84
authored
Dec 12, 2022
by
陈智峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feng-jinfa-20221102' into 'jinfa-20221102'
fix: bug35688 See merge request project/jinfa-platform!469
parents
b39bcdb8
e05fcf89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
useMaterialTable.tsx
.../purchaseOrder/orderCollectSrm/model/useMaterialTable.tsx
+4
-1
No files found.
src/pages/transaction/purchaseOrder/orderCollectSrm/model/useMaterialTable.tsx
View file @
d3334e84
...
...
@@ -64,11 +64,14 @@ export const useMaterialTable = (
orderMode
===
OrderModalType
.
PURCHASE_REQUISITION_CONTRACT_ORDER
?
materialInfoColumnsByRequisition
:
materialInfoColumns
.
map
(
val
=>
{
if
(
val
.
key
===
'quantity'
)
{
// //采购询价合同、框架都能改 其他不能都不能改(这个在弹窗里面输入数量了)
return
{
...
val
,
editable
:
id
?
true
:
false
||
orderMode
===
OrderModalType
.
PURCHASE_ENQUIRY
_CONTRACT_ORDER
,
editable
:
orderMode
===
OrderModalType
.
PURCHASE_ENQUIRY_CONTRACT_ORDER
||
orderMode
===
OrderModalType
.
FRAME
_CONTRACT_ORDER
,
}
}
return
val
})
...
...
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