Browse Source

强校验

ymz 3 tuần trước cách đây
mục cha
commit
dcfa887340

+ 2 - 2
.env.development

@@ -3,7 +3,7 @@ VUE_APP_TYPE= 'dev'
 # VUE_APP_URL = 'http://10.144.62.235:9999'
 # VUE_APP_URL = 'https://mic.freerr.cn'
 # VUE_APP_URL = 'https://mic.cnbg.com.cn'
-# VUE_APP_URL = 'https://cnbg.yaoyi.net'
+VUE_APP_URL = 'https://cnbg.yaoyi.net'
 # VUE_APP_URL = 'http://192.168.110.25:9999'
-VUE_APP_URL = 'https://mic-t.cnbg.com.cn'
+# VUE_APP_URL = 'https://mic-t.cnbg.com.cn'
 # VUE_APP_URL = 'http://nk5xzj.natappfree.cc'

+ 3 - 3
src/views/admin/wmdeptbudget/components/serviceTargetDistributionDialog.vue

@@ -526,9 +526,9 @@ export default {
       const allQty = data.reduce((prev, curr) => prev + curr.qty, 0);
       const allTotal = data.reduce((prev, curr) => prev + curr.subtotal, 0);
 
-      // if (allTotal != this.form.planScore) {
-      //   return this.$message.info('拆解总任务分值需等于目标总值');
-      // }
+      if (allTotal != this.form.planScore) {
+        return this.$message.info('拆解总任务分值需等于目标总值');
+      }
       const obj = {
         planId: this.form.planId,
         qty: allQty,