Ovwpc.vue 9.29 KB
Newer Older
1
<template>
Wuyuqiu committed
2
  <div class="eibs">
liyixun committed
3 4
    <c-row>
      <c-col :span="24">
Wuyuqiu committed
5
        <c-col :span="12" style="padding-right: 20px;">
liyixun committed
6 7
          <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>
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
                  :code="codes.gitopn_cur"
                  v-model="model.gidgrp.cbs.mac.cur"
                  style="width: 100%"
wangna committed
27
                  placeholder="请选择保函币种"
liyixun committed
28 29 30
                >
                </c-select>
              </el-form-item>
31
            </c-col>
liyixun committed
32
            <c-col :span="8">
liyixun committed
33
              <el-form-item label-width="0px" prop="gidgrp.cbs.mac.amt">
liyixun committed
34 35 36
              <c-input
                v-model="model.gidgrp.cbs.mac.amt"
                style="margin: 0 0 0 10px; width: 80%"
wangna committed
37
                placeholder="请输入保函金额"
liyixun committed
38
              ></c-input>
liyixun committed
39
            </el-form-item>
liyixun committed
40 41 42
            </c-col>
            <c-col :span="4" class="centerLable">
              <c-checkbox v-model="model.gitp.aacp.aacmod.addamtflg"
wangna committed
43
                >附加金额</c-checkbox
liyixun committed
44 45 46 47 48
              >
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="12">
wangna committed
49
              <el-form-item label="保函类型 " prop="gidgrp.rec.gartypc">
liyixun committed
50 51 52
                <c-select
                  v-model="model.gidgrp.rec.gartypc"
                  style="width: 100%"
wangna committed
53
                  placeholder="请选择保函类型 "
LiRui committed
54
                  :code="getValues('gidgrp.rec.gartypc','gartypc')"
liyixun committed
55
                >
LiRui committed
56 57
                <!--  -->
                  <!-- <el-option
liyixun committed
58 59 60 61 62
                    v-for="item in codes.gartypc"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
LiRui committed
63
                  </el-option> -->
liyixun committed
64 65 66 67 68 69 70 71 72
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="12">
              <el-form-item label-width="5px" prop="gidgrp.rec.gartyptxtc">
                <c-input
                  disabled
                  v-model="model.gidgrp.blk.gartyptxtc"
                  style="width: 100%"
wangna committed
73
                  placeholder="请输入保函类型 "
liyixun committed
74 75 76 77 78 79
                ></c-input>
              </el-form-item>
            </c-col>
          </c-col>

          <c-col :span="24">
wangna committed
80
            <el-form-item label="保函形式" prop="gidgrp.rec.legfrmc">
liyixun committed
81 82 83
              <c-select
                v-model="model.gidgrp.rec.legfrmc"
                style="width: 100%"
wangna committed
84
                placeholder="请选择保函形式"
liyixun committed
85 86 87 88 89 90 91 92
              >
                <el-option
                  v-for="item in codes.legfrmc1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
93
              </c-select>
liyixun committed
94 95 96
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
97
            <el-form-item label="需求指示 " prop="gidgrp.rec.demandc">
liyixun committed
98 99 100
              <c-select
                v-model="model.gidgrp.rec.demandc"
                style="width: 100%"
wangna committed
101
                placeholder="请选择需求指示 "
liyixun committed
102 103 104 105 106 107 108 109
              >
                <el-option
                  v-for="item in codes.demandc"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
110
              </c-select>
liyixun committed
111 112 113 114
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
wangna committed
115
              label="要求语言"
liyixun committed
116 117 118 119 120
              prop="gidgrp.rec.stdwrduilc"
            >
              <c-select
                v-model="model.gidgrp.rec.stdwrduilc"
                style="width: 100%"
wangna committed
121
                placeholder="请选择要求语言"
liyixun committed
122 123 124 125 126 127 128 129
              >
                <el-option
                  v-for="item in codes.uiltxt"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
130
              </c-select>
liyixun committed
131 132 133
            </el-form-item>
          </c-col>
        </c-col>
Wuyuqiu committed
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
              >
                <el-option
                  v-for="item in codes.gtxinr"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
149
              </c-select>
liyixun committed
150 151 152 153 154
            </el-form-item>
          </c-col>

          <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 177
                >
                  <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="12">
              <el-form-item label-width="5px" prop="gidgrp.blk.apprultxtc">
                <c-input
                  :disabled="model.gidgrp.blk.apprulc != 'OTHR'"
                  style="width: 100%"
                  v-model="model.gidgrp.blk.apprultxtc"
                  maxlength="35"
wangna committed
178
                  placeholder="请输入申请条款"
liyixun committed
179 180 181 182 183 184
                ></c-input>
              </el-form-item>
            </c-col>
          </c-col>

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

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

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