From 6f0a26a426693e2b9c51c7b089a95fd17c36ce0a Mon Sep 17 00:00:00 2001 From: khalil <842328916@qq.com> Date: Mon, 18 Aug 2025 18:08:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=A0=E9=80=81=E9=92=BB=E7=9F=B3=E6=B0=B4?= =?UTF-8?q?=E6=99=B6-=E5=A2=9E=E5=8A=A0=E5=8F=82=E8=80=83=E6=95=B0?= =?UTF-8?q?=E5=80=BC-=E7=9B=91=E5=90=AC=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/record/OfficicalGoldView.vue | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/views/record/OfficicalGoldView.vue b/src/views/record/OfficicalGoldView.vue index 16de6bd..cfeb62d 100644 --- a/src/views/record/OfficicalGoldView.vue +++ b/src/views/record/OfficicalGoldView.vue @@ -59,10 +59,15 @@
- +
- +
@@ -206,6 +211,16 @@ export default { } }); + $('#num').on('input', function() { + var numValue = $(this).val(); + if (numValue && !isNaN(numValue)) { + var transferValue = (parseInt(numValue) / 7000).toFixed(2); + $('#numTransfer').val(transferValue); + } else { + $('#numTransfer').val(''); + } + }); + $('#btnScan').click(function () { if (!$('#ernos').val()) { $("#tipMsg").text("请输入耳伴号");