diff --git a/src/api/Assembly/QualityBasicData.js b/src/api/Assembly/QualityBasicData.js
new file mode 100644
index 00000000..e69de29b
diff --git a/src/api/Assembly/QualityInspectionInformationInquiry.js b/src/api/Assembly/QualityInspectionInformationInquiry.js
index 03cecea9..dc8e27c2 100644
--- a/src/api/Assembly/QualityInspectionInformationInquiry.js
+++ b/src/api/Assembly/QualityInspectionInformationInquiry.js
@@ -35,7 +35,7 @@ export function searchgroup(num) {
})
}
// 质检管理_质量情况_查询数据
-export function selecttable(check1, value1, check2, value2, check3, value3, check4, value4, check5, value5, check6, value6, pageCurrent, pageSize) {
+export function selecttable(check1, value1, check2, value2, check3, value3, check4, value4, check5, value5, check6, value6, check7, value7, pageCurrent, pageSize) {
return request({
url: '',
method: 'post',
@@ -43,7 +43,7 @@ export function selecttable(check1, value1, check2, value2, check3, value3, chec
type: '1',
name: '质检管理_质量情况_查询数据',
param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&组件流水号_check=' + check2 + '&组件流水号=' + value2 + '&零件名称_check=' + check3 + '&零件名称=' + value3 +
- '&质检类型代码_check=' + check4 + '&质检类型代码=' + value4 + '&开始时间_check=' + check5 + '&开始时间=' + value5 + '&结束时间_check=' + check6 + '&结束时间=' + value6,
+ '&质检类型代码_check=' + check4 + '&质检类型代码=' + value4 + '&开始时间_check=' + check5 + '&开始时间=' + value5 + '&结束时间_check=' + check6 + '&结束时间=' + value6 + '&质检情况_check=' + check7 + '&质检情况=' + value7,
Pagination: pageCurrent + '&' + pageSize
}
})
diff --git a/src/api/TechnologyCenter/ImportParts.js b/src/api/TechnologyCenter/ImportParts.js
index 85eb72c7..257ee426 100644
--- a/src/api/TechnologyCenter/ImportParts.js
+++ b/src/api/TechnologyCenter/ImportParts.js
@@ -367,14 +367,14 @@ export function transferWG(groupNum, materialNum, totalNum, remarks, mark, desig
}
})
}
-export function transferWG1(groupNum, materialNum, totalNum, remarks, mark, designNum, isTransfer, dataType, No, id, Num) {
+export function transferWG1(groupNum, materialNum, totalNum, remarks, mark, designNum, isTransfer, dataType, No, id, Num, num6, num7) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: 'PDM_零件明细表_标准件和外购件_大量导入',
- param: `组件流水号=${groupNum}&物料流水号=${materialNum}&零件数量=${totalNum}&备注\\=${remarks}&标记=${mark}&设计者编号=${designNum}&是否传递=${isTransfer}&数据类型=${dataType}&序号=${No}&id=${id}&备件数量=${Num}`
+ param: `组件流水号=${groupNum}&物料流水号=${materialNum}&零件数量=${totalNum}&备注\\=${remarks}&标记=${mark}&设计者编号=${designNum}&是否传递=${isTransfer}&数据类型=${dataType}&序号=${No}&id=${id}&备件数量=${Num}&分类码=${num6}&整改类型=${num7}`
}
})
}
diff --git a/src/views/Assembly/QualityBasicData/index.vue b/src/views/Assembly/QualityBasicData/index.vue
new file mode 100644
index 00000000..ea683cbf
--- /dev/null
+++ b/src/views/Assembly/QualityBasicData/index.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+ 关键节点记录
+
+ 增加
+
+
+
+
+ {{ scope.row.关键节点 }}
+
+
+
+
+ {{ scope.row.完成情况 }}
+
+
+
+
+ {{ scope.row.备注 }}
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+ 每日工作记录
+
+ 增加
+
+
+
+
+ {{ scope.row.工作情况 }}
+
+
+
+
+ {{ scope.row.工作日期 }}
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue
index b392fdc6..aea0dd02 100644
--- a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue
+++ b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue
@@ -21,6 +21,8 @@
:label="item.label"
:value="item.value"/>
+ 零件:
+
质检类型:
- 零件:
-
+
+
时间区间:
+ 质检情况:
+
+
+
查询
@@ -226,7 +236,7 @@
正在加工零件列表
-
+
{{ scope.row.机床图号 }}
@@ -244,7 +254,7 @@
- {{ scope.row.零件图号_零件工艺计划 }}
+ {{ scope.row.零件图号 }}
@@ -295,7 +305,7 @@
待加工零件列表
-
+
{{ scope.row.机床图号 }}
@@ -363,9 +373,15 @@
+
+ 零件图号:
+
+ 零件名称:
+
+
+
+
+ {{ scope.row.员工姓名 }}
+
+
已完成
@@ -428,11 +449,23 @@ export default {
gridData: [],
QualityTypeNumber: [],
QualityTypeValue: '',
+ qualityInspectionValue: '',
+ qualityInspection: [
+ {
+ value: 1,
+ label: '合格'
+ }, {
+ value: 2,
+ label: '不合格'
+ }
+ ],
tableData1: [],
tableData10: [],
tableData20: [],
tableData5: [],
SpareParts: '',
+ SparePartsNumber: '',
+ SparePartsName: '',
dialogFormVisible: false,
dialogFormVisible4: false,
loading: false,
@@ -517,7 +550,8 @@ export default {
if (this.QualityTypeValue !== '' && this.QualityTypeValue !== null) { this.check4 = 1 } else { this.check4 = 0 }
if (this.startTime !== '' && this.startTime !== null) { this.check5 = 1 } else { this.check5 = 0 }
if (this.endTime !== '' && this.endTime !== null) { this.check6 = 1 } else { this.check6 = 0 }
- selecttable(this.check1, this.machineNumberValue, this.check2, this.groupNumberValue, this.check3, this.SpareParts, this.check4, this.QualityTypeValue, this.check5, this.startTime, this.check6, this.endTime, this.pageCurrent, this.pageSize).then(response => {
+ if (this.qualityInspectionValue !== '' && this.qualityInspectionValue !== null) { this.check7 = 1 } else { this.check7 = 0 }
+ selecttable(this.check1, this.machineNumberValue, this.check2, this.groupNumberValue, this.check3, this.SpareParts, this.check4, this.QualityTypeValue, this.check5, this.startTime, this.check6, this.endTime, this.check7, this.qualityInspectionValue, this.pageCurrent, this.pageSize).then(response => {
this.tableData1 = response.data.rows
this.loading = false
this.total = response.data.total
@@ -538,6 +572,8 @@ export default {
},
viewProcedures(row) {
this.dialogFormVisible4 = true
+ this.SparePartsNumber = row.零件图号
+ this.SparePartsName = row.零件名称
processingStatus(row.工艺计划流水号).then(response => {
this.tableData5 = response.data
})
diff --git a/src/views/TechnologyCenter/ImportChangeParts/specificationData1.vue b/src/views/TechnologyCenter/ImportChangeParts/specificationData1.vue
index c647e67e..26f44dce 100644
--- a/src/views/TechnologyCenter/ImportChangeParts/specificationData1.vue
+++ b/src/views/TechnologyCenter/ImportChangeParts/specificationData1.vue
@@ -647,7 +647,8 @@ export default {
} else {
dataType = 1
}
- const resp = await transferWG1(data.组件流水号, data.物料流水号, total, data.备注, data.标记, data.设计者编号, data.是否传递, dataType, data.序号, data.id)
+ console.log(data)
+ const resp = await transferWG1(data.组件流水号, data.物料流水号, total, data.备注, data.标记, data.设计者编号, data.是否传递, dataType, data.序号, data.id, data.备件数量, data.分类码, data.整改类型)
await sleep(10)
if (resp.data[0].result === '0') {
this.err++
diff --git a/src/views/TechnologyCenter/QueryParts/index.vue b/src/views/TechnologyCenter/QueryParts/index.vue
index 1def3fe1..0d09fba7 100644
--- a/src/views/TechnologyCenter/QueryParts/index.vue
+++ b/src/views/TechnologyCenter/QueryParts/index.vue
@@ -215,6 +215,16 @@
{{ scope.row.标记 }}
+
+
+ {{ scope.row.分类码 }}
+
+
+
+
+ {{ scope.row.整改类型 }}
+
+
{
console.log(item)
+ if (item.整改类型 === '1') {
+ item.整改类型 = '新增'
+ } else if (item.整改类型 === '2') {
+ item.整改类型 = '替换'
+ } else if (item.整改类型 === '3') {
+ item.整改类型 = '补充加工'
+ }
item.零件类型 = item.零件类型 === '2' ? '外购件' : '标准件'
return item
})