|
|
@ -148,7 +148,8 @@ |
|
|
|
:apiPage="SupplierinvoiceRequestDetailApi.getSupplierinvoiceRequestDetailPage" |
|
|
|
:apiDelete="SupplierinvoiceRequestDetailApi.deleteSupplierinvoiceRequestDetail" |
|
|
|
:Echo="Echo" |
|
|
|
:detailButtonIsShowEdit="false" |
|
|
|
:detailButtonIsShowEdit="true" |
|
|
|
:detailButtonIsShowAddStatusArray="['1','6']" |
|
|
|
:detailButtonIsShowDelete="false" |
|
|
|
:detailButtonIsShowAdd="false" |
|
|
|
@buttonBaseClick="detailButtonBaseClick" |
|
|
@ -442,11 +443,11 @@ const handleImport = () => { |
|
|
|
/** 添加/修改操作 */ |
|
|
|
const formRef = ref() |
|
|
|
const openForm = async (type : string, row ?: number) => { |
|
|
|
if(type=='update'){ |
|
|
|
SupplierinvoiceRequestMainRules.invoiceTime[0].required = true |
|
|
|
}else{ |
|
|
|
// if(type=='update'){ |
|
|
|
// SupplierinvoiceRequestMainRules.invoiceTime[0].required = true |
|
|
|
// }else{ |
|
|
|
SupplierinvoiceRequestMainRules.invoiceTime[0].required = false |
|
|
|
} |
|
|
|
// } |
|
|
|
if(row&&row.procurementCreator) row.procurementCreator = Number(row.procurementCreator) |
|
|
|
// 校验是否可以开票 |
|
|
|
SupplierinvoiceRequestMainApi.checkInvoicingCalendar({}).then(res => { |
|
|
|