Commit d3334e84 authored by 陈智峰's avatar 陈智峰

Merge branch 'feng-jinfa-20221102' into 'jinfa-20221102'

fix: bug35688 See merge request project/jinfa-platform!469
parents b39bcdb8 e05fcf89
......@@ -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
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment