Dogp.vue 1.66 KB
Newer Older
zhengxiaokui committed
1
<template>
zhengxiaokui committed
2
  <c-row>
zhengxiaokui committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16
    <!-- 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">
zhengxiaokui committed
17
      <!-- @click="onLcrgodButtxmsel" -->
zhengxiaokui committed
18 19 20 21
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
zhengxiaokui committed
22
        @click="showGridPromptDialog('letp.lcrgod.buttxmsel',columns)"
zhengxiaokui committed
23 24 25 26
      >
        ...
      </c-button>
    </c-col>
zhengxiaokui committed
27

zhengxiaokui committed
28 29 30 31 32 33 34 35 36 37 38
    <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>
zhengxiaokui committed
39
  </c-row>
zhengxiaokui committed
40 41
</template>
<script>
zhengxiaokui committed
42
import Api from "~/service/Api";
zhengxiaokui committed
43
import CommonProcess from "~/mixin/CommonProcess";
zhengxiaokui committed
44 45
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letopn/Event";
zhengxiaokui committed
46 47

export default {
zhengxiaokui committed
48 49 50 51
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
zhengxiaokui committed
52 53 54
    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"
    };
zhengxiaokui committed
55 56 57 58
  },
  methods: { ...Event },
  created: function () {},
};
zhengxiaokui committed
59 60
</script>
<style>
zhengxiaokui committed
61
.letopn_dogp_button {
zhengxiaokui committed
62
  margin: 20px 0 0 0px;
zhengxiaokui committed
63
}
zhengxiaokui committed
64
</style>