From 77c399d7cd7e0b87e20f8c2cf472dd6e962f1b72 Mon Sep 17 00:00:00 2001 From: Yan Date: Thu, 14 Sep 2017 18:23:16 +0630 Subject: [PATCH] add qr --- app/views/crm/customers/index.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/crm/customers/index.html.erb b/app/views/crm/customers/index.html.erb index d0321e95..b0e23e6b 100644 --- a/app/views/crm/customers/index.html.erb +++ b/app/views/crm/customers/index.html.erb @@ -129,8 +129,9 @@ $(function() { code2lab.readQRCode(); } - // get CardNo from Java + // get QRCode from Java function setQRCode(code){ + alert(code); $("#search").val(code); }