|
|
@@ -341,11 +341,7 @@ export default {
|
|
|
|
|
|
},
|
|
|
mounted() {
|
|
|
- if(this.form.customId == 0){
|
|
|
- this.$nextTick(() => {
|
|
|
- this.$refs.customref.focus()
|
|
|
- })
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
if (this.$route.query.customId && this.$route.query.customName) {
|
|
|
let id = this.$route.query.customId
|
|
|
@@ -376,9 +372,7 @@ export default {
|
|
|
that.$message({message: '不在结算页',type: 'warning'})
|
|
|
}
|
|
|
}
|
|
|
- if(e && e.key && e.key.toLowerCase() =='c' && e.ctrlKey){
|
|
|
- that.$refs['customref'].focus();
|
|
|
- }
|
|
|
+
|
|
|
if(e && e.key && e.key.toLowerCase() =='q' && e.ctrlKey){
|
|
|
that.$refs['itemSearchRef'].focus();
|
|
|
}
|
|
|
@@ -599,9 +593,6 @@ export default {
|
|
|
this.form.customName = ''
|
|
|
this.form.getStaffId = 0
|
|
|
this.form.getStaffName = ''
|
|
|
- this.$nextTick(() => {
|
|
|
- this.$refs.customref.focus()
|
|
|
- })
|
|
|
},
|
|
|
clearSeachVal(){
|
|
|
this.searchVal = ''
|
|
|
@@ -697,6 +688,7 @@ export default {
|
|
|
this.currentItem = currentItem
|
|
|
this.customData.bigCount = currentItem.bigCount > 0 ? currentItem.bigCount : 1
|
|
|
this.customData.userPrice = parseFloat(this.currentItem.price)
|
|
|
+ this.customData.remark = this.currentItem.remark||''
|
|
|
this.desk = 'confirmPriceNum';
|
|
|
this.showGetItemList = false
|
|
|
this.showConfirmNum = true;
|