|
|
@ -443,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 => { |
|
|
|