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