Browse Source

生产退料

hella_online_20240829
yufei0306 6 months ago
parent
commit
59c9aecf11
  1. 11
      src/pages/productionReturn/job/returnDetail.vue

11
src/pages/productionReturn/job/returnDetail.vue

@ -29,7 +29,7 @@
<view class="uni-flex u-col-center space-between padding_10" <view class="uni-flex u-col-center space-between padding_10"
style="background-color:ghostwhite; width: 100%; "> style="background-color:ghostwhite; width: 100%; ">
<view class=""> <view class="">
<locationCompare title="目标库位" :recommendLocationCode="jobToLocationCode" <locationCompare ref="locationCompare" title="目标库位" :recommendLocationCode="jobToLocationCode"
:locationCode="toLocationCode" @getLocation='scanLocationCode' :locationCode="toLocationCode" @getLocation='scanLocationCode'
:locationAreaTypeList="toLocationAreaTypeList"></locationCompare> :locationAreaTypeList="toLocationAreaTypeList"></locationCompare>
</view> </view>
@ -425,13 +425,20 @@
var isPass = true; var isPass = true;
if (this.toLocationCode == "" || this.toLocationCode == null) { if (this.toLocationCode == "" || this.toLocationCode == null) {
this.showMessageHint('请扫描收货库位', callback => { this.showMessageHint('请扫描收货库位', callback => {
this.$refs.comScanLocation.showLocation(); this.$refs.locationCompare.showLocation();
}) })
return isPass = false; return isPass = false;
} }
return isPass; return isPass;
}, },
showMessageHint(hint, callback) {
this.$refs.comMessage.showErrorMessage(hint, res => {
if (res) {
callback()
}
});
},
showMessage(message) { showMessage(message) {
setTimeout(r => { setTimeout(r => {

Loading…
Cancel
Save