Browse Source

直接发料 去掉校验同一个Erp储位

dev_pda
李俊城 2 years ago
parent
commit
46cd8a9cae
  1. 28
      fe/PDA/pages/store/issueDirect.vue

28
fe/PDA/pages/store/issueDirect.vue

@ -261,14 +261,15 @@
this.formlocationErpCode = balanceItem.locationErpCode; this.formlocationErpCode = balanceItem.locationErpCode;
this.createItem(balanceItem) this.createItem(balanceItem)
}else { }else {
if(this.formlocationErpCode==balanceItem.locationErpCode){ this.createItem(balanceItem);
this.createItem(balanceItem); // if(this.formlocationErpCode==balanceItem.locationErpCode){
}else { // this.createItem(balanceItem);
this.showMessage('箱码【' + balanceItem.packingCode + '】的ERP储位【' + balanceItem.locationErpCode + // }else {
'】与默认的ERP储位[' + this // this.showMessage('' + balanceItem.packingCode + 'ERP' + balanceItem.locationErpCode +
.formlocationErpCode + // 'ERP[' + this
'】不是同一ERP储位'); // .formlocationErpCode +
} // 'ERP');
// }
} }
}, },
@ -392,11 +393,12 @@
if (res.type != 5) { if (res.type != 5) {
this.showMessage('目标库位必须是【线边库】') this.showMessage('目标库位必须是【线边库】')
} else { } else {
if(res.erpLocationCode!=this.formlocationErpCode){ this.toLocation = res;
this.showMessage('来源库位的ERP储位【'+this.formlocationErpCode+'】与目标库位ERP储位【'+res.erpLocationCode+'】不相等') // if(res.erpLocationCode!=this.formlocationErpCode){
}else{ // this.showMessage('ERP'+this.formlocationErpCode+'ERP'+res.erpLocationCode+'')
this.toLocation = res; // }else{
} // this.toLocation = res;
// }
} }
} }

Loading…
Cancel
Save