From 0bd9cd0189edc7c560137372dd7c5b36961fbb11 Mon Sep 17 00:00:00 2001 From: liushuai Date: Sat, 18 Apr 2020 17:41:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ScrappedSupplementaryInvestment.js | 4 ++-- .../index.vue | 1 - .../DiscardedPartsInquiry/index.vue | 22 ++++++++++++++++++- .../InitialProduction/index.vue | 8 +++---- .../PartWorkCraftSelect_rdlc/index.vue | 2 +- .../ScrappedSupplementaryInvestment/index.vue | 11 +++++++++- 6 files changed, 38 insertions(+), 10 deletions(-) diff --git a/src/api/ManufacturingCenter/ScrappedSupplementaryInvestment.js b/src/api/ManufacturingCenter/ScrappedSupplementaryInvestment.js index 3b1b664c..5e9309fb 100644 --- a/src/api/ManufacturingCenter/ScrappedSupplementaryInvestment.js +++ b/src/api/ManufacturingCenter/ScrappedSupplementaryInvestment.js @@ -42,7 +42,7 @@ export function searchtable(check1, value1, check3, value3, check5, value5, valu } }) } -export function editSpare(CutCode, number, id) { +export function editSpare(CutCode, number, id, Unqualified, remarkGroup, people) { return request({ url: '', method: 'post', @@ -51,7 +51,7 @@ export function editSpare(CutCode, number, id) { ModularID: router.currentRoute.path, type: '2', name: '报废补投_提交报废_循环执行', - param: '工艺计划流水号组=' + CutCode + '&报废数量组=' + number + '&报废人=' + id + param: '工艺计划流水号组=' + CutCode + '&报废数量组=' + number + '&报废人=' + id + '&不合格原因组=' + Unqualified + '&备注组=' + remarkGroup + '&质检人组=' + people } }) } diff --git a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue index 618ad145..a1788a16 100644 --- a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue +++ b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue @@ -838,7 +838,6 @@ export default { }, QualityType() { QualityType().then(response => { - console.log(response.data) for (let i = 0; i < response.data.length; i++) { this.QualityTypeNumber.push({ label: response.data[i].质检类型, diff --git a/src/views/ManufacturingCenter/DiscardedPartsInquiry/index.vue b/src/views/ManufacturingCenter/DiscardedPartsInquiry/index.vue index 3b13c684..49e03418 100644 --- a/src/views/ManufacturingCenter/DiscardedPartsInquiry/index.vue +++ b/src/views/ManufacturingCenter/DiscardedPartsInquiry/index.vue @@ -84,16 +84,36 @@ {{ scope.row.报废时间 }} - + + + + + + + + + + + + +
- + @@ -239,18 +239,18 @@ - + - + diff --git a/src/views/ManufacturingCenter/PartWorkCraftSelect_rdlc/index.vue b/src/views/ManufacturingCenter/PartWorkCraftSelect_rdlc/index.vue index 5b99fec1..cb59faee 100644 --- a/src/views/ManufacturingCenter/PartWorkCraftSelect_rdlc/index.vue +++ b/src/views/ManufacturingCenter/PartWorkCraftSelect_rdlc/index.vue @@ -359,7 +359,7 @@ export default { if (val[i].进程 !== '编制中') { this.jinyong = true } - if (val[i].进程 === '编制中') { + if (val[i].进程 === '编制中' || val[i].进程 === '未分配') { this.jinyong1 = true } } diff --git a/src/views/ManufacturingCenter/ScrappedSupplementaryInvestment/index.vue b/src/views/ManufacturingCenter/ScrappedSupplementaryInvestment/index.vue index 69f166a6..1f329507 100644 --- a/src/views/ManufacturingCenter/ScrappedSupplementaryInvestment/index.vue +++ b/src/views/ManufacturingCenter/ScrappedSupplementaryInvestment/index.vue @@ -194,6 +194,9 @@ export default { procedureGroup: [], ScrapQuantity: [], ProcessPlanNumber: [], + Unqualified: [], + remarkGroup: [], + people: [], Data: [], tableData: [], // 表格数据 total: 0, // 总条数 @@ -287,12 +290,18 @@ export default { }).then(() => { this.ScrapQuantity = [] this.ProcessPlanNumber = [] + this.Unqualified = [] + this.remarkGroup = [] + this.people = [] for (let i = 0; i < this.procedureGroup.length; i++) { this.ScrapQuantity.push(this.procedureGroup[i].不合格数量) this.ProcessPlanNumber.push(this.procedureGroup[i].工艺计划流水号) + this.Unqualified.push(this.procedureGroup[i].不合格原因文本) + this.remarkGroup.push(this.procedureGroup[i].备注) + this.people.push(this.procedureGroup[i].人员编号) } this.handleEdit_disable = true - editSpare(this.ProcessPlanNumber, this.ScrapQuantity, this.id).then(response => { + editSpare(this.ProcessPlanNumber, this.ScrapQuantity, this.id, this.Unqualified, this.remarkGroup, this.people).then(response => { if (response.data[0].result === '1') { this.$message.success('报废成功') this.searchTable()