shish hai 1 ano
pai
achega
7fc3c3c5bd

+ 2 - 2
ghsPad/src/pages/home/cash.vue

@@ -119,8 +119,8 @@ export default {
 		init(){
 			customList({ name: '',isCashier:1 }).then(res=>{
 				if(res.code == 1){
-					if(res.data.list.length > 14){
-						this.myCustomList = res.data.list.slice(0,14)
+					if(res.data.list.length > 12){
+						this.myCustomList = res.data.list.slice(0,12)
 					}else{
 						this.myCustomList = res.data.list
 					}

+ 3 - 2
ghsPad/src/pages/home/components/customerList.vue

@@ -59,8 +59,6 @@ export default {
   watch:{
       myCustomList:{
           handler(newList){
-            console.log(newList)
-            console.log('-----')
             this.list = newList
           },
           immediate:true
@@ -69,14 +67,17 @@ export default {
   methods: {
     fastKd(){
       this.$util.hitVoice()
+      this.searchUser = ''
       this.$emit('fastKd')
     },
     cancelChoose(){
       this.$util.hitVoice()
+      this.searchUser = ''
       this.$emit('cancelChoose')
     },
     confirmCustom(info){
       this.$util.hitVoice()
+      this.searchUser = ''
       this.$emit('confirmCustom',info)
     },
     clearInput(){