| | |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | uni.hideKeyboard() |
| | | // uni.hideKeyboard() |
| | | },20) |
| | | // #endif |
| | | }, |
| | |
| | | // 检索商品 |
| | | findMat() { |
| | | let that = this |
| | | let userName = uni.getStorageSync('HCuname') |
| | | let matCode = that.matnrId |
| | | // 开启扫描日志 |
| | | that.addLog(matCode,userName) |
| | | that.foucss(); |
| | | return; |
| | | if (that.matnrId.length > 25){ |
| | | that.messageToggle('warn'); |
| | | that.messageText = '商品编码超长,请重试'; |
| | |
| | | return; |
| | | } |
| | | } |
| | | let userName = uni.getStorageSync('HCuname') |
| | | let matCode = that.matnrId |
| | | // 开启扫描日志 |
| | | that.addLog(matCode,userName) |
| | | |
| | | |
| | | // return; |
| | | // uni.showLoading(); |
| | | uni.request({ |