@@ -241,20 +239,13 @@ export default {
}
},3000)
- setTimeout(()=>{
- this.storageFormConfig[0].config.storageCondition1.options = [
- {label:"白光",value:"1"},
- {label:"黄光",value:"3"},
- {label:"其他",value:"-1"},
- ]
- },4000)
},
methods: {
- getFormData(){
- const baseData = this.$refs.baseInfo.getFormData();
- const conditionData = this.$refs.storageCondition.getFormData();
- const stepData = this.$refs.stepRef.getFormData();
- const stepFormData = this.$refs.stepFormPackage.getFormData();
+ async getFormData(){
+ const baseData = await this.$refs.baseInfo.getFormData();
+ const conditionData = await this.$refs.storageCondition.getFormData();
+ const stepData = await this.$refs.stepRef.getFormData();
+ const stepFormData = await this.$refs.stepFormPackage.getFormData();
return {
...baseData,
...conditionData,
@@ -262,13 +253,6 @@ export default {
...stepFormData,
}
},
- async onSave(){
- const baseData = await this.$refs.baseInfo.getFormData();
- const conditionData = await this.$refs.storageCondition.getFormData();
- const stepData = await this.$refs.stepRef.getFormData();
- const stepFormData = await this.$refs.stepFormPackage.getFormData();
- console.log(baseData,conditionData,stepData,stepFormData,"reee")
- }
}
};
diff --git a/src/views/business/template/list.vue b/src/views/business/template/list.vue
index ee331a0..6273c28 100644
--- a/src/views/business/template/list.vue
+++ b/src/views/business/template/list.vue
@@ -79,7 +79,7 @@
-
+