|
|
@ -857,7 +857,13 @@ const openForm = async (type: string, row?: any) => { |
|
|
|
} |
|
|
|
} |
|
|
|
// 编辑---procurementCreator采购审批人、discountAmount1折扣金额 |
|
|
|
if (item.field == 'procurementCreator' || item.field == 'discountAmount1') { |
|
|
|
if (item.field == 'procurementCreator') { |
|
|
|
if (row.status == '1' || row.status == '6') { |
|
|
|
item.componentProps.disabled = false |
|
|
|
} else { |
|
|
|
item.componentProps.disabled = true |
|
|
|
} |
|
|
|
}else if(item.field == 'discountAmount1'){ |
|
|
|
if (row.status == '1' || row.status == '6' || row.status == '3') { |
|
|
|
item.componentProps.disabled = false |
|
|
|
} else { |
|
|
|