QuKatie 3 lat temu
rodzic
commit
8b290e2d58

+ 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) => {