|
|
@@ -288,7 +288,8 @@ export default {
|
|
|
showGetItemList:false,
|
|
|
currentItem:{},
|
|
|
classList:[],
|
|
|
- changeType:'add'
|
|
|
+ changeType:'add',
|
|
|
+ TT:null
|
|
|
};
|
|
|
},
|
|
|
mixins: [productMins],
|
|
|
@@ -501,7 +502,7 @@ export default {
|
|
|
selectCustomFn(e){
|
|
|
if(e.id && e.name){
|
|
|
let that = this
|
|
|
- setTimeout(function(){
|
|
|
+ that.TT = setTimeout(function(){
|
|
|
that.desk = 'selectedList'
|
|
|
},2000)
|
|
|
this.form.customId = e.id
|
|
|
@@ -604,6 +605,9 @@ export default {
|
|
|
if(this.t!=null){
|
|
|
clearTimeout(this.t)
|
|
|
}
|
|
|
+ if(this.TT != null){
|
|
|
+ clearTimeout(this.TT)
|
|
|
+ }
|
|
|
this.t = setTimeout(function(){
|
|
|
that.searchItemFn()
|
|
|
},250)
|
|
|
@@ -711,7 +715,6 @@ export default {
|
|
|
sumPrice = parseFloat(sumPrice.toFixed(2))
|
|
|
currentItem = {...currentItem,bigCount:this.customData.bigCount,userPrice:this.customData.userPrice,smallCount:this.customData.smallCount,sumPrice:sumPrice}
|
|
|
this.replaceItemFn(currentItem,1,'add')
|
|
|
- this.hitPlay()
|
|
|
this.backToSearchItem();
|
|
|
},
|
|
|
backToSearchItem(){
|