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

Loading…
Cancel
Save