Dscins.vue 16.4 KB
Newer Older
1
<template>
2 3
  <div class="eibs-tab">
    <!-- left -->
4
    <c-col :span="11">
5 6 7 8 9
      <c-col :span="24">
        <el-form-item
          label="内部不符点"
          prop="bfdgrp.blk.intdis"
          style="width: 100%"
zhoubaojian committed
10
        >
11 12 13 14 15 16 17 18 19 20 21 22 23
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.bfdgrp.blk.intdis"
              maxlength="65"
              show-word-limit
              placeholder="请输入内部不符点"
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
Wuyuqiu committed
24 25 26 27 28 29 30 31 32 33
                @click="
                  showGridPromptDialog(
                    'bftp.intdis.buttxmsel',
                    null,
                    null,
                    { TXT: 'bfdgrp.blk.intdis' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
34 35 36 37 38
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
zhoubaojian committed
39 40
        </el-form-item>
      </c-col>
41 42

      <c-col :span="24">
zhoubaojian committed
43
        <el-form-item
44 45 46
          label="注释和结论"
          prop="bfdgrp.blk.comcon"
          style="width: 100%"
zhoubaojian committed
47
        >
48 49 50 51 52 53 54 55 56 57 58 59 60 61
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.bfdgrp.blk.comcon"
              maxlength="65"
              show-word-limit
              placeholder="请输入注释和结论"
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
62
                disabled
Wuyuqiu committed
63 64 65 66 67 68 69 70 71 72
                @click="
                  showGridPromptDialog(
                    'bftp.comcon.buttxmsel',
                    null,
                    null,
                    { TXT: 'bfdgrp.blk.comcon' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
73 74 75 76 77
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
zhoubaojian committed
78 79 80
        </el-form-item>
      </c-col>

81 82 83 84 85
      <c-col :span="24">
        <el-form-item
          label="结算指示"
          prop="bfdgrp.blk.setinsbe"
          style="width: 100%"
zhoubaojian committed
86
        >
87 88 89 90 91 92 93 94 95 96 97 98 99
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.bfdgrp.blk.setinsbe"
              maxlength="150"
              show-word-limit
              placeholder="请输入结算指示"
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
Wuyuqiu committed
100 101 102 103 104 105 106 107 108 109
                @click="
                  showGridPromptDialog(
                    'setinstxm.buttxmsel',
                    null,
                    null,
                    { TXT: 'bfdgrp.blk.setinsbe' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
110 111 112 113 114
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
115
        </el-form-item>
zhoubaojian committed
116
      </c-col>
117

zhoubaojian committed
118
      <c-col :span="24">
119 120 121 122
        <el-form-item
          label="不符点"
          prop="bfdgrp.blk.docdis"
          style="width: 100%"
zhoubaojian committed
123
        >
124 125 126 127 128 129 130
          <c-fullbox>
            <c-input
              type="textarea"
              v-model="model.bfdgrp.blk.docdis"
              maxlength="50"
              show-word-limit
              placeholder="请输入不符点"
131
              :disabled="!docdisflg"
132 133 134 135 136 137
            ></c-input>
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
138
                :disabled="!docdisflg"
Wuyuqiu committed
139 140 141 142 143 144 145 146 147 148
                @click="
                  showGridPromptDialog(
                    'bftp.docdis.buttxmsel',
                    null,
                    null,
                    { TXT: 'bfdgrp.blk.docdis' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
149 150 151 152 153 154
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
zhoubaojian committed
155
      </c-col>
156

zhoubaojian committed
157
      <c-col :span="24">
Wuyuqiu committed
158 159 160 161
        <el-form-item label="" prop="bfdgrp.blk.docdisflg">
          <c-checkbox v-model="docdisflg"
            >录入不符点</c-checkbox
          >
zhoubaojian committed
162 163
        </el-form-item>
      </c-col>
164 165 166
    </c-col>

    <!-- right -->
167
    <c-col :span="11" :offset="1">
Wuyuqiu committed
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
      <c-col :span="24">
        <el-form-item label="寄单状态" prop="bftp.folwupopt">
          <c-select
            v-model="model.bftp.folwupopt"
            style="width: 100%"
            placeholder="请选择寄单状态"
          >
            <el-option
              v-for="item in codes.folwupopt"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
zhoubaojian committed
185 186

      <c-col :span="24">
187 188 189
        <el-form-item label="" prop="approvcod">
          <c-checkbox v-model="approvcod">直接不符点寄单</c-checkbox>
        </el-form-item>
zhoubaojian committed
190 191
      </c-col>

Wuyuqiu committed
192 193
      <c-col :span="24">
        <el-form-item label="" prop="bfdsnd.snd732">
194
        <c-checkbox v-model="model.bfdsnd.snd732" disabled
wangna committed
195
          >创建清偿通知(MT732)</c-checkbox
196
        >
Wuyuqiu committed
197
        </el-form-item>
zhoubaojian committed
198 199
      </c-col>

Wuyuqiu committed
200 201
      <c-col :span="24">
        <el-form-item label="" prop="bftp.cre752flg">
202
        <c-checkbox v-model="model.bftp.cre752flg" disabled
wangna committed
203
          >是否接收报文752</c-checkbox
204
        >
Wuyuqiu committed
205
        </el-form-item>
zhoubaojian committed
206 207 208
      </c-col>

      <c-col :span="24">
wangna committed
209
        <el-form-item label="进一步确认" prop="bftp.furide">
zhoubaojian committed
210 211 212
          <c-select
            v-model="model.bftp.furide"
            style="width: 100%"
wangna committed
213
            placeholder="请选择"
214
            disabled
zhoubaojian committed
215 216 217 218 219 220
          >
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
221
        <el-form-item label="通知日期" prop="bfdgrp.rec.disdat">
zhoubaojian committed
222 223 224 225
          <c-date-picker
            type="date"
            v-model="model.bfdgrp.rec.disdat"
            style="width: 100%"
wangna committed
226
            placeholder="请选择通知日期"
227
            disabled
zhoubaojian committed
228
          ></c-date-picker>
229
        </el-form-item>
zhoubaojian committed
230 231 232
      </c-col>

      <c-col :span="24">
233
        <el-form-item label="扣减金额" prop="bfdgrp.rec.lescom">
zhoubaojian committed
234 235
          <c-input
            v-model="model.bfdgrp.rec.lescom"
236
            placeholder="请输入扣减金额"
zhoubaojian committed
237 238 239
          ></c-input>
        </el-form-item>
      </c-col>
240

zhoubaojian committed
241
      <c-col :span="24">
242 243 244
        <!-- <el-form-item label="议付" prop="bfdsnd.yf">
            <c-input  v-model="model.bfdsnd.yf" maxlength="10"  placeholder="请输入议付"></c-input>
        </el-form-item> -->
Wuyuqiu committed
245
        <el-form-item label="议付" prop="bfdsnd.yf">
246
          <template>
Wuyuqiu committed
247 248 249
            <c-radio v-model="model.bfdsnd.yf" label="W">未议付</c-radio>
            <c-radio v-model="model.bfdsnd.yf" label="Y">已议付</c-radio>
          </template>
250
        </el-form-item>
zhoubaojian committed
251 252
      </c-col>

253 254 255
      <!-- <c-col :span="24">
	    <c-checkbox v-model="model.bfdsnd.ingdsc">CG000354</c-checkbox>
       </c-col> -->
zhoubaojian committed
256
      <c-col :span="24">
257
        <el-form-item label="" prop="ingdsc">
258
          <c-checkbox v-model="ingdsc">忽略不符点</c-checkbox>
259 260 261
        </el-form-item>
      </c-col>

Wuyuqiu committed
262 263
      <c-col :span="23">
        <el-form-item label="" prop="bfdgrp.rec.docrolflg">
264 265 266
        <c-checkbox v-model="model.bfdgrp.rec.docrolflg" disabled
          >选择寄单行</c-checkbox
        >
Wuyuqiu committed
267
        </el-form-item>
268 269
      </c-col>

Eivi committed
270
      <c-col :span="24">
wangna committed
271
        <el-form-item label="收单行" prop="bfdgrp.rec.docrol">
zhoubaojian committed
272 273 274
          <c-select
            v-model="model.bfdgrp.rec.docrol"
            style="width: 100%"
wangna committed
275
            placeholder="请选择收单行"
276
            disabled
Wuyuqiu committed
277
            @change="eventFunction( 'bfdgrp.rec.docrol')"
zhoubaojian committed
278 279
          >
          </c-select>
280
        </el-form-item>
zhoubaojian committed
281 282
      </c-col>

283
      <c-col :span="24">
Wuyuqiu committed
284 285 286 287 288 289 290 291 292 293 294 295 296 297
        <c-ptap
          :model="model"
          :argadr="{
            title: '寄单行',
            grp: 'bfdgrp',
            rol: 'ben',
          }"
          :disabledExtkey="!(model.bfdgrp.rec.docrol == 'OTH')"
          :disabled="true"
          :isAdrblk="false"
          :noRef="true"
        >
        </c-ptap>
      </c-col>
298
    </c-col>
zhoubaojian committed
299

300 301 302 303 304 305 306
    <!-- <c-col :span="12">
	    <c-checkbox v-model="model.bfdgrp.blk.docdisflg">Discrepancies modified</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Internal Discrepancies" prop="bfdgrp.blk.intdis">
            <c-input type="textarea" v-model="model.bfdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input>
zhoubaojian committed
307
        </el-form-item>
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 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 410 411 412 413 414 415 416 417 418 419 420 421 422 423
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onIntdisButtxmsel">
            ...
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Processing Options" prop="bftp.folwupopt">
            <c-select v-model="model.bftp.folwupopt" style="width:100%" placeholder="请选择Processing Options">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.bfdgrp.rec.approvcod">Documents on Approval Basis</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.bfdsnd.snd732">Create MT 732</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.bftp.cre752flg">Create 752</c-checkbox>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Further Identification" prop="bftp.furide">
            <c-select v-model="model.bftp.furide" style="width:100%" placeholder="请选择Further Identification">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Comments and Conclusions" prop="bfdgrp.blk.comcon">
            <c-input type="textarea" v-model="model.bfdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onComconButtxmsel">
            ...
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Date of Advice" prop="bfdgrp.rec.disdat">
            <c-date-picker type="date"  v-model="model.bfdgrp.rec.disdat" style="width:100%"  placeholder="请选择Date of Advice"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Less comm." prop="bfdgrp.rec.lescom">
            <c-input  v-model="model.bfdgrp.rec.lescom"  placeholder="请输入Less comm."></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Settlement Instructions transaction field" prop="bfdgrp.blk.setinsbe">
            <c-input type="textarea" v-model="model.bfdgrp.blk.setinsbe" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions transaction field" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
            ...
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="议付" prop="bfdsnd.yf">
            <c-input  v-model="model.bfdsnd.yf" maxlength="10"  placeholder="请输入议付"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.bfdgrp.rec.docrolflg">Send Documents to Another Address</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
	    <c-checkbox v-model="model.bfdsnd.ingdsc">Ignore Discrepancies</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Receiver of Documents" prop="bfdgrp.rec.docrol">
            <c-select v-model="model.bfdgrp.rec.docrol" style="width:100%" placeholder="请选择Receiver of Documents">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Discrepancies" prop="bfdgrp.blk.docdis">
            <c-input type="textarea" v-model="model.bfdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
            ...
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="bftp.docp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.bftp.docp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="bfdgrp.doc.pts.extkey">
            <c-input  v-model="model.bfdgrp.doc.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
424
        <el-form-item label="" prop="bftp.docp.ptsget.sdamod.seainf">
425
            <c-input  v-model="model.bftp.docp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
426
        </el-form-item>
427 428 429 430 431
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onDocpDet">
            Details
432
        </c-button>
433 434 435
       </c-col>
                  
       <c-col :span="12">
436
        <el-form-item label="名称" prop="bfdgrp.doc.namelc">
437
            <c-input type="textarea" v-model="model.bfdgrp.doc.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
438
        </el-form-item>
439 440 441
        </c-col>
                  
       <c-col :span="12">
442
        <el-form-item label="Address Block" prop="bfdgrp.doc.pts.adrblk">
443
            <c-input type="textarea" v-model="model.bfdgrp.doc.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
444
        </el-form-item>
445 446 447
        </c-col>
                  
       <c-col :span="12">
448
        <el-form-item label="Chinese address" prop="bfdgrp.doc.dbfadrblkcn">
449
            <c-input type="textarea" v-model="model.bfdgrp.doc.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
450
        </el-form-item>
451 452 453
        </c-col>
                  
       <c-col :span="12">
454
        <el-form-item label="地址" prop="bfdgrp.doc.adrelc">
455
            <c-input type="textarea" v-model="model.bfdgrp.doc.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
456
        </el-form-item>
457 458
        </c-col> -->
  </div>
459 460
</template>
<script>
zhoubaojian committed
461
import Api from "~/service/Api";
wangren committed
462
import commonProcess from "~/mixin/commonProcess";
zhoubaojian committed
463 464
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bftsnd/Event";
Eivi committed
465
import Ptap from "~/views/Public/Ptap";
466 467

export default {
zhoubaojian committed
468 469
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
470
  mixins: [commonProcess],
471
  components: {
Eivi committed
472
    "c-ptap": Ptap,
473
  },
zhoubaojian committed
474 475 476
  data() {
    return {};
  },
477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493
  computed: {
    approvcod: {
      get() {
        return this.model.bfdgrp.rec.approvcod === "x";
      },
      set(val) {
        this.model.bfdgrp.rec.approvcod = val ? "" : "x";
      },
    },
    ingdsc: {
      get() {
        return this.model.bfdsnd.ingdsc === "Y";
      },
      set(val) {
        this.model.bfdsnd.ingdsc = val ? "Y" : "";
      },
    },
Wuyuqiu committed
494
    docdisflg: {
495 496 497 498 499 500
      get() {
        return this.model.bfdgrp.blk.docdisflg != "";
      },
      set(val) {
        this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
      },
Wuyuqiu committed
501
    },
502
  },
zhoubaojian committed
503 504 505
  methods: { ...Event },
  created: function () {},
};
506 507 508
</script>
<style>
</style>