zuozhengqing
2024-04-15 f3cb03e9e6cbd21bc5f1d9b2570f964d29a48aa8
src/components/makepager/CommonFormTableView.vue
@@ -772,6 +772,7 @@
    },
    // 选择产品
    selProductClick(item, row) {
      console.log("选择产品",row,item)
      if (this.isReorder) {
        this.productId = item.id
        this.productName = item.name
@@ -794,13 +795,12 @@
            ite.productName = item.name
            ite.categoryId = item.categoryId
            ite.productCategory = item.categoryName
            ite.amount = item.amount
            // ite.amount = item.amount
            ite.unit = item.unit
          }
        })
        this.$emit("selProductClick", "product", this.tableList.tableData[selIndex])
      }
      if (this.isinventory) {
        getRuleList({
          locationId: 0,
@@ -813,6 +813,7 @@
          }
        })
      }
      // this.$emit("selProductClick", item)
    },
    // 选择产品类型
@@ -844,6 +845,7 @@
    },
    // 选择位置
    selLocationClick(item, prop, row) {
      console.log("位置选择",item,row)
      if (prop === "areaName") {
        getLocationList({
          jointName: item.label,
@@ -855,6 +857,8 @@
            this.selSonLocationOptions = list
          }
        })
      }else if(prop==='locationName'){
        console.log("locationName")
      }
      if (this.isReorder) {
        this.locacionId = item.value