Browse Source

先进先出发料加提示

hella_online_20240829
wangyufei 4 months ago
parent
commit
d1dbad5380
  1. 11
      src/pages/issue/record/issueRecord.vue

11
src/pages/issue/record/issueRecord.vue

@ -235,8 +235,15 @@
that.recommendList.forEach(r => r.locationCode = r.fromLocationCode) that.recommendList.forEach(r => r.locationCode = r.fromLocationCode)
let recommendInfo = res.data[0]; let recommendInfo = res.data[0];
if (recommendInfo.batch != result.package.batch) { if (recommendInfo.batch != result.package.batch) {
that.showErrorMessage('扫描的批次【' + result.package.batch + '】,不是系统推荐的批次【' + that.$refs.comMessage.showQuestionMessage('扫描的批次【' + result.package.batch + '】,不是系统推荐的批次【' +
recommendInfo.batch + '】,不满足系统的先进先出规则,请重新扫描'); recommendInfo.batch + '】,不满足系统的先进先出规则,'+'是否继续?',
res => {
if(res){
this.setData(result);
}
})
// that.showErrorMessage('' + result.package.batch + ',' +
// recommendInfo.batch + ',,');
} else { } else {
this.setData(result); this.setData(result);
} }

Loading…
Cancel
Save