Conp.vue 12 KB
Newer Older
lianyang committed
1 2 3 4 5
<template>
  <div class="eibs-tab">
    <c-row>
      <!-- =========================== 左边 ==========================-->
      <c-col :span="11">
6
        <!-- Reference -->
lianyang committed
7 8
        <c-col :span="24">
          <el-form-item label="Reference" prop="ledgrp.rec.ownref">
9 10 11 12 13 14
            <c-input
              v-model="model.ledgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入Reference"
              disabled
            ></c-input>
lianyang committed
15 16 17
          </el-form-item>
        </c-col>

18
        <!-- L/C Amount -->
19
        <c-col :span="24">
lianyang committed
20 21
        <c-col :span="12">
          <el-form-item label="L/C Amount" prop="ledgrp.cbs.nom1.cur">
22 23 24 25 26 27 28
            <c-select
              v-model="model.ledgrp.cbs.nom1.cur"
              maxlength="3"
              placeholder="请输入Nominal Amount"
              :code="codes.curtxt1"
              disabled
            ></c-select>
lianyang committed
29 30 31 32
          </el-form-item>
        </c-col>
        <c-col :span="7">
          <el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
33 34 35 36 37 38
            <c-input
              v-model="model.ledgrp.cbs.nom1.amt"
              class="m-input-currency"
              placeholder="请输入Nominal Amount"
              disabled
            ></c-input>
lianyang committed
39 40 41
          </el-form-item>
        </c-col>
        <c-col :span="3" :offset="1">
42 43 44 45
          <c-checkbox v-model="model.letp.letp0.aammod.addamtflg" disabled
            >Add. Amount</c-checkbox
          >
        </c-col>
46
        </c-col>
47
        <!-- Open Amount -->
48
        <c-col :span="24">
lianyang committed
49 50
        <c-col :span="12">
          <el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
51 52 53 54 55 56 57
            <c-select
              v-model="model.ledgrp.cbs.opn1.cur"
              maxlength="3"
              placeholder="请输入Open Amount"
              :code="codes.curtxt1"
              disabled
            ></c-select>
lianyang committed
58 59 60 61
          </el-form-item>
        </c-col>
        <c-col :span="7">
          <el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
62 63 64 65 66 67
            <c-input
              v-model="model.ledgrp.cbs.opn1.amt"
              class="m-input-currency"
              placeholder="请输入Balance"
              disabled
            ></c-input>
lianyang committed
68 69 70
          </el-form-item>
        </c-col>
        <c-col :span="3" :offset="1">
71 72 73
          <c-checkbox v-model="model.ledgrp.rec.revflg" disabled
            >Revolving L/C</c-checkbox
          >
lianyang committed
74
        </c-col>
75
      </c-col>
76
        <!-- Available with -->
lianyang committed
77 78
        <c-col :span="24">
          <el-form-item label="Available with" prop="ledgrp.avbnam">
79 80 81 82 83 84
            <c-input
              v-model="model.ledgrp.avbnam"
              maxlength="40"
              placeholder="请输入Available with"
              disabled
            ></c-input>
lianyang committed
85 86
          </el-form-item>
        </c-col>
87
        <!-- by -->
lianyang committed
88 89 90
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="by" prop="ledgrp.rec.avbby">
91 92 93 94
              <c-select
                v-model="model.ledgrp.rec.avbby"
                style="width: 100%"
                placeholder="请选择Available by [AVBBY0]"
95
                :code="codes.avbby0"
96 97
                disabled
              >
lianyang committed
98 99 100 101
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="11" :offset="1">
102
            <c-checkbox v-model="model.ledgrp.rec.redclsflg" disabled
jianglong committed
103
              >红/绿条款</c-checkbox
104
            >
lianyang committed
105 106
          </c-col>
        </c-col>
107 108

        <!-- Date Issued -->
lianyang committed
109 110
        <c-col :span="12">
          <el-form-item label="Date Issued" prop="ledgrp.rec.opndat">
111 112 113 114 115 116 117 118
            <c-date-picker
              type="date"
              v-model="model.ledgrp.rec.opndat"
              style="width: 100%"
              placeholder="请选择Issued on"
              value-format="yyyy-MM-dd"
              disabled
            >
lianyang committed
119 120 121
            </c-date-picker>
          </el-form-item>
        </c-col>
122
        <!-- Shipment Date -->
lianyang committed
123 124
        <c-col :span="12">
          <el-form-item label="Shipment Date" prop="ledgrp.rec.shpdat">
125 126 127 128 129 130 131 132
            <c-date-picker
              type="date"
              v-model="model.ledgrp.rec.shpdat"
              style="width: 100%"
              value-format="yyyy-MM-dd"
              placeholder="请选择Shipment Date"
              disabled
            >
lianyang committed
133 134 135
            </c-date-picker>
          </el-form-item>
        </c-col>
136
        <!-- Date/Place of Expiry -->
lianyang committed
137 138
        <c-col :span="13">
          <el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expdat">
139 140 141 142 143 144 145 146
            <c-date-picker
              type="date"
              v-model="model.ledgrp.rec.expdat"
              style="width: 100%"
              placeholder="请选择Expiring on"
              value-format="yyyy-MM-dd"
              disabled
            >
lianyang committed
147 148 149 150 151 152
            </c-date-picker>
          </el-form-item>
        </c-col>

        <c-col :span="11">
          <el-form-item label="" label-width="10px" prop="ledgrp.rec.expplc">
153 154 155 156 157 158
            <c-input
              v-model="model.ledgrp.rec.expplc"
              maxlength="29"
              placeholder="请输入in (Place)/ counters of"
              disabled
            ></c-input>
lianyang committed
159 160 161 162 163
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
164 165 166 167
            <c-select
              v-model="model.ledgrp.rec.lcrtyp"
              style="width: 100%"
              placeholder="请选择Form of L/C"
168
              :code="codes.lcrtyp1"
169 170
              disabled
            >
lianyang committed
171 172 173 174
            </c-select>
          </el-form-item>
        </c-col>

175
        <!-- Condition -->
lianyang committed
176 177
        <c-col :span="24">
          <el-form-item label="Condition" prop="ledgrp.rec.cnfdet">
178 179 180 181
            <c-select
              v-model="model.ledgrp.rec.cnfdet"
              style="width: 100%"
              placeholder="请选择Confirmation Instruct."
182
              :code="codes.cnfins"
183 184
              disabled
            >
lianyang committed
185 186 187 188 189 190
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="Confirmation Status " prop="ledgrp.rec.cnfsta">
191 192 193 194
            <c-select
              v-model="model.ledgrp.rec.cnfsta"
              style="width: 100%"
              placeholder="请选择Confirmation Status "
195
              :code="codes.cnfsta"
196 197
              disabled
            >
lianyang committed
198 199 200
            </c-select>
          </el-form-item>
        </c-col>
201

lianyang committed
202 203 204
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="Confirmation" prop="ledgrp.cbs.cnf.cur">
205 206 207 208 209
              <c-select
                v-model="model.ledgrp.cbs.cnf.cur"
                maxlength="3"
                placeholder="请输入Confirmation"
                :code="codes.curtxt1"
210
                style="width:100%"
211 212
                disabled
              ></c-select>
lianyang committed
213 214 215 216
            </el-form-item>
          </c-col>
          <c-col :span="8">
            <el-form-item label="" label-width="10px" prop="ledgrp.cbs.cnf.amt">
217 218 219 220
              <c-input
                v-model="model.ledgrp.cbs.cnf.amt"
                class="m-input-currency"
                placeholder="请输入Balance"
221
                @keyup.enter.native="$event.target.blur()"
222
              ></c-input>
lianyang committed
223 224 225 226 227
            </el-form-item>
          </c-col>
          <c-col :span="4">
            <el-form-item label="" label-width="10px" prop="ledgrp.rec.partcon">
              <c-fullbox>
228 229 230
                <c-input
                  v-model="model.ledgrp.rec.partcon"
                  placeholder="请输入Partial Confirmation"
231
                  @keyup.enter.native="$event.target.blur()"
232
                ></c-input>
lianyang committed
233 234 235 236 237 238
                <!-- <span>%</span> -->
                <template slot="footer">%</template>
              </c-fullbox>
            </el-form-item>
          </c-col>
        </c-col>
239

lianyang committed
240 241
        <c-col :span="24">
          <el-form-item label="Confir. Requested on" prop="reqdat">
242 243 244 245 246 247 248
            <c-date-picker
              type="date"
              v-model="model.reqdat"
              style="width: 100%"
              placeholder="请选择Confir. Requested on"
              value-format="yyyy-MM-dd"
            >
lianyang committed
249 250 251 252 253 254
            </c-date-picker>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="Confirmed on" prop="ledgrp.rec.cnfdat">
255 256 257 258 259 260 261
            <c-date-picker
              type="date"
              v-model="model.ledgrp.rec.cnfdat"
              style="width: 100%"
              placeholder="请选择Confirmed on"
              value-format="yyyy-MM-dd"
            >
lianyang committed
262 263 264 265 266 267 268
            </c-date-picker>
          </el-form-item>
        </c-col>
      </c-col>

      <!-- =========================== 右边 ==========================-->
      <c-col :span="11" :offset="1">
269
        <!-- <c-col :span="12">
lianyang committed
270
          <el-form-item label="name" prop="letp.letp0.recget.sdamod.dadsnd">
271 272 273 274 275
            <c-input
              v-model="model.letp.letp0.recget.sdamod.dadsnd"
              placeholder="请输入Reference"
              disabled
            ></c-input>
lianyang committed
276
          </el-form-item>
277
        </c-col> -->
lianyang committed
278

279 280
        <c-col :span="24">
          <el-form-item label="Name" prop="ledgrp.rec.nam">
281 282 283 284 285 286
            <c-input
              v-model="model.ledgrp.rec.nam"
              maxlength="40"
              placeholder="请输入Name"
              disabled
            ></c-input>
lianyang committed
287 288 289 290 291 292
          </el-form-item>
        </c-col>

        <!-- Applicant         Ref. -->
        <c-col :span="24">
          <el-form-item label="Applicant Ref." prop="ledgrp.apl.pts.ref">
293 294 295 296 297 298
            <c-input
              v-model="model.ledgrp.apl.pts.ref"
              maxlength="16"
              placeholder="请输入Applicant Ref."
              disabled
            ></c-input>
lianyang committed
299 300 301 302 303
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="" prop="ledgrp.apl.pts.nam">
304 305 306 307 308 309
            <c-input
              v-model="model.ledgrp.apl.pts.nam"
              maxlength="40"
              placeholder="请输入Name of Party"
              disabled
            ></c-input>
lianyang committed
310 311 312 313
          </el-form-item>
        </c-col>

        <c-col :span="24">
314
          <el-form-item label="Iss.Bank Original LC No." prop="ledgrp.iss.pts.ref">
315 316 317 318 319 320
            <c-input
              v-model="model.ledgrp.iss.pts.ref"
              maxlength="16"
              placeholder="请输入Issuer Ref."
              disabled
            >
lianyang committed
321 322 323 324 325 326
            </c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="" prop="ledgrp.iss.pts.nam">
327 328 329 330 331 332
            <c-input
              v-model="model.ledgrp.iss.pts.nam"
              maxlength="40"
              placeholder="请输入Name of Party"
              disabled
            ></c-input>
lianyang committed
333 334 335
          </el-form-item>
        </c-col>

336
        <c-col :span="24">
lianyang committed
337
          <el-form-item label="Beneficiary Ref." prop="ledgrp.ben.pts.ref">
338 339 340 341 342 343
            <c-input
              v-model="model.ledgrp.ben.pts.ref"
              maxlength="16"
              placeholder="请输入Beneficiary Ref."
              disabled
            ></c-input>
lianyang committed
344 345 346
          </el-form-item>
        </c-col>

347 348
        <c-col :span="24">
          <el-form-item label="" prop="ledgrp.ben.pts.nam">
349 350 351
            <c-input
              v-model="model.ledgrp.ben.pts.nam"
              maxlength="40"
352
              placeholder="请输入"
353 354
              disabled
            ></c-input>
lianyang committed
355 356 357 358 359
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="" prop="letp.letp0.cnftxt">
360 361 362 363 364 365
            <c-input
              v-model="model.letp.letp0.cnftxt"
              maxlength="40"
              placeholder="请输入Form of L/C"
              disabled
            ></c-input>
lianyang committed
366 367 368 369 370 371 372
          </el-form-item>
        </c-col>
      </c-col>
    </c-row>
  </div>
</template>
<script>
373 374 375 376 377
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letamc/Event'
import Utils from "~/utils";
lianyang committed
378 379 380

export default {
  inject: ['root'],
381
  props: ['model', 'codes'],
lianyang committed
382 383
  mixins: [commonProcess],
  data() {
384
    return {}
lianyang committed
385
  },
386 387 388 389
  methods: { 
    ...Event,
  },
  created: function () {},
lianyang committed
390 391
}
</script>
392
<style></style>