Ovwpc.vue 9.04 KB
Newer Older
liyixun committed
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 9 10 11 12 13
              prop="gidgrp.rec.opndatc"
            >
              <c-date-picker
                type="date"
                v-model="model.gidgrp.rec.opndatc"
                style="width: 100%"
wangna committed
14
                placeholder="请选择请求开证日期"
liyixun committed
15 16 17
              ></c-date-picker>
            </el-form-item>
          </c-col>
liyixun committed
18

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

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

liyixun committed
153 154
          <c-col :span="24">
            <c-col :span="12">
wangna committed
155
              <el-form-item label="申请条款" prop="gidgrp.blk.apprulc">
liyixun committed
156 157 158
                <c-select
                  v-model="model.gidgrp.blk.apprulc"
                  style="width: 100%"
wangna committed
159
                  placeholder="请选择申请条款"
liyixun committed
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
                >
                  <el-option
                    v-for="item in codes.apprulc"
                    :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
177
                placeholder="请输入申请条款"
liyixun committed
178 179 180
              ></c-input>
            </c-col>
          </c-col>
liyixun committed
181

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

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

export default {
liyixun committed
269 270 271 272 273 274 275 276 277
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
liyixun committed
278 279 280
</script>
<style>
</style>