From d90ef2be7ef8b6d96722311b8fe4493ce3d0d59f Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 28 十二月 2022 10:36:23 +0800
Subject: [PATCH] #

---
 pages/basics/pakin.vue |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/pages/basics/pakin.vue b/pages/basics/pakin.vue
index 1767665..6e4a377 100644
--- a/pages/basics/pakin.vue
+++ b/pages/basics/pakin.vue
@@ -401,8 +401,7 @@
 					}
 				}
 				if (add) {
-					console.log(mat);
-					if(mat.batch == '') {
+					if(mat.batch === '' || mat.batch === null) {
 						mat.batch = today
 					}
 					this.matList.unshift(mat)
@@ -441,13 +440,6 @@
 				this.count = this.matList[index].anfme
 				this.batch = this.matList[index].batch
 				this.memo = this.matList[index].memo
-				// var maxCount = this.matList[index].maxCount
-				// if (maxCount == undefined ) {
-				// 	this.matList[index]["maxCount"] = item.enableQty
-				// } 
-				// this.enableQty = item.enableQty
-				// this.count = this.minCount
-				// this.maxCount = item.maxCount
 				this.rowNum = index
 				this.eject()
 			},

--
Gitblit v1.9.1