|
@ -409,6 +409,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'){ |
|
|
|
|
|
SupplierinvoiceRequestMainRules.invoiceTime[0].required = true |
|
|
|
|
|
}else{ |
|
|
|
|
|
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 => { |
|
|