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