Ovwp.vue 22.1 KB
Newer Older
1
<template>
liushikai committed
2 3 4 5 6
  <c-row>
    <!-- =================顶部====================== -->
    <c-col :span="24">
      <c-col :span="11">
        <c-col :span="20">
wangyanjiao committed
7 8 9
          <el-form-item label="信用证号码" prop="didgrp.rec.ownref" style="width: 100%">
            <c-input v-model="model.didgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" style="width: 95%"
              disabled></c-input>
liushikai committed
10
          </el-form-item>
潘际乾 committed
11
        </c-col>
liushikai committed
12
        <!-- <c-col :span="1" style="text-align: right"> -->
wangyanjiao committed
13 14 15 16 17 18 19 20 21 22 23 24 25
        <c-col :span="1">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"
            @click="onSeainf"></c-button>
          <!-- </el-form-item> -->
        </c-col>
        <c-col :span="3" style="text-align: right">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button style="margin:0 0" size="small" type="primary" disabled @click="onDitpButgetref">
            获取
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
liushikai committed
26 27 28 29
        <!-- </c-col> -->
      </c-col>
      <c-col :span="11" :offset="1">
        <el-form-item label="摘要" prop="didgrp.rec.nam">
wangyanjiao committed
30 31
          <c-input align="middle" v-model="model.didgrp.rec.nam" maxlength="40" disabled
            placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
liushikai committed
32 33 34 35 36 37
        </el-form-item>
      </c-col>
    </c-col>
    <!-- ====================左边======================= -->
    <c-col :span="11">
      <c-col :span="20">
wangyanjiao committed
38 39 40
        <el-form-item label="所属客户经理" prop="ditp.usr.extkey" style="width: 100%">
          <c-input style="width: 95%" v-model="model.ditp.usr.extkey" maxlength="8" placeholder="请输入User ID" disabled>
          </c-input>
liushikai committed
41 42
        </el-form-item>
      </c-col>
SunJie committed
43

liushikai committed
44 45
      <c-col :span="4">
        <!-- <el-form-item label="" label-width="17px"> -->
wangyanjiao committed
46 47
        <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" icon="el-icon-search" type="primary"
          @click="onExtkey"></c-button>
liushikai committed
48 49
        <!-- </el-form-item> -->
      </c-col>
SunJie committed
50

liushikai committed
51
      <!-- <c-col>
SunJie committed
52
                &nbsp;
liushikai committed
53
            </c-col> -->
SunJie committed
54

liushikai committed
55 56
      <c-col :span="13">
        <el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
wangyanjiao committed
57 58 59
          <c-select disabled v-model="model.didgrp.cbs.nom1.cur" style="width: 95%" placeholder="请选择Currency"
            @keyup.enter.native="nom1CurEvent">
            <el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
liushikai committed
60 61 62 63 64
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="11">
wangyanjiao committed
65 66 67 68
        <el-form-item style="text-align: left" label-width="0" prop="didgrp.cbs.nom1.amt">
          <c-input-currency v-model="model.didgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
            placeholder="请输入信用证金额" disabled
            @keyup.enter.native="defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)"></c-input-currency>
liushikai committed
69 70 71 72
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="大写金额" prop="ditp.amt">
wangyanjiao committed
73
          <c-input v-model="model.ditp.amt" maxlength="76" placeholder="请输入大写金额" disabled></c-input>
liushikai committed
74 75 76
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangyanjiao committed
77 78 79 80 81 82 83 84 85
        <c-col :span="24">
          <el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
            <c-input v-model="model.didgrp.rec.nomtop" maxlength="9" style="width: 48%" disabled
              placeholder="请输入Amount Tolerance - Positive"></c-input>
            <label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label>
            <c-input v-model="model.didgrp.rec.nomton" maxlength="9" style="width: 48%" disabled
              placeholder="请输入Amount Tolerance - Negative"></c-input>
          </el-form-item>
        </c-col>
liushikai committed
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
      </c-col>
      <!-- <c-col :span="12" style="text-align: left">
        <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> -->
SunJie committed
101

liushikai committed
102
      <!-- <c-col> &nbsp; </c-col> -->
SunJie committed
103

liushikai committed
104 105
      <c-col :span="13">
        <el-form-item label="信用证最大金额" prop="didgrp.cbs.max.cur">
wangyanjiao committed
106 107
          <c-select v-model="model.didgrp.cbs.max.cur" style="width: 95%" placeholder="请选择Currency" disabled>
            <el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
liushikai committed
108 109
            </el-option>
          </c-select>
110
        </el-form-item>
liushikai committed
111
      </c-col>
SunJie committed
112

liushikai committed
113 114
      <c-col :span="11">
        <el-form-item label="" label-width="0" prop="didgrp.cbs.max.amt">
wangyanjiao committed
115
          <c-input v-model="model.didgrp.cbs.max.amt" placeholder="请输入信用证最大金额" disabled></c-input>
116
        </el-form-item>
liushikai committed
117 118 119
      </c-col>
      <c-col :span="24">
        <el-form-item label="贸易类型" prop="didgrp.rec.mytype">
wangyanjiao committed
120 121 122
          <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">
liushikai committed
123 124
            </el-option>
          </c-select>
wangyanjiao committed
125 126 127
          <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">
liushikai committed
128 129 130 131
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
SunJie committed
132

liushikai committed
133
      <c-col :span="24">
wangyanjiao committed
134 135 136 137 138 139
        <c-col :span="24">
          <el-form-item label="开证日期" prop="didgrp.rec.opndat">
            <c-date-picker type="date" v-model="model.didgrp.rec.opndat" value-format="yyyy-MM-dd" style="width: 100%"
              placeholder="请选择Date" disabled></c-date-picker>
          </el-form-item>
        </c-col>
liushikai committed
140
      </c-col>
141
      <c-col :span="24">
wangyanjiao committed
142 143 144 145 146 147 148 149 150 151 152 153 154 155
        <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" disabled></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" disabled></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="请选择" disabled></c-date-picker>
          </el-form-item>
        </c-col>
liushikai committed
156 157
      </c-col>
      <c-col :span="24">
wangyanjiao committed
158 159 160 161 162 163
        <c-col :span="24">
          <el-form-item label="有效日期" prop="didgrp.rec.expdat">
            <c-date-picker type="date" v-model="model.didgrp.rec.expdat" value-format="yyyy-MM-dd" style="width: 100%"
              placeholder="请选择Date" disabled></c-date-picker>
          </el-form-item>
        </c-col>
liushikai committed
164 165 166
      </c-col>
      <c-col :span="24">
        <el-form-item label="有效地点" prop="didgrp.rec.expplc">
wangyanjiao committed
167
          <c-input v-model="model.didgrp.rec.expplc" maxlength="35" placeholder="请输入Place of Expiry"></c-input>
liushikai committed
168 169 170
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangyanjiao committed
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
        <c-col :span="13">
          <el-form-item label="是否通过电证系统" prop="didgrp.rec.elcflg">
            <c-select v-model="model.didgrp.rec.elcflg" style="width: 95%" placeholder="请选择是否通过电证系统" disabled>
              <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="80px">
            <c-select v-if="model.didgrp.rec.elcflg == 'N'" style="width: 100%" v-model="model.ditp.msgtyp"
              placeholder="请选择报文类型" disabled>
              <el-option v-for="item in codes.msgtyp" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </c-select>
            <c-select v-else v-model="model.ditp.msgtyp" placeholder="请选择报文类型" disabled>
              <el-option v-for="item in codes.msgtyp" :key="item.value" :label="item.label" :value="item.value">
              </el-option>
            </c-select>
          </el-form-item>
        </c-col>
192
      </c-col>
liushikai committed
193 194
      <c-col :span="24">
        <el-form-item label="开证类型" prop="didgrp.rec.dkflg">
wangyanjiao committed
195 196
          <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" disabled>
liushikai committed
197 198 199 200 201 202
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="申请人统一社会信用代码" prop="didgrp.rec.idcode">
wangyanjiao committed
203
          <c-input v-model="model.didgrp.rec.idcode" maxlength="18" placeholder="请输入申请人统一社会信用代码"></c-input>
liushikai committed
204 205 206 207
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="货押标识" prop="didgrp.rec.guaflg">
wangyanjiao committed
208 209
          <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">
liushikai committed
210 211 212 213 214 215
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="假远期信用证" prop="didgrp.rec.jyqflg">
wangyanjiao committed
216 217
          <c-select v-model="model.didgrp.rec.jyqflg" style="width: 100%" placeholder="请选择假远期信用证">
            <el-option v-for="item in jyqflg" :key="item.value" :label="item.label" :value="item.value">
liushikai committed
218 219 220 221 222 223 224 225
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>
    <!-- ========================右边======================= -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
wangyanjiao committed
226
        <c-ptap :model="model" :argadr="{
wangyanjiao committed
227 228 229 230
          title: '申请人',
          grp: 'didgrp',
          rol: 'apl',
        }" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
wangyanjiao committed
231
        </c-ptap>
liushikai committed
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
      </c-col>
      <!-- <c-col :span="24">
        <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>
        </c-col>
        <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>
      </c-col> -->
SunJie committed
284

liushikai committed
285
      <!--
潘际乾 committed
286
       <c-col :span="10">
287 288 289
        <el-form-item label="">
            <c-input  v-model="model.ditp.aplp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
潘际乾 committed
290
       </c-col>          -->
SunJie committed
291

liushikai committed
292 293 294 295 296 297 298 299 300 301 302 303
      <!-- <c-col :span="24">
        <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>
      </c-col> -->
      <!--
潘际乾 committed
304
       <c-col :span="12">
305 306 307
        <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
308
        </c-col>
SunJie committed
309

潘际乾 committed
310
       <c-col :span="12">
SunJie committed
311
        <el-form-item label="Chinese address">Extkey</el-form-item>>
312 313
            <c-input type="textarea" v-model="model.didgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
潘际乾 committed
314
        </c-col>
SunJie committed
315 316
        -->

liushikai committed
317 318 319 320 321 322 323 324 325 326 327
      <!-- <c-col :span="24">
        <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>
      </c-col> -->
SunJie committed
328

liushikai committed
329 330
      <c-col :span="14">
        <c-form-item label="邮编" prop="didgrp.apl.pts.youzbm">
wangyanjiao committed
331
          <c-input v-model="model.didgrp.apl.pts.youzbm" maxlength="6" placeholder="请输入邮编"></c-input>
liushikai committed
332 333 334
        </c-form-item>
      </c-col>
      <c-col :span="10">
wangyanjiao committed
335 336
        <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>
liushikai committed
337 338
        </c-form-item>
      </c-col>
SunJie committed
339

liushikai committed
340 341
      <c-col :span="24">
        <el-form-item label="申请人账号" prop="didgrp.apl.pts.extact">
wangyanjiao committed
342
          <c-select v-model="model.didgrp.apl.pts.extact" style="width: 100%" placeholder="请选择External Account">
liushikai committed
343 344 345 346
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangyanjiao committed
347 348 349
        <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>
liushikai committed
350 351
        </el-form-item>
      </c-col>
SunJie committed
352

liushikai committed
353 354
      <c-col :span="24">
        <el-form-item label="联行名称 " prop="didgrp.apb.pts.jigomc">
wangyanjiao committed
355 356
          <c-input type="textarea" v-model="model.didgrp.apb.pts.jigomc" maxlength="35" show-word-limit
            placeholder="请输入联行名称  电证用"></c-input>
liushikai committed
357 358
        </el-form-item>
      </c-col>
SunJie committed
359

liushikai committed
360 361 362 363 364 365 366 367 368
      <!-- <c-col :span="24">
        <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>
      </c-col> -->
SunJie committed
369

liushikai committed
370
      <!--
潘际乾 committed
371
	<c-col :span="6">
372
	    <span  v-text="model.ditp.zchday"   data-path=".ditp.zchday" > </span>
潘际乾 committed
373
	</c-col> -->
SunJie committed
374

liushikai committed
375
      <c-col :span="24">
wangyanjiao committed
376 377 378 379 380
        <c-ptap :model="model" :argadr="{
          title: '受益人',
          grp: 'didgrp',
          rol: 'ben',
        }" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
liushikai committed
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
        </c-ptap>
      </c-col>

      <!-- <c-col :span="18">
        <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>
      </c-col>  -->
SunJie committed
410

liushikai committed
411
      <!--
潘际乾 committed
412
       <c-col :span="12">
413 414 415
        <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
416
       </c-col>   -->
SunJie committed
417

liushikai committed
418
      <!--
潘际乾 committed
419
       <c-col :span="10">
420
        <el-form-item label="">
SunJie committed
421
            <c-input  v-model="model.ditp.benp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
422
        </el-form-item>
潘际乾 committed
423
       </c-col>
SunJie committed
424

潘际乾 committed
425
       <c-col :span="2">
426
        <c-button size="small" type="primary"  @click="onBenpDet">
SunJie committed
427
            Detials
428
        </c-button>
潘际乾 committed
429
       </c-col> -->
liushikai committed
430 431 432 433 434 435 436 437 438 439 440
      <!-- <c-col :span="24">
        <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>
      </c-col> -->
SunJie committed
441

liushikai committed
442
      <!-- <c-col :span="24">
SunJie committed
443 444 445 446 447 448 449 450 451
                <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
452
            </c-col> -->
SunJie committed
453

liushikai committed
454
      <!--
潘际乾 committed
455
       <c-col :span="12">
456 457 458
        <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
459
        </c-col>
SunJie committed
460

潘际乾 committed
461
       <c-col :span="12">
462 463 464
        <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
465
        </c-col> -->
SunJie committed
466

liushikai committed
467 468 469 470 471 472 473 474 475 476 477
      <!-- <c-col :span="24">
        <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>
      </c-col> -->
SunJie committed
478

liushikai committed
479 480
      <c-col :span="14">
        <el-form-item label="邮编" prop="didgrp.ben.pts.youzbm">
wangyanjiao committed
481
          <c-input v-model="model.didgrp.ben.pts.youzbm" maxlength="6" placeholder="请输入邮编  电证用"></c-input>
liushikai committed
482 483 484
        </el-form-item>
      </c-col>
      <c-col :span="10">
wangyanjiao committed
485 486
        <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>
liushikai committed
487 488
        </el-form-item>
      </c-col>
SunJie committed
489

liushikai committed
490
      <c-col :span="24">
hulei committed
491
        <el-form-item label="受益人账号" prop="didgrp.ben.pts.extact">
wangyanjiao committed
492
          <c-input v-model="model.didgrp.ben.pts.extact" maxlength="34" placeholder="请输入受益人账号"></c-input>
liushikai committed
493 494
        </el-form-item>
      </c-col>
SunJie committed
495

liushikai committed
496
      <c-col :span="24">
wangyanjiao committed
497 498 499
        <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>
liushikai committed
500 501
        </el-form-item>
      </c-col>
SunJie committed
502

liushikai committed
503 504
      <c-col :span="24">
        <el-form-item label="联行名称 " prop="didgrp.beb.pts.jigomc">
wangyanjiao committed
505 506
          <c-input type="textarea" v-model="model.didgrp.beb.pts.jigomc" maxlength="35" show-word-limit
            placeholder="请输入联行名称  电证用" :disabled="this.jigomcFlag"></c-input>
liushikai committed
507 508 509 510
        </el-form-item>
      </c-col>
    </c-col>
  </c-row>
511 512
</template>
<script>
SunJie committed
513
import Api from "~/service/Api";
wangren committed
514
import commonProcess from "~/mixin/commonProcess";
SunJie committed
515 516
import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
liushikai committed
517
import Ptap from "~/views/Public/Ptap";
518
import Ptap1 from "./Ptap";
519 520

export default {
wangyanjiao committed
521 522 523 524
  components: {
    "c-ptap": Ptap,
    "c-ptap1": Ptap1,
  },
liushikai committed
525 526
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
527
  mixins: [commonProcess],
liushikai committed
528 529
  data() {
    return {
wangyanjiao committed
530 531 532 533
      jyqflg: [
        { label: "否", value: "" },
        { label: "是", value: "X" },
      ],
534
      jigomcFlag: true,
liushikai committed
535 536 537 538 539 540 541 542 543 544 545 546 547 548
      trade: "",
    };
  },
  methods: {
    ...Event,
    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 = "";
      }
SunJie committed
549
    },
liushikai committed
550 551
    nom1CurEvent() {
      this.executeDefault("didgrp.cbs.nom1.cur").then((res) => {
吴佳 committed
552
        if ((res.respCode == SUCCESS)) {
liushikai committed
553
          Utils.copyValueFromVO(this.model, res.data);
554
        }
liushikai committed
555
      });
556
    },
liushikai committed
557 558 559 560 561 562 563
  },
  created: function () {
    console.log(this.root);
  },
  computed: {
    flag() {
      return this.model.didgrp.apl.pts.extkey == "";
SunJie committed
564
    },
liushikai committed
565 566
  },
  watch: {
wangyanjiao committed
567
    declareParams() { },
liushikai committed
568
  },
SunJie committed
569
};
570
</script>