|
@@ -159,8 +159,8 @@
|
|
|
<div class="accounts-list">
|
|
<div class="accounts-list">
|
|
|
打印小票
|
|
打印小票
|
|
|
<div class="accounts-center">
|
|
<div class="accounts-center">
|
|
|
- <el-button :type="form.needPrint == 1?'primary':''" @keyup.enter.native="form.needPrint = 1" @click="form.needPrint = 1" size="small">需要(-)</el-button>
|
|
|
|
|
- <el-button :type="form.needPrint == 2?'primary':''" @keyup.enter.native="form.needPrint = 2" @click="form.needPrint = 2" size="small">不要(=)</el-button>
|
|
|
|
|
|
|
+ <el-button :type="form.needPrint == 1?'primary':''" @keyup.enter.native="form.needPrint = 1" @click="form.needPrint = 1" size="small">需要(Ctrl + , )</el-button>
|
|
|
|
|
+ <el-button :type="form.needPrint == 2?'primary':''" @keyup.enter.native="form.needPrint = 2" @click="form.needPrint = 2" size="small">不要(Ctrl + . )</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="accounts-list">
|
|
<div class="accounts-list">
|
|
@@ -361,16 +361,21 @@ export default {
|
|
|
if(e && e.key =='ArrowDown'){
|
|
if(e && e.key =='ArrowDown'){
|
|
|
that.goDown();
|
|
that.goDown();
|
|
|
}
|
|
}
|
|
|
- if(e && e.key=='='){
|
|
|
|
|
|
|
+ if(e && e.key=='.' && e.ctrlKey){
|
|
|
if(that.showCommitPop == true){
|
|
if(that.showCommitPop == true){
|
|
|
that.form.needPrint = 2
|
|
that.form.needPrint = 2
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if( e && e.key=='-'){
|
|
|
|
|
|
|
+ if( e && e.key==',' && e.ctrlKey){
|
|
|
if(that.showCommitPop == true){
|
|
if(that.showCommitPop == true){
|
|
|
that.form.needPrint = 1
|
|
that.form.needPrint = 1
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ if( e && e.key=='/' && e.ctrlKey){
|
|
|
|
|
+ if(that.showCommitPop == true){
|
|
|
|
|
+ that.$refs.kdStaffRef.focus()
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
if(e && e.key=='Delete'){
|
|
if(e && e.key=='Delete'){
|
|
|
if(that.selectList[that.selectIndex]){
|
|
if(that.selectList[that.selectIndex]){
|
|
|
let current = that.selectList[that.selectIndex]
|
|
let current = that.selectList[that.selectIndex]
|
|
@@ -418,7 +423,7 @@ export default {
|
|
|
for(const ele of that.staffList){
|
|
for(const ele of that.staffList){
|
|
|
if(currentStaff.id == ele.id){
|
|
if(currentStaff.id == ele.id){
|
|
|
that.form.getStaffId = ele.id
|
|
that.form.getStaffId = ele.id
|
|
|
- that.form.getStaffName = ele.name
|
|
|
|
|
|
|
+ that.form.getStaffName = ele.name+'(Ctrl + / )'
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|