QuKatie преди 3 години
родител
ревизия
8b290e2d58
променени са 3 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 2 2
      src/views/finance/charge/kaihe-detail.vue
  2. 2 2
      src/views/finance/contrast/kaihe-detail.vue
  3. 2 2
      src/views/finance/payment/kaihe-detail.vue

+ 2 - 2
src/views/finance/charge/kaihe-detail.vue

@@ -786,7 +786,7 @@ export default {
       this.form.fAmtcr = fAmtcr;
     },
     submit() {
-      if (this.form.fCorpid == null) {
+      if (!this.form.fCorpid) {
         return this.$message.error("客户名称不能为空");
       }
       this.corpList.forEach((e) => {
@@ -823,7 +823,7 @@ export default {
         });
     },
     save(type) {
-      if (this.form.fCorpid == null) {
+      if (!this.form.fCorpid) {
         return this.$message.error("客户名称不能为空");
       }
       this.corpList.forEach((e) => {

+ 2 - 2
src/views/finance/contrast/kaihe-detail.vue

@@ -768,7 +768,7 @@ export default {
       this.form.fAmtcr = fAmtcr;
     },
     submit() {
-      if (this.form.fCorpid == null) {
+      if (!this.form.fCorpid) {
         return this.$message.error("客户名称不能为空");
       }
       this.corpList.forEach((e) => {
@@ -805,7 +805,7 @@ export default {
         });
     },
     save(type) {
-      if (this.form.fCorpid == null) {
+      if (!this.form.fCorpid) {
         return this.$message.error("客户名称不能为空");
       }
       this.corpList.forEach((e) => {

+ 2 - 2
src/views/finance/payment/kaihe-detail.vue

@@ -786,7 +786,7 @@ export default {
       this.form.fAmtcr = fAmtcr;
     },
     submit() {
-      if (this.form.fCorpid == null) {
+      if (!this.form.fCorpid) {
         return this.$message.error("客户名称不能为空");
       }
       this.corpList.forEach((e) => {
@@ -823,7 +823,7 @@ export default {
         });
     },
     save(type) {
-      if (this.form.fCorpid == null) {
+      if (!this.form.fCorpid) {
         return this.$message.error("客户名称不能为空");
       }
       this.corpList.forEach((e) => {