src/views/inventoryManagement/receiptManagement/index.vue
@@ -604,7 +604,6 @@ } } const getDetail = (barcode)=>{ console.log('barcode',barcode) if(barcode.indexOf(",")==-1){ proxy.$modal.msgWarning("请扫描正确的条形码") return @@ -624,7 +623,14 @@ return } detailApi({id:barcodeId}).then((resp) => { if(resp.code!=200||!resp.data)return if(!resp.data){ proxy.$modal.msgError("商品不存在") return } if(resp.code!=200){ proxy.$modal.msgError(res.msg) return } barcodeDetail.value = resp.data barcodeDia.value = true }).catch(() => {