|
|
@@ -299,6 +299,14 @@
|
|
|
<el-form ref="searchForm" label-width="100px">
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
+ <el-form-item label="审批状态">
|
|
|
+ <el-radio-group v-model="shenheForm.SuccessStatus">
|
|
|
+ <el-radio :label="1">通过</el-radio>
|
|
|
+ <el-radio :label="0">退回</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" v-if="shenheForm.SuccessStatus == 1">
|
|
|
<el-form-item label="初审人员">
|
|
|
<el-input ref="selectAuditer" readonly v-model="auditerName" placeholder="请选择初审人">
|
|
|
<el-button slot="append" icon="el-icon-search" @click="chooseAuditorShow"></el-button>
|
|
|
@@ -306,14 +314,14 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="复审人员">
|
|
|
<el-select ref="selectAuditer" v-model="fushenauditer" placeholder="请选择复审人" style="width: 100%" filterable
|
|
|
- allow-create default-first-option>
|
|
|
+ allow-create default-first-option>
|
|
|
<el-option v-for="item in secauditerOptions" :key="item.Id" :label="item.Realname" :value="item.Id">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="专业处室" v-if="inStyle != '2' && inStyle != '4' && inStyle != '6' ">
|
|
|
<!--<el-cascader :options="orgtreelist" :props="orgtreeprops" :show-all-levels="false" filterable-->
|
|
|
- <!--style="width: 100%" v-model="majorDept" placeholder="请选择专业处室">-->
|
|
|
+ <!--style="width: 100%" v-model="majorDept" placeholder="请选择专业处室">-->
|
|
|
<!--</el-cascader>-->
|
|
|
<el-select v-model="selectDept" filterable
|
|
|
placeholder="请选择" style="width: 100%" @change="changeOrgUnit">
|
|
|
@@ -323,12 +331,18 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="24">
|
|
|
+ <el-col :span="24" v-if="shenheForm.SuccessStatus == 1">
|
|
|
<el-form-item label="备注">
|
|
|
<el-input v-model="auditform.AuditRemark" type="textarea" placeholder="请输入备注内容">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="24" v-if="shenheForm.SuccessStatus == 0">
|
|
|
+ <el-form-item label="退回原因">
|
|
|
+ <el-input v-model="backRemark" type="textarea" placeholder="请输入退回原因,不少于5个字!">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
@@ -389,6 +403,7 @@
|
|
|
|
|
|
data() {
|
|
|
return {
|
|
|
+ backRemark: '',
|
|
|
textplaceholder: '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)',
|
|
|
auditer: '',
|
|
|
auditerName: '',
|
|
|
@@ -572,24 +587,32 @@
|
|
|
},
|
|
|
methods: {
|
|
|
radioChange () {
|
|
|
- if (this.shenheForm.SuccessStatus === 1) {
|
|
|
- this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)'
|
|
|
- if (this.inStyle == '1') {
|
|
|
- this.shenheForm.AuditorRemark = '集中评审通过'
|
|
|
- } else if (this.inStyle == '2') {
|
|
|
- this.shenheForm.AuditorRemark = '一级物资备案准入'
|
|
|
- } else if (this.inStyle == '3') {
|
|
|
- this.shenheForm.AuditorRemark = '二级物资备案准入'
|
|
|
- } else if (this.inStyle == '4') {
|
|
|
- this.shenheForm.AuditorRemark = '战略合作准入'
|
|
|
- }
|
|
|
- } else {
|
|
|
- if (this.formData.Status == '5') {
|
|
|
- this.textplaceholder = ''
|
|
|
+ if (this.formData.Status == '5') {
|
|
|
+ if (this.shenheForm.SuccessStatus === 1) {
|
|
|
+ this.textplaceholder = '审核意见须具体、明确(含企业资质、资信、能力等内容,不少于20字)'
|
|
|
+ if (this.inStyle == '1') {
|
|
|
+ this.shenheForm.AuditorRemark = '集中评审通过。'
|
|
|
+ } else if (this.inStyle == '2') {
|
|
|
+ this.shenheForm.AuditorRemark = '一级物资备案准入'
|
|
|
+ } else if (this.inStyle == '3') {
|
|
|
+ this.shenheForm.AuditorRemark = '二级物资备案准入'
|
|
|
+ } else if (this.inStyle == '4') {
|
|
|
+ this.shenheForm.AuditorRemark = '战略合作准入'
|
|
|
+ } else if (this.inStyle == '5') {
|
|
|
+ this.shenheForm.AuditorRemark = '集中评审通过。'
|
|
|
+ } else if (this.inStyle == '6') {
|
|
|
+ this.shenheForm.AuditorRemark = '外部市场准入通过。'
|
|
|
+ } else {
|
|
|
+ this.shenheForm.AuditorRemark = '集中评审通过。'
|
|
|
+ }
|
|
|
} else {
|
|
|
- this.textplaceholder = '退回意见不能少于5个字'
|
|
|
+ if (this.formData.Status == '5') {
|
|
|
+ this.textplaceholder = ''
|
|
|
+ } else {
|
|
|
+ this.textplaceholder = '退回意见不能少于5个字'
|
|
|
+ }
|
|
|
+ this.shenheForm.AuditorRemark = ''
|
|
|
}
|
|
|
- this.shenheForm.AuditorRemark = ''
|
|
|
}
|
|
|
},
|
|
|
changeOrgUnit (val) {
|
|
|
@@ -988,6 +1011,9 @@
|
|
|
// return
|
|
|
// }
|
|
|
} else {
|
|
|
+ if (this.formData.Status === '10') {
|
|
|
+ this.shenheForm.AuditorRemark = this.backRemark
|
|
|
+ }
|
|
|
if (this.shenheForm.AuditorRemark.trim().length < 5 && this.formData.Status !== '3' && this.formData.Status !== '5' && this.formData.Status !== '10') {
|
|
|
this.$message({
|
|
|
type: 'warning',
|