|
|
|
@ -105,9 +105,21 @@ |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
<!-- 第三行:工序及检验相关信息 --> |
|
|
|
<!-- 第四行:检验相关信息 --> |
|
|
|
<el-row :gutter="16"> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="加工中心"> |
|
|
|
<el-select v-model="searchData.workCenterNo" clearable filterable placeholder="请选择加工中心"> |
|
|
|
<el-option |
|
|
|
v-for="i in workCenterList" |
|
|
|
:key="i.workCenterNo" |
|
|
|
:label="i.workCenterDesc" |
|
|
|
:value="i.workCenterNo"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5"> |
|
|
|
<el-form-item label="检验结论"> |
|
|
|
<el-select v-model="searchData.inspectionResult" clearable placeholder="请选择检验结论"> |
|
|
|
<el-option label="合格" value="合格"> |
|
|
|
@ -146,7 +158,6 @@ |
|
|
|
<el-input v-model="searchData.inspectorName" placeholder="请输入质检员姓名" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
<!-- 第四行:日期信息 --> |
|
|
|
@ -687,9 +698,15 @@ |
|
|
|
:min-width="item.columnWidth" |
|
|
|
:label="item.columnLabel"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<!-- 标准值、上限值、下限值可编辑 --> |
|
|
|
<template v-if="item.columnProp === 'defaultValue' || item.columnProp === 'minValue' || item.columnProp === 'maxValue'"> |
|
|
|
<el-input v-model="scope.row[item.columnProp]" @change="updateDetailRecord(scope.row)" style="height: 11px; width: 98%"></el-input> |
|
|
|
</template> |
|
|
|
<template v-else> |
|
|
|
<span v-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="" |
|
|
|
@ -1476,6 +1493,7 @@ |
|
|
|
importIPQCTemplateItems // 导入IPQC模板项目 |
|
|
|
} from "@/api/qc/qc.js" |
|
|
|
import {getTableDefaultListLanguage, getTableUserListLanguage} from "@/api/table.js" |
|
|
|
import { getWorkCenterList } from "@/api/orderIssure/soIssueNotify.js" |
|
|
|
import Chooselist from '@/views/modules/common/Chooselist_eam' |
|
|
|
import {getInspectionFile} from '@/api/eam/eam_object_list.js' |
|
|
|
import { searchQcSopFileList, downloadSopFile } from '@/api/qc/qc.js' |
|
|
|
@ -1597,7 +1615,8 @@ |
|
|
|
limit: 10, |
|
|
|
seqNo: '', |
|
|
|
states: ['未开始','待检验'], |
|
|
|
inspectionShift: '' |
|
|
|
inspectionShift: '', |
|
|
|
workCenterNo: '' |
|
|
|
}, |
|
|
|
pageIndex: 1, |
|
|
|
pageSize: 20, |
|
|
|
@ -1861,6 +1880,24 @@ |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 301014, |
|
|
|
serialNumber: '301014Table1WorkCenterDesc', |
|
|
|
tableId: "301014Table1", |
|
|
|
tableName: "IPQC检验记录表", |
|
|
|
columnProp: 'workCenterDesc', |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: '加工中心', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120, |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 301014, |
|
|
|
@ -2857,6 +2894,7 @@ |
|
|
|
userBuList: [], |
|
|
|
buList: [], |
|
|
|
resourceList3: [], |
|
|
|
workCenterList: [], |
|
|
|
authSearch: false, |
|
|
|
authSave: false, |
|
|
|
authCheck: false, |
|
|
|
@ -3019,6 +3057,8 @@ |
|
|
|
this.getUserRoleList() |
|
|
|
//查询工序列表 |
|
|
|
this.queryResourceList() |
|
|
|
//查询加工中心列表 |
|
|
|
this.loadWorkCenterList() |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
@ -3053,7 +3093,8 @@ |
|
|
|
resourceId: '', |
|
|
|
orderNo: '', |
|
|
|
seqNo: '', |
|
|
|
operationDesc: '' |
|
|
|
operationDesc: '', |
|
|
|
workCenterNo: '' |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
@ -3068,12 +3109,25 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
queryResourceList (){ |
|
|
|
queryResourceList3().then(( {data} ) => { |
|
|
|
this.resourceList3 = data.rows |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
// 加载加工中心列表 |
|
|
|
loadWorkCenterList() { |
|
|
|
const inData = { |
|
|
|
username: this.$store.state.user.name |
|
|
|
} |
|
|
|
getWorkCenterList(inData).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.workCenterList = data.rows || [] |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
// 批量打印标签 |
|
|
|
printList () { |
|
|
|
if (this.IPQCSelections.length === 0) { |
|
|
|
|