commit
This commit is contained in:
@@ -152,7 +152,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="unit"
|
||||
prop="unitName"
|
||||
label="起草责任单位">
|
||||
</el-table-column>
|
||||
<!-- <el-table-column fixed="right" v-if="isPermission('f9745194958bc9ed3ee5127459795dbc,e8d690904ee1895dd0d17d9c794fbcd7,b299fa5edb3f3f35badb2adb6bda9f2e')>0" label="操作" align="center" width="100">-->
|
||||
@@ -258,11 +258,15 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="起草责任单位" style="width: 100%; margin-right:10px" class="add-form-item" prop="unit" :class="DrawerType === 'see' ? 'form-item-disabled' : ''">
|
||||
<div style="display: flex;justify-content: space-between;align-items: center;">
|
||||
<el-input
|
||||
style="display: none;"
|
||||
v-model="addForm.unit">
|
||||
</el-input>
|
||||
<el-input
|
||||
:key="addForm.unit"
|
||||
:config="addForm"
|
||||
clearable
|
||||
v-model="addForm.unit"
|
||||
v-model="addForm.unitName"
|
||||
placeholder="请选择起草责任单位"
|
||||
@click.native="choiceZRBM(addForm.unit)">
|
||||
</el-input>
|
||||
@@ -386,6 +390,7 @@
|
||||
ids: [],
|
||||
addForm: {
|
||||
unit: '', // 单位
|
||||
unitName: '',
|
||||
esName: '', // 企标名称
|
||||
planStatus: '', // 计划状态
|
||||
reviseStatus: '', // 制修订状态
|
||||
@@ -446,20 +451,27 @@
|
||||
methods: {
|
||||
drawerCheckZRBM (data) {
|
||||
let list = ''
|
||||
let listName = ''
|
||||
for (let a = 0; a < data.length; a++) {
|
||||
if (list.length > 0) {
|
||||
list += ','
|
||||
list += data[a].name
|
||||
list += data[a].id
|
||||
listName += ','
|
||||
listName += data[a].name
|
||||
} else {
|
||||
list = data[a].name
|
||||
list = data[a].id
|
||||
listName = data[a].name
|
||||
}
|
||||
}
|
||||
this.addForm.unit = list
|
||||
this.addForm.unitName = listName
|
||||
this.modalshowflagZRBM = false
|
||||
},
|
||||
choiceZRBM(id) {
|
||||
this.nodeListZRBM = []
|
||||
this.nodeListZRBM = id.split(',')
|
||||
if (id) {
|
||||
this.nodeListZRBM = id.split(',')
|
||||
}
|
||||
this.modalshowflagZRBM = true
|
||||
},
|
||||
QCDWOK () {
|
||||
@@ -629,6 +641,7 @@
|
||||
this.DrawerType = 'edit'
|
||||
this.addDrawer = true
|
||||
this.addForm = {
|
||||
unitName:command[0].unitName,
|
||||
id: command[0].id,
|
||||
unit: command[0].unit, // 单位
|
||||
esName: command[0].esName, // 企标名称
|
||||
|
||||
Reference in New Issue
Block a user