diff --git a/src/api/quality/income.js b/src/api/quality/income.js index d8c9e08..0527800 100644 --- a/src/api/quality/income.js +++ b/src/api/quality/income.js @@ -145,7 +145,7 @@ export function getDefectList(defectType) { }); } -// 查询人员列表 +// 查询来料单列表 export function getLLWorkOrder(query) { return request({ url: '/quality/qcIncome/getLLWorkOrder', @@ -153,3 +153,12 @@ export function getLLWorkOrder(query) { params: query }); } + +// 查询生产过程-工单列表 +export function getWorkOrder(query) { + return request({ + url: '/quality/qcIncome/getWorkOrder', + method: 'get', + params: query + }); + } diff --git a/src/api/quality/project.js b/src/api/quality/project.js index c23c159..3c56e50 100644 --- a/src/api/quality/project.js +++ b/src/api/quality/project.js @@ -9,6 +9,16 @@ export function listProject(query) { }); } +// 查询检验项目维护列表 +export function getProjectList(query) { + return request({ + url: '/quality/project/getProjectList', + method: 'get', + params: query + }); +} + + // 查询检验项目维护详细 export function getProject(id) { return request({ diff --git a/src/api/quality/qcProduce.js b/src/api/quality/qcProduce.js index 70dc437..b980cec 100644 --- a/src/api/quality/qcProduce.js +++ b/src/api/quality/qcProduce.js @@ -77,3 +77,15 @@ export function changeProduceStatus(recordId, status) { data: data }) } + +//获取批次 +export function getBatchList(workorderCode) { + const data = { + workorderCode + } + return request({ + url: '/quality/qcIncome/getBatchList', + method: 'put', + data: data + }); +} \ No newline at end of file diff --git a/src/views/quality/checkTypeProject/index.vue b/src/views/quality/checkTypeProject/index.vue index c4f68fc..35d6af4 100644 --- a/src/views/quality/checkTypeProject/index.vue +++ b/src/views/quality/checkTypeProject/index.vue @@ -166,7 +166,7 @@ - + { - this.checkRuleList = response.rows; + getProjectList().then((response) => { + this.checkRuleList = response; }); }, /** 查询物料检验项目维护列表 */ diff --git a/src/views/quality/project/index.vue b/src/views/quality/project/index.vue index aa8c39b..8d4d886 100644 --- a/src/views/quality/project/index.vue +++ b/src/views/quality/project/index.vue @@ -108,7 +108,6 @@ - diff --git a/src/views/quality/qcProduce/index.vue b/src/views/quality/qcProduce/index.vue index 9c96725..6d81fac 100644 --- a/src/views/quality/qcProduce/index.vue +++ b/src/views/quality/qcProduce/index.vue @@ -162,10 +162,10 @@ - + - + @@ -256,8 +256,10 @@ - - + + + + @@ -280,13 +282,7 @@ - - - - - + + + + + + + + + + @@ -372,6 +380,11 @@ 取 消 + +