企标复审流程-批准节点-驳回时审批意见必填

This commit is contained in:
zyn
2023-01-10 10:26:58 +08:00
parent e88e6e2e48
commit ee637b50f8
@@ -39,13 +39,22 @@
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item title="审批意见"> <el-collapse-item title="审批意见">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
<!-- <el-input-->
<!-- type="textarea"-->
<!-- :rows="3"-->
<!-- resize="none"-->
<!-- placeholder="请输入意见"-->
<!-- v-model="commentText">-->
<!-- </el-input>-->
<el-form-item prop="commentText" label-width="0px">
<el-input <el-input
type="textarea" type="textarea"
:rows="3" :rows="3"
resize="none" resize="none"
placeholder="请输入意见" placeholder="请输入意见"
v-model="commentText"> v-model="qbfsForm.commentText">
</el-input> </el-input>
</el-form-item>
</div> </div>
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
@@ -238,6 +247,7 @@ export default {
jgUserId: '', jgUserId: '',
bussFsSubUser2:'', bussFsSubUser2:'',
bussFsSubUser2Name:'', bussFsSubUser2Name:'',
commentText:'',
}, },
formBuss: { formBuss: {
selListRep2:[], selListRep2:[],
@@ -490,6 +500,7 @@ export default {
this.standardDrawer = false this.standardDrawer = false
this.verifySarStandard = true this.verifySarStandard = true
this.commentText = mes.commentText this.commentText = mes.commentText
this.qbfsForm.commentText = mes.commentText
this.formKey++ this.formKey++
this.$forceUpdate() this.$forceUpdate()
}); });
@@ -547,7 +558,8 @@ export default {
_formData.append('prcType', 'buss3') _formData.append('prcType', 'buss3')
_formData.append('json', JSON.stringify({ _formData.append('json', JSON.stringify({
qbfsForm: this.qbfsForm, qbfsForm: this.qbfsForm,
commentText: this.commentText // commentText: this.commentText
commentText: this.qbfsForm.commentText
})) }))
saveTaskFirst(_formData).then(res => { saveTaskFirst(_formData).then(res => {
this.saveLoading = false this.saveLoading = false
@@ -624,7 +636,8 @@ export default {
taskInfo: '发起企标制修订流程', taskInfo: '发起企标制修订流程',
form: this.formBuss, form: this.formBuss,
roleForm: this.roleForm, roleForm: this.roleForm,
commentText: this.commentText // commentText: this.commentText
commentText: this.qbfsForm.commentText
})) }))
saveTaskFirst(_formData).then(res => { saveTaskFirst(_formData).then(res => {
this.saveLoading = false this.saveLoading = false
@@ -640,7 +653,7 @@ export default {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.saveLoading = true this.saveLoading = true
this.qbfsForm.commentText = this.commentText // this.qbfsForm.commentText = this.commentText
// if(this.qbfsForm.standSort && this.qbfsForm.standSort.indexOf("Q/QCBFC") !== -1){ // if(this.qbfsForm.standSort && this.qbfsForm.standSort.indexOf("Q/QCBFC") !== -1){
// this.qbfsForm.qcflag = 0 // this.qbfsForm.qcflag = 0
// }else{ // }else{