|
@@ -1096,11 +1096,6 @@ const commit = () => {
|
|
}
|
|
}
|
|
}) as any[]
|
|
}) as any[]
|
|
|
|
|
|
- result = result.concat(
|
|
|
|
- temp
|
|
|
|
- .filter((i) => i.deleteFlag)
|
|
|
|
- .map((i) => ({ id: i.id, _delete: null, Material_of_Goods: null })),
|
|
|
|
- )
|
|
|
|
// const emptyBatchRecordList: number[] = []
|
|
// const emptyBatchRecordList: number[] = []
|
|
const emptyUserNotesList: number[] = []
|
|
const emptyUserNotesList: number[] = []
|
|
result.forEach((i, index) => {
|
|
result.forEach((i, index) => {
|
|
@@ -1113,7 +1108,6 @@ const commit = () => {
|
|
emptyUserNotesList.push(index)
|
|
emptyUserNotesList.push(index)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
// if (emptyBatchRecordList.length) {
|
|
// if (emptyBatchRecordList.length) {
|
|
// ElNotification({
|
|
// ElNotification({
|
|
// title: '请检查表单',
|
|
// title: '请检查表单',
|
|
@@ -1133,6 +1127,11 @@ const commit = () => {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ result = result.concat(
|
|
|
|
+ temp
|
|
|
|
+ .filter((i) => i.deleteFlag)
|
|
|
|
+ .map((i) => ({ id: i.id, _delete: null, Material_of_Goods: null })),
|
|
|
|
+ )
|
|
console.log(result, 'submit result')
|
|
console.log(result, 'submit result')
|
|
loading.value = true
|
|
loading.value = true
|
|
request
|
|
request
|