src/components/makepager/CommonFormTableView.vue
@@ -662,7 +662,16 @@
      } else {
        let selIndex = 0
        this.tableList.tableData.map((ite, index) => {
          if (ite.id === row.id) {
          // ite.id 是上架规则的, ite.productId是库存调整的
          if (ite.id === row.id&&ite.id!=undefined&&row.id!=undefined) {
            selIndex = index
            ite.productId = item.id
            ite.productName = item.name
            ite.categoryId = item.categoryId
            ite.productCategory = item.categoryName
            ite.amount = item.amount
            ite.unit = item.unit
          }else if(ite.productId===row.productId){
            selIndex = index
            ite.productId = item.id
            ite.productName = item.name