|
|
|
@ -278,6 +278,7 @@ export default { |
|
|
|
return; |
|
|
|
} |
|
|
|
const remarkData = await this.$refs.remarkRef.getFormData(); |
|
|
|
|
|
|
|
return { |
|
|
|
...baseData, |
|
|
|
...conditionData, |
|
|
|
@ -287,8 +288,12 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
async onSave() { |
|
|
|
const formData = await this.getFormData(); |
|
|
|
console.log(formData, "formData") |
|
|
|
// const formData = await this.getFormData(); |
|
|
|
const result = await Promise.all([this.$refs.baseInfoRef.getFormData(), this.$refs.storageConditionRef.getFormData()]).catch(()=>{ |
|
|
|
console.log("error") |
|
|
|
}); |
|
|
|
console.log(result,"res") |
|
|
|
// console.log(formData, "formData") |
|
|
|
}, |
|
|
|
|
|
|
|
} |
|
|
|
|