Ptyp.vue 13.1 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 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
    <c-row>
        <c-col :span="24">
            <c-col :span="11">
                     <c-col :span="24">
                            <el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref">
                                <c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16"  placeholder="请输入Applicant Ref."></c-input>
                            </el-form-item>
                     </c-col>
                     <c-col :span="24">
                        <el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey">
                            <c-fullbox>
                                <c-input v-model="model.gidgrp.apl.pts.extkey" 
                                         maxlength="16"  
                                         placeholder="请输入External Key of Address"
                                         @keyup.enter.native="
                                        showGridPromptDialog(`gidgrp.apl.pts.extkey`)
                                        "></c-input>
                            <template slot="footer">
                                <c-button
                                style="margin:0 10px 0 10px;padding: 0 12px;"
                                size="small"
                                type="primary"
                                >
                                <span style="font-family:'宋体';font-weight:bold">i</span>
                                </c-button>
                                <c-button disabled size="small" type="primary">
                                    Details
                                </c-button>
                            </template>
                            </c-fullbox>  
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
                            <c-input disabled rows="5" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
                        </el-form-item>
                    </c-col>
                

                <c-col :span="24">
                            <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Confirming Bank Ref." prop="gidgrp.con.pts.ref">
                                <c-input  v-model="model.gidgrp.con.pts.ref" maxlength="16"  placeholder="请输入Applicant Ref."></c-input>
                            </el-form-item>
                     </c-col>
                     <c-col :span="24">
                        <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Confirming Bank" prop="gidgrp.con.pts.extkey">
                            <c-fullbox>
                                <c-input v-model="model.gidgrp.con.pts.extkey" 
                                         maxlength="16"  
                                         placeholder="请输入External Key of Address"
                                         @keyup.enter.native="
                                        showGridPromptDialog(`gidgrp.con.pts.extkey`)
                                        "></c-input>
                            <template slot="footer">
                                <c-button
                                v-if="model.gitp.swiftflg=='Y'"
                                style="margin:0 10px 0 10px;padding: 0 12px;"
                                size="small"
                                type="primary"
                                >
                                <span style="font-family:'宋体';font-weight:bold">i</span>
                                </c-button>
                                <c-button v-if="model.gitp.swiftflg=='Y'" size="small" type="primary">
                                    Details
                                </c-button>
                            </template>
                            </c-fullbox>  
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item v-if="model.gitp.swiftflg=='Y'" label="地址名称" prop="gidgrp.con.pts.adrblk">
                            <c-input  type="textarea" rows="4" v-model="model.gidgrp.con.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
                        </el-form-item>
                    </c-col>


                    <c-col :span="24">
                            <el-form-item v-if="model.gitp.swiftflg=='N'" label="Confirming Bank Ref." prop="gidgrp.con.pts.ref">
                                <c-input  v-model="model.gidgrp.con.pts.ref" maxlength="16"  placeholder="请输入Applicant Ref."></c-input>
                            </el-form-item>
                     </c-col>
                     <c-col :span="24">
                        <el-form-item v-if="model.gitp.swiftflg=='N'" label="Confirming Bank" prop="gidgrp.con.pts.extkey">
                            <c-fullbox>
                                <c-input disabled v-model="model.gidgrp.con.pts.extkey" 
                                         maxlength="16"  
                                         placeholder="请输入External Key of Address"
                                         @keyup.enter.native="
                                        showGridPromptDialog(`gidgrp.con.pts.extkey`)
                                        "></c-input>
                            <template slot="footer">
                                <c-button
                                v-if="model.gitp.swiftflg=='N'"
                                style="margin:0 10px 0 10px;padding: 0 12px;"
                                size="small"
                                type="primary"
                                >
                                <span style="font-family:'宋体';font-weight:bold">i</span>
                                </c-button>
                                <c-button disabled v-if="model.gitp.swiftflg=='N'" size="small" type="primary">
                                    Details
                                </c-button>
                            </template>
                            </c-fullbox>  
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item v-if="model.gitp.swiftflg=='N'" label="地址名称" prop="gidgrp.con.pts.adrblk">
                            <c-input disabled type="textarea" rows="4" v-model="model.gidgrp.con.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
                        </el-form-item>
                    </c-col>
                
                <!-- <c-col :span="24">
                        <c-ptap v-if="model.gitp.swiftflg=='N'"
                        :model="model"
                        :argadr="{
                        title: 'Confirming Bank',
                        grp: 'gidgrp',
                        rol: 'con',
                        }"
                        :disabled="true"
                        @onAplpDet="onConpDet"
                    >
                    </c-ptap>    
                </c-col> -->
            </c-col>

            <c-col :span="11" :offset="1">

                    <c-col :span="24">
                            <el-form-item label="受益人" prop="gidgrp.ben.pts.ref">
                                <c-input  v-model="model.gidgrp.ben.pts.ref" maxlength="16"  placeholder="请输入Applicant Ref."></c-input>
                            </el-form-item>
                     </c-col>
                     <c-col :span="24">
                        <el-form-item label="受益人" prop="gidgrp.ben.pts.extkey">
                            <c-fullbox>
                                <c-input v-model="model.gidgrp.ben.pts.extkey" 
                                         maxlength="16"  
                                         placeholder="请输入External Key of Address"
                                         @keyup.enter.native="
                                        showGridPromptDialog(`gidgrp.ben.pts.extkey`)
                                        "></c-input>
                            <template slot="footer">
                                <c-button
                                style="margin:0 10px 0 10px;padding: 0 12px;"
                                size="small"
                                type="primary"
                                >
                                <span style="font-family:'宋体';font-weight:bold">i</span>
                                </c-button>
                                <c-button :disabled="model.gidgrp.rec.hndtyp=='OT'" size="small" type="primary" >
                                    Details
                                </c-button>
                            </template>
                            </c-fullbox>  
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk">
                            <c-input :disabled="model.gidgrp.rec.hndtyp=='OT'" rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
                        </el-form-item>
                    </c-col>


                    <c-col :span="24">
                            <el-form-item  label="Issuing Bank" prop="gidgrp.iss.pts.ref">
                                <c-input  v-model="model.gidgrp.iss.pts.ref" maxlength="16"  placeholder="请输入Issuing Bank"></c-input>
                            </el-form-item>
                     </c-col>
                     <c-col :span="24">
                        <el-form-item  label="Issuing Bank" prop="gidgrp.iss.pts.extkey">
                            <c-fullbox>
                                <c-input v-model="model.gidgrp.iss.pts.extkey" 
                                         maxlength="16"  
                                         placeholder="请输入External Key of Address"
                                         @keyup.enter.native="
                                        showGridPromptDialog(`gidgrp.iss.pts.extkey`)
                                        "></c-input>
                            <template slot="footer">
                                <c-button
                                style="margin:0 10px 0 10px;padding: 0 12px;"
                                size="small"
                                type="primary"
                                >
                                <span style="font-family:'宋体';font-weight:bold">i</span>
                                </c-button>
                                <c-button disabled size="small" type="primary">
                                    Details
                                </c-button>
                            </template>
                            </c-fullbox>  
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="地址名称" prop="gidgrp.iss.pts.adrblk">
                            <c-input disabled rows="4" type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
                        </el-form-item>
                    </c-col>
            </c-col>
liyixun committed
203
        </c-col>
liyixun committed
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221
    </c-row>
             
    <c-col :span="24">
      <el-form-item label="Additional Parties" >
        <c-edit-table :model="model" v-bind="ptsaddg" style="margin-left:-120px">
          <el-table-column label="操作" >
            <template slot-scope="scope">
              <el-button
                size="mini"
                @click="handleEdit(scope.$index, scope.row)"
                type="primary"
                >详情</el-button
              >
            </template>
          </el-table-column>
        </c-edit-table>
    </el-form-item>
</c-col> 
liyixun committed
222 223 224 225 226 227
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
liyixun committed
228
import Ptap from "~/views/Public/Ptap";
liyixun committed
229 230

export default {
liyixun committed
231
    components: { "c-ptap": Ptap },
liyixun committed
232 233 234 235 236
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {
liyixun committed
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
              ptsaddg: {
            columns: [
                {
                    title: "Role",
                    width: "120px",
                    dataIndex: "rol",
                    show: "select",
                },
                {
                    title: "Party",
                    width: "180px",
                    dataIndex: "ptyextkey",
                    show: "input",
                },
                {
                    title: "Name of Party",
                    width: "250px",
                    dataIndex: "nam",
                },
                {
                    title: "Reference for Address",
                    width: "250px",
                    dataIndex: "ref",
                },
            ],
            urls: "gitp.ptsaddp.ptsaddg",
      },
liyixun committed
264 265 266 267 268 269 270 271 272 273 274
        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>