Explorar el Código

收银台扫码也要有声音

shish hace 4 años
padre
commit
27c9195ffb
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      hdPad/src/mixins/product.js

+ 4 - 0
hdPad/src/mixins/product.js

@@ -184,6 +184,10 @@ export default {
 					list[index].unitName = item.unitName
 				}
 			}
+			//扫码要响声
+			if(scan == 1){
+				this.$util.hitVoice()
+			}
 			//数据放到仓库永久存放
 			this.pushToSave(list)
 			this.addItemModelHidden()