cnf
2025-08-06 5e0940151cff6610ae67e22f0a7eecfbf0a7cf28
退补料更改完成,声源增加
已修改2个文件
已添加2个文件
5 ■■■■■ 文件已修改
H5/Js/Scbl.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Scripts/config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
audio/NO.WAV 补丁 | 查看 | 原始文档 | blame | 历史
audio/YES.WAV 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Scbl.js
@@ -160,6 +160,7 @@
                        that.num = null;
                        //that.ItemBlDetail = json.data.tbBillList.item2
                        that.$notify({ type: 'success', message: '扫描成功' });
                        that.$playSound('success');
                        that.GetMesItemBlDetailByBillNo();
                        that.$refs.barcode.focus();
                        that.barcode = "";
Scripts/config.js
@@ -209,8 +209,8 @@
Vue.prototype.$playSound = function(type = 'success') {
    try {
        const audioMap = {
            success: '/audio/OK.wav',
            error: '/audio/NG.wav'
            success: '/audio/YES.wav',
            error: '/audio/NO.wav'
        };
        const audio = new Audio(audioMap[type]);
        audio.play().catch(error => {
audio/NO.WAV
Binary files differ
audio/YES.WAV
Binary files differ