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