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

          <c-col :span="24">
            <c-button
wangna committed
56
              :disabled="model.gitp.gidtxtmodflg == ''"
wangna committed
57 58 59 60 61
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px; width: 50%"
              @click="onGitpButdif"
            >
wangna committed
62
              查看系统文本
wangna committed
63 64 65 66 67 68 69 70 71 72
            </c-button>
          </c-col>

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

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

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

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