H5/Js/Sctl.js
@@ -82,12 +82,12 @@
                    var json = res;
                    if (json.status == 0) {
                        that.ItemDetail = json.data.tbBillList;
                        that.$refs.sectionCode.focus();
                        //that.$refs.sectionCode.focus();
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$refs.billNo.focus();
                        that.ItemDetail = null;
                        that.ItemDetail = [];
                        that.billNo = null;
                    }
                    that.isLoading = false;
@@ -96,7 +96,7 @@
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$refs.billNo.focus();
                    that.ItemDetail = null;
                    that.ItemDetail = [];
                    that.billNo = null;
                    console.log(error);
                });
@@ -186,12 +186,16 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$refs.barcode.focus();
                        that.barcode = null;
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$refs.barcode.focus();
                    that.barcode = null;
                    console.log(error);
                });
        },