Explorar el Código

修复规则明细校验提示类型,新增业务类型参数

yusheng hace 4 meses
padre
commit
a4441b5148

+ 2 - 1
src/components/selectReleaseRules/select-release-rules.vue

@@ -314,7 +314,8 @@
           ...where,
           reportWorkType: this.reportWorkType,
           produceTaskId: this.produceTaskId,
-          classify: this.classify
+          classify: this.classify,
+          businessType:1
         });
       },
       /* 刷新表格 */

+ 1 - 1
src/views/recordComponents/programRulesDialog.vue

@@ -986,7 +986,7 @@
         this.$refs.formRef.validate(async (valid) => {
           if (valid) {
             if (!this.addForm.detailList?.length) {
-              return this.$message.success('规则明细不能为空');
+              return this.$message.error('规则明细不能为空');
             }
             this.butLoading = true;