diff --git a/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue b/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue index 9b2088ddd..f5ee6de53 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfs/step5.vue @@ -39,13 +39,22 @@
- - + + + + + + + + + + +
@@ -238,6 +247,7 @@ export default { jgUserId: '', bussFsSubUser2:'', bussFsSubUser2Name:'', + commentText:'', }, formBuss: { selListRep2:[], @@ -490,6 +500,7 @@ export default { this.standardDrawer = false this.verifySarStandard = true this.commentText = mes.commentText + this.qbfsForm.commentText = mes.commentText this.formKey++ this.$forceUpdate() }); @@ -547,7 +558,8 @@ export default { _formData.append('prcType', 'buss3') _formData.append('json', JSON.stringify({ qbfsForm: this.qbfsForm, - commentText: this.commentText + // commentText: this.commentText + commentText: this.qbfsForm.commentText })) saveTaskFirst(_formData).then(res => { this.saveLoading = false @@ -624,7 +636,8 @@ export default { taskInfo: '发起企标制修订流程', form: this.formBuss, roleForm: this.roleForm, - commentText: this.commentText + // commentText: this.commentText + commentText: this.qbfsForm.commentText })) saveTaskFirst(_formData).then(res => { this.saveLoading = false @@ -637,36 +650,36 @@ export default { handleSubmit(){ this.getRule() this.$refs['qbfsForm'].validate((valid) => { - if (valid) { - this.isSubmit = true - this.saveLoading = true - this.qbfsForm.commentText = this.commentText - // if(this.qbfsForm.standSort && this.qbfsForm.standSort.indexOf("Q/QCBFC") !== -1){ - // this.qbfsForm.qcflag = 0 - // }else{ - // this.qbfsForm.qcflag = 1 - // } - this.qbfsForm.prcId = this.$route.query.prcId - let json = JSON.stringify(this.qbfsForm); - this.$http.post('lawss/activiti/completeTask', { - taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, - json: json, - }, { - _this: this - }, res => { - if (res.success) { - this.isSubmit = false - if(this.qbfsForm.approvalOpinion === 0 && this.qbfsForm.standSort.indexOf("Q/QCBFC") == -1){ - this.processCreateFsBuss(json) - } - this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) + if (valid) { + this.isSubmit = true + this.saveLoading = true + // this.qbfsForm.commentText = this.commentText + // if(this.qbfsForm.standSort && this.qbfsForm.standSort.indexOf("Q/QCBFC") !== -1){ + // this.qbfsForm.qcflag = 0 + // }else{ + // this.qbfsForm.qcflag = 1 + // } + this.qbfsForm.prcId = this.$route.query.prcId + let json = JSON.stringify(this.qbfsForm); + this.$http.post('lawss/activiti/completeTask', { + taskIds: this.$route.query.taskIds, + userId: this.$store.getters.userInfo.userId, + json: json, + }, { + _this: this + }, res => { + if (res.success) { + this.isSubmit = false + if(this.qbfsForm.approvalOpinion === 0 && this.qbfsForm.standSort.indexOf("Q/QCBFC") == -1){ + this.processCreateFsBuss(json) } - }, e => { - }); - }else { - this.$message.warning('请检查基础信息表单是否填写完整') - } + this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) + } + }, e => { + }); + }else { + this.$message.warning('请检查基础信息表单是否填写完整') + } }) }, handleTransfer() {