haoxuan
2024-04-19 4c71426795d126d0491f2e4105090273909e6d51
src/views/operate/inventoryAdjustment/index.vue
@@ -124,13 +124,11 @@
        if (res.code === 200) {
          console.log(res)
          const list = res.data.map((item) => {
            item.adjustAmount = 0
            return {
              ...item,
              isSet: false,
              isEdit: true,
              editable: true,
              adjustAmount: 0
            }
          })
          this.tableList.tableData = list || []
@@ -151,8 +149,6 @@
    },
    // 新增
    addProductClick() {
      console.log(this.tableData)
      console.log(this.addTitle)
      this.isSel()
      if (this.isNoProduct && this.addTitle === "新建") {
        this.$refs.tablelistRef.getLocationList()