浏览代码

2021228前台代码

MSY 3 年之前
父节点
当前提交
d5fffbff2c
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/customer/Customer.vue

+ 3 - 2
src/views/customer/Customer.vue

@@ -988,10 +988,11 @@ import XLSX from "xlsx";
           },
           async customerRecquerry(){
             console.log(this.customerRec);
-            if(this.customerRec['companyName'] == null || this.customerRec['companyReferencenum'] == null){
+            if(this.customerRec['companyName'] == null || this.customerRec['companyReferencenum'] == null
+            || this.customerRec['companyType'] == null){
               this.$message({
                       type: 'error',
-                      message: '需要填写公司名称和税号'
+                      message: '需要填写公司名称、税号和公司类型'
                     });
             }else{
                const response = await this.$http.post(`customer/customeRecQueryUpper`, this.customerRec);