Ovwp.vue 16 KB
Newer Older
ccx committed
1
<template>
2 3 4 5 6
  <div class="eibs-tab">

    <!-- ====================左边======================= -->
    <c-col :span="11">
      <c-col :span="24">
ccx committed
7 8 9 10 11
          <el-form-item
            label="Reference"
            prop="bcdgrp.rec.ownref"
            style="width: 100%"
          >
12
          <c-fullbox>
ccx committed
13 14 15 16
            <c-input
              v-model="model.bcdgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入Reference"
17
              style="width: 100%"
ccx committed
18 19
              disabled
            ></c-input>
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
            <template slot="footer">
              <c-button
                style="margin: 0 10px 0 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click=""
              >
                <span style="font-family: '宋体'; font-weight: bold">i</span>
              </c-button>
              <c-button
                style="margin: 0 0"
                size="small"
                type="primary"
                :disabled="!this.model.bcdgrp.dre.pts.extkey"
                @click="onBctmodButgetref"
              >
                Get Ref.
              </c-button>
            </template>
          </c-fullbox>
ccx committed
40 41
          </el-form-item>
		 </c-col>
42
      <c-col :span="18">
ccx committed
43 44 45 46 47 48
        <el-form-item
          label="Responsible User"
          prop="bctp.usr.extkey"
          style="width: 100%"
        >
          <c-input
49
            style="width: 100%"
ccx committed
50 51 52 53 54 55 56
            v-model="model.bctp.usr.extkey"
            maxlength="16"
            placeholder="请输入Responsible User"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
57 58 59 60
      <c-col :span="6" class="centerLable">
          <c-checkbox style="margin-left:4px;padding: 0 10px;"  v-model="model.bcdgrp.rec.dftgarflg"
            >Draft to be Guaranteed</c-checkbox >
        </c-col>
ccx committed
61

62
        <!-- <c-col :span="4" class="centerLable">
ccx committed
63 64 65
          <c-checkbox  v-model="model.bcdgrp.rec.resflg"
            >Reserved Contract</c-checkbox
          >
66
        </c-col> -->
ccx committed
67 68


69
      <c-col :span="14">
ccx committed
70 71
        <el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
          <c-select
72
            
ccx committed
73
            v-model="model.bcdgrp.cbs.max.cur"
74
            style="width: 100%"
ccx committed
75
            placeholder="请选择Currency"
76
            :code="codes.cur"
ccx committed
77
          >
78
            
ccx committed
79 80 81
          </c-select>
        </el-form-item>
      </c-col>
82
      <c-col :span="10">
ccx committed
83 84 85
        <el-form-item
          style="text-align: left"
          label-width="0"
86
          prop="bcdgrp.cbs.max.amt"
ccx committed
87 88 89
        >
          <c-input-currency
            v-model="model.bcdgrp.cbs.max.amt"
90
            style="text-align: left; width: 100%"
ccx committed
91 92 93 94
            placeholder="请输入Document Amount"
          ></c-input-currency>
        </el-form-item>
      </c-col>
95 96
	    
      <c-col :span="14">
ccx committed
97 98 99 100
        <el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
          <c-select
            disabled
            v-model="model.bcdgrp.cbs.opn1.cur"
101
            style="width: 100%"
ccx committed
102 103 104 105 106
            placeholder="请选择Open Currency"
          >
          </c-select>
        </el-form-item>
      </c-col>
107
      <c-col :span="10">
ccx committed
108 109 110
        <el-form-item
          style="text-align: left"
          label-width="0"
111
          prop="bcdgrp.cbs.opn1.amt"
ccx committed
112 113
        >
          <c-input-currency
114
          disabled
ccx committed
115 116 117 118 119 120
            v-model="model.bcdgrp.cbs.opn1.amt"
            style="text-align: left; width: 100%"
            placeholder="请输入Open Amount"
          ></c-input-currency>
        </el-form-item>
      </c-col>
121
	  <c-col :span="12">
ccx committed
122 123 124 125
          <el-form-item label="Docs received on" prop="bcdgrp.rec.rcvdat">
            <c-date-picker
              type="date"
              v-model="model.bcdgrp.rec.rcvdat"
126
              style="width: 100%"
ccx committed
127 128 129 130
              placeholder="请选择Docs received on"
            ></c-date-picker>
          </el-form-item>
        </c-col>
131
        <c-col :span="12">
ccx committed
132
          <el-form-item
ccx committed
133
            label="Date of Remittance Lt."   
ccx committed
134 135 136 137 138 139 140 141 142 143 144
            prop="bcdgrp.rec.predat"
          >
            <c-date-picker
              type="date"
              v-model="model.bcdgrp.rec.predat"
              style="width: 100%"
              placeholder="请选择Date of Remittance Lt."
            ></c-date-picker>
          </el-form-item>
        </c-col>

145
	  <c-col :span="24">
ccx committed
146 147
          <el-form-item label="Advised on" prop="bcdgrp.rec.advdat">
            <c-date-picker
148
            disabled
ccx committed
149 150
              type="date"
              v-model="model.bcdgrp.rec.advdat"
151
              style="width: 100%"
ccx committed
152 153 154 155
              placeholder="请选择Advised on"
            ></c-date-picker>
          </el-form-item>
        </c-col>
156
	    <!-- <c-col :span="4" class="centerLable">
ccx committed
157 158
          <c-checkbox  v-model="model.bcdgrp.rec.oridre"
            >Send Original Documents to Drawee</c-checkbox >
159
        </c-col>		 -->
ccx committed
160
		
161
      <c-col :span="24">
ccx committed
162 163 164 165 166
        <el-form-item label="Collection Condition" prop="bcdgrp.rec.doctypcod">
          <c-select
            v-model="model.bcdgrp.rec.doctypcod"
            style="width: 100%"
            placeholder="请选择Collection Condition"
167
            :code="codes.doctypcod"
ccx committed
168
          >
169
            
ccx committed
170 171 172 173 174 175 176 177 178 179
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
          <c-date-picker
            type="date"
            v-model="model.bcdgrp.rec.matdat"
            value-format="yyyy-MM-dd"
180
            style="width: 100%"
ccx committed
181 182 183 184 185 186 187 188 189 190 191 192 193
            placeholder="请选择Maturity Date"
          ></c-date-picker>
        </el-form-item>
      </c-col>
	  
        <c-col :span="12">
          <el-form-item label="Tenor Specification" prop="bcdgrp.rec.matpercnt">
            <c-input
              v-model="model.bcdgrp.rec.matpercnt"
              placeholder="请输入Tenor Specification"
            ></c-input>
          </el-form-item>
        </c-col>
194
        <c-col :span="12">
ccx committed
195
          <el-form-item label="" label-width="10px" prop="bcdgrp.rec.matpertyp">
196
            <c-select
ccx committed
197 198 199
              v-model="model.bcdgrp.rec.matpertyp"
              style="width: 100%"
              placeholder="请选择Days/Months or Years for Maturity Period"
200 201
              :code="codes.matpertyp"
            ></c-select>
ccx committed
202 203
          </el-form-item>
        </c-col>
204
        <c-col :span="24" >
ccx committed
205
          <el-form-item label="发票类型" prop="bcdgrp.rec.invtyp">
206 207
            <c-select v-model="model.bcdgrp.rec.invtyp" style="width:100%" placeholder="请选择发票类型"
            :code="codes.invtyp"
ccx committed
208
            >
209
              </c-select> 
ccx committed
210 211 212
          </el-form-item>
        </c-col>
		
213
	    <c-col :span="24">
ccx committed
214
        <el-form-item label="Tenor Starting from" prop="bcdgrp.rec.matperbeg">
215 216 217 218
            <c-select v-model="model.bcdgrp.rec.matperbeg" style="width:100%" placeholder="请选择Tenor Starting from"
            
            :code="codes.matperbeg">
              </c-select>
ccx committed
219 220 221 222
        </el-form-item>
        </c-col>
       <c-col :span="24">
        <el-form-item label="Maturity Text" prop="bcdgrp.blk.bcgdet">
223 224 225
            <c-input 
            disabled
            type="textarea" v-model="model.bcdgrp.blk.bcgdet" maxlength="45" show-word-limit placeholder="请输入Maturity Text" ></c-input>
ccx committed
226 227 228 229 230
        </el-form-item>
        </c-col>
   

	   <c-col :span="24" class="bctdav_bctp_bctovw_cheak">
231
	    <c-checkbox v-model="model.bcdgrp.blk.bcgdetflg">Maturity Text modified</c-checkbox>
ccx committed
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249
       </c-col> 

	   <c-col :span="24">
	   <!--
            <c-istream-table
              :list="model.bctp.docgrdm.docgrd"
              :columns="columns"
            >
            </c-istream-table>
			-->
		  <c-edit-table :model="model" v-bind="docgrd">
          </c-edit-table>
       </c-col>

    </c-col>

    <!-- ========================右边======================= -->
    <c-col :span="11" :offset="1">
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
           <c-col :span="24" >
        <el-form-item label="Name" prop="bcdgrp.rec.nam">
          <c-input
            align="middle"
            disabled
            v-model="model.bcdgrp.rec.nam"
            maxlength="40"
            placeholder="请输入Name"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item
          label="Drawee Ref."
          prop="bcdgrp.dre.pts.ref"
        >
          <c-input
            
            v-model="model.bcdgrp.dre.pts.ref"
            maxlength="16"
            style="width: 100%"
            placeholder="请输入Application Ref"
          ></c-input>
        </el-form-item>
      </c-col>

ccx committed
276
      <c-col :span="24">
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
        <el-form-item label="Extkey" prop="bcdgrp.dre.pts.extkey">
            <c-fullbox>
          <c-input
          
            v-model="model.bcdgrp.dre.pts.extkey"
            maxlength="50"
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('bcdgrp.dre.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
                style="margin:0 0"
                  size="small"
                  type="primary"
                  disabled
                  
                >
                  详情
                </c-button>
              </template>
            </c-fullbox>
        </el-form-item>

    </c-col>

    <c-col :span="24">
        <el-form-item label="Address Block" prop="bcdgrp.dre.pts.adrblk">
          <c-input
            type="textarea"
            :rows="4"
            v-model="model.bcdgrp.dre.pts.adrblk"
            maxlength="50"
            disabled
            show-word-limit
            placeholder="请输入Address Block"
          ></c-input>
        </el-form-item>
      </c-col>
      <!-- <c-col :span="24">
ccx committed
324 325 326 327 328 329 330 331 332
        <c-ptap
          :model="model"
          :argadr="{
            title: 'Drawee',
            grp: 'bcdgrp',
            rol: 'dre',
          }"
          :disabled="true"
          :isAdrblk="false"
333
          
ccx committed
334 335
        >
        </c-ptap>
336
      </c-col> -->
ccx committed
337
	  
338
      <!-- <c-col :span="24">
ccx committed
339 340 341 342 343 344 345 346 347
        <c-ptap
          :model="model"
          :argadr="{
            title: 'Remitting Bank',
            grp: 'bcdgrp',
            rol: 'rmi',
          }"
          :disabled="true"
          :isAdrblk="false"
348
          
ccx committed
349 350
        >
        </c-ptap>
351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 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-col> -->
      <c-col :span="24">
        <el-form-item
          label="Remitting Bank Ref."
          prop="bcdgrp.rmi.pts.ref"
        >
          <c-input
            v-model="model.bcdgrp.rmi.pts.ref"
            maxlength="16"
            style="width: 100%"
            placeholder=""
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Extkey" prop="bcdgrp.rmi.pts.extkey">
          <c-fullbox>
          <c-input
            v-model="model.bcdgrp.rmi.pts.extkey"
            maxlength="120"
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('bcdgrp.rmi.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
                style="margin:0 0"
                  size="small"
                  type="primary"
                >
                  详情
                </c-button>
              </template>
        </c-fullbox>   
        </el-form-item>

    </c-col>

    <c-col :span="24">
        <el-form-item label="Address Block" prop="bcdgrp.rmi.pts.adrblk">
          <c-input
            type="textarea"
            :rows="4"
            v-model="model.bcdgrp.rmi.pts.adrblk"
            maxlength="50"
            
            show-word-limit
            placeholder="请输入Address Block"
          ></c-input>
        </el-form-item>
ccx committed
410 411 412
      </c-col>
	  
      <c-col :span="24">
413 414 415
        <el-form-item
          label="Drawer Ref."
          prop="bcdgrp.drr.pts.ref"
ccx committed
416
        >
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471
          <c-input
            v-model="model.bcdgrp.drr.pts.ref"
            maxlength="16"
            style="width: 100%"
            placeholder=""
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Extkey" prop="bcdgrp.drr.pts.extkey">
            <c-fullbox>
          <c-input
            v-model="model.bcdgrp.drr.pts.extkey"
            maxlength="50"
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('bcdgrp.drr.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
                style="margin:0 0"
                  size="small"
                  type="primary"
                  
                  
                >
                  详情
                </c-button>
              </template>
            </c-fullbox>
        </el-form-item>

    </c-col>

    <c-col :span="24">
        <el-form-item label="Address Block" prop="bcdgrp.drr.pts.adrblk">
          <c-input
            type="textarea"
            :rows="4"
            v-model="model.bcdgrp.drr.pts.adrblk"
            maxlength="50"
            
            show-word-limit
            placeholder="请输入Address Block"
          ></c-input>
        </el-form-item>
      </c-col>
ccx committed
472
 
473
      <c-col :span="24">
ccx committed
474
        <el-form-item label="Country or region Code" prop="bcdgrp.rec.stacty">
475 476 477
          <c-select v-model="model.bcdgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country"
          :code="codes.stacty"
          >
ccx committed
478 479 480 481
              </c-select>
        </el-form-item>
      </c-col>
	  
482
       <c-col :span="12">
ccx committed
483
        <el-form-item label="申报类型" prop="outlen.szflg">
484 485 486
            <c-select v-model="model.outlen.szflg" style="width:100%" placeholder="请选择申报类型"
            :code="codes.szflg"
            >
ccx committed
487 488 489 490
              </c-select>
        </el-form-item>
       </c-col>
	 
491 492 493 494 495 496 497
       <c-col :span="12">
        <el-form-item label="款项去向" prop="bctp.acttyp">
            <c-select 
            disabled
            v-model="model.bctp.acttyp" style="width:100%" placeholder="请选择ACTTYP"
            :code="codes.acttyp"
            >
ccx committed
498 499 500 501 502
              </c-select>
        </el-form-item>
       </c-col>
	 
    </c-col>
503
  </div>
ccx committed
504 505 506
</template>
<script>
import Api from "~/service/Api"
wangren committed
507
import commonProcess from "~/mixin/commonProcess";
ccx committed
508 509 510 511 512 513 514 515
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctdav/Event"
import Ptap from "~/views/Public/Ptap";

export default {
    components: { "c-ptap": Ptap },
    inject: ['root'],
    props:["model","codes"],
wangren committed
516
    mixins: [commonProcess],
ccx committed
517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537
    data(){
        return {

		docgrd: {
        columns: [
          {
            title: "lst1",
            width: "80px",
			dataIndex: "cmail1",
            show: "input",
          },
          {
            title: "2nd",
            width: "80px",
			dataIndex: "cmail2",
            show: "input",
          },
          {
            title: "Document",
            width: "320px",
			dataIndex: "docnam",
ccx committed
538
            show: "select",
ccx committed
539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564
          },
        ],
        urls: "bctp.docgrdm.docgrd",
      },
        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>
.centerLable {
  margin-left: -10px;
  height: 32px;
  line-height: 32px;
  padding-bottom: 2px;
}
.marginLable {
  padding-left: 150px;
}
.bctdav_bctp_bctovw_cheak {
  margin: 0px 0 10px 150px;
}
</style>