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

        <el-col :span="12">
          <el-form-item
            label="开票地址"
            prop="invoiceAddr"
            :label-width="labelWidth"
          >
            <el-input type="textarea" maxlength="140"
                      show-word-limit v-model="form.invoiceAddr" placeholder="请输入开票地址"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item
            label="客户送货地址"
            prop="address"
            :label-width="labelWidth"
          >
            <el-input type="textarea" maxlength="80"
                      show-word-limit v-model="form.address" placeholder="请输入客户送货地址"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="城市" prop="city" :label-width="labelWidth">
            <el-input v-model="form.city" placeholder="请输入城市"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="国家" prop="country" :label-width="labelWidth">
            <el-input v-model="form.country" placeholder="请输入国家"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="地区" prop="area" :label-width="labelWidth">
            <el-input v-model="form.area" placeholder="请输入地区"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="语言" prop="lang" :label-width="labelWidth">
            <el-input v-model="form.lang" placeholder="请输入语言"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item
            label="邮政编码"
            prop="postcode"
            :label-width="labelWidth"
          >
            <el-input v-model="form.postcode" placeholder="请输入邮政编码"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="电话号码" prop="tel" :label-width="labelWidth">
            <el-input v-model="form.tel" placeholder="请输入电话号码"/>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="移动电话" prop="phone" :label-width="labelWidth">
            <el-input v-model="form.phone" placeholder="请输入移动电话"/>
          </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" placeholder="请输入e_Mail"/>
          </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>
