Commit 03ecac5d authored by 沈翠玲's avatar 沈翠玲

过程检验

parent 55629e09
......@@ -49,7 +49,7 @@
>新增</el-button>
</el-col> -->
<el-col :span="1.5">
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate(selectedRows[0])"
v-hasPermi="['mes:qc:ipqc:edit']">修改</el-button>
</el-col>
<el-col :span="1.5">
......@@ -514,7 +514,6 @@ export default {
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
row = row || this.selectedRows[0]
const ipqcId = row.ipqcId || this.ids
getIpqc(ipqcId).then(response => {
this.form = {...row, ...response.data};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment