Preperp.vue 12.7 KB
<template>
  <div class="eibs-tab">

    <c-row>
        <c-col :span="24">
            <c-col :span="11">
                <c-col :span="24">
                    <el-form-item label="Delivery of Undertak." prop="gidgrp.rec.delori">
                        <c-fullbox>
                            <c-select :disabled="model.gidgrp.rec.purpos=='ICCO'||model.gidgrp.rec.purpos=='ISCO'" v-model="model.gidgrp.rec.delori" style="width:100%" placeholder="请选择Delivery of Undertak.">
                                <el-option
                                        v-for="item in codes.delori1"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value"
                                        >
                                </el-option>
                            </c-select>
                            <template slot="footer">
                                <c-input :disabled="model.gidgrp.rec.delori!='COUR'&&model.gidgrp.rec.delori!='OTHR'" v-model="model.gidgrp.rec.deloritxt" maxlength="35"  placeholder="请输入Delivery of Undertak."></c-input>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
                    <el-form-item label="Undertaking Send to" prop="gidgrp.rec.sndto">
                        <c-select :disabled="model.gidgrp.rec.purpos=='ICCO'||model.gidgrp.rec.purpos=='ISCO'" v-model="model.gidgrp.rec.sndto" style="width:100%" placeholder="请选择Undertaking Send to">
                            <el-option
                                    v-for="item in codes.rolall"
                                    :key="item.value"
                                    :label="item.label"
                                    :value="item.value"
                                    >
                            </el-option>
                        </c-select>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
                    <el-form-item label="Deliv. To/Collection By" prop="gidgrp.rec.delto">
                        <c-select :disabled="model.gidgrp.rec.purpos=='ICCO'||model.gidgrp.rec.purpos=='ISCO'" v-model="model.gidgrp.rec.delto" style="width:100%" placeholder="请选择Deliv. To/Collection By">
                            <el-option
                                v-for="item in codes.delto"
                                :key="item.value"
                                :label="item.label"
                                :value="item.value"
                                >
                            </el-option>
                        </c-select>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
                    <el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadr">
                        <c-input :disabled="model.gidgrp.rec.delto==''" type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
                    <el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond">
                        <c-input disabled type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
                    </el-form-item>
                </c-col>
            </c-col>

            <c-col :span="11" :offset="1">
                <c-col :span="24">
                    <el-form-item label="Charges Condition">
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
                        <c-select v-model="model.gidgrp.rec.chato" style="width:100%" placeholder="请选择Own Charges Borne by">
                            <el-option
                                v-for="item in chato"
                                :key="item.value"
                                :label="item.label"
                                :value="item.value"
                                >
                            </el-option>                        
                        </c-select>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Charges">
                        <c-fullbox>
                            <template slot="footer">
	                            <c-checkbox v-model="model.gitp.chargi.chkast">Allow *</c-checkbox>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt">
                        <c-fullbox>
                            <c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
                            <template slot="footer"> 
                                <c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel">
                                    ...
                                </c-button>
                            </template>
                        </c-fullbox>
                    </el-form-item>
                </c-col>
            </c-col>
        </c-col>

        <c-col :span="13">
                    <c-col :span="20">
                        <el-form-item v-if="model.gitp.prepermodflg == ''" label="Presentation Instr." prop="gidgrp.blk.preper">
                            <c-input disabled type="textarea" :rows="5" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input>
                        </el-form-item>
                        <c-form-item v-if="model.gitp.prepermodflg == 'X'" label="Presentation Instr." prop="gidgrp.blk.atxpreper">
                            <c-input  type="textarea" :rows="5" v-model="model.gidgrp.blk.atxpreper" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input>
                        </c-form-item>
                    </c-col>
                    <c-col :span="4">
                        <c-checkbox v-model="model.gitp.prepermodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
                        <c-checkbox v-model="model.gitp.chkpreper" style="margin:0 0 0 10px">Allow *</c-checkbox>
                        <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:100px" @click="onGitpButdifpreper">
                            vs. S&ystem
                        </c-button> 
                        <c-button disabled size="small" style="margin:5px 0 0 10px;width:100px" type="primary"  @click="onGitpButdifhispreper">
                            vs. &History
                        </c-button>
                    </c-col>
        </c-col>
    </c-row>
                             <!-- SF000859 : Delivery of Undertak. -->
                  
       <!-- <c-col :span="12">
        <el-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.delori">
            <c-select v-model="model.gidgrp.rec.delori" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.deloritxt">
            <c-input  v-model="model.gidgrp.rec.deloritxt" maxlength="35"  :placeholder="$t('other.please_enter')+$t('gitp.SF000859')"></c-input>
        </c-form-item>
       </c-col> -->
                 <!-- SF000863 : Charges Condition -->
                 <!-- SF000862 : Undertaking Send to -->
                  
       <!-- <c-col :span="12">
        <el-form-item :label="$t('gitp.SF000862')" prop="gidgrp.rec.sndto">
            <c-select v-model="model.gidgrp.rec.sndto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000862')">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
            <c-select v-model="model.gidgrp.rec.chato" style="width:100%" :placeholder="$t('other.please_enter')+'Own Charges Borne by'">
              </c-select>
        </el-form-item>
       </c-col> -->
                 <!-- SF000860 : Deliv. To/Collection By -->
                  
       <!-- <c-col :span="12">
        <el-form-item :label="$t('gitp.SF000860')" prop="gidgrp.rec.delto">
            <c-select v-model="model.gidgrp.rec.delto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000860')">
              </c-select>
        </el-form-item>
       </c-col> -->
                 <!-- SF000864 : Charges -->
                  
       <!-- <c-col :span="12">
	    <c-checkbox v-model="model.gitp.chargi.chkast">{{$t('gitp.CF001069')}}</c-checkbox>
       </c-col> -->
                 <!-- SF000861 : Delivery to Address -->
<!--                   
       <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000861')" prop="gidgrp.blk.deltoadr">
            <c-input type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000861')" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt">
            <c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel">
             {{$t('gitp.CF001057')}}
        </c-button>
       </c-col> -->
                 <!-- SF000728 : Presentation Instr. -->
                  
       <!-- <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.preper">
            <c-input type="textarea" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.atxpreper">
            <c-input type="textarea" v-model="model.gidgrp.blk.atxpreper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.prepermodflg">{{$t('gitp.CF001186')}}</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.chkpreper">{{$t('gitp.CF001187')}}</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifpreper">
             {{$t('gitp.CF001188')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifhispreper">
             {{$t('gitp.CF001189')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.transfer">{{$t('gitp.CF000884')}}</c-checkbox>
       </c-col> -->
                 <!-- SF000885 : Transfer Conditions -->
                  
       <!-- <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000885')" prop="gidgrp.blk.trfcond">
            <c-input type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000885')" ></c-input>
        </c-form-item>
        </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitame/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {
            chato:[
                {value: "U", label:"Applicant Side"},
                {value: "B", label: "Beneficiay Side"},
                {value: "O", label: "Other"},
            ]
        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>