From 9031baec2a9857c81b6fc8546dac69314eae7258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Thu, 23 Nov 2017 23:16:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=B6=E5=94=AE=E5=8D=95=E6=8D=AE=E7=9A=84?= =?UTF-8?q?=E4=BC=9A=E5=91=98=E5=8D=A1=E5=8F=B7=EF=BC=88=E5=9C=A8=E9=BC=A0?= =?UTF-8?q?=E6=A0=87=E7=82=B9=E4=B8=8B=E6=97=B6=E6=B8=85=E7=A9=BA=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E9=A1=B9=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/js/pages/materials/in_out.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/js/pages/materials/in_out.js b/src/main/webapp/js/pages/materials/in_out.js index 38aec04a5..c99f43cb6 100644 --- a/src/main/webapp/js/pages/materials/in_out.js +++ b/src/main/webapp/js/pages/materials/in_out.js @@ -1576,6 +1576,10 @@ if(listSubType == "零售" || listSubType == "零售退货") { $("#payType").val("现付"); $("#OrganId").combobox("setValue", orgDefaultId); //自动默认选择非会员 + // 鼠标点下时清空选择项 + $("#OrganId").next().find("input").off("mousedown").on("mousedown",function(){ + $("#OrganId").combobox("setValue", ""); + }); //当会员卡号长度超过10位后,自动点击下拉框,用于兼容刷卡器 $("#OrganId").next().find("input").off("keyup").on("keyup",function(){ var self = this; @@ -1597,7 +1601,7 @@ $("#payType").empty().append(option); } } - },500); + },1000); } }); var getAmount = $("#depotHeadFM .get-amount");