Ovwpc.vue 8.7 KB
Newer Older
liyixun committed
1 2
<template>
  <div class="eibs-tab">
liyixun committed
3 4 5 6 7
    <c-row>
      <c-col :span="24">
        <c-col :span="12">
          <c-col :span="24">
            <el-form-item
wangna committed
8
              label="请求开证日期"
liyixun committed
9 10 11 12 13 14
              prop="gidgrp.rec.opndatc"
            >
              <c-date-picker
                type="date"
                v-model="model.gidgrp.rec.opndatc"
                style="width: 100%"
wangna committed
15
                placeholder="请选择请求开证日期"
liyixun committed
16 17 18
              ></c-date-picker>
            </el-form-item>
          </c-col>
liyixun committed
19

liyixun committed
20 21
          <c-col :span="24">
            <c-col :span="12">
wangna committed
22
              <el-form-item label="保函币种和金额" prop="gidgrp.cbs.mac.cur">
liyixun committed
23 24 25 26
                <c-select
                  disabled
                  v-model="model.gidgrp.cbs.mac.cur"
                  style="width: 100%"
wangna committed
27
                  placeholder="请选择保函币种"
liyixun committed
28 29 30 31 32 33 34 35 36 37
                >
                  <el-option
                    v-for="item in codes.cur"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
liyixun committed
38
            </c-col>
liyixun committed
39 40 41 42 43
            <c-col :span="8">
              <c-input
                disabled
                v-model="model.gidgrp.cbs.mac.amt"
                style="margin: 0 0 0 10px; width: 80%"
wangna committed
44
                placeholder="请选择保函金额"
liyixun committed
45 46 47 48
              ></c-input>
            </c-col>
            <c-col :span="4" class="centerLable">
              <c-checkbox disabled v-model="model.gitp.aacp.aacmod.addamtflg"
wangna committed
49
                >附加金额</c-checkbox
liyixun committed
50 51 52 53 54
              >
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="12">
wangna committed
55
              <el-form-item label="保函类型 " prop="gidgrp.rec.gartypc">
liyixun committed
56 57 58
                <c-select
                  v-model="model.gidgrp.rec.gartypc"
                  style="width: 100%"
wangna committed
59
                  placeholder="请选择保函类型 "
liyixun committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
                >
                  <el-option
                    v-for="item in codes.gartypc"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="8">
              <c-input
                disabled
                v-model="model.gidgrp.blk.gartyptxtc"
                style="margin: 0 0 0 10px; width: 80%"
wangna committed
76
                placeholder="请输入保函类型 "
liyixun committed
77 78 79 80 81
              ></c-input>
            </c-col>
          </c-col>

          <c-col :span="24">
wangna committed
82
            <el-form-item label="保函形式" prop="gidgrp.rec.legfrmc">
liyixun committed
83 84 85
              <c-select
                v-model="model.gidgrp.rec.legfrmc"
                style="width: 100%"
wangna committed
86
                placeholder="请选择保函形式"
liyixun committed
87 88 89 90 91 92 93 94
              >
                <el-option
                  v-for="item in codes.legfrmc1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
liyixun committed
95
              </c-select>
liyixun committed
96 97 98
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
99
            <el-form-item label="需求指示 " prop="gidgrp.rec.demandc">
liyixun committed
100 101 102 103
              <c-select
                :code="codes.demand"
                v-model="model.gidgrp.rec.demandc"
                style="width: 100%"
wangna committed
104
                placeholder="请选择需求指示 "
liyixun committed
105
              >
liyixun committed
106
              </c-select>
liyixun committed
107 108 109 110
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
wangna committed
111
              label="要求语言"
liyixun committed
112 113 114 115 116 117
              prop="gidgrp.rec.stdwrduilc"
            >
              <c-select
                :code="codes.uiltxt2"
                v-model="model.gidgrp.rec.stdwrduilc"
                style="width: 100%"
wangna committed
118
                placeholder="请选择要求语言"
liyixun committed
119
              >
liyixun committed
120
              </c-select>
liyixun committed
121 122 123 124 125
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="11" :offset="1">
          <c-col :span="24">
wangna committed
126
            <el-form-item label="保函文本格式" prop="gidgrp.rec.gtxinrc">
liyixun committed
127 128 129 130
              <c-select
                disabled
                v-model="model.gidgrp.rec.gtxinrc"
                style="width: 100%"
wangna committed
131
                placeholder="请选择保函文本格式"
liyixun committed
132 133 134 135 136 137 138 139
              >
                <el-option
                  v-for="item in codes.gtxinr"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
liyixun committed
140
              </c-select>
liyixun committed
141 142 143 144 145
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <c-col :span="12">
wangna committed
146
              <el-form-item label="申请条款" prop="gidgrp.blk.apprulc">
liyixun committed
147 148 149
                <c-select
                  v-model="model.gidgrp.blk.apprulc"
                  style="width: 100%"
wangna committed
150
                  placeholder="请选择申请条款"
liyixun committed
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
                >
                  <el-option
                    v-for="item in codes.apprulc1"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="8">
              <c-input
                :disabled="model.gidgrp.blk.apprulc != 'OTHR'"
                style="margin: 0 0 0 10px; width: 80%"
                v-model="model.gidgrp.blk.apprultxtc"
                maxlength="35"
wangna committed
168
                placeholder="请输入申请条款"
liyixun committed
169 170 171 172 173
              ></c-input>
            </c-col>
          </c-col>

          <c-col :span="24">
wangna committed
174
            <el-form-item label="到期类型" prop="gidgrp.rec.exptyp">
liyixun committed
175 176 177 178
              <c-select
                disabled
                v-model="model.gidgrp.rec.exptyp"
                style="width: 100%"
wangna committed
179
                placeholder="请选择到期类型"
liyixun committed
180 181 182 183 184 185 186 187
              >
                <el-option
                  v-for="item in codes.exptyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
liyixun committed
188
              </c-select>
liyixun committed
189 190 191
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
192
            <el-form-item label="保函效期" prop="gidgrp.rec.expdat">
liyixun committed
193 194 195 196 197
              <c-date-picker
                :disabled="model.gidgrp.rec.exptyp == 'OPEN'"
                type="date"
                v-model="model.gidgrp.rec.expdat"
                style="width: 100%"
wangna committed
198
                placeholder="请选择保函效期"
liyixun committed
199 200 201 202 203 204 205
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <c-col :span="20">
              <el-form-item
wangna committed
206
                label="到期条件"
liyixun committed
207 208 209 210 211 212 213 214 215
                prop="gidgrp.blk.exptxt"
              >
                <c-input
                  type="textarea"
                  rows="4"
                  :disabled="model.gitp.exptxtmodflg == ''"
                  v-model="model.gidgrp.blk.exptxt"
                  maxlength="65"
                  show-word-limit
wangna committed
216
                  placeholder="请输入到期条件"
liyixun committed
217 218 219 220 221 222 223 224 225 226 227 228
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="4">
              <c-checkbox
                v-model="model.gitp.exptxtmodflg"
                :disabled="
                  model.gidgrp.rec.exptyp == 'FIXD' ||
                  model.gidgrp.rec.exptyp == 'OPEN' ||
                  model.gidgrp.rec.exptyp == ''
                "
                style="margin: 0 0 0 10px"
wangna committed
229
                >修改文本</c-checkbox
liyixun committed
230 231 232 233 234 235 236 237
              >
              <c-button
                disabled
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px"
                @click="onGitpButdifexptxt"
              >
wangna committed
238
                查看系统文本
liyixun committed
239 240 241 242 243 244 245 246
              </c-button>
              <c-button
                disabled
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px"
                @click="onGitpButdifhisexptxt"
              >
wangna committed
247
                查看历史文本
liyixun committed
248 249 250 251 252 253
              </c-button>
            </c-col>
          </c-col>
        </c-col>
      </c-col>
    </c-row>
liyixun committed
254 255 256
  </div>
</template>
<script>
liyixun committed
257
import Api from "~/service/Api";
liyixun committed
258
import commonProcess from "~/mixin/commonProcess";
liyixun committed
259 260
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitame/Event";
liyixun committed
261 262

export default {
liyixun committed
263 264 265 266 267 268 269 270 271
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
liyixun committed
272 273 274
</script>
<style>
</style>