<template>
  <c-row>
    <c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea>
    <!-- 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">
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="showGridPromptDialog(...dialogArg)"
      >
        ...
      </c-button>
    </c-col> -->
    <!-- @click="onLcrgodButtxmsel" -->
    <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";
import BlkTextarea from "~/views/Public/BlkTextarea";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  components: { "c-blkTextarea": BlkTextarea },
  mixins: [CommonProcess],
  data() {
    return {
      blk: {
        blkMsg: {
          title: "货物说明",
          dataUrl: "ledgrp.blk.lcrgod", //字段所在model路劲
          rows: 20,
        },
        rulePath: "letp.lcrgod.buttxmsel",
      },
    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
.letopn_dogp_button {
  margin: 20px 0 0 0px;
}
</style>
