Commit 6fbf54e0 authored by 彭令令's avatar 彭令令

任务26204快捷申报缴款功能

parent 824e91e5
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<span style="float:left;display:block;margin-left: 10px;margin-top: 9px;top: 10px;" class="span-title">快捷申报缴款</span> <span style="float:left;display:block;margin-left: 10px;margin-top: 9px;top: 10px;" class="span-title">快捷申报缴款</span>
</div> </div>
<div> <div>
<div class="div-float sbyf" style="padding-bottom: 8px;"> <div class="div-float sbyf" style="padding-bottom: 8px;display: none;">
<span>申报月份:</span> <span>申报月份:</span>
<input readonly id="getInputValue" name="birth_date" style="width: 20%; display: inline;" type="text" <input readonly id="getInputValue" name="birth_date" style="width: 20%; display: inline;" type="text"
class="Wdate checkId-input check-items-birthday form-control"> class="Wdate checkId-input check-items-birthday form-control">
......
...@@ -11,7 +11,6 @@ $(function () { ...@@ -11,7 +11,6 @@ $(function () {
prefix = "/web"; prefix = "/web";
} else if (config.environmental == 'production') { } else if (config.environmental == 'production') {
prefix = "/web/online"; prefix = "/web/online";
$('.sbyf').css({'display':'none'})
} }
showLoading(); showLoading();
getInitTable(); getInitTable();
...@@ -713,4 +712,24 @@ function initPage(companyInfo) { ...@@ -713,4 +712,24 @@ function initPage(companyInfo) {
declarationMethod: declarationMethod, declarationMethod: declarationMethod,
closeModal: closeModal closeModal: closeModal
} }
} }
\ No newline at end of file let arr = [];
let that = this;
var keyboardShortcut = ""
$(document).keydown(function(event){
if (arr.length > 0) { // a-z按键长按去重
if (arr.indexOf(event.key.toLowerCase()) >= 0) {
return
}
}
arr.push(event.key.toLowerCase())
keyboardShortcut = arr.join('+');
console.log(keyboardShortcut)
if (keyboardShortcut == 'control+shift+y') {
$('.sbyf').css({'display':'block'})
}
});
$(document).keyup(function(event){
arr.splice(arr.indexOf(event.key.toLowerCase()), 1);
keyboardShortcut = arr.join('+');
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment