Browse Source

修改来源库位可以滑动

wms3.0_pda
lijuncheng 11 months ago
parent
commit
f36b6c221f
  1. 2
      mycomponents/scan/winScanPackAndLocation.vue
  2. 12
      pages/putaway/job/putawayDetail.vue
  3. 1
      uni_modules/uni-combox/components/uni-combox/uni-combox.vue

2
mycomponents/scan/winScanPackAndLocation.vue

@ -28,7 +28,7 @@
<view v-if='allowModifyLocation'> <view v-if='allowModifyLocation'>
<uni-combox :candidates="fromLocationList" v-model="fromLocationCode" placeholder="请扫描来源库位" <uni-combox :candidates="fromLocationList" v-model="fromLocationCode" placeholder="请扫描来源库位"
@confirm="scanLocation" style='height: 30px;border:1px solid #fff ;'></uni-combox> @confirm="scanLocation" style='height: 30rpx;border:1px solid #fff ;'></uni-combox>
</view> </view>
<view v-else> <view v-else>
<text style="padding: 5px"> <text style="padding: 5px">

12
pages/putaway/job/putawayDetail.vue

@ -105,7 +105,6 @@
managementList: [], managementList: [],
fromLocationCode: "", fromLocationCode: "",
toLocationCode: "", toLocationCode: "",
toLocationInfo: {},
tolocationTypeList: [], tolocationTypeList: [],
}; };
}, },
@ -187,7 +186,6 @@
that.fromLocationCode = that.subList[0].fromLocationCode that.fromLocationCode = that.subList[0].fromLocationCode
that.toLocationCode = that.subList[0].toLocationCode that.toLocationCode = that.subList[0].toLocationCode
that.tolocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes) that.tolocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes)
that.getLocationInfo(that.toLocationCode);
} else { } else {
that.showMessage('列表数据为0'); that.showMessage('列表数据为0');
@ -199,16 +197,6 @@
}) })
}, },
getLocationInfo(locationCode) {
if (locationCode != '') {
getBasicLocationByCode(locationCode).then(res => {
if (res.data.list.length > 0) {
this.toLocationInfo = res.data.list[0]
}
})
}
},
calcScanCount(closeScan) { calcScanCount(closeScan) {
let items = this.subList.filter(r => { let items = this.subList.filter(r => {
if (r.scaned) { if (r.scaned) {

1
uni_modules/uni-combox/components/uni-combox/uni-combox.vue

@ -233,6 +233,7 @@
.uni-combox__selector-scroll { .uni-combox__selector-scroll {
/* #ifndef APP-NVUE */ /* #ifndef APP-NVUE */
max-height: 200px; max-height: 200px;
height: 200rpx;
box-sizing: border-box; box-sizing: border-box;
/* #endif */ /* #endif */
} }

Loading…
Cancel
Save