|
@ -443,11 +443,11 @@ const handleImport = () => { |
|
|
/** 添加/修改操作 */ |
|
|
/** 添加/修改操作 */ |
|
|
const formRef = ref() |
|
|
const formRef = ref() |
|
|
const openForm = async (type : string, row ?: number) => { |
|
|
const openForm = async (type : string, row ?: number) => { |
|
|
if(type=='update'){ |
|
|
// if(type=='update'){ |
|
|
SupplierinvoiceRequestMainRules.invoiceTime[0].required = true |
|
|
// SupplierinvoiceRequestMainRules.invoiceTime[0].required = true |
|
|
}else{ |
|
|
// }else{ |
|
|
SupplierinvoiceRequestMainRules.invoiceTime[0].required = false |
|
|
SupplierinvoiceRequestMainRules.invoiceTime[0].required = false |
|
|
} |
|
|
// } |
|
|
if(row&&row.procurementCreator) row.procurementCreator = Number(row.procurementCreator) |
|
|
if(row&&row.procurementCreator) row.procurementCreator = Number(row.procurementCreator) |
|
|
// 校验是否可以开票 |
|
|
// 校验是否可以开票 |
|
|
SupplierinvoiceRequestMainApi.checkInvoicingCalendar({}).then(res => { |
|
|
SupplierinvoiceRequestMainApi.checkInvoicingCalendar({}).then(res => { |
|
|