ysy 2 years ago
parent
commit
3ec17ddbf4
2 changed files with 18 additions and 3 deletions
  1. 6 0
      pages/pda/picking/details.vue
  2. 12 3
      pages/pda/workOrder/search/index.vue

+ 6 - 0
pages/pda/picking/details.vue

@@ -82,17 +82,23 @@
 			<view class="btn_box" @click="save">确认</view>
 
 		</view>
+		
+
 
 	</view>
 </template>
 
 <script>
 	import { workorderList } from  '@/api/pda/workOrder.js'
+
 	export default {
+
 		data() {
 			return {
 				idsList: [],
 				List: [],
+				
+				 classificationList: [], //分类数据
 
 
 			}

+ 12 - 3
pages/pda/workOrder/search/index.vue

@@ -38,17 +38,24 @@
 				</checkbox>
 			</view>
 			<view>
-				<u-button type="success" size="small" class="u-reset-button" :disabled="!checkListLen" >
+				<u-button type="success" size="small" class="u-reset-button" :disabled="!checkListLen">
 					<view class="selBtn"> 选择( {{ checkListLen }} ) </view>
 				</u-button>
 			</view>
 		</view>
 
+		<ba-tree-picker ref="treePicker" key="verify" :multiple="false" @select-change="confirm" title="选择分类"
+			:localdata="classificationList" valueKey="id" textKey="name" childrenKey="children" />
+
 	</view>
 </template>
 
 <script>
+	import baTreePicker from '@/components/ba-tree-picker/ba-tree-picker.vue'
 	export default {
+		components: {
+			baTreePicker
+		},
 		data() {
 			return {
 
@@ -64,6 +71,8 @@
 			_seletedAll() {
 				this.seletedAll = !this.seletedAll
 			},
+			
+			confirm() {},
 		}
 	}
 </script>
@@ -108,10 +117,10 @@
 		height: 80rpx;
 		background: #fff;
 		padding: 0 32rpx;
-		
+
 		/deep/ .uni-checkbox-input-checked {
 			background-color: $theme-color !important;
-			border-color:  $theme-color !important;
+			border-color: $theme-color !important;
 		}
 	}
 </style>