|
@@ -163,7 +163,7 @@ watch(() => [
|
|
|
fileName.value = info?.fileList
|
|
|
modalTitle.value = '材料计量单编辑'
|
|
|
} else {
|
|
|
- baseForm.value = {}
|
|
|
+ baseForm.value = { fileList:[] }
|
|
|
fileName.value = []
|
|
|
modalTitle.value = '材料计量单新增'
|
|
|
}
|
|
@@ -344,7 +344,7 @@ const modalSave = async () => {
|
|
|
}
|
|
|
const HcUploadFileRef = ref(null)
|
|
|
// 文件全部上传完成
|
|
|
-const HcUploadFileFinish = (res) => {
|
|
|
+const HcUploadFileFinish = async (res) => {
|
|
|
let arr = []
|
|
|
res.forEach((ele)=>{
|
|
|
arr.push(ele.resData)
|