shish 1 жил өмнө
parent
commit
321786bbbe

+ 7 - 3
ghsApp/src/admin/book/itemCustom.vue

@@ -62,11 +62,11 @@
 		<view class="app-footer">
 			<button class="admin-button-com big blue" @click="changeShowSelect" style="margin-right:30upx;">{{ showSelect == true ? '取消' : '选择' }}</button>
 			<button class="admin-button-com big blue" @click="checkAll" style="margin-right:30upx;">{{ getAll == true ? '全不选' : '全选中' }}</button>
-			<button class="admin-button-com big blue" @click="goOn">上齐</button>
+			<button class="admin-button-com big blue" @click="goOn">选中上齐</button>
       	</view>
 
 		<uni-popup ref="actRef" background-color="#fff" type="center" :animation="false" class="class-popup-style" :is-mask-click="false">
-			<view style="max-height:99vh;overflow: scroll;padding:15upx;">
+			<view style="max-height:99vh;overflow: scroll;padding:15upx 15upx 80upx 15upx;">
 				<view style="text-align:center;font-size:32upx;font-weight:bold;">{{ currentItem.name ? currentItem.name:'未命名' }}</view>
 				<view style="margin-top:6upx;">
 					<input v-model="currentNum" type="number" @focus="currentNum=''" style="height:100upx;border:1upx solid #CCCCCC;text-align:center;font-size:38upx;width:420upx;" placeholder="数量" />
@@ -287,7 +287,11 @@ export default {
 				this.currentItem = item
 				this.$refs.actRef.open('center')
 			}else{
-				item.isCheck = 1
+				if(item.isCheck == 1){
+					item.isCheck = 0
+				}else{
+					item.isCheck = 1
+				}
 			}
 		},
 		addOnNum(){