|
|
|
@ -60,7 +60,15 @@
|
|
|
|
|
-->
|
|
|
|
|
<el-col :span="14">
|
|
|
|
|
<el-form-item label="不合格描述" prop="remark">
|
|
|
|
|
<el-input type='textarea' v-model="form.remark" placeholder="请输入不合格描述" />
|
|
|
|
|
<!-- <el-input type='textarea' v-model="form.remark" placeholder="请输入不合格描述" /> -->
|
|
|
|
|
<el-select v-model="form.remark" placeholder="请选择不合格描述" clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in remarkList"
|
|
|
|
|
:key="dict.dictLabel"
|
|
|
|
|
:label="dict.dictLabel"
|
|
|
|
|
:value="dict.dictLabel"
|
|
|
|
|
></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -225,6 +233,7 @@ import { getCkeckProjectList,changeCheckDetailStatus,commitActualValue,
|
|
|
|
|
commitCheckResult,getDefectList,getWeightValue,getnoOkVals,getAutoJudge
|
|
|
|
|
} from "@/api/quality/income";
|
|
|
|
|
import { getDefectValue, commitDefectValue, updateDefectValue} from "@/api/quality/checkTaskDefect";
|
|
|
|
|
import { getDictData,} from "@/api/system/dict/data";
|
|
|
|
|
export default {
|
|
|
|
|
name: "itemSelectUser",
|
|
|
|
|
dicts: ["qc_rule_prop","material_type_oa","material_from_oa","sample_level","sample_aql"],
|
|
|
|
@ -246,6 +255,7 @@ export default {
|
|
|
|
|
// BOM产品表格数据
|
|
|
|
|
itemList: null,
|
|
|
|
|
qcCheckTaskDetails: [],
|
|
|
|
|
remarkList: [],
|
|
|
|
|
//树名称
|
|
|
|
|
bomCode: undefined,
|
|
|
|
|
defaultProps: {
|
|
|
|
@ -306,6 +316,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getDefect();
|
|
|
|
|
this.handleGetDictData();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getDefect(){
|
|
|
|
@ -357,6 +368,17 @@ export default {
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
handleGetDictData() {
|
|
|
|
|
const query = {
|
|
|
|
|
dictType: 'unqualified_remark',
|
|
|
|
|
}
|
|
|
|
|
getDictData(query).then(response => {
|
|
|
|
|
if (response.code === 200) {
|
|
|
|
|
this.remarkList = response.data;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
|
handleQuery() {
|
|
|
|
|
this.queryParams.pageNum = 1;
|
|
|
|
|