src/views/productManage/reorderRules/index.vue
@@ -215,7 +215,8 @@
        this.showDiscard = false
        let requestUrl = this.currentRowId === 0 ? addReorderRule : updateReorderRule
        let params = this.saveParams()
        requestUrl(params).then((res) => {
        requestUrl(params)
          .then((res) => {
          if (res.code === 200) {
            let tipStr = this.currentRowId === 0 ? "添加成功" : "修改成功"
            this.$message.success(tipStr)
@@ -318,11 +319,11 @@
      this.locationId = item?.value ?? item?.id
    },
    // 选中产品方法
    selProductClick(value,item){
      if(value==="product"){
      this.productId=item.id
    selProductClick(item) {
      this.productId = item.productId
      this.unit=item.unit
      }
      this.amount = item.amount
      this.prediction = item.prediction
    },
    // 选中路线方法
    selRouteClick(item, prop) {