Detp.vue 17.4 KB
Newer Older
孟冬雪 committed
1
<template>
孟冬雪 committed
2 3 4 5 6 7 8 9 10 11 12
  <c-row>
    <!-- ====================左边======================= -->
    <c-col :span="11">
      <!-- Available with -->
      <c-col :span="24">
        <el-form-item label="指定银行" prop="ltdgrp.rec.avbwth">
          <c-select
            v-model="model.ltdgrp.rec.avbwth"
            style="width: 100%"
            placeholder="请选择指定银行"
            :code="codes.avbwth"
孟冬雪 committed
13
          >
孟冬雪 committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '指定银行',
            grp: 'ltdgrp',
            rol: 'avt',
          }"
          :noRef="true"
          :onlySearch="true"
          @onSeainf="onSeainf"
          @onAplpDet="onAvtpDet"
        >
        </c-ptap>
      </c-col>
      <c-col :span="24">
        <el-form-item label="名称地址" prop="ltdgrp.blk.avbwthtxt">
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.ltdgrp.blk.avbwthtxt"
            maxlength="35"
            show-word-limit
            placeholder="请输入名称地址"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="兑付方式" prop="ltdgrp.rec.avbby">
          <c-select
            v-model="model.ltdgrp.rec.avbby"
            style="width: 100%"
            placeholder="请选择兑付方式"
            :code="codes.avbby"
孟冬雪 committed
51
          >
孟冬雪 committed
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="期限描述" prop="ltdgrp.blk.defdet">
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.ltdgrp.blk.defdet"
            maxlength="35"
            show-word-limit
            placeholder="请输入期限描述"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="汇票期限" prop="ltdgrp.blk.dftat">
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.ltdgrp.blk.dftat"
            maxlength="35"
            show-word-limit
            placeholder="请输入汇票期限"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-ptap
          :model="model"
          :argadr="{
            title: '汇票申请人',
            grp: 'ltdgrp',
            rol: 'drw',
          }"
          :noRef="true"
          @onSeainf="onSeainf"
          @onAplpDet="onDrwpDet"
        >
        </c-ptap>
      </c-col>

      <!-- <c-col :span="24">
孟冬雪 committed
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
          <el-form-item label="指定银行" prop="ltdgrp.rec.avbwth">
            <c-select
              v-model="model.ltdgrp.rec.avbwth"
              style="width: 100%"
              placeholder="请选择Available with"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item
            label="External Key of Address"
            prop="ltdgrp.avt.pts.extkey"
          >
            <c-input
              v-model="model.ltdgrp.avt.pts.extkey"
              maxlength="16"
              placeholder="请输入External Key of Address"
            ></c-input>
          </el-form-item>
          <c-col :span="18">
            <el-form-item
              label="External Key of Address"
              prop="ltdgrp.avt.pts.extkey"
            >
              <c-input
                v-model="model.ltdgrp.avt.pts.extkey"
                maxlength="16"
                placeholder="请输入External Key of Address"
                @keyup.enter.native="
                  showGridPromptDialog('ltdgrp.avt.pts.extkey')
                "
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="2">
            <el-form-item label="" label-width="5px">
              <c-button
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="onSeainf('ltdgrp.avt.pts.extkey')"
              ></c-button>
            </el-form-item>
          </c-col>
          <c-col :span="4">
            <el-form-item label="" label-width="5px">
              <c-button size="small" type="primary" @click="onAplpDet">
                Details
              </c-button>
            </el-form-item>
          </c-col>
        </c-col> -->
孟冬雪 committed
149
      <!-- <c-col :span="24">
孟冬雪 committed
150 151 152 153 154 155 156 157 158
        <el-form-item label="External Key of Address" prop="ltdgrp.avt.pts.extkey">
            <c-input  
            v-model="model.ltdgrp.avt.pts.extkey" 
            maxlength="16"  
            placeholder="请输入External Key of Address"
            ></c-input>
        </el-form-item>
       </c-col>   -->

孟冬雪 committed
159
      <!-- <c-col :span="24">
孟冬雪 committed
160 161 162 163 164 165 166 167 168 169
          <el-form-item label="Available in" prop="ltdgrp.blk.avbwthtxt">
            <c-input
              type="textarea"
              v-model="model.ltdgrp.blk.avbwthtxt"
              maxlength="35"
              show-word-limit
              placeholder="请输入Available in"
            ></c-input>
          </el-form-item>
        </c-col> -->
孟冬雪 committed
170
      <!-- <c-col :span="24">
孟冬雪 committed
171 172 173 174 175 176 177 178 179
          <el-form-item label="Available by" prop="ltdgrp.rec.avbby">
            <c-select
              v-model="model.ltdgrp.rec.avbby"
              style="width: 100%"
              placeholder="请选择Available by"
            >
            </c-select>
          </el-form-item>
        </c-col> -->
孟冬雪 committed
180
      <!-- <c-col :span="24">
孟冬雪 committed
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
          <span v-text="model.lttp.labdefdet" data-path=".lttp.labdefdet">
          </span>
        </c-col>
        <c-col :span="24">
          <el-form-item label="Payment Details" prop="ltdgrp.blk.defdet">
            <c-input
              type="textarea"
              v-model="model.ltdgrp.blk.defdet"
              maxlength="35"
              show-word-limit
              placeholder="请输入Deferred Payment Details"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="Drafts at" prop="ltdgrp.blk.dftat">
            <c-input
              type="textarea"
              v-model="model.ltdgrp.blk.dftat"
              maxlength="35"
              show-word-limit
              placeholder="请输入Drafts at"
            ></c-input>
          </el-form-item>
        </c-col> -->
孟冬雪 committed
206
      <!-- <c-col :span="24">
孟冬雪 committed
207 208 209 210 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 240 241 242 243 244 245 246 247 248 249
          <el-form-item
            label="External Key of Address"
            prop="ltdgrp.drw.pts.extkey"
          >
            <c-input
              v-model="model.ltdgrp.drw.pts.extkey"
              maxlength="16"
              placeholder="请输入External Key of Address"
            ></c-input>
          </el-form-item>
          <c-col :span="18">
            <el-form-item
              label="External Key of Address"
              prop="ltdgrp.drw.pts.extkey"
            >
              <c-input
                v-model="model.ltdgrp.drw.pts.extkey"
                maxlength="16"
                placeholder="请输入External Key of Address"
                @keyup.enter.native="
                  showGridPromptDialog('ltdgrp.drw.pts.extkey')
                "
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="2">
            <el-form-item label="" label-width="5px">
              <c-button
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="onSeainf('ltdgrp.drw.pts.extkey')"
              ></c-button>
            </el-form-item>
          </c-col>
          <c-col :span="4">
            <el-form-item label="" label-width="5px">
              <c-button size="small" type="primary" @click="onAplpDet">
                Details
              </c-button>
            </el-form-item>
          </c-col>
        </c-col> -->
孟冬雪 committed
250
      <!-- <c-col :span="24">
孟冬雪 committed
251 252 253 254
        <el-form-item label="Drawee" prop="ltdgrp.drw.pts.extkey">
            <c-input  v-model="model.ltdgrp.drw.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col> -->
孟冬雪 committed
255
      <!-- <c-col :span="24">
孟冬雪 committed
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276
          <el-form-item label="名称" prop="ltdgrp.drw.namelc">
            <c-input
              type="textarea"
              v-model="model.ltdgrp.drw.namelc"
              maxlength="35"
              show-word-limit
              placeholder="请输入名称"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="地址" prop="ltdgrp.drw.adrelc">
            <c-input
              type="textarea"
              v-model="model.ltdgrp.drw.adrelc"
              maxlength="35"
              show-word-limit
              placeholder="请输入地址"
            ></c-input>
          </el-form-item>
        </c-col> -->
孟冬雪 committed
277 278 279 280 281 282 283 284
      <c-col :span="24">
        <el-form-item label="装货地" prop="ltdgrp.rec.shpfro">
          <c-input
            v-model="model.ltdgrp.rec.shpfro"
            maxlength="65"
            placeholder="请输入Dispatch from"
          ></c-input>
        </el-form-item>
孟冬雪 committed
285
      </c-col>
孟冬雪 committed
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 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340
    </c-col>
    <!-- ========================右边======================= -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item label="混合付款细节" prop="ltdgrp.blk.mixdet">
          <c-input
            type="textarea"
            v-model="model.ltdgrp.blk.mixdet"
            maxlength="35"
            show-word-limit
            placeholder="请输入Mixed Payment Details"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Presentation Period" prop="ltdgrp.blk.preper">
          <c-input
            type="textarea"
            v-model="model.ltdgrp.blk.preper"
            maxlength="35"
            show-word-limit
            placeholder="请输入Presentation Period"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item
          label="Presentation period text"
          prop="ltdgrp.rec.prepertxts18"
        >
          <c-input
            v-model="model.ltdgrp.rec.prepertxts18"
            maxlength="35"
            placeholder="请输入Presentation period text"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Details of Charges" prop="ltdgrp.blk.feetxt">
          <c-input
            type="textarea"
            v-model="model.ltdgrp.blk.feetxt"
            maxlength="35"
            show-word-limit
            placeholder="请输入Additional Details to Code for Charges CHATO"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Charges Condition" prop="ltdgrp.rec.chato">
          <c-select
            v-model="model.ltdgrp.rec.chato"
            style="width: 100%"
            placeholder="请选择Own Charges Borne by"
            :code="codes.chato"
孟冬雪 committed
341
          >
孟冬雪 committed
342 343
          </c-select>
        </el-form-item>
孟冬雪 committed
344 345
      </c-col>
      <c-col :span="24">
孟冬雪 committed
346 347 348 349 350 351
        <el-form-item label="国家代码" prop="ltdgrp.rec.stacty">
          <c-select
            v-model="model.ltdgrp.rec.stacty"
            style="width: 100%"
            placeholder="请选择Country Code Risk Country"
            :code="codes.ctytxt"
孟冬雪 committed
352
          >
孟冬雪 committed
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
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="tenor days" prop="ltdgrp.rec.tenmaxday">
          <c-input
            v-model="model.ltdgrp.rec.tenmaxday"
            placeholder="请输入Maximum tenor in days"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
    <!-- =================底部====================== -->

    <c-col :span="24">
      <c-col :span="24">
        <el-form-item label="Air-/Port of Departure" prop="ltdgrp.rec.porloa">
          <c-input
            v-model="model.ltdgrp.rec.porloa"
            maxlength="65"
            placeholder="请输入Air-/Port of Departure"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Air-/Port of Destination" prop="ltdgrp.rec.pordis">
          <c-input
            v-model="model.ltdgrp.rec.pordis"
            maxlength="65"
            placeholder="请输入Air-/Port of Destination"
          ></c-input>
        </el-form-item>
孟冬雪 committed
385
      </c-col>
孟冬雪 committed
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408
      <c-col :span="24">
        <el-form-item label="Final Destination" prop="ltdgrp.rec.shpto">
          <c-input
            v-model="model.ltdgrp.rec.shpto"
            maxlength="65"
            placeholder="请输入Final Destination"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="Shipment Period" prop="ltdgrp.blk.shpper">
          <c-input
            type="textarea"
            v-model="model.ltdgrp.blk.shpper"
            maxlength="65"
            show-word-limit
            placeholder="请输入Shipment Period"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
  </c-row>
  <!-- <c-col :span="12">
孟冬雪 committed
409 410 411 412 413 414 415 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 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502
        <el-form-item label="Drag  Drop Sender" prop="lttp.avtp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.lttp.avtp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                        
       <c-col :span="12">
        <el-form-item label="" prop="lttp.avtp.ptsget.sdamod.seainf">
            <c-input  v-model="model.lttp.avtp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onAvtpDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="ltdgrp.avt.namelc">
            <c-input type="textarea" v-model="model.ltdgrp.avt.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
          
       <c-col :span="12">
        <el-form-item label="Address Block" prop="ltdgrp.avt.pts.adrblk">
            <c-input type="textarea" v-model="model.ltdgrp.avt.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="ltdgrp.avt.dbfadrblkcn">
            <c-input type="textarea" v-model="model.ltdgrp.avt.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="ltdgrp.avt.adrelc">
            <c-input type="textarea" v-model="model.ltdgrp.avt.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onPreperButtxmsel">
            ...
        </c-button>
       </c-col>
                  
                  
       <c-col :span="12">
        <el-form-item label="Days of presentation period" prop="ltdgrp.rec.prepers18">
            <c-input  v-model="model.ltdgrp.rec.prepers18"  placeholder="请输入Days of presentation period"></c-input>
        </el-form-item>
       </c-col> 
    
       <c-col :span="12">
	    <c-checkbox v-model="model.ltdgrp.blk.preperflg">Presentation Period modified</c-checkbox>
       </c-col>

       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onChariaButtxmsel">
            ...
        </c-button>
       </c-col>                                                 
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="lttp.drwp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.lttp.drwp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>             
       <c-col :span="12">
        <el-form-item label="" prop="lttp.drwp.ptsget.sdamod.seainf">
            <c-input  v-model="model.lttp.drwp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onDrwpDet">
            Details
        </c-button>
       </c-col>
              
       <c-col :span="12">
        <el-form-item label="Address Block" prop="ltdgrp.drw.pts.adrblk">
            <c-input type="textarea" v-model="model.ltdgrp.drw.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="ltdgrp.drw.dbfadrblkcn">
            <c-input type="textarea" v-model="model.ltdgrp.drw.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>-->
</template>
<script>
import Api from "~/service/Api";
wangren committed
503
import commonProcess from "~/mixin/commonProcess";
孟冬雪 committed
504 505 506 507 508 509 510
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttopn/Event";
import Ptap from "~/views/Public/Ptap";

export default {
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
511
  mixins: [commonProcess],
孟冬雪 committed
512 513 514 515 516 517
  components: { "c-ptap": Ptap },
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
孟冬雪 committed
518
  watch: {},
孟冬雪 committed
519 520 521 522
};
</script>
<style>
</style>