yangfeng
2023-11-16 185acb9f9f73c1818b9eb2dcb783c30d2174381f
src/views/productManage/reorderRules/index.vue
@@ -92,7 +92,6 @@
      this.pagerOptions.currPage = 1
      this.searchTaskMap =
        query.productId?.length > 0 ? [{ productId: this.queryProductId, title: query.productName }] : []
      console.log(this.searchTaskMap)
    }
    this.getData()
  },
@@ -123,7 +122,6 @@
        pageSize: this.pagerOptions.pageSize
      }).then((res) => {
        if (res.code === 200) {
          console.log(res)
          const list = res.data.map((item) => {
            let orderNum = 0
            if (parseFloat(item.minInventory) - parseFloat(item.prediction) > 0) {
@@ -182,7 +180,6 @@
    },
    // 新增
    addProductClick() {
      console.log(this.addTitle)
      this.isSel()
      if (this.isNoProduct && this.addTitle === "新建") {
        this.$refs.tablelistRef.getProductList()
@@ -292,7 +289,7 @@
        this.tableData.map((item, index) => {
          if (index === rowIndex) {
            item.isEdit = false
            item.editable = false
            item.editable = true
            item.isOrder = true
          } else {
            item.isEdit = true