|
|
@@ -34,34 +34,6 @@ export default {
|
|
|
},
|
|
|
async init() {
|
|
|
if (this.option.title != "报损成功") {
|
|
|
-
|
|
|
- // #ifdef APP-PLUS
|
|
|
- //商米收银台
|
|
|
- //if(plus.device.vendor == 'SUNMI'){
|
|
|
- // getPayVoice({id:this.option.orderId}).then(res=>{
|
|
|
- // let url = res.data.url
|
|
|
- // //没有库存声音提醒
|
|
|
- // const innerAudioContext = uni.createInnerAudioContext();
|
|
|
- // innerAudioContext.autoplay = true;
|
|
|
- // innerAudioContext.src = url;
|
|
|
- // innerAudioContext.volume = 0.5
|
|
|
- // innerAudioContext.onPlay(() => {
|
|
|
- // //console.log('开始播放');
|
|
|
- // });
|
|
|
- // innerAudioContext.onError((res) => {
|
|
|
- // //console.log(res.errMsg);
|
|
|
- // //console.log(res.errCode);
|
|
|
- // });
|
|
|
- // innerAudioContext.onPause(function() {
|
|
|
- // //console.log('end');
|
|
|
- // innerAudioContext.destroy();
|
|
|
- // })
|
|
|
-
|
|
|
- // })
|
|
|
- //}
|
|
|
- // #endif
|
|
|
-
|
|
|
-
|
|
|
const res = await getDetail({
|
|
|
id: this.option.orderId,
|
|
|
});
|