<template>
  <div class="base-info">
    <el-form :label-position="labelPosition">
      <el-row>

        <el-col :span="12">
          <el-form-item
            :label="$t('开票地址')"
            prop="invoiceAddr"
            :label-width="labelWidth"
          >
            <el-input type="textarea" maxlength="140"
                      show-word-limit v-model="form.invoiceAddr"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item
            :label="$t('客户送货地址')"
            prop="address"
            :label-width="labelWidth"
          >
            <el-input type="textarea" maxlength="80"
                      show-word-limit v-model="form.address"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item :label="$t('城市')" prop="city" :label-width="labelWidth">
            <el-input v-model="form.city"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item :label="$t('国家')" prop="country" :label-width="labelWidth">
            <el-input v-model="form.country"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item :label="$t('地区')" prop="area" :label-width="labelWidth">
            <el-input v-model="form.area"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item :label="$t('语言')" prop="lang" :label-width="labelWidth">
            <el-input v-model="form.lang"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item
            :label="$t('邮政编码')"
            prop="postcode"
            :label-width="labelWidth"
          >
            <el-input v-model="form.postcode"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item :label="$t('电话号码')" prop="tel" :label-width="labelWidth">
            <el-input v-model="form.tel"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item :label="$t('移动电话')" prop="phone" :label-width="labelWidth">
            <el-input v-model="form.phone"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="Email" prop="email" :label-width="labelWidth">
            <el-input v-model="form.email"/>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script>


export default {
  props: {
    form: {type: Object, required: true},
  },
  data() {
    return {
      labelPosition: "right",
      labelWidth: "12em",
    };
  },
  methods: {
    init() {
    },
  },
  created() {
  },
};
</script>

<style scoped></style>
