Browse Source

fix(contractReview): 合同评审在提交审核时添加业务相关变量

liujt 7 months ago
parent
commit
bfbd46dab8
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/views/contractManage/contractReview/components/addDialog.vue

+ 6 - 1
src/views/contractManage/contractReview/components/addDialog.vue

@@ -721,7 +721,12 @@ this.postOptions.push(...response.data);
         console.log('formformformform', this.form);
         await processInstanceCreateAPI({
           ...this.form,
-          variables: { ...this.form.valueJson }
+          variables: { 
+            ...this.form.valueJson, 
+            businessCode: this.form.code,
+            businessName: this.form.name,
+            businessType: this.form.categoryName 
+          }
         });
         this.$message('提交审核成功');
         this.$emit('reload');