Gitsetp1.vue 8.07 KB
Newer Older
1
<template>
xiameng committed
2
  <div class="eibs">
wangna committed
3
    <!-- ====================左边======================= -->
4
    <c-col :span="12" style="padding-right: 20px;">
5
      <c-col :span="24">
wangna committed
6
        <el-form-item label="保函编号" prop="gidgrp.rec.ownref">
wangna committed
7 8 9 10
          <c-fullbox>
            <c-input
              v-model="model.gidgrp.rec.ownref"
              maxlength="16"
wangna committed
11
              placeholder="请输入保函编号"
wangna committed
12 13 14 15 16 17 18
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
19
                icon="el-icon-info"
wangna committed
20 21
                @click="onSeainf"
              >
22
                
wangna committed
23 24 25
              </c-button>
            </template>
          </c-fullbox>
26
        </el-form-item>
wangna committed
27
      </c-col>
28

wangna committed
29
      <c-col :span="12">
wangna committed
30
        <el-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur">
31 32 33
          <c-select
            v-model="model.gidgrp.cbs.max.cur"
            style="width: 100%"
wangna committed
34
            placeholder="请选择保函币种"
wangna committed
35
            disabled
36 37 38 39 40 41 42 43 44 45 46
          >
            <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>
wangna committed
47
     
wangna committed
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
      <c-col :span="8">
        <el-form-item
          style="text-align: left"
          label-width="5px"
          prop="gidgrp.cbs.max.amt"
        >
          <c-input-currency
            disabled
            v-model="model.gidgrp.cbs.max.amt"
            style="margin: 0 0 0 5px; width: 90%"
          ></c-input-currency>
        </el-form-item>
      </c-col>
      <c-col :span="4" class="centerLable">
        <c-checkbox disabled v-model="model.gitp0.aamgid.addamtflg"
wangna committed
63
          >附加金额</c-checkbox
wangna committed
64
        >
wangna committed
65
      </c-col>
panziyi committed
66
<c-col :span="24">
wangna committed
67
      <c-col :span="12">
wangna committed
68
        <el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
69
          <c-select
wangna committed
70
            disabled
71 72
            v-model="model.gidgrp.cbs.opn1.cur"
            style="width: 100%"
wangna committed
73
            placeholder="请选择保函余额币种"
74 75 76 77 78 79 80 81 82 83 84 85 86
            @keyup.enter.native="nom1CurEvent"
          >
            <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>

wangna committed
87
      <c-col :span="8">
88 89 90 91 92 93
        <el-form-item
          style="text-align: left"
          label-width="5px"
          prop="gidgrp.cbs.opn1.amt"
        >
          <c-input-currency
wangna committed
94
            disabled
95
            v-model="model.gidgrp.cbs.opn1.amt"
wangna committed
96
            style="margin: 0 0 0 5px; width: 90%"
97 98 99
          ></c-input-currency>
        </el-form-item>
      </c-col>
panziyi committed
100
</c-col>
101
      <c-col :span="24">
wangna committed
102
        <el-form-item label="接收目的" prop="gidgrp.rec.purposin">
wangna committed
103 104 105
          <c-select
            v-model="model.gidgrp.rec.purposin"
            style="width: 100%"
wangna committed
106
            placeholder="请选择接收目的 "
wangna committed
107 108 109 110
            :code="codes.purposin"
            disabled
          >
          </c-select>
111 112 113 114
        </el-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
115
        <el-form-item label="报文目的" prop="gidgrp.rec.purpos">
wangna committed
116 117 118
          <c-select
            v-model="model.gidgrp.rec.purpos"
            style="width: 100%"
wangna committed
119
            placeholder="请选择报文目的"
wangna committed
120 121 122 123
            :code="codes.purpos"
            disabled
          >
          </c-select>
124 125 126 127
        </el-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
128
        <el-form-item label="保函类型" prop="gidgrp.rec.gartyp">
wangna committed
129 130 131 132
          <c-select
            disabled
            v-model="model.gidgrp.rec.gartyp"
            style="width: 100%"
wangna committed
133
            placeholder="请选择保函类型"
wangna committed
134
            :code="codes.typgar1"
wangna committed
135 136
          >
          </c-select>
137 138 139 140
        </el-form-item>
      </c-col>

      <c-col :span="13">
wangna committed
141
        <el-form-item label="到期" prop="gidgrp.rec.expdat">
wangna committed
142
          <c-date-picker
wangna committed
143
            disabled
wangna committed
144 145 146
            type="date"
            v-model="model.gidgrp.rec.expdat"
            style="width: 100%"
wangna committed
147
            placeholder="请选择"
148 149 150 151 152 153 154 155 156 157
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="11">
        <el-form-item
          style="text-align: left"
          label-width="5px"
          prop="gidgrp.rec.exptyp"
        >
wangna committed
158
          <c-select
159
            v-model="model.gidgrp.rec.exptyp"
wangna committed
160
            style="width: 100%"
wangna committed
161
            placeholder="请选择到期类型"
wangna committed
162
            :code="codes.exptyp"
wangna committed
163
            disabled
wangna committed
164 165
          >
          </c-select>
166 167 168
        </el-form-item>
      </c-col>

wangna committed
169
      <c-col :span="13" >
wangna committed
170
        <el-form-item v-show="model.gidgrp.rec.liatypc != ''" label="责任日期" prop="gidgrp.rec.liadat">
wangna committed
171 172 173 174 175 176
          <c-date-picker
            disabled
            type="date"
            v-show="model.gidgrp.rec.liadat != ''"
            v-model="model.gidgrp.rec.liadat"
            style="width: 100%"
wangna committed
177
            placeholder="请选择责任日期"
wangna committed
178 179 180 181 182 183 184 185 186 187 188 189 190
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="11" v-show="model.gidgrp.rec.liadat != ''">
        <el-form-item
          style="text-align: left"
          label-width="5px"
          prop="gidgrp.rec.liatypc"
        >
          <c-select
            v-model="model.gidgrp.rec.liatypc"
            style="width: 100%"
wangna committed
191
            placeholder="请选择责任类型"
wangna committed
192 193 194 195 196 197 198
            :code="codes.liatypc"
            disabled
          >
          </c-select>
        </el-form-item>
      </c-col>

199
      <c-col :span="24">
wangna committed
200
        <el-form-item label="参考日期 " prop="setmod.refdat">
wangna committed
201 202 203 204 205
          <c-date-picker
            disabled
            type="date"
            v-model="model.setmod.refdat"
            style="width: 100%"
wangna committed
206
            placeholder="请选择参考日期 "
wangna committed
207
          ></c-date-picker>
208 209 210 211
        </el-form-item>
      </c-col>
    </c-col>

wangna committed
212
    <!-- ========================右边======================= -->
213
    <c-col :span="12" style="padding-left: 20px;">
214
      <c-col :span="24">
wangna committed
215
        <el-form-item label="简略信息" prop="gidgrp.rec.nam">
wangna committed
216 217 218 219
          <c-input
            disabled
            v-model="model.gidgrp.rec.nam"
            maxlength="40"
wangna committed
220
            placeholder="请输入简略信息"
wangna committed
221
          ></c-input>
222
        </el-form-item>
wangna committed
223
      </c-col>
224

wangna committed
225
      <c-col :span="24">
wangna committed
226
        <el-form-item label="申请人" prop="gidgrp.apl.pts.nam">
wangna committed
227 228 229 230
          <c-input
            disabled
            v-model="model.gidgrp.apl.pts.nam"
            maxlength="40"
wangna committed
231
            placeholder="请输入"
wangna committed
232
          ></c-input>
233
        </el-form-item>
wangna committed
234
      </c-col>
235

wangna committed
236
      <c-col :span="24">
wangna committed
237
        <el-form-item label="受益人" prop="gidgrp.ben.pts.nam">
wangna committed
238 239 240 241
          <c-input
            disabled
            v-model="model.gidgrp.ben.pts.nam"
            maxlength="40"
wangna committed
242
            placeholder="请输入"
wangna committed
243
          ></c-input>
244
        </el-form-item>
wangna committed
245
      </c-col>
246

wangna committed
247
      <c-col :span="24">
wangna committed
248
        <el-form-item label="帐户行" prop="gidgrp.ctr.pts.nam">
wangna committed
249 250 251 252
          <c-input
            disabled
            v-model="model.gidgrp.ctr.pts.nam"
            maxlength="40"
wangna committed
253
            placeholder="请输入"
wangna committed
254
          ></c-input>
255
        </el-form-item>
wangna committed
256
      </c-col>
257

wangna committed
258
      <c-col :span="24">
wangna committed
259
        <el-form-item label="开证行" prop="gidgrp.iss.pts.nam">
wangna committed
260 261 262 263
          <c-input
            disabled
            v-model="model.gidgrp.iss.pts.nam"
            maxlength="40"
wangna committed
264
            placeholder="请输入开证行"
wangna committed
265
          ></c-input>
266
        </el-form-item>
wangna committed
267
      </c-col>
268 269 270 271
    </c-col>
  </div>
</template>
<script>
wangna committed
272
import Api from "~/service/Api";
273
import commonProcess from "~/mixin/commonProcess";
wangna committed
274 275
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitcom/Event";
276 277

export default {
wangna committed
278 279 280 281 282 283 284 285 286
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: {
    ...Event,
    onSeainf(data) {
wangna committed
287 288
      this.$emit("onSeainf", data);
    },
wangna committed
289 290 291
  },
  created: function () {},
};
292 293 294
</script>
<style>
</style>