zuozhengqing
2024-02-05 3c4e059b2c47e3ba22b694805645b008c4276e25
src/views/operate/allot/index.vue
@@ -231,7 +231,7 @@
            return {
              ...item,
              from: item.location.jointName,
              // to: item.toLocation.name
              to: item.toLocation.name
            }
          })
          this.tableList.tableInfomation = list || []
@@ -248,9 +248,23 @@
    },
    // 查看 编辑
    tableRowClick(row, val) {
      console.log(row)
      console.log(row,"查看")
      this.editConfig.visible = true
      this.editConfig.title = val
      row.details.map((item)=>{
        item.fromLocationId=item.fromLocation.jointName
        item.toLocationId=item.toLocation.jointName
      })
      row.location={
        value:row.location.id||row.location.value,
        label:row.location.jointName||row.location.label
      }
      row.toLocation={
        value:row.toLocation.id||row.toLocation.value,
        label:row.toLocation.jointName||row.toLocation.label
      }
      row.locationID=row.location.jointName
      row.locationId=row.location.value
      this.editConfig.infomation = { ...row }
    },
    // 新建