|
|
@@ -164,6 +164,9 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
activated() {
|
|
|
+ if (this.formData && this.formData.collectionItemList && this.formData.collectionItemList[0]) {
|
|
|
+ this.formData.collectionItemList[0].fileInfoList = [];
|
|
|
+ }
|
|
|
this.taskIds = this.$route.query.taskIds || [];
|
|
|
this.visitsId = this.$route.query.visitsId || '';
|
|
|
this.storeGroupId = this.$route.query.storeGroupId || '';
|
|
|
@@ -337,9 +340,6 @@ export default {
|
|
|
this.toastLoading().clear();
|
|
|
if (res.code == 200) {
|
|
|
localStorage.setItem('getRequestFlage', 'true');
|
|
|
- if (this.formData && this.formData[0]) {
|
|
|
- this.formData[0].fileInfoList = [];
|
|
|
- }
|
|
|
this.$router.go(-1);
|
|
|
} else {
|
|
|
this.$toast('提交失败,请重试');
|