From ee1687e7db7976d24a21a32e2c45354165524516 Mon Sep 17 00:00:00 2001
From: Vergil <974548713@qq.com>
Date: Fri, 24 Apr 2020 17:30:40 +0800
Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E5=87=BA=E5=BA=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/Inventory/MaterialOut/index2.vue | 43 ++++++++++++----------
1 file changed, 23 insertions(+), 20 deletions(-)
diff --git a/src/views/Inventory/MaterialOut/index2.vue b/src/views/Inventory/MaterialOut/index2.vue
index 6267b0da..1f8b7138 100644
--- a/src/views/Inventory/MaterialOut/index2.vue
+++ b/src/views/Inventory/MaterialOut/index2.vue
@@ -5,13 +5,19 @@
查询
领料确认
-
-
+
+
+
+
+ {{ scope.row.领料单编号 }}
+
+
+
{{ scope.row.名称 }}
-
+
{{ scope.row.图号或型号 || '—' }}
@@ -136,7 +142,8 @@ export default {
rules3: {
password: [{ required: true, message: '请输入' }],
outTypeValue: [{ required: true, message: '请选择' }]
- }
+ },
+ multipleSelection1: []
}
},
methods: {
@@ -215,10 +222,7 @@ export default {
},
// 多选
handleSelectionChange(val) {
- this.multipleSelection1 = []
- val.map(v => {
- this.multipleSelection1.push(v.领料单明细流水号)
- })
+ this.multipleSelection1 = val
},
// 领料确认
inputPassword() {
@@ -251,18 +255,17 @@ export default {
this.machineValue = []
this.offlineNum = []
this.outNumber = []
- for (let i = 0; i < this.pickListTable2.length; i++) {
- console.log(this.pickListTable2[i].出库数量, 1233)
- if (this.pickListTable2[i].出库数量 !== 0) {
- this.multipleSelection.push(this.pickListTable2[i].领料单明细流水号)
- this.basePartNum.push(this.pickListTable2[i].基本件流水号)
- this.materialNum.push(this.pickListTable2[i].物料流水号)
- this.parchasePartNum.push(this.pickListTable2[i].标准件和外购件流水号)
- this.purchaseBillNum.push(this.pickListTable2[i].请购单明细流水号)
- this.groupNumValue.push(this.pickListTable2[i].组件流水号)
- this.machineValue.push(this.pickListTable2[i].机床流水号)
- this.offlineNum.push(this.pickListTable2[i].离线采购件流水号)
- this.outNumber.push(this.pickListTable2[i].出库数量)
+ for (let i = 0; i < this.multipleSelection1.length; i++) {
+ if (this.multipleSelection1[i].出库数量 !== 0) {
+ this.multipleSelection.push(this.multipleSelection1[i].领料单明细流水号)
+ this.basePartNum.push(this.multipleSelection1[i].基本件流水号)
+ this.materialNum.push(this.multipleSelection1[i].物料流水号)
+ this.parchasePartNum.push(this.multipleSelection1[i].标准件和外购件流水号)
+ this.purchaseBillNum.push(this.multipleSelection1[i].请购单明细流水号)
+ this.groupNumValue.push(this.multipleSelection1[i].组件流水号)
+ this.machineValue.push(this.multipleSelection1[i].机床流水号)
+ this.offlineNum.push(this.multipleSelection1[i].离线采购件流水号)
+ this.outNumber.push(this.multipleSelection1[i].出库数量)
}
}
if (Number(this.form3.password) === Number(this.form3.DirectNote)) {