cnf
2025-12-02 78165dc8268aa331626fd5b463b2d00b163703df
H5/Js/Yjdb.js
@@ -71,6 +71,7 @@
                        var json = res;
                        if (json.status == 0) {
                            that.ItemBarKw = json.data.tbBillList;
                            that.$playSound('success');
                        }
                        else {
                            that.$toast.fail(json.message);
@@ -102,8 +103,9 @@
                        if (json.data.tbBillList.length == 0) {
                            that.$toast.fail("没有找到可以选择的出库单号");
                            that.$playSound('error');
                        }
                        that.$playSound('success');
                        that.actions = json.data.tbBillList.map(item => {
                            return { name: item }
                        });
@@ -116,6 +118,7 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    console.log(error);
                });
        },
@@ -151,8 +154,11 @@
                        that.ItemYsDetail = tbBillList.ysDetails || []; // 已扫
                        that.$refs.sectionCode.focus();
                        that.barcode = "";
                        that.sectionCode = tbBillList.allList[0].inKw;
                        //if (!isKeepLocation) {
                        //    that.sectionCode = tbBillList.allList[0].inKw;
                        //}
                        // 重置库位查询中所有行的选中状态
                        that.$playSound('success');
                        that.currentIndex = -1;
                        that.ItemBarKw = [];
                    }
@@ -167,6 +173,7 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    that.$refs.billNo.focus();
                    that.billNo = "";
                    that.ItemBlDetail = null;
@@ -214,6 +221,7 @@
                        //that.ItemBlDetail = json.data.items
                        that.$notify({ type: 'success', message: '扫码成功' });
                        that.$toast.success("扫描成功");
                        that.$playSound('success');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                        //that.GetMesItemBlDetailByBillNo();
@@ -227,6 +235,7 @@
                    }
                    else {
                        that.$toast.fail(json.message);
                        that.$playSound('error');
                        that.$refs.barcode.focus();
                        that.barcode = "";
                    }
@@ -235,6 +244,7 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    that.$playSound('error');
                    //console.log(error);
                    that.$refs.barcode.focus();
                    that.barcode = "";