From 6e4a26aeed99d5f2b6654c4e5a3e3733dea1fdb6 Mon Sep 17 00:00:00 2001 From: liushuai Date: Wed, 20 May 2020 18:08:00 +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 --- .../Inventory/CreatePickingList/index.vue | 40 ++++++++++++++ .../GroupMatching/index.vue | 36 ++++++++++++ .../OutsourcingPartsQuery/index.vue | 32 +++++------ .../OutsourcingTaskExecution/index.vue | 4 +- .../CreateInquirySheet/index.vue | 55 +------------------ .../PurchaseSituationSearch/index.vue | 12 ++-- .../PurchaseTaskAllocate/index.vue | 12 ++-- 7 files changed, 107 insertions(+), 84 deletions(-) diff --git a/src/views/Inventory/CreatePickingList/index.vue b/src/views/Inventory/CreatePickingList/index.vue index df5ffa75..ffd14e82 100644 --- a/src/views/Inventory/CreatePickingList/index.vue +++ b/src/views/Inventory/CreatePickingList/index.vue @@ -177,6 +177,26 @@ {{ scope.row.领料单编号 }} + + + 共{{ totalnumber }}条信息,选择{{ gouxuan }}条
@@ -254,6 +274,26 @@ {{ scope.row.领料单编号 }} + + + 共{{ totalnumber }}条信息,选择{{ gouxuan }}条
diff --git a/src/views/ManufacturingCenter/GroupMatching/index.vue b/src/views/ManufacturingCenter/GroupMatching/index.vue index 0bdf62c6..e5d6e6c2 100644 --- a/src/views/ManufacturingCenter/GroupMatching/index.vue +++ b/src/views/ManufacturingCenter/GroupMatching/index.vue @@ -91,6 +91,18 @@ + + + @@ -375,7 +375,7 @@ export default { }, // 点击表2 查询表3 searchProcess(row) { - row.单据状态 === '成交' ? this.jinyong = true : this.jinyong = false + row.单据状态 === '成交' || row.单据状态 === '到货' ? this.jinyong = true : this.jinyong = false this.loading = true this.List3 = [] this.Number = row.外协加工任务单流水号 diff --git a/src/views/PurchasingCenter/CreateInquirySheet/index.vue b/src/views/PurchasingCenter/CreateInquirySheet/index.vue index 0f2df0b4..e99faa6e 100644 --- a/src/views/PurchasingCenter/CreateInquirySheet/index.vue +++ b/src/views/PurchasingCenter/CreateInquirySheet/index.vue @@ -75,7 +75,6 @@ @@ -272,14 +270,12 @@ + @sort-change="sortChange"> @@ -1075,8 +1071,6 @@ export default { cancelNum: 0, machines1: [], machines2: [], - numbers: [], - numbers1: [], row1: '', ordername: '', order: '', @@ -1163,30 +1157,6 @@ export default { } }) }, - handleSelection(val, row) { - this.tableData11.forEach((item, i) => { - if (item.组件零件流水号 === row.组件零件流水号) { - console.log(this.numbers.indexOf(i), 234) - if (this.numbers.indexOf(i) === -1) { - this.numbers.push(i) - } else { - this.numbers.splice(this.numbers.indexOf(i), 1) - } - } - }) - }, - handleSelection1(val, row) { - this.tableData12.forEach((item, i) => { - if (item.组件零件基本件流水号 === row.组件零件基本件流水号) { - console.log(this.numbers1.indexOf(i), 234) - if (this.numbers1.indexOf(i) === -1) { - this.numbers1.push(i) - } else { - this.numbers1.splice(this.numbers1.indexOf(i), 1) - } - } - }) - }, Jump() { window.location.hash = '#PurchasingCenter/CreateInquirySheet' }, @@ -2098,7 +2068,6 @@ export default { } }, addInquirySheet() { // 追加物料 - this.numbers = [] const numGroup1 = [] // 空数组,放该询价单中已有的组件零件流水号 const numGroup2 = [] // 空数组,放该询价单中已有的组件零件基本件流水号 if (this.inquirySheetFlowNum === '' || this.inquirySheetFlowNum === null) { @@ -2286,28 +2255,6 @@ export default { this.searchTable11() } else { this.$message.error('操作失败') } }) - }, - tableRowClassName({ row, rowIndex }) { - let color = '' - if (this.numbers.length > 0) { - this.numbers.forEach((r, i) => { - if (rowIndex === r) { - color = 'MistyRose' - } - }) - } else { - color = '' - } - return color - }, - tableRowClassName2({ row, rowIndex }) { - let color = '' - this.numbers1.forEach((r, i) => { - if (rowIndex === r) { - color = 'MistyRose' - } - }) - return color } } } diff --git a/src/views/PurchasingCenter/PurchaseSituationSearch/index.vue b/src/views/PurchasingCenter/PurchaseSituationSearch/index.vue index e7280d90..69695bff 100644 --- a/src/views/PurchasingCenter/PurchaseSituationSearch/index.vue +++ b/src/views/PurchasingCenter/PurchaseSituationSearch/index.vue @@ -57,8 +57,8 @@ 未分配 未询价 - 已询价 - 已采购 + 已询价 + 已采购 @@ -176,8 +176,8 @@ @@ -301,8 +301,8 @@ diff --git a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue index 8af74c85..c06d8206 100644 --- a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue +++ b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue @@ -117,13 +117,13 @@ - + 打回--> - +