lilei hace 1 año
padre
commit
50fbce790e

+ 3 - 3
pages/stockOut/chainTransferOut/index.vue

@@ -141,7 +141,7 @@
 			},
 			getCurProduct(){
 				const curProduct = this.detailList.filter(item => item.dealerProductEntity.qrCode == this.code || item.dealerProductEntity.code == this.productCode)
-				// console.log(curProduct)
+				console.log(curProduct)
 				this.curProductArr = curProduct || []
 			},
 			pickFun(flag){
@@ -151,7 +151,7 @@
 			addQty(flag){
 				console.log(this.curProductArr, this.curProductIndex)
 				const curProduct = this.curProductArr[this.curProductIndex]
-				// console.log(curProduct)
+				console.log(curProduct)
 				if(curProduct){
 					this.loading = true
 					// 加
@@ -201,7 +201,7 @@
 			},
 			//拣货
 			queryProduct(pickQty, curProduct){
-				// console.log(curProduct)
+				console.log(pickQty)
 				this.loading = true
 				const params = {
 					allocationLinkageOutSn: this.allocationLinkageOutSn, 

+ 6 - 2
pages/stockOut/storeTransferOut/index.vue

@@ -139,10 +139,14 @@
 				return curProduct&&(item.productCode == curProduct.productCode)
 			},
 			getCurProduct(){
-				const curProduct = this.detailList.find(item => item.productQrCode == this.code || item.productCode == this.productCode)
-				// console.log(curProduct)
+				const curProduct = this.detailList.filter(item => item.productQrCode == this.code || item.productCode == this.productCode)
+				console.log(curProduct)
 				this.curProductArr = curProduct || []
 			},
+			pickFun(flag){
+				this.getCurProduct()
+				this.addQty(flag)
+			},
 			addQty(flag){
 				console.log(this.curProductArr, this.curProductIndex)
 				const curProduct = this.curProductArr[this.curProductIndex]

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
unpackage/dist/dev/app-plus/app-service.js


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio