Browse Source

界面修复

Zhouzhendong 4 years ago
parent
commit
668d01488e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resources/views/store/inStorage/cacheRackStorage.blade.php

+ 2 - 2
resources/views/store/inStorage/cacheRackStorage.blade.php

@@ -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 = {};