Ovwpc.vue 9.11 KB
Newer Older
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>
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="请选择保函类型 "
liyixun committed
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
                >
                  <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="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
71
                  placeholder="请输入保函类型 "
liyixun committed
72 73 74 75 76 77
                ></c-input>
              </el-form-item>
            </c-col>
          </c-col>

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

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

          <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
              >
                <el-option
                  v-for="item in codes.exptyp"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
196
              </c-select>
liyixun committed
197 198 199
            </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 210 211 212 213
              ></c-date-picker>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <c-col :span="20">
              <el-form-item
wangna committed
214
                label="到期条件"
liyixun committed
215 216 217 218 219 220 221 222 223
                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
224
                  placeholder="请输入到期条件"
liyixun committed
225 226 227 228 229 230 231 232 233 234 235 236
                ></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
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;width:100px"
                @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;width:100px"
                @click="onGitpButdifhisexptxt"
              >
wangna committed
255
                查看历史文本
liyixun committed
256 257 258 259 260 261 262
              </c-button>
            </c-col>
          </c-col>
        </c-col>
      </c-col>
    </c-row>
  </div>
263 264
</template>
<script>
liyixun committed
265
import Api from "~/service/Api";
266
import commonProcess from "~/mixin/commonProcess";
liyixun committed
267 268
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
269 270

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