Preperpc.vue 9.79 KB
Newer Older
liyixun committed
1 2
<template>
  <div class="eibs-tab">
liyixun committed
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
    <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> 

liyixun committed
85 86
                             <!-- SF000875 : Delivery of Undertak. -->
                  
liyixun committed
87
       <!-- <c-col :span="12">
liyixun committed
88 89 90 91 92 93 94 95 96 97
        <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>
liyixun committed
98
       </c-col> -->
liyixun committed
99 100
                 <!-- SF000872 : Charges -->
                  
liyixun committed
101
       <!-- <c-col :span="12">
liyixun committed
102 103 104 105 106 107 108 109 110
        <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>
liyixun committed
111
       </c-col> -->
liyixun committed
112 113
                 <!-- SF000878 : Deli. To/Collection By -->
                  
liyixun committed
114
       <!-- <c-col :span="12">
liyixun committed
115 116 117 118
        <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>
liyixun committed
119
       </c-col> -->
liyixun committed
120 121
                 <!-- SF000879 : Delivery to Address -->
                  
liyixun committed
122
       <!-- <c-col :span="12">
liyixun committed
123 124 125 126 127 128 129
        <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>
liyixun committed
130
       </c-col> -->
liyixun committed
131 132
                 <!-- SF000877 : Presentation Instr.  -->
                  
liyixun committed
133
       <!-- <c-col :span="12">
liyixun committed
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
        <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>
liyixun committed
167
       </c-col> -->
liyixun committed
168 169
                 <!-- SF000880 : Transfer Conditions -->
                  
liyixun committed
170
       <!-- <c-col :span="12">
liyixun committed
171 172 173
        <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>
liyixun committed
174
        </c-col> -->
liyixun committed
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
  </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>