Ovwpc.vue 9.5 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 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
              ></c-date-picker>
liyixun committed
16
            </el-form-item>
liyixun committed
17 18 19 20
          </c-col>

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

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

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

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

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

export default {
liyixun committed
276 277 278 279 280 281 282 283 284
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess, commonFuncs],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
285 286 287
</script>
<style>
</style>