|
|
|
@ -210,8 +210,8 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="抽检数量" prop="sampleQuality">
|
|
|
|
|
<el-input v-model="form.sampleQuality" disabled />
|
|
|
|
|
<el-form-item label="检验依据" prop="standardNo">
|
|
|
|
|
<el-input v-model="form.standardNo" disabled />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
@ -238,7 +238,7 @@
|
|
|
|
|
<el-table-column label="序号" align="center" type="index" width="50"/>
|
|
|
|
|
<el-table-column label="检验项目" align="center" prop="projectRuleName" />
|
|
|
|
|
<el-table-column label="标准要求" align="center" prop="checkStandard" width="160"/>
|
|
|
|
|
<el-table-column label="抽检数" align="center" prop="sampleNum" width="60"/>
|
|
|
|
|
<el-table-column label="抽检数" align="center" prop="samplePlan" width="60"/>
|
|
|
|
|
<el-table-column label="实测结果" align="center" prop="actualValue" width="180"/>
|
|
|
|
|
<el-table-column label="判定" align="center" prop="status" width="70">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
@ -265,14 +265,13 @@
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col>
|
|
|
|
|
<el-form-item label="综合检验结论" label-width="100px">
|
|
|
|
|
<el-checkbox-group v-model="form.checkedValues">
|
|
|
|
|
<el-col offset="6" span="6">
|
|
|
|
|
<el-checkbox label="Y">合格</el-checkbox>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<span v-if="this.checkResult=='Y'">√合格</span>
|
|
|
|
|
<span label="N" v-else>×不合格</span>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col offset="3" span="6">
|
|
|
|
|
<el-checkbox label="N">不合格</el-checkbox>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
备注:判定合格打“√”,不合格打“×”
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-checkbox-group>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -330,6 +329,7 @@ export default {
|
|
|
|
|
//打印
|
|
|
|
|
formRef: 'form',
|
|
|
|
|
validateRules: [],
|
|
|
|
|
checkResult: 'Y',
|
|
|
|
|
printData: {
|
|
|
|
|
printable: 'printFrom',
|
|
|
|
|
ignore: ['no-print'],
|
|
|
|
@ -424,9 +424,12 @@ export default {
|
|
|
|
|
getList() {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
|
|
|
|
|
if(this.queryParams.checkTimeArray.length>0){
|
|
|
|
|
if(this.queryParams.checkTimeArray != null &&this.queryParams.checkTimeArray.length>0){
|
|
|
|
|
this.queryParams.checkTimeStart = moment(this.queryParams.checkTimeArray[0]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
|
this.queryParams.checkTimeEnd = moment(this.queryParams.checkTimeArray[1]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
|
}else{
|
|
|
|
|
this.queryParams.checkTimeStart = null;
|
|
|
|
|
this.queryParams.checkTimeEnd = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
listIncome(this.queryParams).then(response => {
|
|
|
|
@ -505,9 +508,10 @@ export default {
|
|
|
|
|
getIncome(recordId).then(response => {
|
|
|
|
|
this.form = response.data;
|
|
|
|
|
|
|
|
|
|
let checkedValues0 =[];
|
|
|
|
|
checkedValues0.push(response.data.checkResult)
|
|
|
|
|
this.form.checkedValues = checkedValues0;
|
|
|
|
|
//let checkedValues0 =[];
|
|
|
|
|
//checkedValues0.push(response.data.checkResult)
|
|
|
|
|
//this.form.checkedValues = checkedValues0;
|
|
|
|
|
this.checkResult = response.data.checkResult;
|
|
|
|
|
|
|
|
|
|
this.form.printable = 'printFrom'; //打印时需要
|
|
|
|
|
this.form.ignore = ['no-print'];//打印时需要
|
|
|
|
|