|
|
@ -138,7 +138,7 @@ |
|
|
|
:apiPage="SupplierinvoiceRequestDetailApi.getSupplierinvoiceRequestDetailPage" |
|
|
|
:apiDelete="SupplierinvoiceRequestDetailApi.deleteSupplierinvoiceRequestDetail" |
|
|
|
:Echo="Echo" |
|
|
|
:detailButtonIsShowEdit="false" |
|
|
|
:detailButtonIsShowEdit="true" |
|
|
|
:detailButtonIsShowAddStatusArray="['1','6']" |
|
|
|
:detailButtonIsShowDelete="true" |
|
|
|
:detailButtonIsShowAdd="true" |
|
|
@ -447,7 +447,29 @@ const handleImport = () => { |
|
|
|
if(item.field == 'orderType'){ |
|
|
|
item.componentProps.disabled = true |
|
|
|
} |
|
|
|
if(row.status=='3'){ |
|
|
|
if(item.field == 'procurementCreator'){ |
|
|
|
// 采购价格审批人 |
|
|
|
item.componentProps.disabled = true |
|
|
|
} |
|
|
|
if(item.field == 'taxRate'){ |
|
|
|
// 税率 |
|
|
|
item.componentProps.disabled = true |
|
|
|
} |
|
|
|
}else{ |
|
|
|
if(item.field == 'procurementCreator'){ |
|
|
|
// 采购价格审批人 |
|
|
|
item.componentProps.disabled = false |
|
|
|
} |
|
|
|
if(item.field == 'taxRate'){ |
|
|
|
// 税率 |
|
|
|
item.componentProps.disabled = false |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else{ |
|
|
|
SupplierinvoiceRequestMain.allSchemas.formSchema.forEach((item) => { |
|
|
|
if(item.field == 'orderType'){ |
|
|
@ -457,6 +479,14 @@ const handleImport = () => { |
|
|
|
//默认供应商代码 |
|
|
|
item.value = defaultSupplierCode.value |
|
|
|
} |
|
|
|
if(item.field == 'procurementCreator'){ |
|
|
|
//采购价格审批人 |
|
|
|
item.componentProps.disabled = false |
|
|
|
} |
|
|
|
if(item.field == 'taxRate'){ |
|
|
|
// 税率 |
|
|
|
item.componentProps.disabled = false |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|