<input type="text" @blur="changeNum(item.id,$event)" :value="item.num" class="form-control w100">
<button class="btn btn-light" :disabled="item.flag" @click="reduce(item.id)">-</button>
<input type="text" @blur="changeNum(item.id,$event)" :value="item.num" class="form-control w100">
<button class="btn btn-light" @click="plus(item.id)">+</button>
reduce(id){
this.$emit("change-num",{id:id,type:"reduce"})
},
plus(id){
this.$emit("change-num",{id:id,type:"plus"})
},
changeNum(id,event){