质检情况查询

This commit is contained in:
Vergil
2020-05-18 15:45:52 +08:00
parent cb49f12609
commit 84e301e111
3 changed files with 25 additions and 44 deletions

View File

@@ -486,61 +486,54 @@
<!-- @current-change="handleCurrentChange2"/>-->
<!-- </div>-->
</el-card>
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible4" title="工序完成情况" center style="min-height: 300px">
<el-dialog v-el-drag-dialog :visible.sync="dialogFormVisible4" title="工序完成情况" center width="780px">
<el-row>
<span>零件图号:</span>
<el-input v-model="SparePartsNumber" style="width: 200px" size="small"/>
<el-input v-model="SparePartsNumber" style="width: 150px" size="small"/>
<span>零件名称:</span>
<el-input v-model="SparePartsName" style="width: 200px" size="small"/>
<el-input v-model="SparePartsName" style="width: 150px" size="small"/>
</el-row>
<el-table
:data="tableData5"
style="width: 100%;margin-top: 20px"
size="mini"
height="300"
stripe
highlight-current-row
border>
<el-table-column align="center" label="工序顺序" width="70">
<el-table :data="tableData5" style="width: 100%;margin-top: 20px" size="mini" height="320" stripe highlight-current-row border>
<el-table-column align="center" label="工序" width="70">
<template slot-scope="scope">
{{ scope.row.工序顺序 }}
</template>
</el-table-column>
<el-table-column align="center" label="工艺名称" width="120">
<el-table-column align="center" label="工艺名称" width="90">
<template slot-scope="scope">
{{ scope.row.工艺名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="工艺要求">
<el-table-column align="center" label="工艺要求" width="205" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.工艺要求 }}
</template>
</el-table-column>
<el-table-column align="center" label="操作工">
<el-table-column align="center" label="操作工" width="70" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.操作员 }}
{{ scope.row.工序间是否外协 === 2 ? '外协' : scope.row.操作员 }}
</template>
</el-table-column>
<el-table-column align="center" label="完成数量" width="120">
<el-table-column align="center" label="完成数量" width="80">
<template slot-scope="scope">
{{ scope.row.完成数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="工艺是否完成" width="120">
<el-table-column align="center" label="状态" width="80">
<template slot-scope="scope">
<el-tag v-if="parseInt(scope.row.工序状态)===4" type="success" size="small">已完</el-tag>
<el-tag v-if="parseInt(scope.row.工序状态)===5" type="warning" size="small">报废</el-tag>
<el-tag v-if="parseInt(scope.row.工序状态)!==4 && parseInt(scope.row.工序状态)!==5" type="primary" size="small">未完</el-tag>
<span v-if="parseInt(scope.row.工序状态)===4" style="color: #67C23A">已完</span>
<span v-if="parseInt(scope.row.工序状态)===5" style="color: #E6A23C">报废</span>
<span v-if="parseInt(scope.row.工序状态)!==4 && parseInt(scope.row.工序状态)!==5" style="color: #409EFF">未完</span>
</template>
</el-table-column>
<el-table-column align="center" label="质检数" width="120">
<el-table-column align="center" label="质检数" width="65">
<template slot-scope="scope">
{{ scope.row.数量 }}
{{ scope.row.数量 === null ? 0 : scope.row.数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="不合格数" width="120">
<el-table-column align="center" label="不数" width="65">
<template slot-scope="scope">
{{ scope.row.不合格数量 }}
{{ scope.row.不合格数量 === null ? 0 : scope.row.不合格数量 }}
</template>
</el-table-column>
</el-table>
@@ -691,9 +684,7 @@
<script>
import { initProject, searchgroup, selecttable, QualityType, searchPic, searchTableDetail, searchData, searchData1, processingStatus, initPerson, Prohibit, initDisqualificationTreatment, initReasonsForNonconformity, searchparts, searchprocedure, searchoperators, submitTable, confirmEdit, searchproceductnum, deleterow } from '@/api/Assembly/QualityInspectionInformationInquiry'
// import { readFile } from '@/utils/request'
import { mapGetters } from 'vuex'
// import { mapGetters } from 'vuex'
export default {
data() {
return {