Preperpc.vue 9.79 KB
<template>
  <div class="eibs-tab">
    <c-row>
        <c-col :span="24">
            <c-col :span="12">
                    <c-col :span="24">
                        <el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric">
                            <c-fullbox>
                                <c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
                                    <el-option
                                        v-for="item in codes.deloric"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value"
                                        >
                                    </el-option>
                                </c-select>
                                <template slot="footer" >
                                    <c-input :disabled="model.gidgrp.rec.deloric!='OTHR'&&model.gidgrp.rec.deloric!='COUR'" v-model="model.gidgrp.rec.deloritxtc" maxlength="35"  placeholder="请输入Delivery of Undertak."></c-input>
                                </template>
                            </c-fullbox>  
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="Deli. To/Collection By" prop="gidgrp.rec.deltoc">
                            <c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" placeholder="请选择Deli. To/Collection By">
                                <el-option
                                        v-for="item in codes.deltoc"
                                        :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.deltoadrc">
                            <c-input :disabled="model.gidgrp.rec.deltoc=='BENE'" type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <c-col :span="20">
                                <el-form-item label="Presentation Instr. " prop="gidgrp.blk.preperc">
                                    <c-input :disabled="model.gitp.prepercmodflg==''" rows="6" type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr. " ></c-input>
                                </el-form-item>
                        </c-col>
                        <c-col :span="4">
                            <c-checkbox v-model="model.gitp.prepercmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
                            <c-checkbox v-model="model.gitp.chkpreperc" style="margin:0 0 0 10px">Allow *</c-checkbox>
                            <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:98px" @click="onGitpButdifpreperc">
                                vs. &System
                            </c-button> 
                            <c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary"  @click="onGitpButdifhispreperc">
                                vs. &History
                            </c-button>
                        </c-col>
                    </c-col>
            </c-col>
            <c-col :span="11" :offset="1">
                    <c-col :span="24">
                        <c-col :span="20">
                                <el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
                                        <c-input rows="4" type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
                                </el-form-item>
                        </c-col>
                        <c-col :span="4">
                            <c-button style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
                                 ...
                            </c-button>

                            <c-checkbox style="margin:0 0 0 10px" v-model="model.gitp.chargic.chkast">Allow *</c-checkbox>
                        </c-col>
                        
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc">
                            <c-input disabled rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
                        </el-form-item>
                    </c-col>
            </c-col>
        </c-col>
    </c-row> 

                             <!-- SF000875 : Delivery of Undertak. -->
                  
       <!-- <c-col :span="12">
        <el-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloric">
            <c-select v-model="model.gidgrp.rec.deloric" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloritxtc">
            <c-input  v-model="model.gidgrp.rec.deloritxtc" maxlength="35"  :placeholder="$t('other.please_enter')+$t('gitp.SF000875')"></c-input>
        </c-form-item>
       </c-col> -->
                 <!-- SF000872 : Charges -->
                  
       <!-- <c-col :span="12">
        <c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
            <c-input type="textarea" v-model="model.gidgrp.blk.feetxtc" 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="onChargicButtxmsel">
             {{$t('gitp.CF000878')}}
        </c-button>
       </c-col> -->
                 <!-- SF000878 : Deli. To/Collection By -->
                  
       <!-- <c-col :span="12">
        <el-form-item :label="$t('gitp.SF000878')" prop="gidgrp.rec.deltoc">
            <c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000878')">
              </c-select>
        </el-form-item>
       </c-col> -->
                 <!-- SF000879 : Delivery to Address -->
                  
       <!-- <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000879')" prop="gidgrp.blk.deltoadrc">
            <c-input type="textarea" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000879')" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.chargic.chkast">{{$t('gitp.CF000879')}}</c-checkbox>
       </c-col> -->
                 <!-- SF000877 : Presentation Instr.  -->
                  
       <!-- <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000877')" prop="gidgrp.blk.preperc">
            <c-input type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000877')" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000877')" prop="gidgrp.blk.atxpreperc">
            <c-input type="textarea" v-model="model.gidgrp.blk.atxpreperc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000877')" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.prepercmodflg">{{$t('gitp.CF001195')}}</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.chkpreperc">{{$t('gitp.CF001196')}}</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifpreperc">
             {{$t('gitp.CF001197')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifhispreperc">
             {{$t('gitp.CF001198')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.transferc">{{$t('gitp.CF000877')}}</c-checkbox>
       </c-col> -->
                 <!-- SF000880 : Transfer Conditions -->
                  
       <!-- <c-col :span="12">
        <c-form-item :label="$t('gitp.SF000880')" prop="gidgrp.blk.trfcondc">
            <c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000880')" ></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/Getopn/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>