Browse Source

fix: 添加收款条件不能为空的错误提示

xieyong 3 weeks ago
parent
commit
e45051f6b1
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/views/saleManage/saleOrder/components/addDialogNew.vue

+ 5 - 0
src/views/saleManage/saleOrder/components/addDialogNew.vue

@@ -2049,6 +2049,11 @@
 
       getValidate() {
         console.log(this.form);
+
+        if (!this.form.collectionConditionName) {
+          this.$message.error('收款条件不能为空');
+        }
+
         let arr = [
           new Promise((resolve, reject) => {
             this.$refs.form.validate((valid) => {