111
啊鑫
9 天以前 ffd88d66e16c6c7a37135bb2631c3f1aa4b43e98
H5/Js/Dbrk.js
@@ -50,14 +50,12 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
@@ -87,13 +85,11 @@
                    if (json.status == 0) {
                        //that.ItemBlDetail = json.data.tbBillList;
                        that.ItemDetail = json.data.tbBillList;
                        that.$playSound('success');
                        that.$refs.sectionCode.focus();
                        that.sectionCode = "";
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.billNo.focus();
                        that.billNo = "";
                        that.ItemBlDetail = null;
@@ -103,7 +99,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$refs.billNo.focus();
                    that.billNo = "";
                    that.ItemBlDetail = null;
@@ -117,7 +112,6 @@
            if (that.sectionCode.length == 0) {
                this.$toast.fail("库位编码不能为空");
                that.$playSound('error');
                return;
            }
@@ -130,13 +124,11 @@
                    var json = res;
                    if (json.status == 0) {
                        that.$notify({ type: 'success', message: json.data.tbBillList });
                        that.$playSound('success');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.sectionCode.focus();
                        that.sectionCode = "";
@@ -145,7 +137,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    //console.log(error);
                    that.$refs.sectionCode.focus();
                    that.sectionCode = "";
@@ -160,21 +151,18 @@
            if (!that.userInfo.loginAccount) {
                this.$toast.fail("请重新检查登录状态");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.sectionCode) {
                this.$toast.fail("库位不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
            if (!that.barcode) {
                this.$toast.fail("条码不能为空");
                that.$playSound('error');
                that.isLoading = false;
                return;
            }
@@ -200,7 +188,6 @@
                        //that.barcode = json.data.form.barcode;
                        that.ItemBlDetail = json.data.items
                        that.$notify({ type: 'success', message: '扫码成功' });
                        that.$playSound('success');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                        that.billNo = json.data.form.billNo;
@@ -208,7 +195,6 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                    }
@@ -217,7 +203,6 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    //console.log(error);
                    that.$refs.barcode.focus();
                    that.barcode = "";