zuozhengqing
2023-10-23 58e803fffe35d5ac39599d5ad6b3359e374b1808
src/views/warehouseManage/listingRules/index.vue
@@ -122,8 +122,8 @@
          const list = res.data.map((item) => {
            return {
              ...item,
              areaName: item.area.jointName,
              subLocation: item.location.jointName,
              areaName: {label:item.area.jointName,value:item.area.id},
              subLocation: {label:item.location.jointName,value:item.location.id},
              productName: item.product.name,
              productCategory: item.productCategory.name,
              isSet: false,
@@ -155,7 +155,7 @@
        this.isRowClick = false
        this.currentRowId = 0
        this.countId++
        this.tableData.push({
        this.tableData.unshift({
          countId: this.countId,
          areaId: 0,
          areaName: "",
@@ -227,7 +227,7 @@
          item.isEdit = true
        })
      } else {
        this.tableData.splice(this.tableData.length - 1, 1)
        this.tableData.splice(0, 1)
      }
      this.addTitle = "新建"
      this.showDiscard = false