Added Errors for Plant and Contract
This commit is contained in:
@@ -646,6 +646,8 @@ const findDocumentErrors = computed(() => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
if (itemInfo.value.project === null) errors.push({message: "Es ist kein Projekt ausgewählt", type: "info"})
|
if (itemInfo.value.project === null) errors.push({message: "Es ist kein Projekt ausgewählt", type: "info"})
|
||||||
|
if (itemInfo.value.plant === null) errors.push({message: "Es ist kein Objekt ausgewählt", type: "info"})
|
||||||
|
if (itemInfo.value.contract === null) errors.push({message: "Es ist kein Vertrag ausgewählt", type: "info"})
|
||||||
|
|
||||||
if (['Lieferzeitraum', 'Leistungszeitraum'].includes(itemInfo.value.deliveryDateType) && itemInfo.value.type !== "serialInvoices") {
|
if (['Lieferzeitraum', 'Leistungszeitraum'].includes(itemInfo.value.deliveryDateType) && itemInfo.value.type !== "serialInvoices") {
|
||||||
if (itemInfo.value.deliveryDateEnd === null) errors.push({
|
if (itemInfo.value.deliveryDateEnd === null) errors.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user