Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mes
mes-ui
Commits
cc20a4b8
Commit
cc20a4b8
authored
Jun 27, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iqc打印和编排对照和生产工单
parent
f6181e16
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
314 additions
and
169 deletions
+314
-169
iqc.js
src/api/mes/qc/iqc.js
+8
-0
index.vue
src/views/mes/pro/scheduleSetupRule/index.vue
+9
-1
indexApply.vue
src/views/mes/pro/workorder/indexApply.vue
+1
-1
index.vue
src/views/mes/qc/iqc/index.vue
+154
-142
iqcTable.vue
src/views/mes/qc/iqc/iqcTable.vue
+136
-0
iqcline.vue
src/views/mes/qc/iqc/iqcline.vue
+6
-25
No files found.
src/api/mes/qc/iqc.js
View file @
cc20a4b8
...
@@ -26,6 +26,14 @@ export function addIqc(data) {
...
@@ -26,6 +26,14 @@ export function addIqc(data) {
})
})
}
}
// 打印iqc检验单
export
function
printIqc
(
id
)
{
return
request
({
url
:
'/mes/qc/iqc/'
+
id
,
method
:
'get'
})
}
// 修改来料检验单
// 修改来料检验单
export
function
updateIqc
(
data
)
{
export
function
updateIqc
(
data
)
{
return
request
({
return
request
({
...
...
src/views/mes/pro/scheduleSetupRule/index.vue
View file @
cc20a4b8
...
@@ -17,6 +17,14 @@
...
@@ -17,6 +17,14 @@
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"换型关键字"
prop=
"ruleCode"
>
<el-input
v-model=
"queryParams.ruleCode"
placeholder=
"请输入换型关键字"
clearable
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
...
@@ -449,7 +457,7 @@ export default {
...
@@ -449,7 +457,7 @@ export default {
/** 下载模板操作 */
/** 下载模板操作 */
importTemplate
()
{
importTemplate
()
{
this
.
download
(
this
.
download
(
"
mes/
pro/scheduleSetupRule/importTemplate"
,
"pro/scheduleSetupRule/importTemplate"
,
{},
{},
`scheduleSetupRule_
${
new
Date
().
getTime
()}
.xlsx`
`scheduleSetupRule_
${
new
Date
().
getTime
()}
.xlsx`
);
);
...
...
src/views/mes/pro/workorder/indexApply.vue
View file @
cc20a4b8
...
@@ -270,7 +270,7 @@
...
@@ -270,7 +270,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"是否急单"
align=
"center"
prop=
"rushOrder"
>
<el-table-column
label=
"是否急单"
align=
"center"
prop=
"rushOrder"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.rush_order"
:value=
"scope.row.rushOrder"
/>
{{
scope
.
row
.
rushOrder
===
'Y'
?
'是'
:
''
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"排版状态"
align=
"center"
prop=
"dtaAction"
>
<el-table-column
label=
"排版状态"
align=
"center"
prop=
"dtaAction"
>
...
...
src/views/mes/qc/iqc/index.vue
View file @
cc20a4b8
This diff is collapsed.
Click to expand it.
src/views/mes/qc/iqc/iqcTable.vue
0 → 100644
View file @
cc20a4b8
<
template
>
<div
class=
"productOrderSpecification"
>
<table
border
class=
"form-header font-size-16"
style=
"table-layout: fixed;width: 100%;border:1px solid #000000;font-size:14px;line-height: 25px; margin: 8px 10px 5px 10px;"
>
<!-- -->
<tr
height=
"30"
class=
"color000"
>
<td
colspan=
"6"
align=
"center"
><img
width=
"140"
src=
"@/assets/logo/logo.png"
alt=
""
></td>
<td
colspan=
"18"
align=
"center"
><div
class=
"titles"
>
广州市宝绅科技应用有限公司
</div>
Guangzhou Baoshen Science
&
Applied Technologies Co., Ltd.
</td>
</tr>
<tr
height=
"35"
class=
"color000"
>
<td
colspan=
"24"
align=
"center"
><div
class=
"titles"
style=
"line-height: 40px;height:40px"
>
原材料检验记录表(
{{
body
.
vendorName
}}
)
</div></td>
</tr>
<tr
height=
"20"
class=
"color000"
>
<td
colspan=
"3"
align=
"center"
>
采购单号
</td>
<td
colspan=
"3"
align=
"center"
>
{{
body
.
saleNo
}}
</td>
<td
colspan=
"2"
align=
"center"
>
送货数量
</td>
<td
colspan=
"2"
align=
"center"
>
{{
body
.
quantity
}}
</td>
<td
colspan=
"2"
align=
"center"
>
不良品数
</td>
<td
colspan=
"2"
align=
"center"
style=
"word-wrap:break-word;word-break:break-all"
>
{{
body
.
quantityUnqualified
}}
</td>
<td
colspan=
"2"
align=
"center"
>
单位
</td>
<td
colspan=
"2"
align=
"center"
>
{{
body
.
unit
}}
</td>
<td
colspan=
"2"
align=
"center"
>
报检日期
</td>
<td
colspan=
"4"
align=
"center"
>
{{
body
.
checkTime
}}
</td>
</tr>
<tr
height=
"20"
class=
"color000"
>
<td
colspan=
"3"
align=
"center"
>
产品编号
</td>
<td
colspan=
"5"
align=
"center"
>
{{
body
.
sapItemCode
}}
</td>
<td
colspan=
"2"
align=
"center"
>
产品名称
</td>
<td
colspan=
"6"
align=
"center"
>
{{
body
.
itemName
}}
</td>
<td
colspan=
"2"
align=
"center"
>
供应商名称
</td>
<td
colspan=
"6"
align=
"center"
style=
"word-wrap:break-word;word-break:break-all"
>
{{
body
.
vendorName
}}
</td>
</tr>
<tr
height=
"20"
class=
"color000"
style=
"font-weight: 400"
>
<td
colspan=
"1"
align=
"center"
>
序号
</td>
<td
colspan=
"2"
align=
"center"
>
检验项目
</td>
<td
colspan=
"15"
align=
"center"
>
检验标准
</td>
<td
colspan=
"4"
align=
"center"
>
检验结果
</td>
<td
colspan=
"2"
align=
"center"
>
判定
</td>
</tr>
<tr
height=
"20"
v-for=
"(item,index) in body.lineList"
:key=
"'processes' + index"
class=
"color000"
>
<td
colspan=
"1"
align=
"center"
>
{{
index
+
1
}}
</td>
<td
colspan=
"2"
align=
"center"
>
{{
item
.
qcTool
}}
</td>
<td
colspan=
"15"
align=
"center"
>
{{
item
.
indexName
}}
</td>
<td
colspan=
"4"
align=
"center"
>
{{
item
.
qualityCheckResults
}}
</td>
<td
colspan=
"2"
align=
"center"
><dict-tag
:options=
"dict.type.ver_item_determination"
:value=
"item.status"
/></td>
</tr>
<tr
height=
"40"
class=
"color000"
>
<td
colspan=
"2"
align=
"center"
>
备注
</td>
<td
colspan=
"22"
align=
"center"
style=
"word-wrap:break-word;word-break:break-all; height: 40px;line-height:15px;font-size: 13px"
>
(1)品牌或客户指定材料供应商的,按照其标准或要求执行: (2)品牌或客户的标准高于内部标准的,按照品牌或客户的标准执行:
<br>
(3)品牌或客户无具体标准要求的,按照内部标准执行;(4)★表示月度抽检测试项目,※表示周抽检项目;●表示年度测试项目;
</td>
</tr>
</table>
</div>
</
template
>
<
script
>
import
dayjs
from
'dayjs'
export
default
{
props
:
[
'iqcTable'
],
dicts
:
[
"ver_item_determination"
,
],
data
()
{
return
{
date
:
dayjs
().
format
(
'YYYY-MM-DD'
),
// body: {
// "saleNo": "采购单号/purchaseOrderNo",
// "quantity": "1",
// "unit": "单位/baseunit",
// "sapItemCode": "产品编码",
// "vendorCode": "工银上编码",
// "vendorName": "供应商名称/vendorName",
// "logoUrl": "http://192.168.3.181:81/downdir/logo444.png",
// "itemName": "产品名称",
// "quantityUnqualified":"1",
// "checkTime": "报检日期/提交时间",
// "lineList": [
// {
// "seqNo": "序号",
// "iqcItemName": "检验项目/qcIqcLineList.",
// "iqcItemBaseDesc": "检验标准/qcIqcLineList.",
// "checkResult": "检测结果/qcIqcLineList.",
// "checkStatus": "判定/qcIqcLineList."
// }
// ]
// }
}
},
computed
:
{
body
(){
return
this
.
iqcTable
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.productOrderSpecification
{
position
:
relative
;
width
:
920px
;
height
:
1300px
;
padding
:
0
49px
;
padding-top
:
20px
;
box-sizing
:
border-box
;
}
.titles
{
text-align
:
center
;
font-size
:
22px
;
font-weight
:
500
;
}
.pageBottom
{
display
:
flex
;
justify-content
:
flex-end
;
width
:
850px
;
padding
:
0px
49px
;
color
:
#000
;
div
{
margin-left
:
100px
;
min-width
:
200px
;
}
}
[
text-center
]
{
text-align
:
center
;
}
.color000
{
color
:
#000
;
td
{
word-wrap
:break-word
;
word-break
:break-all
}
}
</
style
>
src/views/mes/qc/iqc/iqcline.vue
View file @
cc20a4b8
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-table
v-loading=
"loading"
:data=
"iqclineList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"iqclineList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
label=
"检测项名称"
width=
"100px"
align=
"center"
prop=
"indexName"
/>
<el-table-column
label=
"检验名称"
width=
"100px"
align=
"center"
prop=
"qcTool"
/>
<el-table-column
label=
"检测项类型"
width=
"100px"
align=
"center"
prop=
"indexType"
>
<el-table-column
label=
"检验要求"
align=
"center"
prop=
"indexName"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.mes_index_type"
:value=
"scope.row.indexType"
/>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"检测工具"
align=
"center"
prop=
"qcTool"
/>
<el-table-column
label=
"项目判定"
width=
"100px"
align=
"center"
prop=
"qualityCheckResults"
/>
<el-table-column
label=
"检测要求"
align=
"center"
prop=
"checkMethod"
/>
<el-table-column
label=
"判定"
width=
"100px"
align=
"center"
prop=
"checkMethod"
>
<el-table-column
label=
"标准值"
align=
"center"
prop=
"standerVal"
/>
<el-table-column
label=
"单位"
align=
"center"
prop=
"unitOfMeasure"
/>
<el-table-column
label=
"误差上限"
align=
"center"
prop=
"thresholdMax"
/>
<el-table-column
label=
"误差下限"
align=
"center"
prop=
"thresholdMin"
/>
<el-table-column
label=
"致命缺陷数量"
align=
"center"
prop=
"crQuantity"
/>
<el-table-column
label=
"严重缺陷数量"
align=
"center"
prop=
"majQuantity"
/>
<el-table-column
label=
"轻微缺陷数量"
align=
"center"
prop=
"minQuantity"
/>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
<dict-tag
:options=
"dict.type.ver_item_determination"
:value=
"scope.row.status"
/>
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleDefect(scope.row)"
v-hasPermi=
"['mes:qc:iqc:edit']"
v-if=
"optType !='view'"
>
缺陷记录
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -47,7 +28,7 @@ import { listIqcline, getIqcline, delIqcline, addIqcline, updateIqcline } from "
...
@@ -47,7 +28,7 @@ import { listIqcline, getIqcline, delIqcline, addIqcline, updateIqcline } from "
import
Defectrecord
from
"../defectrecord/index.vue"
import
Defectrecord
from
"../defectrecord/index.vue"
export
default
{
export
default
{
name
:
"IqcLine"
,
name
:
"IqcLine"
,
dicts
:
[
'mes_index_type'
],
dicts
:
[
'mes_index_type'
,
'ver_item_determination'
],
props
:{
props
:{
iqcId
:
null
,
iqcId
:
null
,
optType
:
null
,
optType
:
null
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment