|
|
@ -110,7 +110,7 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
|
<pagination
|
|
|
|
<pagination
|
|
|
|
v-show="total>0"
|
|
|
|
v-show="total>0"
|
|
|
|
:total="total"
|
|
|
|
:total="total"
|
|
|
@ -123,7 +123,7 @@
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="20">
|
|
|
|
<el-col :span="20">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
class="print-btn"
|
|
|
|
class="print-btn"
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
@ -183,14 +183,14 @@
|
|
|
|
<el-input v-model="form.supplierName" disabled/>
|
|
|
|
<el-input v-model="form.supplierName" disabled/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="供应编码" prop="supplierCode">
|
|
|
|
<el-form-item label="供应编码" prop="supplierCode">
|
|
|
|
<el-input v-model="form.supplierCode" disabled/>
|
|
|
|
<el-input v-model="form.supplierCode" disabled/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="库存数量" prop="quality">
|
|
|
|
<el-form-item label="库存数量" prop="quality">
|
|
|
|
<el-input type="number" v-model="form.quality" disabled/>
|
|
|
|
<el-input type="number" v-model="form.quality" disabled/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
@ -212,7 +212,7 @@
|
|
|
|
<el-input v-model="form.sampleQuality" disabled />
|
|
|
|
<el-input v-model="form.sampleQuality" disabled />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="报检日期" prop="createTime">
|
|
|
|
<el-form-item label="报检日期" prop="createTime">
|
|
|
|
<el-input v-model="form.createTime" disabled>
|
|
|
|
<el-input v-model="form.createTime" disabled>
|
|
|
@ -227,34 +227,35 @@
|
|
|
|
</el-input>
|
|
|
|
</el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="24">
|
|
|
|
<el-col :span="24">
|
|
|
|
<!-- 检验项目明细 -->
|
|
|
|
<!-- 检验项目明细 -->
|
|
|
|
<el-table v-loading="loading" :data="checkProjectList" >
|
|
|
|
<el-table v-loading="loading" :data="checkProjectList" >
|
|
|
|
<el-table-column type="selection" width="50" align="center" />
|
|
|
|
<el-table-column type="selection" width="50" align="center" />
|
|
|
|
<el-table-column label="序号" align="center" type="index" width="50"/>
|
|
|
|
<el-table-column label="序号" align="center" type="index" width="50"/>
|
|
|
|
<el-table-column label="检验项目" align="center" prop="ruleName" />
|
|
|
|
<el-table-column label="检验项目" align="center" prop="ruleName" />
|
|
|
|
<el-table-column label="标准要求" align="center" prop="checkStandard" width="160"/>
|
|
|
|
<el-table-column label="标准要求" align="center" prop="checkStandard" width="350"/>
|
|
|
|
<el-table-column label="抽检数" align="center" prop="sampleNum" width="60"/>
|
|
|
|
<!--<el-table-column label="抽检数" align="center" prop="sampleNum" width="60"/>
|
|
|
|
<el-table-column label="单位" align="center" prop="unitCode" width="50"/>
|
|
|
|
<el-table-column label="单位" align="center" prop="unitCode" width="50"/>-->
|
|
|
|
<el-table-column label="实测结果" align="center" prop="actualValue" width="160"/>
|
|
|
|
<el-table-column label="实测结果" align="center" prop="actualValue" width="120"/>
|
|
|
|
<el-table-column label="判定" align="center" prop="status" width="70">
|
|
|
|
<el-table-column label="判定" align="center" prop="status" width="70">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<dict-tag :options="dict.type.check_result" :value="scope.row.status"/>
|
|
|
|
<dict-tag :options="dict.type.check_result" :value="scope.row.status"/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<el-table-column label="不良类型" align="center" prop="defectCode" width="80">
|
|
|
|
<el-table-column label="不良类型" align="center" prop="defectCode" width="80">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span v-if="scope.row.defectCode">{{ getCodeValue(scope.row.defectCode) }}</span>
|
|
|
|
<span v-if="scope.row.defectCode">{{ getCodeValue(scope.row.defectCode) }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="不良数量" align="center" prop="defectQuality" width="80"/>
|
|
|
|
<el-table-column label="不良数量" align="center" prop="defectQuality" width="80"/>-->
|
|
|
|
<el-table-column label="附件" align="center" prop="files" width="120">
|
|
|
|
<el-table-column label="附件" align="center" prop="files" width="120">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-image v-for="(item,index) in scope.row.files" :key="index"
|
|
|
|
<el-image v-for="(item,index) in scope.row.files" :key="index"
|
|
|
|
:src="item.fileAddress"
|
|
|
|
:src="item.fileAddress"
|
|
|
|
style="width: 100px; height: 100px"
|
|
|
|
style="width: 100px; height: 100px"
|
|
|
|
:fit="fit" />
|
|
|
|
:fit="fit" />
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
@ -263,12 +264,13 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col>
|
|
|
|
<el-col>
|
|
|
|
<el-form-item label="综合检验结论" prop="checkManName" label-width="100px">
|
|
|
|
<el-form-item label="综合检验结论" label-width="100px">
|
|
|
|
<el-col offset="6" span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-checkbox disabled>合格</el-checkbox>
|
|
|
|
<span v-if="this.checkResult=='Y'">√合格</span>
|
|
|
|
|
|
|
|
<span label="N" v-else>×不合格</span>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col offset="3" span="6">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-checkbox disabled>不合格</el-checkbox>
|
|
|
|
备注:判定合格打“√”,不合格打“×”
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
@ -292,13 +294,13 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<el-button type="primary" @click="cancel">确 定</el-button>
|
|
|
|
<el-button type="primary" @click="cancel">确 定</el-button>
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
@ -425,7 +427,7 @@ export default {
|
|
|
|
this.queryParams.checkTimeStart = moment(this.queryParams.checkTimeArray[0]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
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');
|
|
|
|
this.queryParams.checkTimeEnd = moment(this.queryParams.checkTimeArray[1]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
listInventory(this.queryParams).then(response => {
|
|
|
|
listInventory(this.queryParams).then(response => {
|
|
|
|
this.incomeList = response.rows;
|
|
|
|
this.incomeList = response.rows;
|
|
|
|
this.total = response.total;
|
|
|
|
this.total = response.total;
|
|
|
@ -468,7 +470,7 @@ export default {
|
|
|
|
updateTime: null,
|
|
|
|
updateTime: null,
|
|
|
|
factoryCode: null,
|
|
|
|
factoryCode: null,
|
|
|
|
delFlag: null,
|
|
|
|
delFlag: null,
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.resetForm("form");
|
|
|
|
this.resetForm("form");
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -586,7 +588,7 @@ export default {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.center-text {
|
|
|
|
.center-text {
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.report-logo {
|
|
|
|
.report-logo {
|
|
|
@ -594,4 +596,4 @@ export default {
|
|
|
|
margin-left: 15px;
|
|
|
|
margin-left: 15px;
|
|
|
|
height: 38px;
|
|
|
|
height: 38px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|