Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
9031baec
Commit
9031baec
authored
Nov 23, 2017
by
季圣华
Browse files
零售单据的会员卡号(在鼠标点下时清空选择项)
parent
c1207950
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/js/pages/materials/in_out.js
View file @
9031baec
...
@@ -1576,6 +1576,10 @@
...
@@ -1576,6 +1576,10 @@
if
(
listSubType
==
"
零售
"
||
listSubType
==
"
零售退货
"
)
{
if
(
listSubType
==
"
零售
"
||
listSubType
==
"
零售退货
"
)
{
$
(
"
#payType
"
).
val
(
"
现付
"
);
$
(
"
#payType
"
).
val
(
"
现付
"
);
$
(
"
#OrganId
"
).
combobox
(
"
setValue
"
,
orgDefaultId
);
//自动默认选择非会员
$
(
"
#OrganId
"
).
combobox
(
"
setValue
"
,
orgDefaultId
);
//自动默认选择非会员
// 鼠标点下时清空选择项
$
(
"
#OrganId
"
).
next
().
find
(
"
input
"
).
off
(
"
mousedown
"
).
on
(
"
mousedown
"
,
function
(){
$
(
"
#OrganId
"
).
combobox
(
"
setValue
"
,
""
);
});
//当会员卡号长度超过10位后,自动点击下拉框,用于兼容刷卡器
//当会员卡号长度超过10位后,自动点击下拉框,用于兼容刷卡器
$
(
"
#OrganId
"
).
next
().
find
(
"
input
"
).
off
(
"
keyup
"
).
on
(
"
keyup
"
,
function
(){
$
(
"
#OrganId
"
).
next
().
find
(
"
input
"
).
off
(
"
keyup
"
).
on
(
"
keyup
"
,
function
(){
var
self
=
this
;
var
self
=
this
;
...
@@ -1597,7 +1601,7 @@
...
@@ -1597,7 +1601,7 @@
$
(
"
#payType
"
).
empty
().
append
(
option
);
$
(
"
#payType
"
).
empty
().
append
(
option
);
}
}
}
}
},
5
00
);
},
10
00
);
}
}
});
});
var
getAmount
=
$
(
"
#depotHeadFM .get-amount
"
);
var
getAmount
=
$
(
"
#depotHeadFM .get-amount
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment