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