|
@@ -184,7 +184,7 @@
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
|
<el-form-item label="审批人">
|
|
<el-form-item label="审批人">
|
|
|
- <el-select ref="selectAuditer" v-model="auditer" placeholder="请选择" style="width: 90%" filterable
|
|
|
|
|
|
|
+ <el-select ref="selectAuditer" v-model="auditer" placeholder="请选择" style="width: 100%" filterable
|
|
|
allow-create default-first-option>
|
|
allow-create default-first-option>
|
|
|
<el-option v-for="item in auditerOption" :key="item.id" :label="item.realname" :value="item.id">
|
|
<el-option v-for="item in auditerOption" :key="item.id" :label="item.realname" :value="item.id">
|
|
|
</el-option>
|
|
</el-option>
|
|
@@ -341,8 +341,8 @@
|
|
|
this.entityForm.SupplierName = obj.Realname
|
|
this.entityForm.SupplierName = obj.Realname
|
|
|
},
|
|
},
|
|
|
addAnnualAudit() {
|
|
addAnnualAudit() {
|
|
|
- console.log("----this.entityForm--", this.entityForm)
|
|
|
|
|
- api.addEntity(this.entityForm, this.entityForm.FirstAudit, this.$axios).then(res => {
|
|
|
|
|
|
|
+ console.log("----this.auditer--", this.auditer)
|
|
|
|
|
+ api.addEntity(this.entityForm, this.auditer, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
if (res.data.code === 0) {
|
|
|
console.log("--------res.data----", res.data)
|
|
console.log("--------res.data----", res.data)
|
|
|
//保存成功后,初始化数据,变成修改
|
|
//保存成功后,初始化数据,变成修改
|
|
@@ -395,6 +395,7 @@
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
this.auditerOption = res.data.item
|
|
this.auditerOption = res.data.item
|
|
|
|
|
+ console.log("---this.auditerOption--",this.auditerOption)
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
console.error(err)
|
|
|
})
|
|
})
|