您的位置:首页 > 其它

angualr实现双击编辑可修改

2021-05-01 22:31 113 查看

```html 文件


{{item.sellerSKU}}



{{item.asin}}





{{item.quantityShipped}}


             

ts 文件

  editInfo(){
    this.editStatus  =true;
  }
  disableEdit(){
    this.editStatus = false;
}
delInfo(i){
    console.log(i)
  this.productInfoItems.splice(i,1)
  console.log(this.productInfoItems,"......")
}

搜索库存数:  

vaild(){
  if(Number($(".minqty").val())>Number($(".maxqty").val())){
    this.helpeerror = true;
  }else{
    this.helpeerror = false;
  }
}

  doSearch () {
    if(!this.helpeerror) {
      this.batchSearch = [];
      this.loadData();
    }
  }

               

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: