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

liyixun committed
58 59 60 61 62 63 64 65
          <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
66
              查看系统文本
liyixun committed
67 68
            </c-button>
          </c-col>
69

liyixun committed
70 71 72 73 74 75 76
          <c-col :span="24">
            <c-button
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px; width: 50%"
              @click="onGitpButdifhis"
            >
wangna committed
77
              查看历史文本
liyixun committed
78 79 80 81 82 83 84 85 86 87 88
            </c-button>
          </c-col>

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

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