diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue index 5543c2662..6153a7eca 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step13.vue @@ -1198,8 +1198,8 @@ this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss1_'+this.form.reviseStatus,standSort:this.form.standSort,taskId: this.taskIds}, { _this: this }, res => { - const obj = res.data - let standSn = (obj.newStandSn / 1) + 1 + const standSn = res.data + // let standSn = (obj.newStandSn / 1) + 1 this.form.standSn = standSn this.form.standNumber = standSn this.form.standNum = standSn + '' @@ -2527,10 +2527,14 @@ commentText: this.formTongGuo.commentText })) saveTaskForPub(_formData).then(res => { - this.isSubmit = false - this.saveLoading = false - this.$message.success('保存成功') - this.bpnId = res.result + if (res.success) { + this.isSubmit = false + this.saveLoading = false + this.$message.success(res.message) + this.bpnId = res.result + }else{ + this.$message.warning(res.message) + } }).catch(e => { this.isSubmit = false this.saveLoading = false @@ -2711,7 +2715,7 @@ if(res.ok){ this.completeTask() }else{ - this.$message.error(res.data) + this.$message.error(res.message) } }) }else{ @@ -2772,7 +2776,7 @@ planForm.id = this.form.planId planForm.planStatus = '4' planForm.reviseStatus = this.form.reviseStatus - planForm.standCode = this.form.DTQBBHBUSS + planForm.standCode = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS : this.form.standCode planForm.standId = res.data planForm.processType = "buss1"; this.$http.post("esRevisePlan/es-revise-plan/modPlanByState", planForm, { @@ -3075,8 +3079,8 @@ this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss1_'+this.form.reviseStatus,standSort:this.form.standSort,taskId: this.taskIds}, { _this: this }, res => { - const obj = res.data - let standSn = (obj.newStandSn / 1) + 1 + const standSn = res.data + // let standSn = (obj.newStandSn / 1) + 1 this.form.standSn = standSn this.form.standNumber = standSn this.form.standNum = standSn + '' @@ -3165,7 +3169,7 @@ } this.busVsFunc() this.modelFunc() - this.getMaxStandnSn(); + // this.getMaxStandnSn(); } } diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue index 2ff3f09ae..1300e90df 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdlx/step2.vue @@ -282,7 +282,7 @@