watch: {
    selectGoodsList (val) {
      let list = []
      val.forEach(item => {
        this.goodsList.forEach((tag, index) => {
          if (item.goodsNo == tag.goodsNo) {
            list.push(index)
          }
        })
      })
      this.checkedList_goods = list
    }
  },

 

posted on 2018-07-28 16:27  正正果实  阅读(174)  评论(0编辑  收藏  举报