Payp.vue 14 KB
Newer Older
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 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 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 167 168 169 170 171 172 173 174 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 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341
<template>
  <div class="eibs-tab">
                              
    <c-row>
            <c-col :span="10">
                <el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref" style="width: 100%">
                    <c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" style="width: 95%"
                        placeholder="请输入Transfer Reference" disabled></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="1">
                <!-- <el-form-item label="" label-width="5px"> -->
                <c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
                    <span style="
                                font-size: 15px;
                                font-family: '宋体';
                                font-weight: bold;
                            ">i</span>
                </c-button>
                <!-- </el-form-item> -->
            </c-col>

            <c-col :span="10" :offset="1">
                <el-form-item label="L/C Reference" prop="ledgrp.rec.ownref" style="width: 100%">
                    <c-input v-model="model.ledgrp.rec.ownref" maxlength="16" style="width: 95%"
                        placeholder="请输入L/C Reference" disabled></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="1">
                <!-- <el-form-item label="" label-width="5px"> -->
                <c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
                    <span style="
                                font-size: 15px;
                                font-family: '宋体';
                                font-weight: bold;
                            ">i</span>
                </c-button>
                <!-- </el-form-item> -->
            </c-col>
        </c-row>
                 <!-- S0000256 : Transfer Reference -->
                  
                 <c-row>
            <c-col :span="10">
                <el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref" style="width: 100%">
                    <c-input v-model="model.btdgrp.rec.ownref" maxlength="16" style="width: 95%"
                        placeholder="请输入Doc. Set Reference" disabled></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="1">
                <!-- <el-form-item label="" label-width="5px"> -->
                <c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
                    <span style="
                                font-size: 15px;
                                font-family: '宋体';
                                font-weight: bold;
                            ">i</span>
                </c-button>
                <!-- </el-form-item> -->
            </c-col>

            <c-col :span="10" :offset="1">
                <el-form-item label="" prop="btdgrp.rec.nam" style="width: 100%">
                    <c-input v-model="model.btdgrp.rec.nam" maxlength="40" style="width: 95%"
                        placeholder="请输入Name of Bill Contract" disabled ></c-input>
                </el-form-item>
            </c-col>
        </c-row>
                 <!-- S0000257 : L/C Reference -->
                  
                 <c-row>
            <c-col :span="12">
                <c-col :span="18">
                    <c-col :span="14">
                        <el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
                            <c-select disabled v-model="model.btdgrp.cbs.max.cur" style="width: 100%"
                                placeholder="请选择Currency">
                                <!--@keyup.enter.native="nom1CurEvent"-->
                                <el-option v-for="item in codes.cur" :key="item.value" :label="item.label"
                                    :value="item.value" disabled>
                                </el-option>
                            </c-select>
                        </el-form-item>
                    </c-col>

                    <c-col :span="9" :offset="1">
                        <el-form-item style="text-align: left" label-width="0" prop="btdgrp.cbs.max.amt">
                            <c-input-currency v-model="model.btdgrp.cbs.max.amt" style="text-align: left; width: 100%"
                                placeholder="Document Amount" disabled></c-input-currency>
                        </el-form-item>
                    </c-col>

                </c-col>
                <c-col :span="5" :offset="1">
                    <c-checkbox  disabled v-model="model.bttp.aammod.addamtflg" >Add. Amount</c-checkbox>
                </c-col>
            </c-col>
            <c-col :span="11">
                <el-form-item label="1st Beneficiary Ref." prop="btdgrp.be1.pts.ref">
                    <c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" style="width: 95%"
                        placeholder="请输入1st Beneficiary" disabled></c-input>
                </el-form-item>
            </c-col>
        </c-row>
                  
        <el-row>
        <c-col :span="12">
            <c-col :span="18">
                <c-col :span="14">
                    <el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
                    <c-select disabled v-model="model.btdgrp.cbs.opn1.cur" style="width: 100%"
                        placeholder="请选择Currency">
                        <!--@keyup.enter.native="nom1CurEvent"-->
                        <el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
                        </el-option>
                    </c-select>
                </el-form-item>
                </c-col>
                
            
            <c-col :span="9" :offset="1">
                <el-form-item style="text-align: left" label-width="0px" prop="btdgrp.cbs.opn1.amt">
                    <c-input-currency v-model="model.btdgrp.cbs.opn1.am" style="text-align: left; width: 100%"
                        placeholder="Balance Amount" disabled></c-input-currency>
                </el-form-item>
            </c-col>
            </c-col>
        </c-col>
            <c-col :span="11" >
                <el-form-item label="" prop="btdgrp.be1.pts.nam">
                    <c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" style="width: 95%"
                        placeholder="请输入Name of Party" disabled></c-input>
                </el-form-item>
            </c-col>
        </el-row>
                  
       
        <el-row>
            <c-col :span="11">
                <el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
                    <c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" style="width: 95%"
                        placeholder="请输入Document Type" disabled></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="11" :offset="1">
                <el-form-item label="2nd Beneficiary Ref." prop="btdgrp.be2.pts.ref">
                    <c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" style="width: 95%"
                        placeholder="请输入2nd Beneficiary" disabled></c-input>
                </el-form-item>
            </c-col>
        </el-row>
                 <!-- S0000250 : Document Amount -->
                  
                 <el-row>
            <c-col :span="11">
                <el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
                    <c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:95%"
                        placeholder="请选择Maturity Date" disabled></c-date-picker>
                </el-form-item>
            </c-col>
            <c-col :span="11" :offset="1">
                <el-form-item label="" prop="btdgrp.be2.pts.nam">
                    <c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" style="width:95%"
                        placeholder="请输入Name of Party" disabled></c-input>
                </el-form-item>
            </c-col>
        </el-row>
                  
        <el-row>
            <c-col :span="11">
                <el-form-item label="Presentation Date" prop="btdgrp.rec.predat">
                    <c-date-picker type="date" v-model="model.btdgrp.rec.predat" style="width:95%"
                        placeholder="请选择Presentation Date" disabled></c-date-picker>
                </el-form-item>
            </c-col>

            <c-col :span="11" :offset="1">
                <el-form-item label="Presenting Bank Ref." prop="btdgrp.prb.pts.ref">
                    <c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" style="width:95%"
                        placeholder="请输入Presenting Bank" disabled></c-input>
                </el-form-item>
            </c-col>

        </el-row>
                 <!-- S0000249 : Open Amount -->
                  
                 <el-row>
            <c-col :span="11">
                <el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
                    <c-input v-model="model.btdgrp.rec.docsta" maxlength="40" style="width:95%"
                        placeholder="请输入Document Set Status" disabled></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="11" :offset="1">
                <el-form-item label="" prop="btdgrp.prb.pts.nam">
                    <c-input v-model="model.btdgrp.prb.pts.nam" maxlength="40" style="width:95%"
                        placeholder="Name of Presenting Bank" disabled></c-input>
                </el-form-item>
            </c-col>
        </el-row>
        <c-row> 

       <c-col :span="6">
        <el-form-item label="Presentation Date" prop="btdgrp.be1.pts.nam">
            <c-date-picker  v-model="model.btdgrp.be1.pts.nam" maxlength="40" style="width:100%"
            placeholder="请选择Presentation Date"></c-date-picker>
        </el-form-item>
       </c-col>
                 <!-- S0000248 : 2nd Beneficiary -->
                 <!-- S0000254 : Ref. -->
                  
       <c-col :span="6">
        <el-form-item label="Rec.Date 1st Ben." prop="btdgrp.be2.pts.ref">
            <c-date-picker  v-model="model.btdgrp.be2.pts.ref" maxlength="16" 
            style="width:100%" placeholder="请输入Rec.Date 1st Ben."></c-date-picker>
        </el-form-item>
       </c-col>
    
                 <!-- S0000252 : Document Type -->
                  
       <c-col :span="11">
        <c-form-item label="Presented by" prop="btdgrp.rec.rolall">
            <c-select  v-model="model.btdgrp.rec.rolall" 
            style="width:95%" placeholder="请选择Presented by" :code="codes.rolall"
            @change="executeDefault('btdgrp.rec.rolall')"></c-select>
        </c-form-item>
       </c-col>
       </c-row>

    <!--左边-->
       <c-col :span="12">
         <c-col :span="12" :offset="12">
            <el-form-item label="Rec.Date 2st Ben." prop="btdgrp.be2.pts.ref">
             <c-date-picker  v-model="model.btdgrp.be2.pts.ref" maxlength="16" 
             style="width:100%" placeholder="请输入Rec.Date 2st Ben."></c-date-picker>
        </el-form-item>
         </c-col>

         <c-col :span="11">
            <c-form-item label="New Benificiary Ref." prop="btdgrp.blk.benref">
               <c-input type="textarea" v-model="model.btdgrp.blk.benref" maxlength="16"
               show-word-limit placeholder="请输入New Benificiary Ref." ></c-input>
            </c-form-item>
         </c-col>

         <c-col :span="12" :offset="1">
            <c-form-item label="Less comm." prop="btdgrp.rec.lescom">
             <c-input  v-model="model.btdgrp.rec.lescom"  placeholder="请输入Less comm."></c-input>
            </c-form-item>
         </c-col>

         <c-col :span="24">
         <c-form-item label="Instructions (1st Beneficiary)" prop="btdgrp.blk.be1ins">
            <c-input type="textarea" v-model="model.btdgrp.blk.be1ins" maxlength="65" 
            show-word-limit placeholder="请输入Instructions (1st Beneficiary)" rows="4" ></c-input>
         </c-form-item>
        </c-col>
              
        <c-col :span="24">
        <c-form-item label="Instructions (2nd Beneficiary)" prop="btdgrp.blk.be2ins">
            <c-input type="textarea" v-model="model.btdgrp.blk.be2ins"
             maxlength="65" show-word-limit placeholder="请输入Instructions (2nd Beneficiary)" rows="4" disabled ></c-input>
        </c-form-item>
        </c-col>
       </c-col>

    <!--右边-->
       <c-col :span="12">
        <c-col :span="24">
          <c-ptap1
            :model="model"
            :argadr="{
              title: '',
              grp: 'btdgrp',
              rol: 'prb',
            }"
            :disabled="true"
            @onSeainf="onSeainf"
            @onAplpDet="onOthpDet"
           
          >
          </c-ptap1>
        </c-col>

        <c-col :span="24">
        <el-form-item label="Payer" prop="btdgrp.rec.payrol">
            <c-select v-model="model.btdgrp.rec.payrol" style="width:100%" 
            placeholder="请选择Payer"  :code="codes.rolall1" @change="executeDefault('btdgrp.rec.payrol')">
              </c-select>
        </el-form-item>
       </c-col>
       
        <c-col :span="24">
          <c-ptap1
            :model="model"
            :argadr="{
              title: '',
              grp: 'btdgrp',
              rol: 'oth',
            }"
            @onSeainf="onSeainf"
            @onAplpDet="onOthpDet"
            :disabled1="model.btdgrp.rec.payrol!='OTH'"
            @change="console.log(123)" 
          >
          </c-ptap1>
        </c-col>

       </c-col> 
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bttsnd/Event";
import Ptap1 from "~/views/Public/Ptap1";

export default {
    components: { "c-ptap1": Ptap1 },
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

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

    }
}
</script>
<style>

</style>