Browse Source

2024-05-23设备信息采集

master
zelian_wu 2 years ago
parent
commit
c5896638d4
  1. 7
      src/views/modules/processManagement/processBindingInfo.vue

7
src/views/modules/processManagement/processBindingInfo.vue

@ -206,7 +206,7 @@
<el-table-column label="序号" align="center" prop="xh" width="50"></el-table-column> <el-table-column label="序号" align="center" prop="xh" width="50"></el-table-column>
<el-table-column prop="plmTable" header-align="center" align="center" :required="true" label="PLM数据表" width="240"> <el-table-column prop="plmTable" header-align="center" align="center" :required="true" label="PLM数据表" width="240">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-select :ref="`${row.xh-1}` + `a`" v-model="tableData[row.xh-1].plmTable" placeholder="请选择数据表名" @change="tableChange(row.xh-1)" style="width: 220px">
<el-select :ref="`${row.xh-1}` + `a`" v-model="tableData[row.xh-1].plmTable" placeholder="请选择数据表名" style="width: 220px">
<el-option <el-option
v-for = "i in tableList" v-for = "i in tableList"
:key = "i.tableId" :key = "i.tableId"
@ -218,7 +218,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="plmTable" header-align="center" align="center" :required="true" label="PLM字段名" width="220"> <el-table-column prop="plmTable" header-align="center" align="center" :required="true" label="PLM字段名" width="220">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-select :ref="`${row.xh-1}` + `a`" v-model="tableData[row.xh-1].plmField" placeholder="请选择PLM字段名" style="width: 200px">
<el-select :ref="`${row.xh-1}` + `a`" @focus="tableChange(row.xh-1)" v-model="tableData[row.xh-1].plmField" placeholder="请选择PLM字段名" style="width: 200px">
<el-option <el-option
v-for = "i in fieldList" v-for = "i in fieldList"
:key = "i.fieldId" :key = "i.fieldId"
@ -1061,6 +1061,7 @@
let tempData = { let tempData = {
tableId: this.tableData[index].plmTable tableId: this.tableData[index].plmTable
} }
this.fieldList = []
getFieldList(tempData).then(({data}) => { getFieldList(tempData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.fieldList = data.rows this.fieldList = data.rows
@ -1176,7 +1177,7 @@
}else if (row.menuId === '103001'){// }else if (row.menuId === '103001'){//
this.queryTableParam = { this.queryTableParam = {
tableType: 'plm_proofing', tableType: 'plm_proofing',
passTable: ['plm_proofing_delegate_access'],
passTable: [],
addTable: [] addTable: []
} }
}else { }else {

Loading…
Cancel
Save