Browse Source

修改来源库位可以滑动

wms3.0_pda
lijuncheng 10 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'>
<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 v-else>
<text style="padding: 5px">

12
pages/putaway/job/putawayDetail.vue

@ -105,7 +105,6 @@
managementList: [],
fromLocationCode: "",
toLocationCode: "",
toLocationInfo: {},
tolocationTypeList: [],
};
},
@ -187,7 +186,6 @@
that.fromLocationCode = that.subList[0].fromLocationCode
that.toLocationCode = that.subList[0].toLocationCode
that.tolocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes)
that.getLocationInfo(that.toLocationCode);
} else {
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) {
let items = this.subList.filter(r => {
if (r.scaned) {

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

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

Loading…
Cancel
Save