Ver Fonte

fix: 修复表单数据类型转换问题

liujt há 6 meses atrás
pai
commit
cad12bea4d

+ 7 - 0
src/views/rulesManagement/releaseRules/components/permitAdd.vue

@@ -1248,6 +1248,13 @@
         this.formData.stopDate = new Date(info.stopDate);
         this.formData.classify = this.formData.classify + '';
         this.formData.reportWorkType = this.formData.reportWorkType + '';
+        this.formData.industryType = this.formData.industryType + '';
+        this.formData.businessType = this.formData.businessType + '';
+        this.formData.reportWorkType = this.formData.reportWorkType + '';
+        this.formData.recordTemplateStyle =
+          this.formData.recordTemplateStyle + '';
+
+        console.log('this.formData~~~~', this.formData);
 
         this.getExecuteMethodList();