wangmengwei 3 年之前
父节点
当前提交
3282b09d84
共有 1 个文件被更改,包括 47 次插入2 次删除
  1. 47 2
      ruoyi-ui/src/views/under/index.vue

+ 47 - 2
ruoyi-ui/src/views/under/index.vue

@@ -148,7 +148,7 @@
       <el-form
         :model="queryParams"
         :rules="queryForm"
-        ref="queryParams"
+        ref="queryForm"
         :inline="true"
         v-show="showSearch"
         label-width="120px"
@@ -1485,7 +1485,52 @@ export default {
          this.msgSuccess("请填写引荐方信息");
          return  false
        }
-      this.$refs["queryParams"].validate((valid) => {
+       if(this.queryParams.contactor == undefined){
+         this.msgSuccess("请填写投资方联系人信息");
+         return  false
+       }
+       if(this.queryParams.phone == undefined){
+         this.msgSuccess("请填写投资方联系方式信息");
+         return  false
+       }
+       if(this.queryParams.needAmt == undefined){
+         this.msgSuccess("请填写预计投资额信息");
+         return  false
+       }
+       if(this.queryParams.fixedAssets == undefined){
+         this.msgSuccess("请填写固定资产投资信息");
+         return  false
+       }
+       if(this.queryParams.productName == undefined){
+         this.msgSuccess("请填写产品名称信息");
+         return  false
+       }
+       if(this.queryParams.productQty == undefined){
+         this.msgSuccess("请填写设计产能信息");
+         return  false
+       }
+       if(this.queryParams.productPrice == undefined){
+         this.msgSuccess("请填写预计产值信息");
+         return  false
+       }
+       if(this.queryParams.productTax == undefined){
+         this.msgSuccess("请填写预计税收信息");
+         return  false
+       }
+       if(this.queryParams.productEmp == undefined){
+         this.msgSuccess("请填写预计用工信息");
+         return  false
+       }
+       if(this.queryParams.address == undefined){
+         this.msgSuccess("请填写拟落户地点信息");
+         return  false
+       }
+       if(this.queryParams.isFrameorder == undefined){
+         this.msgSuccess("请选择是否签订框架协议信息");
+         return  false
+       }
+       console.log(this.queryParams)
+      this.$refs["queryForm"].validate((valid) => {
         if (valid) {
           if (this.sbuen == 1) {
             updateConfigalking(this.queryParams).then((response) => {