Browse Source

2026-01-12

1、IPQC检验页面的查询条件增加“加工中心”属性
2、检验内容列表,“标准值”、“上限值”、“下限值”三个列允许编辑
3、【模板导入】功能,导入的时候需要排序
master
fengyuan_yang 5 hours ago
parent
commit
b6631dce14
  1. 3
      src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue
  2. 5
      src/views/modules/orderIssure/soIssueNotify/searchIssureNotifyForCK.vue
  3. 6
      src/views/modules/qc/FQCResultEntry.vue
  4. 62
      src/views/modules/qc/IPQCResultEntry.vue
  5. 6
      src/views/modules/qc/IQCResultEntry.vue
  6. 6
      src/views/modules/qc/OQCResultEntry.vue
  7. 1
      src/views/modules/warehouse/labelTransactionLog.vue
  8. 23
      src/views/modules/yieldReport/com_process_inspection.vue

3
src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue

@ -3073,8 +3073,7 @@
//
getWorkCenterList() {
let inData = {
site: this.userBuList[0].buNo.split('_')[0],
buNo: this.userBuList[0].buNo.split('_')[1]
username: this.$store.state.user.name
}
getWorkCenterList(inData).then(({data}) =>{
if (data && data.code === 0) {

5
src/views/modules/orderIssure/soIssueNotify/searchIssureNotifyForCK.vue

@ -454,11 +454,8 @@ export default {
},
//
loadWorkCenterList() {
if (this.userBuList.length === 0) return
const buNo = this.userBuList[0].buNo
const inData = {
site: buNo.split('_')[0],
buNo: buNo.split('_')[1]
username: this.$store.state.user.name
}
getWorkCenterList(inData).then(({data}) => {
if (data && data.code === 0) {

6
src/views/modules/qc/FQCResultEntry.vue

@ -661,9 +661,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]" 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=""

62
src/views/modules/qc/IPQCResultEntry.vue

@ -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) {

6
src/views/modules/qc/IQCResultEntry.vue

@ -576,9 +576,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]" 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=""

6
src/views/modules/qc/OQCResultEntry.vue

@ -540,9 +540,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]" 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=""

1
src/views/modules/warehouse/labelTransactionLog.vue

@ -169,6 +169,7 @@
<el-table-column prop="orderLineNo" label="关联单行号" header-align="center" align="center" width="100"></el-table-column>
<el-table-column prop="rollNo" label="标签条码" header-align="center" align="left" min-width="180" show-overflow-tooltip></el-table-column>
<el-table-column prop="rollQty" label="变动数量" header-align="center" align="right" width="100"></el-table-column>
<el-table-column prop="batchNo" label="合约号码" header-align="center" align="left" min-width="150" show-overflow-tooltip></el-table-column>
<el-table-column prop="partNo" label="物料编码" header-align="center" align="left" min-width="150" show-overflow-tooltip></el-table-column>
<el-table-column prop="warehouseId" label="仓库编码" header-align="center" align="center" width="100"></el-table-column>
<el-table-column prop="warehouseName" label="仓库名称" header-align="center" align="left" min-width="120" show-overflow-tooltip></el-table-column>

23
src/views/modules/yieldReport/com_process_inspection.vue

@ -547,6 +547,29 @@
align="center"
min-width="100"
label="标准值">
<template slot-scope="scope">
<el-input v-model="scope.row.defaultValue" style="height: 11px; width: 98%"></el-input>
</template>
</el-table-column>
<el-table-column
prop="minValue"
header-align="center"
align="center"
min-width="80"
label="下限值">
<template slot-scope="scope">
<el-input v-model="scope.row.minValue" style="height: 11px; width: 98%"></el-input>
</template>
</el-table-column>
<el-table-column
prop="maxValue"
header-align="center"
align="center"
min-width="80"
label="上限值">
<template slot-scope="scope">
<el-input v-model="scope.row.maxValue" style="height: 11px; width: 98%"></el-input>
</template>
</el-table-column>
<el-table-column
prop=""

Loading…
Cancel
Save