Browse Source

修改库位校验

hella_online_20240803
lijuncheng 3 months ago
parent
commit
c33088e914
  1. 4
      src/pages/productReceipt/job/ccProductReceiptDetail.vue
  2. 6
      src/pages/productReceipt/job/fgProductReceiptDetail.vue

4
src/pages/productReceipt/job/ccProductReceiptDetail.vue

@ -361,7 +361,9 @@
}else{ }else{
this.toLocationCode = this.toLocationCode?this.toLocationCode:this.jobToLocationCode this.toLocationCode = this.toLocationCode?this.toLocationCode:this.jobToLocationCode
} }
if(!this.toLocationCode){
return;
}
// //
if (this.scanCount == this.subList.length) { if (this.scanCount == this.subList.length) {

6
src/pages/productReceipt/job/fgProductReceiptDetail.vue

@ -457,6 +457,8 @@
}); });
}) })
}, },
commit() { commit() {
// this.scanCount = getScanCount(this.subList); // this.scanCount = getScanCount(this.subList);
// if (this.scanCount == 0) { // if (this.scanCount == 0) {
@ -472,6 +474,10 @@
} else { } else {
this.toLocationCode = this.toLocationCode ? this.toLocationCode : this.jobToLocationCode this.toLocationCode = this.toLocationCode ? this.toLocationCode : this.jobToLocationCode
} }
if(!this.toLocationCode){
return;
}
this.detailSource.forEach(item => { this.detailSource.forEach(item => {
item.subList.forEach(subitem => { item.subList.forEach(subitem => {
if (valiDate) { if (valiDate) {

Loading…
Cancel
Save