<template>
  <div class="eibs-tab">
    <c-col :span="24">
      <el-form-item :label="argadr.title + '编号'" :prop="argadr.url + 'ref'">
        <c-input
          v-model="model[argadr.url + 'ref']"
          maxlength="16"
          :placeholder="'请输入' + argadr.title + '编号'"
          :disabled="disabled"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="24">
      <el-form-item :label="argadr.title + '名称'" :prop="argadr.url + 'nam'">
        <c-input
          v-model="model[argadr.url + 'nam']"
          maxlength="40"
          :placeholder="'请输入' + argadr.title + '名称'"
          :disabled="disabled"
        ></c-input>
      </el-form-item>
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";

export default {
  inject: ["root"],
  mixins: [CommonProcess],
  props: {
    model: {
      type: Object,
      default: undefined,
    },
    codes: {},
    argadr: {},
    disabled: {
      //名称地址是否灰显
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {
      data: [],
    };
  },
  watch: {},
  // methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>
