标识卡打印5

yangwl
zhaoxiaolin 4 months ago
parent b63f08e654
commit 00a0bea29b

@ -1,6 +1,6 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-dialog title="" :visible.sync="printDialogVisible" width="990px"> <el-dialog title="" :visible.sync="printDialogVisible" width="1000px">
<div> <div>
<el-form inline> <el-form inline>
<el-form-item label="补打版次" prop="factory"> <el-form-item label="补打版次" prop="factory">

@ -134,7 +134,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :offset="8" :span="8" class="center-text"> <el-col :span="8" class="center-text">
<h2>成品检验报告</h2> <h2>成品检验报告</h2>
</el-col> </el-col>
</el-row> </el-row>
@ -206,19 +206,13 @@
</el-row> </el-row>
<el-descriptions title="" border :column="1"> <el-descriptions title="" border :column="1">
<el-descriptions-item label="综合检验结论"> <el-descriptions-item label="综合检验结论">
<el-col :span="6">
<el-col offset="1" span="6"> <span v-if="this.checkResult=='Y'"></span>
<el-checkbox-group v-model="form.checkedValues"> <span label="N" v-else>×</span>
<el-checkbox label="Y">合格</el-checkbox>
<el-checkbox label="N">不合格</el-checkbox>
</el-checkbox-group>
</el-col> </el-col>
<el-col span="8"> <el-col :span="8">
判定合格打不合格打× 判定合格打不合格打×
</el-col> </el-col>
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
<!-- <!--
@ -279,6 +273,7 @@ export default {
// //
formRef: 'form', formRef: 'form',
validateRules: [], validateRules: [],
checkResult: 'Y',
printData: { printData: {
printable: 'printFrom', printable: 'printFrom',
ignore: ['no-print'], ignore: ['no-print'],
@ -296,6 +291,7 @@ export default {
incomeList: [], incomeList: [],
// //
checkProjectList: [], checkProjectList: [],
checkProjectList0:[],
defectList: [], defectList: [],
// //
title: "", title: "",
@ -470,9 +466,9 @@ export default {
this.queryParams.recordId = recordId; this.queryParams.recordId = recordId;
getProduct(recordId).then(response => { getProduct(recordId).then(response => {
this.form = response.data; this.form = response.data;
let checkedValues0 =[]; //let checkedValues0 =[];
checkedValues0.push(response.data.checkResult) this.checkResult = response.data.checkResult;
this.form.checkedValues = checkedValues0; //this.form.checkedValues = checkedValues0;
this.form.printable = 'printFrom'; // this.form.printable = 'printFrom'; //
this.form.ignore = ['no-print'];// this.form.ignore = ['no-print'];//
this.open = true; this.open = true;
@ -534,6 +530,8 @@ export default {
item.status = '合格'; item.status = '合格';
}else if(item.status == 'N'){ }else if(item.status == 'N'){
item.status = '不合格'; item.status = '不合格';
}else if(item.status == '未检验'){
item.status = '未检验';
}else{ }else{
item.status = '/'; item.status = '/';
} }

Loading…
Cancel
Save