فهرست منبع

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-app

zxz 3 سال پیش
والد
کامیت
4d005fc1a7
1فایلهای تغییر یافته به همراه12 افزوده شده و 5 حذف شده
  1. 12 5
      pageD/warehousings/warehousings.vue

+ 12 - 5
pageD/warehousings/warehousings.vue

@@ -62,11 +62,12 @@
 					<input placeholder="请输入仓位号" name="input" v-model="WarehouseInOutInfo.binNumber"></input>
 				</view>
 				</view>
-				<view class="cu-form-group">
-					<view class="title">入库类型</view>
-					<picker @change="packingChange" :value="packingIndex" :range="packingType">
-						<view class="picker">
-							{{packingIndex>-1?packingType[packingIndex]:'请选择入库类型'}}
+				
+				<view class="c-row b-b">
+					<text class="tit">入库类型 </text>
+					<picker @change="ruChange" :value="ruIndex" :range="ruType" class="con-list">
+						<view class="con-list">
+							{{ruIndex>-1?ruType[ruIndex]:'请选择入库类型'}}
 						</view>
 					</picker>
 				</view>
@@ -163,6 +164,8 @@
 				},
 				pinIndex: 0,
 				pinType: ['不限(默认)', '一等品', '二等品', '三等品', '等外'],
+				ruIndex: 0,
+				ruType: ['采购入库', '移库入库', '暂存入库', '贸易服务入库', '退库'],
 			}
 		},
 		onLoad(option){
@@ -187,6 +190,10 @@
 					})
 				})
 			},
+			ruChange(e){
+				this.ruIndex = e.detail.value
+				this.rutypes = this.ruType[this.ruIndex];
+			},
 			pinChange(e) {
 				this.pinIndex = e.detail.value
 				this.pintypes = this.pinType[this.pinIndex];