|
|
@@ -7,7 +7,7 @@
|
|
|
<div class="card-header text-center bg-transparent" id="header_title">
|
|
|
<span class="font-weight-bold h3">收货</span>
|
|
|
</div>
|
|
|
- <div class="">
|
|
|
+ <div >
|
|
|
<div class="offset-1 mt-2">
|
|
|
<span class="font-weight-bold h5">ASN号:</span><br>
|
|
|
<p class="small font-weight-light">可输入条码,ASN号,货主编号(如:YOUWU)_搜索</p>
|
|
|
@@ -84,6 +84,7 @@
|
|
|
isAndroid:false,
|
|
|
asnno:'',
|
|
|
customerid:'',
|
|
|
+
|
|
|
},
|
|
|
mounted(){
|
|
|
if (navigator.userAgent.indexOf("Android")!==-1)this.isAndroid = true;
|
|
|
@@ -91,7 +92,7 @@
|
|
|
$("#container").removeClass("d-none");
|
|
|
this.height=window.screen.availHeight;
|
|
|
document.getElementById('cardTable').style.height=this.height*0.35+'px';
|
|
|
- document.getElementById("asn").focus();
|
|
|
+ $('#asn').trigger("click").focus();
|
|
|
},
|
|
|
methods:{
|
|
|
//页面初始化
|
|
|
@@ -164,9 +165,6 @@
|
|
|
this.info.asntype=asn.asntype;
|
|
|
}
|
|
|
},
|
|
|
- onfocus(){
|
|
|
- document.getElementById("asn").focus();
|
|
|
- },
|
|
|
ensure(){
|
|
|
let error = {};
|
|
|
if (!this.info.asnno)error.asnno = ["ASN号必填"];
|
|
|
@@ -193,7 +191,6 @@
|
|
|
cancel(){
|
|
|
setTimeout(function () {
|
|
|
window.location.reload();
|
|
|
- this.onfocus();
|
|
|
},100);
|
|
|
},
|
|
|
},
|