|
|
@@ -199,7 +199,7 @@
|
|
|
if (this.info.available === undefined){
|
|
|
window.tempTip.postBasicRequest("{{url('store/inStorage/checkAsnAmount')}}",this.info,res=>{
|
|
|
if (res && res>0){
|
|
|
- this.info.amount = '';
|
|
|
+ this.info = {asn:this.info.asn};
|
|
|
this.info.available = res;
|
|
|
document.getElementById("amount").focus();
|
|
|
}else{
|
|
|
@@ -209,7 +209,7 @@
|
|
|
});
|
|
|
}else{
|
|
|
if (this.info.available>0){
|
|
|
- this.info.amount = '';
|
|
|
+ this.info = {asn:this.info.asn};
|
|
|
document.getElementById("amount").focus();
|
|
|
}else{
|
|
|
this.info = {};
|