diff --git a/src/api/quality/qcTable.js b/src/api/quality/qcTable.js
index f277453..f9d8c6d 100644
--- a/src/api/quality/qcTable.js
+++ b/src/api/quality/qcTable.js
@@ -170,7 +170,6 @@ export function getIncomeChartList(query) {
}
//定量值明细报表
-
export function getDLTableMXTitle(query) {
return request({
url: '/quality/staticTable/getDLTableMXTitle',
@@ -184,4 +183,28 @@ export function getDLTableMXList(query) {
method: 'get',
params: query
});
+}
+
+export function getProdLineList() {
+ return request({
+ url: '/quality/staticTable/getProdLineList',
+ method: 'get',
+ params: {}
+ });
+}
+
+//CPK统计报表
+export function getTableCPKTitle(query) {
+ return request({
+ url: '/quality/staticTable/getTableCPKTitle',
+ method: 'get',
+ params: query
+ });
+}
+export function getTableCPKList(query) {
+ return request({
+ url: '/quality/staticTable/getTableCPKList',
+ method: 'get',
+ params: query
+ });
}
\ No newline at end of file
diff --git a/src/views/mes/mesLine/index.vue b/src/views/mes/mesLine/index.vue
index 8833614..97313fa 100644
--- a/src/views/mes/mesLine/index.vue
+++ b/src/views/mes/mesLine/index.vue
@@ -130,7 +130,7 @@
-
+
@@ -204,7 +204,7 @@
-
+
diff --git a/src/views/quality/cpkUpDowConfig/index.vue b/src/views/quality/cpkUpDowConfig/index.vue
index db10abf..f983431 100644
--- a/src/views/quality/cpkUpDowConfig/index.vue
+++ b/src/views/quality/cpkUpDowConfig/index.vue
@@ -1,7 +1,7 @@
+ label-width="100px">
-
+
-
+
-
-
+
+
@@ -142,7 +142,7 @@
-
+
@@ -181,17 +181,32 @@
-
+
+
+
+
+
+
{
if (valid) {
+
+ let options0 = this.dict.type.qms_category;
+ const selectedOptionObj = options0.find(option => option.value === this.form.materialCode);
+ this.form.materialName = selectedOptionObj ? selectedOptionObj.label : '';
+
if (this.form.id != null) {
updateCpkUpdown(this.form).then(response => {
this.$modal.msgSuccess("修改成功");
@@ -417,8 +437,11 @@ import {getCheckTypeList,getProjectOptionList} from "@/api/quality/qcTable";
}
},
//物料选择
- handleSelectProduct() {
- this.$refs.itemSelectMaterial.showFlag = true;
+ handleSelectProduct(val) {
+ //this.$refs.itemSelectMaterial.showFlag = true;
+ let options0 = this.dict.type.qms_category;
+ const selectedOptionObj = options0.find(option => option.value === val);
+ this.form.materialName = selectedOptionObj ? selectedOptionObj.label : '';
},
//物料选择确认
onSelectMaterial(obj) {
diff --git a/src/views/quality/incomeReport/index.vue b/src/views/quality/incomeReport/index.vue
index ba44fd2..fe9d16c 100644
--- a/src/views/quality/incomeReport/index.vue
+++ b/src/views/quality/incomeReport/index.vue
@@ -149,6 +149,9 @@
白坯检验报告
包材检验报告
+
+ 编码:{{form.fileNo}}
+
@@ -508,7 +511,8 @@ export default {
this.queryParams.recordId = recordId;
getIncome(recordId).then(response => {
this.form = response.data;
-
+ let mcode = this.form.materialCode;
+ this.form.materialCode = mcode.slice(7, 18);
//let checkedValues0 =[];
//checkedValues0.push(response.data.checkResult)
//this.form.checkedValues = checkedValues0;
diff --git a/src/views/quality/inventoryReport/index.vue b/src/views/quality/inventoryReport/index.vue
index 36acd18..a759a13 100644
--- a/src/views/quality/inventoryReport/index.vue
+++ b/src/views/quality/inventoryReport/index.vue
@@ -147,6 +147,9 @@
库存检验报告
+
+ 编码:{{form.fileNo}}
+
diff --git a/src/views/quality/llAnalysisReport/index.vue b/src/views/quality/llAnalysisReport/index.vue
index 4ffafa3..bed2721 100644
--- a/src/views/quality/llAnalysisReport/index.vue
+++ b/src/views/quality/llAnalysisReport/index.vue
@@ -59,7 +59,7 @@
来料数据统计
-
+
@@ -83,7 +83,7 @@
来料
-
+
{{scope.row.noOkNumRate}}%
diff --git a/src/views/quality/produceReport/index.vue b/src/views/quality/produceReport/index.vue
index 44f597f..7966b83 100644
--- a/src/views/quality/produceReport/index.vue
+++ b/src/views/quality/produceReport/index.vue
@@ -168,7 +168,7 @@
产品巡检记录表
- 检验依据:{{form.standardNo}}
+ 编码:{{form.fileNo}}
@@ -583,13 +583,15 @@
-
-
- {{ form.standardNo }}
-
-
+
+
+
+
+ {{ form.fileNo }}
+
@@ -1055,7 +1057,7 @@ export default {
this.checkProjectList = response.rows;
this.total = response.total;
this.loading = false;
- //this.standardNo = this.checkProjectList[0].standardNo;
+ this.standardNo = this.checkProjectList[0].standardNo;
this.rowspan()
});
},
diff --git a/src/views/quality/productReport/index.vue b/src/views/quality/productReport/index.vue
index 4e44993..a54fd7c 100644
--- a/src/views/quality/productReport/index.vue
+++ b/src/views/quality/productReport/index.vue
@@ -137,6 +137,9 @@
成品检验报告
+
+ 编码:{{form.fileNo}}
+
{{form.materialName}}
@@ -148,7 +151,7 @@
{{form.createTime}}
{{form.incomeBatchNo}}
- {{form.standardNo}}
+ {{form.fileNo}}
{{form.checkTime}}
diff --git a/src/views/quality/qcTableCPK/index.vue b/src/views/quality/qcTableCPK/index.vue
new file mode 100644
index 0000000..db8fb9c
--- /dev/null
+++ b/src/views/quality/qcTableCPK/index.vue
@@ -0,0 +1,473 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/quality/qcTableDLReport/index.vue b/src/views/quality/qcTableDLReport/index.vue
index a78a999..16f6e08 100644
--- a/src/views/quality/qcTableDLReport/index.vue
+++ b/src/views/quality/qcTableDLReport/index.vue
@@ -182,14 +182,12 @@ import {
getCheckTypeList,
getSupplierList,
getProjectOptionList,
-} from "@/api/quality/qcTable";
-import {
getProdLineList
-} from '@/api/plan/workorder'
+} from "@/api/quality/qcTable";
import * as echarts from "echarts";
import moment from "moment/moment";
export default {
- name: "qcTableDLReport",
+ name: "QcTableDLReport",
dicts: ["check_type"],
data() {
return {