From 4f9d63933e45e4c5138227779f8fa6378fedbef3 Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Fri, 27 Mar 2020 09:49:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=B6=E4=BB=B6=E8=BF=BD=E6=BA=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManufacturingCenter/TraceabilityOfParts/index.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/ManufacturingCenter/TraceabilityOfParts/index.vue b/src/views/ManufacturingCenter/TraceabilityOfParts/index.vue index 82b97258..0e548a1c 100644 --- a/src/views/ManufacturingCenter/TraceabilityOfParts/index.vue +++ b/src/views/ManufacturingCenter/TraceabilityOfParts/index.vue @@ -192,13 +192,13 @@ export default { type: '', size: 'large' }, { - id: 5, + id: 4, content: '工艺定额', timestamp: '工艺部:工艺员', type: '', size: 'large' }, { - id: 7, + id: 6, content: '生产加工', timestamp: '金工车间:操作工', type: '', @@ -343,8 +343,8 @@ export default { } }) SelectPart(0, '', 0, '', 0, '', 1, this.searchPick, 0, '', 0, '', 0, '', '', '', '').then(response => { - console.log(response, 8) for (let i = 0; i < this.activities.length; i++) { + console.log(response.data[0].考核状态.toString(), this.activities[i].id.toString()) if (response.data[0].考核状态.toString() === this.activities[i].id.toString()) { for (let j = 0; j <= i; j++) { this.activities[j].type = 'success' @@ -353,12 +353,10 @@ export default { } } }) - console.log(item, 11) this.tableData1 = [] gettabledata1(item.name).then(response => { if (response.data.length !== 0) { for (let i = 0; i < response.data.length; i++) { - console.log(response.data[i]) this.tableData1.push({ 工艺名称: response.data[i].工艺名称, 工序顺序: response.data[i].工序顺序,