Adcp.vue 3.06 KB
Newer Older
fukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
<template>
    <div class="eibs">

        <!-- Additional condtions,附加条款;单独占一行  -->
        <c-col :span="24" style="padding-top: 20px">

            <c-col :span="24">
                <c-ptap-commons  :cols="65" :rows="800" :minRows="20" :maxRows="800" :model="model"
                                 @handleChange="adlcndChange"
                                 :extCodes="['ledgrp','blk']"  lastModel="adlcnd" title="Additional Conditions(47A)">
                </c-ptap-commons>
            </c-col>


            <!-- Additional Details to  Charges  -->

            <c-col :span="24">
                <c-ptap-commons  :cols="35" :rows="6" :minRows="6" :maxRows="6" :model="model"
                                 @handleChange="feetxtChange"
                                 :extCodes="['ledgrp','blk']"  lastModel="feetxt" title="Additional Details to Charges(71D)">
                </c-ptap-commons>
            </c-col>


            <!-- Instructions to Pay., Accept.,Negot. Bank -->
            <c-col :span="24">
                <c-ptap-commons  :cols="65" :rows="12" :minRows="6" :maxRows="12" :model="model"
                                 @handleChange="insbnkChange"
                                 :extCodes="['ledgrp','blk']"  lastModel="insbnk" title="Instructions to Pay., Accept., Negot. Bank(78)">
                </c-ptap-commons>
            </c-col>

        </c-col>

        <c-col :span="24">


        </c-col>

        <c-col :span="24">

            <c-col :span="24">
                <el-form-item class="checkbox-left">
                    <c-checkbox v-model="model.ledgrp.rec.spcbenflg"
                                true-label="X" false-label=""
                                :disabled="this.model.ledgrp.blk.spcben != null && this.model.ledgrp.blk.spcben != ''"
                    >Special Payment Conditions for Beneficiary(49G)
                    </c-checkbox
                    >
                </el-form-item>
            </c-col>

            <c-col :span="24">
                <el-form-item class="checkbox-left">
                    <c-checkbox v-model="model.ledgrp.rec.spcrcbflg"
                                true-label="X" false-label=""
                                :disabled="this.model.ledgrp.blk.spcrcb != null && this.model.ledgrp.blk.spcrcb != ''"
                    >Special Payment Conditions for Bank only(49H)
                    </c-checkbox
                    >
                </el-form-item>
            </c-col>
        </c-col>
    </div>
</template>
<script>

import event from "../event";
import commonDepend from "~/mixin/commonDepend";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [event,commonDepend],
  data() {
    return {};
  },
    methods:{
        adlcndChange(){
            this.customAddModify(this.model.ledgrp.blk,"adlcnd");
        },
        feetxtChange(){
            this.customAddModify(this.model.ledgrp.blk,"feetxt");
        },
        insbnkChange(){
            this.customAddModify(this.model.ledgrp.blk,"insbnk");
        },
    },
};
</script>
<style>

</style>