<template>
  <div class="app-container">
    <div>
      <el-form inline :model="editItem">
        <el-form-item label="提单号">
          <el-input v-model="editItem.LadingBillNumber"></el-input>
        </el-form-item>
        <!-- <el-form-item label="状态码1">
          <el-input v-model="editItem.statusCode1"></el-input>
        </el-form-item> -->
        <el-form-item label="起飞时间">
          <el-input v-model="editItem.Code1Time" disabled></el-input>
        </el-form-item>
        <!-- <el-form-item label="状态码2">
          <el-input v-model="editItem.statusCode2"></el-input>
        </el-form-item> -->
        <el-form-item label="到达时间">
          <el-input v-model="editItem.Code2Time" disabled></el-input>
        </el-form-item>
        <el-form-item>
          <el-button size="large" type="success" @click="queryData"
            >查询</el-button
          >
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>
<script>
import { GetNodeTime } from "@/api/tracking/51TrackLogic";
export default {
  name: "NodeTime",
  data() {
    return {
      editItem: {
        LadingBillNumber: null,
        Code1Time: "",
        Code2Time: "",
      },
    };
  },
  methods: {
    queryData() {
      GetNodeTime(this.editItem).then((res) => {
        this.editItem = res;
      });
    },
  },
};
</script>
