Utlp.vue 24.6 KB
Newer Older
liushikai committed
1
<template>
潘际乾 committed
2
  <div class="eibs-tab" style="">
liuxin committed
3 4

    <c-col :span="24">
wangyanjiao committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18
      <c-col :span="11">
        <c-col :span="16">
          <el-form-item label="信用证参考号" prop="didgrp.rec.ownref">
            <c-fullbox>
              <c-input v-model="model.didgrp.rec.ownref" maxlength="16" placeholder="请输入信用证参考号" disabled></c-input>
              <template slot="footer">
                <c-button style="padding: 0 14px;" size="small" type="primary">
                  <span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
                </c-button>
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>
        <!-- <c-col :span="1" style="text-align: right;margin-left:10px">
liuxin committed
19 20 21 22 23 24 25
                    <c-button
                        style="margin:0;padding: 0 14px;"
                        size="small"
                        type="primary"
                    >
                    <span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
                    </c-button>
liushikai committed
26
                </c-col> -->
wangyanjiao committed
27 28 29 30 31 32 33 34

        <c-col :span="8">
          <el-form-item label="到期日" prop="didgrp.rec.expdat" label-width="30%">
            <c-fullbox>
              <c-date-picker type="date" v-model="model.didgrp.rec.expdat" style="width: 100%"
                placeholder="请选择Date of Expiry" disabled></c-date-picker>
            </c-fullbox>
          </el-form-item>
liuxin committed
35
        </c-col>
wangyanjiao committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49
      </c-col>

      <c-col :span="11" :offset="1">
        <c-col :span="12">
          <el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
            <c-input v-model="model.didgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency" disabled></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="2%">
            <c-input v-model="model.didgrp.cbs.opn1.amt" placeholder="请输入Balance" disabled></c-input>
          </el-form-item>
        </c-col>
      </c-col>
50
    </c-col>
liuxin committed
51

52
    <c-col :span="24" style="height:24px;margin-top:-10px">
wangyanjiao committed
53 54
      <el-form-item label="单据信息" class="messageLabel">
      </el-form-item>
liuxin committed
55
    </c-col>
潘际乾 committed
56
    <c-col :span="24" style="height: 0px">
wangyanjiao committed
57
      <el-divider></el-divider>
liuxin committed
58
    </c-col>
59

liuxin committed
60
    <c-col :span="11" style="margin-top:10px">
wangyanjiao committed
61 62 63 64 65 66 67 68 69 70 71 72
      <c-col :span="24">
        <c-col :span="22">
          <el-form-item label="单据参考号" prop="bddgrp.rec.ownref">
            <c-input v-model="model.bddgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号" disabled></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="2" style="text-align: right">
          <c-button style="margin:0;padding: 0 14px;" size="small" type="primary">
            <span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
          </c-button>
        </c-col>
      </c-col>
73 74
    </c-col>

liuxin committed
75
    <c-col :span="11" :offset="1" style="margin-top:10px">
liushikai committed
76
      <el-form-item label="单据摘要" prop="bddgrp.rec.nam">
wangyanjiao committed
77 78
        <c-input v-model="model.bddgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract" disabled>
        </c-input>
79 80 81 82 83 84
      </el-form-item>
    </c-col>

    <!-- ==========middle-left======== -->
    <c-col :span="11">
      <c-col :span="24">
liuxin committed
85
        <c-col :span="12">
86
          <el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
wangyanjiao committed
87
            <c-select v-model="model.bddgrp.cbs.max.cur" placeholder="请选择单据金额" disabled>
88 89 90
            </c-select>
          </el-form-item>
        </c-col>
91 92
        <c-col :span="12">
          <el-form-item label="" prop="bddgrp.cbs.max.amt" label-width="2%">
wangyanjiao committed
93
            <c-input v-model="model.bddgrp.cbs.max.amt" placeholder="请输入单据金额" disabled></c-input>
94 95 96 97 98
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
liuxin committed
99
        <c-col :span="12">
100
          <el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
wangyanjiao committed
101
            <c-select v-model="model.bddgrp.cbs.opn1.cur" placeholder="请选择单据余额" disabled></c-select>
102 103
          </el-form-item>
        </c-col>
104 105
        <c-col :span="12">
          <el-form-item label="" prop="bddgrp.cbs.opn1.amt" label-width="2%">
wangyanjiao committed
106
            <c-input v-model="model.bddgrp.cbs.opn1.amt" placeholder="请输入Balance" disabled></c-input>
107 108 109 110
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
liuxin committed
111
        <c-col :span="12">
112
          <el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
wangyanjiao committed
113 114
            <c-date-picker type="date" style="width:100%" v-model="model.bddgrp.rec.rcvdat" placeholder="请选择到单日期"
              disabled></c-date-picker>
115 116
          </el-form-item>
        </c-col>
liuxin committed
117
        <c-col :span="1">
wangyanjiao committed
118
          &nbsp;
liuxin committed
119
        </c-col>
120
        <c-col :span="11">
wangyanjiao committed
121 122 123
          <el-form-item label="远期起算日" prop="bddgrp.rec.stadat" label-width="40%">
            <c-date-picker type="date" v-model="model.bddgrp.rec.stadat" style="width: 100%" placeholder="请选择Start Date"
              disabled></c-date-picker>
124 125 126 127 128
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
liuxin committed
129
        <c-col :span="12">
130
          <el-form-item label="单据到期日" prop="bddgrp.rec.matdat">
wangyanjiao committed
131 132
            <c-date-picker type="date" style="width:100%" v-model="model.bddgrp.rec.matdat"
              placeholder="请选择Maturity Date" width="100%" disabled></c-date-picker>
133 134
          </el-form-item>
        </c-col>
liuxin committed
135
        <c-col :span="1">
wangyanjiao committed
136
          &nbsp;
liuxin committed
137
        </c-col>
138
        <c-col :span="11">
wangyanjiao committed
139 140
          <el-form-item label="远期期限" prop="bddgrp.rec.tenmaxday" label-width="40%">
            <c-input v-model="model.bddgrp.rec.tenmaxday" placeholder="请输入单据到期日" disabled></c-input>
141 142 143 144 145
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
        <el-form-item label="单据类型" prop="bddgrp.rec.docflg">
wangyanjiao committed
146 147
          <c-select v-model="model.bddgrp.rec.docflg" style="width: 100%" placeholder="请选择单据类型" disabled>
            <el-option v-for="item in codes.brdtyp" :key="item.value" :label="item.label" :value="item.value">
148
            </el-option>
149 150 151 152 153
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="单据状态" prop="bddgrp.rec.docsta">
wangyanjiao committed
154 155 156
          <c-select v-model="model.bddgrp.rec.docsta" style="width: 100%" placeholder="请选择单据状态" disabled>
            <el-option v-for="item in codes.docsta" :key="item.value" :label="item.label" :value="item.value">
            </el-option>
157 158 159 160 161 162 163
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>
    <!-- ==========middle-right======== -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
wangguangchao committed
164
        <el-form-item label="申请人编号" prop="bddgrp.apl.pts.ref">
wangyanjiao committed
165
          <c-input v-model="model.bddgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人" disabled></c-input>
liushikai committed
166
        </el-form-item>
167 168 169
      </c-col>

      <c-col :span="24">
liushikai committed
170
        <el-form-item label="申请人名称" prop="bddgrp.apl.pts.nam">
wangyanjiao committed
171
          <c-input v-model="model.bddgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
liushikai committed
172
        </el-form-item>
173 174 175
      </c-col>

      <c-col :span="24">
wangguangchao committed
176
        <el-form-item label="受益人编号" prop="bddgrp.ben.pts.ref">
wangyanjiao committed
177
          <c-input v-model="model.bddgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人" disabled></c-input>
liushikai committed
178
        </el-form-item>
179 180 181
      </c-col>

      <c-col :span="24">
liushikai committed
182
        <el-form-item label="受益人名称" prop="bddgrp.ben.pts.nam">
wangyanjiao committed
183
          <c-input v-model="model.bddgrp.ben.pts.nam" maxlength="40" placeholder="请输入远期期限" disabled></c-input>
184 185 186 187
        </el-form-item>
      </c-col>

      <c-col :span="24">
wangguangchao committed
188
        <el-form-item label="交单行编号" prop="bddgrp.prb.pts.ref">
wangyanjiao committed
189
          <c-input v-model="model.bddgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行" disabled></c-input>
liushikai committed
190
        </el-form-item>
191 192 193
      </c-col>

      <c-col :span="24">
liushikai committed
194
        <el-form-item label="交单行名称" prop="bddgrp.prb.pts.nam">
wangyanjiao committed
195
          <c-input v-model="model.bddgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
196 197 198 199
        </el-form-item>
      </c-col>
    </c-col>

liuxin committed
200
    <!-- <c-col :span="24" style="height:10px">
liushikai committed
201
           <el-divider></el-divider>
liuxin committed
202
       </c-col> -->
liushikai committed
203

204
    <!-- =========bottom-left======== -->
205
    <c-col :span="24" style="height:24px;margin-top:-10px">
wangyanjiao committed
206 207
      <el-form-item label="付款信息" class="messageLabel">
      </el-form-item>
liuxin committed
208
    </c-col>
潘际乾 committed
209
    <c-col :span="24" style="height: 0px">
wangyanjiao committed
210
      <el-divider></el-divider>
liuxin committed
211
    </c-col>
212
    <c-col :span="11">
liuxin committed
213
      <!-- <c-col :span="22" :offset="2" style="height:24px">
liushikai committed
214 215 216 217 218 219
            <el-form-item
                class="formItemLabel"
                label="表外信息"
                label-width="300px"
            >
            </el-form-item>
liuxin committed
220
        </c-col> -->
liuxin committed
221 222
      <c-col :span="24" style="margin-top: 10px">
        <c-col :span="12">
223
          <el-form-item label="付款金额" prop="setmod.doccur">
wangyanjiao committed
224
            <c-input v-model="model.setmod.doccur" maxlength="3" placeholder="请输入document currency" disabled></c-input>
225
          </el-form-item>
liushikai committed
226
        </c-col>
227 228
        <c-col :span="12">
          <el-form-item label="" prop="setmod.docamt" label-width="2%">
wangyanjiao committed
229 230
            <c-input v-model="model.setmod.docamt" placeholder="请输入document amount"
              @keyup.enter.native="commonExecuteRule('setmod.docamt')"></c-input>
231 232 233
          </el-form-item>
        </c-col>
      </c-col>
liushikai committed
234 235

      <c-col :span="24">
liuxin committed
236
        <c-col :span="12">
liushikai committed
237
          <el-form-item label="扣减金额" prop="setmod.doccur">
wangyanjiao committed
238
            <c-input v-model="model.setmod.doccur" placeholder="请输入扣减金额" disabled></c-input>
liushikai committed
239 240
          </el-form-item>
        </c-col>
241 242
        <c-col :span="12">
          <el-form-item label="" prop="setmod.redamt" label-width="2%">
wangyanjiao committed
243 244
            <c-input v-model="model.setmod.redamt" placeholder="请输入扣减金额" :disabled="model.bddgrp.rec.frepayflg == 'X' "
              @keyup.enter.native="commonExecuteRule('setmod.redamt')"></c-input>
liushikai committed
245 246 247
          </el-form-item>
        </c-col>
      </c-col>
wangyanjiao committed
248

249
      <c-col :span="24">
liuxin committed
250
        <c-col :span="12">
251
          <el-form-item label="扣费后付款金额" prop="setmod.doccur">
wangyanjiao committed
252
            <c-input v-model="model.setmod.doccur" maxlength="3" placeholder="请输入document currency" disabled></c-input>
253 254
          </el-form-item>
        </c-col>
255 256
        <c-col :span="12">
          <el-form-item label="" prop="setmod.setamt" label-width="2%">
wangyanjiao committed
257
            <c-input v-model="model.setmod.setamt" placeholder="请输入扣费后付款金额" disabled></c-input>
258 259 260
          </el-form-item>
        </c-col>
      </c-col>
wangyanjiao committed
261

262
      <c-col :span="24">
wangguangchao committed
263
        <el-form-item label="清算方式" prop="bddgrp.rec.clrmtd">
wangyanjiao committed
264 265 266

          <c-select v-model="model.bddgrp.rec.clrmtd" style="width: 100%" placeholder="请选择清算方式" disabled>
            <el-option v-for="item in codes.clrtyp" :key="item.value" :label="item.label" :value="item.value">
wangguangchao committed
267 268
            </el-option>
          </c-select>
269 270
        </el-form-item>
      </c-col>
liushikai committed
271

wangyanjiao committed
272
      <!-- <c-col :span="24">
liuxin committed
273
        <el-form-item label="交单行联行名称">
wangyanjiao committed
274 275
          <c-input type="textarea" v-model="model.bddgrp.prb.pts.jigomc" style="width: 100%" maxlength="35"
            show-word-limit placeholder="请输入联行名称" disabled></c-input>
liuxin committed
276
        </el-form-item>
wangyanjiao committed
277
      </c-col> -->
wangyanjiao committed
278

279 280 281
    </c-col>
    <!-- =========bottom-right======== -->
    <c-col :span="11" :offset="1">
liuxin committed
282 283
      <c-col :span="24" style="margin-top:10px">
        <el-form-item>
wangyanjiao committed
284 285 286 287 288 289 290 291 292 293 294 295 296 297 298
          <c-col :span=4>
            <c-checkbox v-model="crefinflg" :disabled="model.bddgrp.rec.frepayflg === 'X'  || model.paypsb ==='X'">融资</c-checkbox>
          </c-col>
          <c-col :span="5">
            <c-checkbox v-model="clsflg">闭卷</c-checkbox>
          </c-col>
          <c-col :span="5">
            <c-checkbox v-model="paypsb" :disabled="model.bddgrp.rec.frepayflg === 'X' || model.trtcre.crefinflg ==='X'">垫款</c-checkbox>
          </c-col>
          <c-col :span="5">
            <c-checkbox v-model="frepayflg" @change="frepayflgDefault">无偿放单</c-checkbox>
          </c-col>
          <c-col :span="5">
            <c-checkbox v-model="dfflag">同业代付</c-checkbox>
          </c-col>
299 300 301
        </el-form-item>
      </c-col>

302
      <c-col :span="24">
wangyanjiao committed
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 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
        <el-form-item label="交单行编号" prop="bddgrp.prb.pts.ref">
          <c-input
            v-model="model.bddgrp.prb.pts.ref"
            maxlength="16"
            style="width: 100%"
            placeholder="请输入交单行编号"
            @keyup.enter.native="ptsRefEvent"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="交单行BIC" prop="bddgrp.prb.pts.extkey">
          <c-input
            v-model="model.bddgrp.prb.pts.extkey"
            maxlength="16"
            style="width: 100%"
            placeholder="请输入交单行BIC"
            @keyup.enter.native="showGridPromptDialog(`bddgrp.prb.pts.extkey`)"
            :disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="交单行联行行号" prop="bddgrp.prb.pts.bankno">
          <c-input
            v-model="model.bddgrp.prb.pts.bankno"
            maxlength="20"
            style="width: 100%"
            placeholder="请输入交单行联行行号"
            :disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
             @keyup.enter.native="showGridPromptDialog('bddgrp.prb.pts.bankno')"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="交单行联行名称" prop="bddgrp.prb.pts.jigomc">
          <c-input
            type="textarea"
            v-model="model.bddgrp.prb.pts.jigomc"
            style="width: 100%"
            maxlength="35"
            show-word-limit
            placeholder="请输入联行名称"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="交单行地址" prop="bddgrp.prb.pts.dizhii">
          <c-input
            type="textarea"
            v-model="model.bddgrp.prb.pts.dizhii"
            style="width: 100%"
            maxlength="35"
            show-word-limit
            placeholder="请输入交单行地址"
            :disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
          ></c-input>
        </el-form-item>
      </c-col>

      <!-- <c-col :span="24">
369
        <el-form-item label="交单行" prop="bddgrp.rec.docprbrol">
wangyanjiao committed
370 371
          <c-select v-model="model.bddgrp.rec.docprbrol" style="width: 100%" placeholder="请选择Presented by"
            :code="getValues('bddgrp.rec.docprbrol')" @change="docprbrolChange">
372 373 374
          </c-select>
        </el-form-item>
      </c-col>
wangyanjiao committed
375
      <c-col :span="24">
376
        <el-form-item label="交单行BIC" prop="bddgrp.prb.pts.extkey">
wangyanjiao committed
377 378
          <c-input v-model="model.bddgrp.prb.pts.extkey" maxlength="16" style="width: 100%" placeholder="请输入交单行BIC"
            :disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"></c-input>
379 380 381 382 383
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="交单行联行行号" prop="bddgrp.prb.pts.bankno">
wangyanjiao committed
384
          <c-input v-model="model.bddgrp.prb.pts.bankno" maxlength="20" style="width: 100%" placeholder="请输入交单行联行行号"
385
            :disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
wangyanjiao committed
386
            @keyup.enter.native="showGridPromptDialog('bddgrp.prb.pts.bankno')"></c-input>
387 388 389 390
        </el-form-item>
      </c-col>

      <c-col :span="24">
liuxin committed
391
        <el-form-item label="交单行地址">
wangyanjiao committed
392 393 394
          <c-input type="textarea" v-model="model.bddgrp.prb.pts.dizhii" style="width: 100%" maxlength="35"
            show-word-limit placeholder="请输入交单行地址" :disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true">
          </c-input>
395
        </el-form-item>
wangyanjiao committed
396
      </c-col> -->
397
      <!-- <c-ptapdome
398 399 400 401
        :disabledJigomc="true"
        :disabledDizhii="true"
        :model="model"
        :argadr="{
liushikai committed
402
          title: '交单行',
403 404 405
          rol: 'apl',
          grp: 'bddgrp',
        }"
406
      ></c-ptapdome> -->
407 408
    </c-col>

409
    <c-col :span="24" style="height:24px;margin-top:-10px">
wangyanjiao committed
410 411
      <el-form-item label="表外信息" class="messageLabel">
      </el-form-item>
412
    </c-col>
潘际乾 committed
413
    <c-col :span="24" style="height: 0px">
wangyanjiao committed
414
      <el-divider></el-divider>
415
    </c-col>
潘际乾 committed
416
    <c-col :span="24" :offset="0">
wangyanjiao committed
417
      <c-istream-table ref="bwxxIst" :list="stmData.data" :columns="stmData.columns" :paginationShow="false" @row-click="clounmSetting"
wangyanjiao committed
418 419 420
        :showSelection="true">
      </c-istream-table>
    </c-col>
421

liuxin committed
422
    <c-col :span="24" style="height:24px">
wangyanjiao committed
423 424
      <el-form-item label="待还融资" class="messageLabel">
      </el-form-item>
425
    </c-col>
潘际乾 committed
426
    <c-col :span="24" style="height: 0px">
wangyanjiao committed
427
      <el-divider></el-divider>
428
    </c-col>
潘际乾 committed
429
    <c-col :span="24" :offset="0">
wangyanjiao committed
430 431 432 433 434 435 436 437 438 439 440 441 442 443
      <div class="e-table-wrapper">
        <c-table :data="model.bptbck.bptbckg" style="width: 100%" :paginationShow="false">
          <el-table-column prop="ownref" label="Reference" width="auto">
          </el-table-column>
          <el-table-column prop="opncur" label="Cur." width="auto">
          </el-table-column>
          <el-table-column prop="opnamt" label="Open Amount" width="auto">
          </el-table-column>
          <el-table-column prop="bckamt" label="Amount Paid" width="auto">
          </el-table-column>
          <el-table-column prop="butcal" label="Cal." width="auto">
          </el-table-column>
        </c-table>
        <!-- <el-pagination
liuxin committed
444 445 446
                 layout="prev, pager, next"
                 :total="pager.bptbck_bptbckg.total">
              </el-pagination> -->
wangyanjiao committed
447 448
      </div>
    </c-col>
449

liuxin committed
450
    <div>
wangyanjiao committed
451
      <!-- <c-col :span="12">
liuxin committed
452 453 454 455 456 457 458
        <el-form-item label="Drag  Drop Sender" prop="bdtp.didget.sdamod.dadsnd">
            <c-input
            v-model="model.bdtp.didget.sdamod.dadsnd"
            placeholder="请输入Drag  Drop Sender"
            ></c-input>
        </el-form-item>
        </c-col>
459

liuxin committed
460 461 462 463 464 465 466 467
        <c-col :span="12">
        <el-form-item label="" prop="bdtp.didget.sdamod.seainf">
            <c-input
            v-model="model.bdtp.didget.sdamod.seainf"
            placeholder="请输入"
            ></c-input>
        </el-form-item>
        </c-col>
468

liuxin committed
469 470 471 472 473 474 475 476
        <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="bdtp.recget.sdamod.dadsnd">
            <c-input
            v-model="model.bdtp.recget.sdamod.dadsnd"
            placeholder="请输入Drag  Drop Sender"
            ></c-input>
        </el-form-item>
        </c-col>
477

liuxin committed
478 479 480 481 482 483 484 485
        <c-col :span="12">
        <el-form-item label="" prop="bdtp.recget.sdamod.seainf">
            <c-input
            v-model="model.bdtp.recget.sdamod.seainf"
            placeholder="请输入"
            ></c-input>
        </el-form-item>
        </c-col>
486

liuxin committed
487 488 489 490
        <c-col :span="12">
        <span v-text="model.bdtp.matp.mattxtlab" data-path=".bdtp.matp.mattxtlab">
        </span>
        </c-col>
491

liuxin committed
492 493 494 495 496 497 498 499
        <c-col :span="12">
        <el-form-item label="Tenor Stream" prop="liaall.tenstm">
            <c-input
            v-model="model.liaall.tenstm"
            placeholder="请输入Tenor Stream"
            ></c-input>
        </el-form-item>
        </c-col>
500

liuxin committed
501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555
        <c-col :span="12">
        <el-form-item label="清算方式" prop="bddgrp.rec.clrmtd">
            <c-select
            v-model="model.bddgrp.rec.clrmtd"
            style="width: 100%"
            placeholder="请选择清算方式"
            >
            </c-select>
        </el-form-item>
        </c-col>

        <c-col :span="12">
        <el-form-item label="Number of bank" prop="bddgrp.prb.pts.bankno">
            <c-input
            v-model="model.bddgrp.prb.pts.bankno"
            maxlength="20"
            placeholder="请输入Number of bank"
            ></c-input>
        </el-form-item>
        </c-col>

        <c-col :span="12">
        <el-form-item label="联行名称  电证用" prop="bddgrp.prb.pts.jigomc">
            <c-input
            type="textarea"
            v-model="model.bddgrp.prb.pts.jigomc"
            maxlength="35"
            show-word-limit
            placeholder="请输入联行名称  电证用"
            ></c-input>
        </el-form-item>
        </c-col>

        <c-col :span="12">
        <el-form-item label="currency discount paid back" prop="bptbck.dscbckcur">
            <c-input
            v-model="model.bptbck.dscbckcur"
            maxlength="3"
            placeholder="请输入currency discount paid back"
            ></c-input>
        </el-form-item>
        </c-col>

        <c-col :span="12">
        <el-form-item label="地址  电证用" prop="bddgrp.prb.pts.dizhii">
            <c-input
            type="textarea"
            v-model="model.bddgrp.prb.pts.dizhii"
            maxlength="35"
            show-word-limit
            placeholder="请输入地址  电证用"
            ></c-input>
        </el-form-item>
        </c-col> -->
    </div>
wangyanjiao committed
556

liushikai committed
557 558 559
  </div>
</template>
<script>
560
import Api from "~/service/Api";
wangren committed
561
import commonProcess from "~/mixin/commonProcess";
562 563 564
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtset/Event";
import PtapDome from "~/views/Public/PtapDome";
565
import Utils from "~/utils";
liushikai committed
566 567

export default {
568 569 570
  components: { "c-ptapdome": PtapDome },
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
571
  mixins: [commonProcess],
572 573 574 575 576 577 578 579 580
  data() {
    return {
      stmData: {
        columns: [
          '1 1 "Type" 0 ',
          '2 2 "Dbt" 0 ',
          '3 3 "Cdt" 0 ',
          '4 4 "Cur" 0 ',
          '5 5 "Amt" 0 ',
581
          '6 6 "Mat Dat" 0 ',
582 583 584 585 586
        ],
        data: [],
      },
    };
  },
liuxin committed
587
  computed: {
wangyanjiao committed
588 589 590 591 592 593 594 595 596
    crefinflg: {
      get() {
        
        if (this.model.bddgrp.rec.frepayflg == 'X' || this.model.paypsb =='X') {
          return false;
        }else{
          return this.model.trtcre.crefinflg != ''
        }
        
liuxin committed
597
      },
wangyanjiao committed
598 599 600 601 602 603 604 605 606 607 608
      set(val) {
      
        this.model.trtcre.crefinflg = val ? "X" : ""
        
         
        
      }
    },
    clsflg: {
      get() {
        return this.model.mtabut.clsflg != ''
liuxin committed
609
      },
wangyanjiao committed
610 611 612 613 614 615 616 617 618 619 620 621 622
      set(val) {
        this.model.mtabut.clsflg = val ? "X" : ""
      }
    },
    paypsb: {
      get() {
        
        if (this.model.bddgrp.rec.frepayflg == 'X'|| this.model.trtcre.crefinflg =='X' ) {
          return false;
        }else{
          return this.model.paypsb != ''
        }
        
liuxin committed
623
      },
wangyanjiao committed
624 625 626 627 628 629 630 631 632 633 634
      set(val) {
        if (this.model.bddgrp.rec.frepayflg == 'X'  || this.model.trtcre.crefinflg =='X') {
          this.model.paypsb = ""
        }else{
          this.model.paypsb = val ? "X" : ""
        }
      }
    },
    frepayflg: {
      get() {
        return this.model.bddgrp.rec.frepayflg != ''
liuxin committed
635
      },
wangyanjiao committed
636 637 638 639 640 641 642 643 644 645 646
      set(val) {
        if (this.model.bddgrp.rec.frepayflg == 'X' || this.model.paypsb =='X') {
          this.model.trtcre.crefinflg = ''
          this.model.paypsb = ''
        }
        this.model.bddgrp.rec.frepayflg = val ? "X" : ""
      }
    },
    dfflag: {
      get() {
        return this.model.dftcre.dfflag != ''
liuxin committed
647
      },
wangyanjiao committed
648 649 650 651
      set(val) {
        this.model.dftcre.dfflag = val ? "X" : ""
      }
    },
liuxin committed
652
  },
wangyanjiao committed
653 654
  methods: {
    ...Event,
wangyanjiao committed
655 656 657 658 659 660 661
    clounmSetting(){
      this.executeDefault("liaall.tenstmt").then((res) => {
        if ((res.respCode == SUCCESS)) {
          Utils.copyValueFromVO(this.model, res.data);
        }
      });
    },
wangyanjiao committed
662 663 664 665 666 667 668 669
    frepayflgDefault(){
      this.executeDefault("setmod.redamt").then((res) => {
        if ((res.respCode == SUCCESS)) {
          Utils.copyValueFromVO(this.model, res.data);
        }
      });
    },
    docprbrolChange() {
670
      this.executeRule("bddgrp.rec.docprbrol").then((res) => {
吴佳 committed
671
        if ((res.respCode == SUCCESS)) {
wangguangchao committed
672
          Utils.copyValueFromVO(this.model, res.data);
wangyanjiao committed
673
          this.stmData.data = res.data.liaall_tenstm.rows;
674
          this.$refs.bwxxIst.$refs.table.toggleAllSelection();
wangguangchao committed
675 676 677
        }
      });
    },
wangyanjiao committed
678 679
    commonExecuteRule(ruleName) {
      this.executeRule(ruleName).then((res) => {
吴佳 committed
680
        if ((res.respCode == SUCCESS)) {
681 682 683 684
          Utils.copyValueFromVO(this.model, res.data);
        }
      });
    },
wangyanjiao committed
685
  },
liuxin committed
686 687
  created: function () {
  },
688
};
liushikai committed
689
</script>
liushikai committed
690
<style scoped>
wangyanjiao committed
691
.el-checkbox {
liuxin committed
692
  text-align: left;
wangyanjiao committed
693
  margin-right: 0;
liushikai committed
694
}
wangyanjiao committed
695 696 697 698

.formItemLabel>>>.el-form-item__label {
  text-align: left;
  font-weight: bold;
liushikai committed
699
}
wangyanjiao committed
700 701 702

.el-col>>>.el-divider--horizontal {
  margin-top: 1px;
liushikai committed
703
}
wangyanjiao committed
704 705 706 707 708

.messageLabel>>>.el-form-item__label {
  text-align: left;
  font-weight: bold;
  font-size: 12px;
liuxin committed
709
}
liushikai committed
710
</style>>
liushikai committed
711
</style>