fix:defect不合格项添加备注
This commit is contained in:
parent
5ef4d80a59
commit
dc65cf0a1b
|
@ -25,6 +25,7 @@
|
|||
<el-tag :type="typeCpmpute(scope.row.okcate)" effect="plain">{{ okcate_[scope.row.okcate] }}</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="备注" prop="note"></el-table-column>
|
||||
<el-table-column label="操作" fixed="right" align="center" width="140">
|
||||
<template #default="scope">
|
||||
<el-button link size="small" @click="defectEdit(scope.row, scope.$index)" v-auth="'role.update'" type="primary">编辑</el-button>
|
||||
|
@ -69,6 +70,9 @@
|
|||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注">
|
||||
<el-input v-model="addForm.note" clearable></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button @click="limitedVisible=false" >取 消</el-button>
|
||||
|
@ -82,6 +86,7 @@
|
|||
name: "",
|
||||
code: "",
|
||||
cate: "尺寸",
|
||||
note: "",
|
||||
okcate:10,
|
||||
};
|
||||
export default {
|
||||
|
@ -144,6 +149,7 @@
|
|||
this.addForm.id="";
|
||||
this.addForm.name="";
|
||||
this.addForm.code="";
|
||||
this.addForm.note="";
|
||||
this.addForm.cate="尺寸";
|
||||
this.addForm.okcate=10;
|
||||
this.limitedVisible = true;
|
||||
|
@ -180,6 +186,7 @@
|
|||
this.addForm.name=row.name;
|
||||
this.addForm.code=row.code;
|
||||
this.addForm.cate=row.cate;
|
||||
this.addForm.note=row.note;
|
||||
this.addForm.okcate=row.okcate;
|
||||
this.limitedVisible = true;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue