@@ -616,6 +616,7 @@ const addReportDetailRow = () => {
const removeReportDetailRow = (index: number) => {
if (index === 0) {
message.warning('至少填写一条生产动态')
+ return
}
form.value.reportDetails?.splice(index, 1)
@@ -229,6 +229,7 @@ const addProductionStatusRow = () => {
const removeProductionStatusRow = (index: number) => {
@@ -220,6 +220,7 @@ const addProductionStatusRow = () => {