<template>
  <c-row>
    <!-- Description of Goods -->
    <c-col :span="19">
      <el-form-item label="货物说明" prop="ledgrp.blk.lcrgod">
        <c-input
          type="textarea"
          :rows="20"
          v-model="model.ledgrp.blk.lcrgod"
          maxlength="2000"
          show-word-limit
          placeholder="请输入货物说明"
        ></c-input>
      </el-form-item>
    </c-col>
    <c-col :span="2" class="letopn_dogp_button">
      <!-- @click="onLcrgodButtxmsel" -->
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="showGridPromptDialog('letp.lcrgod.buttxmsel',columns)"
      >
        ...
      </c-button>
    </c-col>

    <br />
    <c-col :span="12">
      <el-form-item label="货物类型" prop="ledgrp.rec.stagod">
        <c-select
          v-model="model.ledgrp.rec.stagod"
          style="width: 100%"
          placeholder="请选择货物类型 "
        >
        </c-select>
      </el-form-item>
    </c-col>
  </c-row>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letopn/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
    return {
         columns: "1 2 \"EXTKEY\" 410 50\r\n2 1 \"NAM\" 410 50\r\n3 3 \"TXT\" 410 50\r\nUIL\r\nVER\r\nETGEXTKEY\r\nP COLORED TRUE\r\nP VERTLINES TRUE\r\nP HORZLINES TRUE\r\nP MULTISELECT FALSE\r\nP COLUMNSIZING TRUE"
    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
.letopn_dogp_button {
  margin: 20px 0 0 0px;
}
</style>
