Gidtxtp.vue 4.07 KB
Newer Older
liyixun committed
1 2
<template>
  <div class="eibs-tab">
liyixun committed
3 4 5 6 7 8
    <c-row>
      <c-col :span="24">
        <c-col :span="16">
          <c-col :span="24">
            <el-form-item
              v-if="model.gitp.gidtxtmodflg == ''"
wangna committed
9
              label="保函文本可变因素"
liyixun committed
10 11 12 13 14 15 16 17 18
              prop="gidgrp.blk.gidtxt"
            >
              <i-stream-input
                :disabled="model.gitp.gidtxtmodflg == ''"
                type="textarea"
                rows="15"
                :model="model.gidgrp.blk.gidtxt"
                maxlength="65"
                show-word-limit
wangna committed
19
                placeholder="请输入保函文本可变因素"
liyixun committed
20 21 22 23
              ></i-stream-input>
            </el-form-item>
            <el-form-item
              v-if="model.gitp.gidtxtmodflg == 'X'"
wangna committed
24
              label="保函文本可变因素"
liyixun committed
25 26 27 28 29 30 31 32
              prop="gidgrp.blk.gtxgidtxt"
            >
              <i-stream-input
                type="textarea"
                :model="model.gidgrp.blk.gtxgidtxt"
                rows="15"
                maxlength="65"
                show-word-limit
wangna committed
33
                placeholder="请输入保函文本可变因素"
liyixun committed
34 35 36 37 38 39 40 41 42
              ></i-stream-input>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="6">
          <c-col :span="24">
            <c-checkbox
              v-model="model.gitp.gidtxtmodflg"
              style="margin: 0 0 0 10px"
wangna committed
43
              >修改保函文本</c-checkbox
liyixun committed
44 45 46 47 48 49
            >
          </c-col>
          <c-col :span="24">
            <c-checkbox
              v-model="model.gitp.chkgidtxt"
              style="margin: 0 0 0 10px"
wangna committed
50
              >允许</c-checkbox
liyixun committed
51 52 53 54 55 56 57 58 59 60 61
            >
          </c-col>

          <c-col :span="24">
            <c-button
              :disabled="model.gitp.gidtxtmodflg == ''"
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px; width: 50%"
              @click="onGitpButdif"
            >
wangna committed
62
              查看系统文本
liyixun committed
63 64
            </c-button>
          </c-col>
liyixun committed
65

liyixun committed
66 67 68 69 70 71 72
          <c-col :span="24">
            <c-button
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px; width: 50%"
              @click="onGitpButdifhis"
            >
wangna committed
73
              查看历史文本
liyixun committed
74 75
            </c-button>
          </c-col>
liyixun committed
76

liyixun committed
77 78 79 80 81 82 83 84
          <template v-if="model.gitp.gidtxtmodflg == 'X'">
            <c-col :span="24">
              <c-button
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px; width: 50%"
                @click="onGitpShwgidtxt"
              >
wangna committed
85
                显示文本
liyixun committed
86
              </c-button>
liyixun committed
87
            </c-col>
liyixun committed
88 89 90 91 92 93 94
          </template>

          <c-col :span="24">
            <c-input
              style="margin: 5px 0 0 10px; width: 50%"
              v-model="model.gidgrp.rec.ownref"
              maxlength="16"
wangna committed
95
              placeholder="请输入保函编号"
liyixun committed
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
            ></c-input>
          </c-col>
          <c-col :span="24">
            <c-button
              disabled
              style="margin: 5px 0 0 10px"
              size="small"
              type="primary"
              @click="onGitpButgetref"
            >
              获取
            </c-button>
          </c-col>
          <c-col :span="24">
            <c-button
              :disabled="model.gitp.gidtxtmodflg == ''"
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px; width: 50%"
              @click="onGitpGidtxtmod"
            >
              修改中文保函文本
            </c-button>
          </c-col>
liyixun committed
120
        </c-col>
liyixun committed
121
      </c-col>
liyixun committed
122 123 124 125
    </c-row>
  </div>
</template>
<script>
liyixun committed
126
import Api from "~/service/Api";
liyixun committed
127
import commonProcess from "~/mixin/commonProcess";
liyixun committed
128 129 130
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getame/Event";
import IStreamInput from "~/components/IStreamInput";
liyixun committed
131 132

export default {
liyixun committed
133 134 135 136 137 138 139 140 141 142
  components: { IStreamInput },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
liyixun committed
143 144 145
</script>
<style>
</style>