<template>
  <div>
    <div class="container normal-panel" style="margin-top: 2%">
      <el-descriptions title="客户地址">
        <el-descriptions-item label="客户名称">--</el-descriptions-item>
        <el-descriptions-item label="地址类型">--</el-descriptions-item>
        <el-descriptions-item label="邮政编码">--</el-descriptions-item>
        <el-descriptions-item label="联系人">--</el-descriptions-item>
        <el-descriptions-item label="联系方式">--</el-descriptions-item>
        <el-descriptions-item label="负责人">--</el-descriptions-item>
        <el-descriptions-item label="详细地址">--</el-descriptions-item>
        <el-descriptions-item label="备注">--</el-descriptions-item>
      </el-descriptions>
    </div>
  </div>
</template>

<script>
export default {
  name: "customerAddress",
  props:["data"],
  data(){
    return {
      address:[]
    }
  },
  methods:{
    async addressData(){
      const res = await this.$api.requested({
        "id": "20221018153302",
        "content": {
          "sys_enterpriseid": this.data,
          "pageNumber": 1,
          "pageSize": 20,
          "where": {
            "condition": ""
          }
        }
      })
      // console.log("地址")
      // console.log(res)
      this.address = res.data
    }
  },
  mounted() {
    this.addressData()
  }
}
</script>

<style scoped>

</style>