Ovwp.vue 22 KB
Newer Older
1377875331@qq.com committed
1
<template>
hulei committed
2
  <div class="eibs-tab">
wangyanjiao committed
3 4 5 6 7
    <c-row>
      <!-- =================顶部====================== -->
      <c-col :span="24">
        <c-col :span="11">
          <el-form-item label="信用证号码" prop="didgrp.rec.ownref" style="width: 100%">
fukai committed
8
            <c-fullbox>
wangyanjiao committed
9
              <c-input v-model="model.didgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" disabled></c-input>
fukai committed
10
              <template slot="footer">
wangyanjiao committed
11 12
                <c-button style="margin:0 10px 0 10px;padding: 0 12px;" size="small" type="primary" @click="onSeainf">
                  <span style="font-family:'宋体';font-weight:bold">i</span>
fukai committed
13
                </c-button>
wangyanjiao committed
14
                <c-button style="margin:0 0" size="small" type="primary" :disabled="this.flag" @click="onDitpButgetref">
fukai committed
15 16 17
                  获取
                </c-button>
              </template>
wangyanjiao committed
18
            </c-fullbox>
liushikai committed
19
          </el-form-item>
wangyanjiao committed
20 21 22 23 24 25 26
        </c-col>
        <c-col :span="11" :offset="1">
          <el-form-item label="摘要" prop="didgrp.rec.nam">
            <c-input align="middle" v-model="model.didgrp.rec.nam" maxlength="40" disabled
              placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
          </el-form-item>
        </c-col>
liushikai committed
27
      </c-col>
wangyanjiao committed
28
      <!-- ====================左边======================= -->
29
      <c-col :span="11">
wangyanjiao committed
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
        <c-col :span="24">
          <el-form-item label="所属客户经理" prop="ditp.usr.extkey" style="width: 100%">
            <c-fullbox>
              <c-input v-model="model.ditp.usr.extkey" maxlength="8" placeholder="请输入User ID" disabled></c-input>
              <template slot="footer">
                <c-button style="margin-left:10px;padding: 0 10px;" size="small" icon="el-icon-search" type="primary"
                  @click="onExtkey"></c-button>
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>
        <c-col :span="13">
          <c-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur" previewLabel="信用证币种">
            <c-select disabled v-model="model.didgrp.cbs.nom1.cur" placeholder="请选择Currency"
              @keyup.enter.native="nom1CurEvent" style="width:100%">
              <el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </c-select>
          </c-form-item>
        </c-col>
        <c-col :span="11">
          <c-form-item previewLabel="信用证金额" style="text-align: left;" label-width="5px" prop="didgrp.cbs.nom1.amt">
52
            <c-input-currency v-model="model.didgrp.cbs.nom1.amt" placeholder="请输入信用证金额" @change="ditpAmt"
wangyanjiao committed
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
              @keyup.enter.native="defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)">
            </c-input-currency>
          </c-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="大写金额" prop="ditp.amt">
            <c-input v-model="model.ditp.amt" maxlength="76" placeholder="请输入大写金额" disabled></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="13">
            <c-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
              <c-input v-model="model.didgrp.rec.nomtop" maxlength="9" style="width: 100%"
                placeholder="请输入Amount Tolerance - Positive"></c-input>
            </c-form-item>
          </c-col>
          <c-col :span="1" style="text-align:center">
            <label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label>
          </c-col>
          <c-col :span="10">
            <c-input v-model="model.didgrp.rec.nomton" maxlength="9" style="width: 100%"
              placeholder="请输入Amount Tolerance - Negative"></c-input>
          </c-col>
        </c-col>
        <!-- <c-col :span="12" style="text-align: left">
liushikai committed
78 79 80 81 82 83 84 85 86 87 88 89 90
        <el-form-item
          label=""
          style="text-align: left; margin-left: 12px"
          label-width="150px"
          prop="didgrp.rec.nomton"
        >
          <c-input
            v-model="model.didgrp.rec.nomton"
            maxlength="9"
            placeholder="请输入Amount Tolerance - Negative"
          ></c-input>
        </el-form-item>
      </c-col> -->
1377875331@qq.com committed
91

wangyanjiao committed
92
        <!-- <c-col> &nbsp; </c-col> -->
1377875331@qq.com committed
93

wangyanjiao committed
94 95 96 97 98 99 100 101
        <c-col :span="13">
          <el-form-item label="信用证最大金额" prop="didgrp.cbs.max.cur">
            <c-select v-model="model.didgrp.cbs.max.cur" style="width: 100%" placeholder="请选择Currency" disabled>
              <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>
1377875331@qq.com committed
102

wangyanjiao committed
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
        <c-col :span="11">
          <el-form-item label="" label-width="5px" prop="didgrp.cbs.max.amt">
            <c-input v-model="model.didgrp.cbs.max.amt" placeholder="请输入信用证最大金额" disabled></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="贸易类型" prop="didgrp.rec.mytype">
            <c-select v-if="model.didgrp.rec.elcflg == 'N'" v-model="model.didgrp.rec.mytype" style="width: 100%"
              placeholder="请选择贸易类型" @change="mytypeChange">
              <el-option v-for="item in codes.mylx" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </c-select>
            <c-select v-else v-model="model.didgrp.rec.mytype" style="width: 100%" placeholder="请选择贸易类型"
              @change="mytypeChange">
              <el-option v-for="item in codes.mytype" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
1377875331@qq.com committed
122

wangyanjiao committed
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
        <c-col :span="24">
          <c-form-item label="开证日期" prop="didgrp.rec.opndat">
            <c-date-picker type="date" v-model="model.didgrp.rec.opndat" value-format="yyyy-MM-dd" placeholder="请选择Date"
              style="width:100%"></c-date-picker>
          </c-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item v-if="model.didgrp.rec.mytype == 'H'" label="最迟货物装运日" prop="didgrp.rec.shpdat">
            <c-date-picker type="date" v-model="model.didgrp.rec.shpdat" value-format="yyyy-MM-dd" style="width: 100%"
              placeholder="请选择Date"></c-date-picker>
          </el-form-item>
          <el-form-item v-if="model.didgrp.rec.mytype == 'F'" label="最迟服务提供日" prop="didgrp.rec.shpdat">
            <c-date-picker type="date" v-model="model.didgrp.rec.shpdat" value-format="yyyy-MM-dd" style="width: 100%"
              placeholder="请选择Date"></c-date-picker>
          </el-form-item>
          <el-form-item label="最迟货物装运日/服务提供日" v-if="model.didgrp.rec.mytype == '3'" prop="didgrp.rec.shpdat">
            <c-date-picker type="date" v-model="model.didgrp.rec.shpdat" value-format="yyyy-MM-dd" style="width: 100%"
              placeholder="请选择"></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-form-item label="有效日期" prop="didgrp.rec.expdat">
            <c-date-picker type="date" v-model="model.didgrp.rec.expdat" value-format="yyyy-MM-dd" placeholder="请选择Date"
              style="width:100%"></c-date-picker>
          </c-form-item>
        </c-col>
        <c-col :span="24">
          <c-form-item label="有效地点" prop="didgrp.rec.expplc">
            <c-input v-model="model.didgrp.rec.expplc" maxlength="35" placeholder="请输入Place of Expiry"></c-input>
          </c-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="13">
            <el-form-item label="是否通过电证系统" prop="didgrp.rec.elcflg">
              <c-select v-model="model.didgrp.rec.elcflg" placeholder="请选择是否通过电证系统" style="width:100%">
                <el-option v-for="item in codes.elcflg" :key="item.value" :label="item.label" :value="item.value">
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="11">
            <el-form-item label="报文类型" label-width="40%" style="text-align:right">
              <c-select v-model="model.ditp.msgtyp" placeholder="请选择报文类型" :code="getValues('ditp.msgtyp')"
                :disabled="model.didgrp.rec.elcflg != 'Y'" />
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <el-form-item label="开证类型" prop="didgrp.rec.dkflg">
            <c-select v-model="model.didgrp.rec.dkflg" style="width: 100%" disabled placeholder="请选择开证类型">
              <el-option v-for="item in codes.dkflg" :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="申请人统一社会信用代码" prop="didgrp.rec.idcode">
            <c-input v-model="model.didgrp.rec.idcode" maxlength="18" disabled placeholder="请输入申请人统一社会信用代码"></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="货押标识" prop="didgrp.rec.guaflg">
            <c-select v-model="model.didgrp.rec.guaflg" style="width: 100%" placeholder="请选择货押标识">
              <el-option v-for="item in codes.guaflg" :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="假远期信用证" prop="didgrp.rec.jyqflg">
            <c-select v-model="model.didgrp.rec.jyqflg" style="width: 100%" placeholder="请选择假远期信用证">
194
              <el-option v-for="item in jyqflg" :key="item.value" :label="item.label" :value="item.value">
wangyanjiao committed
195 196 197 198
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
liushikai committed
199
      </c-col>
wangyanjiao committed
200 201 202 203
      <!-- ========================右边======================= -->
      <c-col :span="11" :offset="1">
        <c-col :span="24">
          <c-ptap :model="model" :argadr="{
liushikai committed
204 205 206
            title: '申请人',
            grp: 'didgrp',
            rol: 'apl',
wangyanjiao committed
207 208 209 210
          }" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
          </c-ptap>
        </c-col>
        <!-- <c-col :span="24">
liushikai committed
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
        <el-form-item
          label="申请人           参考号"
          prop="didgrp.apl.pts.ref"
          style="width: 100%"
        >
          <c-input
            v-model="model.didgrp.apl.pts.ref"
            maxlength="16"
            placeholder="请输入申请人           参考号"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-col :span="18">
          <el-form-item
            label="Extkey"
            prop="didgrp.apl.pts.extkey"
            style="width: 100%"
          >
            <c-input
              id="extkey"
              v-model="model.didgrp.apl.pts.extkey"
              maxlength="16"
              placeholder="请输入External Key of Address"
              @keyup.enter.native="
                showGridPromptDialog('didgrp.apl.pts.extkey')
              "
            ></c-input>
          </el-form-item>
潘际乾 committed
240
        </c-col>
liushikai committed
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
        <c-col :span="6" style="text-align: right">
          <c-col :span="12">
            <el-form-item label="" label-width="5px">
              <c-button
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="onSeainf('didgrp.apl.pts.extkey')"
              ></c-button>
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item label="" label-width="5px">
              <c-button size="small" type="primary" @click="onAplpDet">
                详情
              </c-button>
            </el-form-item>
          </c-col>
        </c-col>
liushikai committed
260
      </c-col> -->
1377875331@qq.com committed
261

wangyanjiao committed
262
        <!--
潘际乾 committed
263
       <c-col :span="10">
1377875331@qq.com committed
264 265 266
        <el-form-item label="">
            <c-input  v-model="model.ditp.aplp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
潘际乾 committed
267
       </c-col>          -->
1377875331@qq.com committed
268

wangyanjiao committed
269
        <!-- <c-col :span="24">
liushikai committed
270 271 272 273 274 275 276 277 278
        <el-form-item label="名称" prop="didgrp.apl.namelc">
          <c-input
            type="textarea"
            v-model="model.didgrp.apl.namelc"
            maxlength="35"
            show-word-limit
            placeholder="请输入名称"
          ></c-input>
        </el-form-item>
liushikai committed
279
      </c-col> -->
wangyanjiao committed
280
        <!--
潘际乾 committed
281
       <c-col :span="12">
1377875331@qq.com committed
282 283 284
        <el-form-item label="Address Block">
            <c-input type="textarea" v-model="model.didgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
潘际乾 committed
285
        </c-col>
1377875331@qq.com committed
286

潘际乾 committed
287
       <c-col :span="12">
1377875331@qq.com committed
288
        <el-form-item label="Chinese address">Extkey</el-form-item>>
1377875331@qq.com committed
289 290
            <c-input type="textarea" v-model="model.didgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
潘际乾 committed
291
        </c-col>
1377875331@qq.com committed
292 293
        -->

wangyanjiao committed
294
        <!-- <c-col :span="24">
liushikai committed
295 296 297 298 299 300 301 302 303
        <el-form-item label="地址" prop="didgrp.apl.adrelc">
          <c-input
            type="textarea"
            v-model="model.didgrp.apl.adrelc"
            maxlength="35"
            show-word-limit
            placeholder="请输入地址"
          ></c-input>
        </el-form-item>
liushikai committed
304
      </c-col> -->
1377875331@qq.com committed
305

wangyanjiao committed
306 307 308 309 310 311 312 313 314 315
        <c-col :span="14">
          <c-form-item label="邮编" prop="didgrp.apl.pts.youzbm">
            <c-input v-model="model.didgrp.apl.pts.youzbm" maxlength="6" placeholder="请输入邮编"></c-input>
          </c-form-item>
        </c-col>
        <c-col :span="10">
          <c-form-item label="电话" label-width="40px" style="margin-left: 12px" prop="didgrp.apl.pts.dihdig">
            <c-input v-model="model.didgrp.apl.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input>
          </c-form-item>
        </c-col>
1377875331@qq.com committed
316

wangyanjiao committed
317 318 319 320 321 322 323 324 325 326 327 328 329
        <c-col :span="24">
          <el-form-item label="申请人账号" prop="didgrp.apl.pts.extact">
            <c-select v-model="model.didgrp.apl.pts.extact" style="width: 100%" placeholder="请选择External Account"
              :code="getValues('didgrp.apl.pts.extact')">
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="申请人开户行    联行行号" prop="didgrp.apb.pts.bankno">
            <c-input v-model="model.didgrp.apb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"
              @keyup.enter.native="showGridPromptDialog('didgrp.apb.pts.bankno')"></c-input>
          </el-form-item>
        </c-col>
1377875331@qq.com committed
330

wangyanjiao committed
331 332 333 334 335 336
        <c-col :span="24">
          <el-form-item label="联行名称 " prop="didgrp.apb.pts.jigomc">
            <c-input type="textarea" v-model="model.didgrp.apb.pts.jigomc" maxlength="35" show-word-limit
              placeholder="请输入联行名称  电证用"></c-input>
          </el-form-item>
        </c-col>
1377875331@qq.com committed
337

wangyanjiao committed
338
        <!-- <c-col :span="24">
liushikai committed
339 340 341 342 343 344 345
        <el-form-item label="受益人           参考号" prop="didgrp.ben.pts.ref">
          <c-input
            v-model="model.didgrp.ben.pts.ref"
            maxlength="16"
            placeholder="请输入受益人           参考号"
          ></c-input>
        </el-form-item>
liushikai committed
346
      </c-col> -->
1377875331@qq.com committed
347

wangyanjiao committed
348
        <!--
潘际乾 committed
349
	<c-col :span="6">
1377875331@qq.com committed
350
	    <span  v-text="model.ditp.zchday"   data-path=".ditp.zchday" > </span>
潘际乾 committed
351
	</c-col> -->
1377875331@qq.com committed
352

wangyanjiao committed
353 354
        <c-col :span="24">
          <c-ptap :model="model" :argadr="{
liushikai committed
355 356 357
            title: '受益人',
            grp: 'didgrp',
            rol: 'ben',
wangyanjiao committed
358 359 360
          }" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
          </c-ptap>
        </c-col>
liushikai committed
361

wangyanjiao committed
362
        <!-- <c-col :span="18">
liushikai committed
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
        <el-form-item
          label="Extkey"
          prop="didgrp.ben.pts.extkey"
          style="width: 100%"
        >
          <c-input
            v-model="model.didgrp.ben.pts.extkey"
            maxlength="16"
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('didgrp.ben.pts.extkey')"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="6" style="text-align: right">
          <c-button
            class="icon-search"
            size="small"
            type="primary"
            icon="el-icon-search"
            @click="onSeaParty('didgrp.ben.pts.extkey')"
          ></c-button>
          <c-button class="detailsButton" size="small" type="primary" @click="onBenpDet">
            详情
          </c-button>
liushikai committed
387
      </c-col>  -->
1377875331@qq.com committed
388

wangyanjiao committed
389
        <!--
潘际乾 committed
390
       <c-col :span="12">
1377875331@qq.com committed
391 392 393
        <el-form-item label="Drag  Drop Sender">
            <c-input  v-model="model.ditp.benp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
潘际乾 committed
394
       </c-col>   -->
1377875331@qq.com committed
395

wangyanjiao committed
396
        <!--
潘际乾 committed
397
       <c-col :span="10">
1377875331@qq.com committed
398 399 400
        <el-form-item label="">
            <c-input  v-model="model.ditp.benp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
        </el-form-item>
潘际乾 committed
401
       </c-col>
1377875331@qq.com committed
402

潘际乾 committed
403
       <c-col :span="2">
1377875331@qq.com committed
404 405 406
        <c-button size="small" type="primary"  @click="onBenpDet">
            Detials
        </c-button>
潘际乾 committed
407
       </c-col> -->
wangyanjiao committed
408
        <!-- <c-col :span="24">
liushikai committed
409 410 411 412 413 414 415 416 417
        <el-form-item label="名称" prop="didgrp.ben.namelc">
          <c-input
            type="textarea"
            v-model="model.didgrp.ben.namelc"
            maxlength="35"
            show-word-limit
            placeholder="请输入名称"
          ></c-input>
        </el-form-item>
liushikai committed
418
      </c-col> -->
1377875331@qq.com committed
419

wangyanjiao committed
420
        <!-- <c-col :span="24">
1377875331@qq.com committed
421 422 423 424 425 426 427 428 429
                <el-form-item label="有效地点" prop="didgrp.rec.expplc">
                    <c-input
                        type="textarea"
                        v-model="model.didgrp.rec.expplc"
                        maxlength="35"
                        show-word-limit
                        placeholder="请输入Place of Expiry"
                    ></c-input>
                </el-form-item>
潘际乾 committed
430
            </c-col> -->
1377875331@qq.com committed
431

wangyanjiao committed
432
        <!--
潘际乾 committed
433
       <c-col :span="12">
1377875331@qq.com committed
434 435 436
        <el-form-item label="Address Block">
            <c-input type="textarea" v-model="model.didgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
潘际乾 committed
437
        </c-col>
1377875331@qq.com committed
438

潘际乾 committed
439
       <c-col :span="12">
1377875331@qq.com committed
440 441 442
        <el-form-item label="Chinese address">
            <c-input type="textarea" v-model="model.didgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
潘际乾 committed
443
        </c-col> -->
1377875331@qq.com committed
444

wangyanjiao committed
445
        <!-- <c-col :span="24">
liushikai committed
446 447 448 449 450 451 452 453 454
        <el-form-item label="地址" prop="didgrp.ben.adrelc">
          <c-input
            type="textarea"
            v-model="model.didgrp.ben.adrelc"
            maxlength="35"
            show-word-limit
            placeholder="请输入地址"
          ></c-input>
        </el-form-item>
liushikai committed
455
      </c-col> -->
1377875331@qq.com committed
456

wangyanjiao committed
457 458 459 460 461 462 463 464 465 466
        <c-col :span="14">
          <el-form-item label="邮编" prop="didgrp.ben.pts.youzbm">
            <c-input v-model="model.didgrp.ben.pts.youzbm" maxlength="6" placeholder="请输入邮编  电证用"></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="10">
          <el-form-item label="电话" label-width="40px" style="margin-left: 12px" prop="didgrp.ben.pts.dihdig">
            <c-input v-model="model.didgrp.ben.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input>
          </el-form-item>
        </c-col>
1377875331@qq.com committed
467

wangyanjiao committed
468 469 470 471 472
        <c-col :span="24">
          <el-form-item label="受益人账号" prop="didgrp.ben.pts.extact">
            <c-input v-model="model.didgrp.ben.pts.extact" maxlength="34" placeholder="请输入受益人账号"></c-input>
          </el-form-item>
        </c-col>
1377875331@qq.com committed
473

wangyanjiao committed
474 475 476 477 478 479
        <c-col :span="24">
          <el-form-item label="受益人开户行   联行行号" prop="didgrp.beb.pts.bankno">
            <c-input v-model="model.didgrp.beb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"
              @keyup.enter.native="showGridPromptDialog('didgrp.beb.pts.bankno')"></c-input>
          </el-form-item>
        </c-col>
1377875331@qq.com committed
480

wangyanjiao committed
481 482 483 484 485 486
        <c-col :span="24">
          <el-form-item label="联行名称 " prop="didgrp.beb.pts.jigomc">
            <c-input type="textarea" v-model="model.didgrp.beb.pts.jigomc" maxlength="35" show-word-limit
              placeholder="请输入联行名称  电证用" :disabled="this.jigomcFlag"></c-input>
          </el-form-item>
        </c-col>
liushikai committed
487
      </c-col>
wangyanjiao committed
488
    </c-row>
hulei committed
489
  </div>
1377875331@qq.com committed
490 491 492
</template>
<script>
import Api from "~/service/Api";
wangren committed
493
import commonProcess from "~/mixin/commonProcess";
1377875331@qq.com committed
494 495
import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
liushikai committed
496
import Ptap from "~/views/Public/Ptap";
1377875331@qq.com committed
497 498

export default {
liushikai committed
499
  components: { "c-ptap": Ptap },
liushikai committed
500 501
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
502
  mixins: [commonProcess],
liushikai committed
503 504
  data() {
    return {
505 506 507 508
      jyqflg: [
        { label: "否", value: "" },
        { label: "是", value: "X" },
      ],
liushikai committed
509 510 511 512 513 514
      jigomcFlag: false,
      trade: "",
    };
  },
  methods: {
    ...Event,
515 516 517 518 519 520 521
    ditpAmt(){
      this.executeDefault("ditp.amt").then((res) => {
        if ((res.respCode == SUCCESS)) {
          Utils.copyValueFromVO(this.model, res.data);
        }
      });
    },
liushikai committed
522 523 524 525 526 527 528 529 530
    mytypeChange() {
      if (this.model.didgrp.rec.mytype == "F") {
        this.model.didgrp.rec.tratyp = "";
        this.model.didgrp.rec.sdsrfs = "";
        this.model.didgrp.rec.shptrs = "";
        this.model.didgrp.rec.shpfro = "";
        this.model.didgrp.rec.shpto = "";
        this.model.didgrp.rec.shppro = "";
      }
1377875331@qq.com committed
531
    },
liushikai committed
532
    nom1CurEvent() {
533 534 535 536 537
      // this.executeDefault("didgrp.cbs.nom1.cur").then((res) => {
      //   if ((res.respCode == SUCCESS)) {
      //     Utils.copyValueFromVO(this.model, res.data);
      //   }
      // });
1377875331@qq.com committed
538
    },
liushikai committed
539 540 541 542 543 544 545
  },
  created: function () {
    console.log(this.root);
  },
  computed: {
    flag() {
      return this.model.didgrp.apl.pts.extkey == "";
1377875331@qq.com committed
546
    },
liushikai committed
547 548
  },
  watch: {
wangyanjiao committed
549
    declareParams() { },
liushikai committed
550
  },
1377875331@qq.com committed
551 552
};
</script>