zuozhengqing
2023-11-15 e1a3c04432d808ca27e1158095d2564cd81ea379
src/views/warehouseManage/listingRules/index.vue
@@ -83,7 +83,7 @@
      categoryId: null,
      searchTaskMap: [],
      isCreate:false,
      thatRow:{},
      thatRow: {}
    }
  },
  created() {
@@ -111,7 +111,7 @@
        selectBox: false,
        selectIndex: true,
        tableColumn: [
          { label: "当产品到达", prop: "areaName", location: true },
          { label: "当产品到达", prop: "areaName", toLocation: true },
          { label: "产品", prop: "productName", product: true },
          { label: "产品类别", prop: "productCategory", productType: true },
          { label: "存储到子位置", prop: "subLocation", sonLocation: true }
@@ -279,7 +279,6 @@
    },
    // 行点击
    tableRowClick(row, rowIndex) {
      this.thatRow=row
      this.tableList.rowClickIndex=rowIndex
      this.rowIndex = rowIndex
@@ -310,7 +309,7 @@
    },
    querySearchData(queryString,results,value){
      if(this.isCreate){
        if(queryString===''){
        if (queryString === "") {
          this.tableList.tableColumn[1].product = true
          this.tableList.tableColumn[2].productType = true
        }else{
@@ -409,9 +408,7 @@
          this.tableList.tableColumn[2].productType = false
        }
      }else{
        if (
          this.tableList.tableData[newVal].productName === ""
        ) {
        if (this.tableList.tableData[newVal].productName === "") {
          this.tableList.tableColumn[1].product = false
          this.tableList.tableColumn[2].productType = true
        } else {