|
|
@@ -675,10 +675,25 @@
|
|
|
<el-form ref="searchForm" label-width="100px">
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
- <el-form-item label="分办人员">
|
|
|
- <el-input ref="selectAuditerFen" readonly v-model="auditerName" placeholder="请选择分办人">
|
|
|
- <el-button slot="append" icon="el-icon-search" @click="chooseAuditorShowFen"></el-button>
|
|
|
- </el-input>
|
|
|
+ <!--<el-form-item label="分办人员">-->
|
|
|
+ <!--<el-input ref="selectAuditerFen" readonly v-model="auditerName" placeholder="请选择分办人">-->
|
|
|
+ <!--<el-button slot="append" icon="el-icon-search" @click="chooseAuditorShowFen"></el-button>-->
|
|
|
+ <!--</el-input>-->
|
|
|
+ <!--</el-form-item>-->
|
|
|
+ <el-form-item label="分办单位">
|
|
|
+ <el-select filterable
|
|
|
+ v-model="UnitOrg"
|
|
|
+ maxlength="255"
|
|
|
+ clearable
|
|
|
+ placeholder="请选择分办单位"
|
|
|
+ style="width: 100%"
|
|
|
+ @change="orgunitChange">
|
|
|
+ <el-option v-for="item in UnitOrgOptions"
|
|
|
+ :key="item.Id"
|
|
|
+ :label="item.Fullname"
|
|
|
+ :value="item.Id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
@@ -820,8 +835,11 @@
|
|
|
}
|
|
|
}
|
|
|
return {
|
|
|
+ UnitOrg: '',
|
|
|
ComAuditdialogShow: false,
|
|
|
chooseAuditorVisibleFen: false,
|
|
|
+ UnitOrgOptions: [],
|
|
|
+ userOptions: [],
|
|
|
waituploads: [], // 等待上传的附件列表
|
|
|
AccessCardNolist: [],
|
|
|
AccessCardNo1: '',
|
|
|
@@ -1257,14 +1275,21 @@
|
|
|
},
|
|
|
methods: {
|
|
|
SubpEntity () {
|
|
|
- if (this.auditer === '') {
|
|
|
+ if (this.UnitOrg === '') {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
- message: '请选择分办人!'
|
|
|
+ message: '请选择分办单位!'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- this.entityForm.auditer = this.auditer
|
|
|
+ if (this.orgauditOptions == null || this.orgauditOptions.length === 0) {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: '该单位未配置分办人!'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.entityForm.auditer = this.UnitOrg
|
|
|
this.entityForm.MInfoId = this.MInfoId
|
|
|
api.commitAuditEntity(this.supplierId, this.entityForm, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
@@ -1935,6 +1960,18 @@
|
|
|
}
|
|
|
this.companyReadonly = true
|
|
|
}
|
|
|
+ this.UnitOrg = res.data.items['Register'].CheckUnitId
|
|
|
+ this.UnitOrgOptions = res.data.items['UnitOrgList']
|
|
|
+ this.orgunitChange(this.UnitOrg)
|
|
|
+ }).catch(err => {
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ orgunitChange (val) {
|
|
|
+ let deptid = val
|
|
|
+ let auditstepcode = 'SUB_OFFICE_BG'
|
|
|
+ supplierapi.getAuditerByDept(deptid, auditstepcode, this.$axios).then(res => {
|
|
|
+ this.orgauditOptions = res.data.item
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
})
|