From b639462cc2e581e9a7e2b7b098505af3766e8283 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 13 九月 2022 16:30:55 +0800
Subject: [PATCH] #

---
 pages/basics/outPakin.vue |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/pages/basics/outPakin.vue b/pages/basics/outPakin.vue
index f69d1ce..f8e3006 100644
--- a/pages/basics/outPakin.vue
+++ b/pages/basics/outPakin.vue
@@ -98,8 +98,8 @@
 					<text class="title">淇敼鎵瑰彿/鏁伴噺</text>
 				</view>
 				<view class="" style="position: relative;left: 50px;margin-bottom: 20px;">
-					<text style="display: inline-block;float: left;width: 50px;">鎵瑰彿锛�</text>
-					<input type="text" style="width: 100px;border-bottom: 1px solid #9e9e9e;" v-model="Rummage">
+					<text style="display: inline-block;float: left;width: 50px;">缈诲寘锛�</text>
+					<input type="text" style="width: 100px;border-bottom: 1px solid #9e9e9e;" v-model="memo">
 				</view>
 				<view class="revise-box-buttom">
 					<view>
@@ -135,7 +135,7 @@
 				origin: null, // 浠撳簱
 				current: 0,
 				isNum:false,
-				Rummage:''
+				memo:''
 				
 			}
 		},
@@ -170,6 +170,7 @@
 			},
 			// 纭鍑哄簱鍙�
 			check() {
+				console.log(this.matList);
 				let that = this
 				if (this.current == 0) {
 					this.origin = 1288
@@ -449,7 +450,7 @@
 				console.log('褰撳墠妯″紡锛�' + e.type + ',鐘舵�侊細' + e.show);
 			},
 			revise(item,index) {
-				this.count = this.matList[index].anfme
+				this.memo = this.matList[index].memo
 				// var maxCount = this.matList[index].maxCount
 				// if (maxCount == undefined ) {
 				// 	this.matList[index]["maxCount"] = item.enableQty
@@ -460,9 +461,13 @@
 				this.rowNum = index
 				this.eject()
 			},
+			eject(type) {
+				this.type = type
+				// open 鏂规硶浼犲叆鍙傛暟 绛夊悓鍦� uni-popup 缁勪欢涓婄粦瀹� type灞炴��
+				this.$refs.revise.open(type)
+			},
 			confirm() {
-				this.matList[this.rowNum].anfme = this.count
-				this.matList[this.rowNum].batch = this.batch
+				this.matList[this.rowNum].memo = this.memo 
 				this.$refs.revise.close()
 				this.$forceUpdate() // 寮哄埗鍒锋柊
 			},

--
Gitblit v1.9.1