Browse Source

项目授信修改

zhangxiaojun 7 months ago
parent
commit
5591281e70

+ 1 - 1
src/views/creditManage/projectCredit/dueReview/components/Company/Auditing.vue

@@ -414,7 +414,7 @@ export default {
           postData.projectCoreEnterpriseNewsList = projectOwnerNewsList
         }
 
-        if (submitType === 'submit') {
+        if (submitType === 'submit' || submitType === 'assess') {
           this.$refs.ruleFormRef.validate(valid => {
             if (valid) {
               return resolve(postData)

+ 1 - 2
src/views/creditManage/projectCredit/dueReview/components/Company/CoreEnterprise.vue

@@ -78,9 +78,8 @@ export default {
       this.$emit('isHistoricalCooperation', this.ruleForm.historicalCooperation)
     },
     passData(submitType) {
-      console.log(submitType, 888)
       return new Promise((resolve, reject) => {
-        if (submitType === 'submit') {
+        if (submitType === 'submit' || submitType === 'assess') {
           this.$refs.ruleFormRef.validate(valid => {
             if (valid) {
               return resolve(this.ruleForm)

+ 1 - 1
src/views/creditManage/projectCredit/dueReview/components/Company/HistoryCooperation.vue

@@ -204,7 +204,7 @@ export default {
         projectCoreEnterpriseFiles
       }
       return new Promise((resolve, reject) => {
-        if (submitType === 'submit') {
+        if (submitType === 'submit' || submitType === 'assess') {
           this.$refs.ruleFormRef.validate(valid => {
             if (valid) {
               return resolve(projectCoreEnterprise)

+ 1 - 1
src/views/creditManage/projectCredit/dueReview/components/Project/Cooperation.vue

@@ -99,7 +99,7 @@ export default {
     // 提交参数
     passData(type) {
       return new Promise((resolve, reject) => {
-        if (type === 'submit') {
+        if (type === 'submit' || type === 'assess') {
           this.$refs.ruleFormRef.validate(valid => {
             if (valid) {
               return resolve(this.ruleForm)

+ 1 - 1
src/views/creditManage/projectCredit/dueReview/components/Project/ProjectInfo.vue

@@ -355,7 +355,7 @@ export default {
       delete params.biddingFiles
       delete params.departmentFiles
       return new Promise((resolve, reject) => {
-        if (type === 'submit') {
+        if (type === 'submit' || type === 'assess') {
           this.$refs.ruleFormRef.validate(valid => {
             if (this.ruleForm.projectType === 'c_project_type_1') {
               if (!biddingFile.length) {

+ 1 - 1
src/views/creditManage/projectCredit/dueReview/components/Project/ProjectOwner.vue

@@ -453,7 +453,7 @@ export default {
           })
           postData.projectOwnerNewsList = projectOwnerNewsList
         }
-        if (type === 'submit') {
+        if (type === 'submit' || type === 'assess') {
           this.$refs.ruleFormRef.validate(valid => {
             if (valid) {
               return resolve(postData)