Remp.vue 11.1 KB
Newer Older
lianyang committed
1 2 3
<template>
  <div class="eibs-tab">
    <c-col :span="12">
lianyang committed
4 5
    <c-col :span="24">
      <el-form-item label="Reimbursement Bank" prop="rmbclm.rmbrol">
lianyang committed
6 7 8
        <c-select
          v-model="model.rmbclm.rmbrol"
          style="width: 100%"
lianyang committed
9 10 11
          placeholder="请选择偿付行"
          :code="codes.rolall"
          @change="selectOrCheckboxRule('rmbclm.rmbrol')" 
lianyang committed
12 13 14 15 16 17 18
        >
        </c-select>
      </el-form-item>
    </c-col>
    <!-- SF000021 : 偿付行 -->
    <!-- SF000020 : 编号 -->

lianyang committed
19 20
    <c-col :span="24">
    <!-- Reference for Address Optional -->
lianyang committed
21
      <c-form-item
lianyang committed
22
        label="Ref."
lianyang committed
23 24 25 26 27
        prop="rmbclm.rmbrmb.pts.ref"
      >
        <c-input
          v-model="model.rmbclm.rmbrmb.pts.ref"
          maxlength="16"
lianyang committed
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
          placeholder="请输入编号"
          :disabled="model.rmbclm.rmbrol=='ISS' ||model.rmbclm.rmbrol=='AVB'"
          @blur="eventFunction('rmbclm.rmbrmb.pts.ref')"
        ></c-input>
      </c-form-item>
    </c-col>
    <c-col :span="24">
      <c-ptap1
        :model="model"
        :argadr="{
          title: '',
          grp: 'rmbclm',
          rol: 'rmbrmb',
        }"
        @onSeainf="onSeainf"
        @onAplpDet="onRmbpDet"
        :disabled1="model.rmbclm.rmbrol=='ISS' ||model.rmbclm.rmbrol=='AVB'"
        :disabled="model.rmbclm.rmbrol!=''"
      >
      </c-ptap1>
    </c-col>

        <!-- SF000011 : Account with Bank -->
    <c-col :span="24">
      <c-form-item label="Account with Bank Ref." prop="rmbclm.acwacw.pts.ref">
        <c-input
          v-model="model.rmbclm.acwacw.pts.ref"
          maxlength="16"
          placeholder="请输入"
          @blur="eventFunction('rmbclm.acwacw.pts.ref')"
lianyang committed
58 59 60
        ></c-input>
      </c-form-item>
    </c-col>
lianyang committed
61 62 63 64 65 66 67 68 69 70 71 72 73 74
    <c-col :span="24">
      <c-ptap1
        :model="model"
        :argadr="{
          title: '',
          grp: 'rmbclm',
          rol: 'acwacw',
        }"
        @onSeainf="onSeainf"
        @onAplpDet="onAcwpDet"
        :disabled="model.rmbclm.acwacw.pts.extkey!=''"
      >
      </c-ptap1>
    </c-col>
lianyang committed
75

lianyang committed
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
        <!-- SF000016 : Beneficiary Bank -->
    <!-- SF000019 : 编号 -->
    <c-col :span="24">
      <c-form-item label="Beneficiary Bank Ref." prop="rmbclm.bebbeb.pts.ref">
        <c-input
          v-model="model.rmbclm.bebbeb.pts.ref"
          maxlength="16"
          placeholder="请输入Beneficiary Bank"
          @blur="eventFunction('rmbclm.bebbeb.pts.ref')"
        ></c-input>
      </c-form-item>
    </c-col>
    <c-col :span="24">
      <c-ptap1
        :model="model"
        :argadr="{
          title: '',
          grp: 'rmbclm',
          rol: 'bebbeb',
        }"
        @onSeainf="onSeainf"
        @onAplpDet="onBebpDet"
        :disabled="model.rmbclm.bebbeb.pts.extkey!=''"
      >
      </c-ptap1>
    </c-col>

    <!-- SG000133 : value date -->
lianyang committed
104
    <c-col :span="12">
lianyang committed
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
      <el-form-item label="value date" prop="rmbclm.valdat">
        <c-date-picker
          type="date"
          v-model="model.rmbclm.valdat"
          style="width: 100%"
          placeholder="请选择value date"
        ></c-date-picker>
      </el-form-item>
    </c-col>






    <!-- <c-col :span="12">
lianyang committed
121 122 123 124 125 126
      <c-form-item
        label="Drag  Drop Sender"
        prop="rmbclm.rmbp.ptsget.sdamod.dadsnd"
      >
        <c-input
          v-model="model.rmbclm.rmbp.ptsget.sdamod.dadsnd"
lianyang committed
127
          placeholder="$t('other.please_enter') + 'Drag  Drop Sender'"
lianyang committed
128 129 130 131 132 133 134 135 136 137 138 139
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item
        label="External Key of Address"
        prop="rmbclm.rmbrmb.pts.extkey"
      >
        <c-input
          v-model="model.rmbclm.rmbrmb.pts.extkey"
          maxlength="16"
lianyang committed
140
          placeholder="$t('other.please_enter') + 'External Key of Address'"
lianyang committed
141 142 143 144 145 146 147 148
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="" prop="rmbclm.rmbp.ptsget.sdamod.seainf">
        <c-input
          v-model="model.rmbclm.rmbp.ptsget.sdamod.seainf"
lianyang committed
149
          placeholder="$t('other.please_enter') + ''"
lianyang committed
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onRmbpDet">
        {{ $t('ptsp.CF000081') }}
      </c-button>
    </c-col>

    <c-col :span="12">
      <c-form-item label="名称" prop="rmbclm.rmbrmb.namelc">
        <c-input
          type="textarea"
          v-model="model.rmbclm.rmbrmb.namelc"
          maxlength="35"
          show-word-limit
lianyang committed
167
          placeholder="$t('other.please_enter') + '名称'"
lianyang committed
168 169 170 171 172 173 174 175 176
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="Address Block" prop="rmbclm.rmbrmb.pts.adrblk">
        <c-input
          type="textarea"
          v-model="model.rmbclm.rmbrmb.pts.adrblk"
lianyang committed
177
          maxlength="140"
lianyang committed
178
          show-word-limit
lianyang committed
179
          placeholder="$t('other.please_enter') + 'Address Block'"
lianyang committed
180 181 182 183 184 185 186 187 188 189 190
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="Chinese address" prop="rmbclm.rmbrmb.dbfadrblkcn">
        <c-input
          type="textarea"
          v-model="model.rmbclm.rmbrmb.dbfadrblkcn"
          maxlength="35"
          show-word-limit
lianyang committed
191
          placeholder="$t('other.please_enter') + 'Chinese address'"
lianyang committed
192 193 194 195 196 197 198 199 200 201 202
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="地址" prop="rmbclm.rmbrmb.adrelc">
        <c-input
          type="textarea"
          v-model="model.rmbclm.rmbrmb.adrelc"
          maxlength="35"
          show-word-limit
lianyang committed
203
          placeholder="$t('other.please_enter') + '地址'"
lianyang committed
204 205 206
        ></c-input>
      </c-form-item>
    </c-col>
lianyang committed
207 208
    SF000011 : Account with Bank 
      SF000018 : 编号 
lianyang committed
209 210 211 212 213 214 215
    <c-col :span="12">
      <c-form-item
        label="Drag  Drop Sender"
        prop="rmbclm.acwp.ptsget.sdamod.dadsnd"
      >
        <c-input
          v-model="model.rmbclm.acwp.ptsget.sdamod.dadsnd"
lianyang committed
216
          placeholder="$t('other.please_enter') + 'Drag  Drop Sender'"
lianyang committed
217 218 219 220 221 222 223 224 225 226 227 228
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item
        label="External Key of Address"
        prop="rmbclm.acwacw.pts.extkey"
      >
        <c-input
          v-model="model.rmbclm.acwacw.pts.extkey"
          maxlength="16"
lianyang committed
229
          placeholder="$t('other.please_enter') + 'External Key of Address'"
lianyang committed
230 231 232 233 234 235 236 237
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="" prop="rmbclm.acwp.ptsget.sdamod.seainf">
        <c-input
          v-model="model.rmbclm.acwp.ptsget.sdamod.seainf"
lianyang committed
238
          placeholder="$t('other.please_enter') + ''"
lianyang committed
239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onAcwpDet">
        {{ $t('ptsp.CF000081') }}
      </c-button>
    </c-col>

    <c-col :span="12">
      <c-form-item label="名称" prop="rmbclm.acwacw.namelc">
        <c-input
          type="textarea"
          v-model="model.rmbclm.acwacw.namelc"
          maxlength="35"
          show-word-limit
lianyang committed
256
          placeholder="$t('other.please_enter') + '名称'"
lianyang committed
257 258 259 260 261 262 263 264 265 266 267
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="Address Block" prop="rmbclm.acwacw.pts.adrblk">
        <c-input
          type="textarea"
          v-model="model.rmbclm.acwacw.pts.adrblk"
          maxlength="35"
          show-word-limit
lianyang committed
268
          placeholder="$t('other.please_enter') + 'Address Block'"
lianyang committed
269 270 271 272 273 274 275 276 277 278 279
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="Chinese address" prop="rmbclm.acwacw.dbfadrblkcn">
        <c-input
          type="textarea"
          v-model="model.rmbclm.acwacw.dbfadrblkcn"
          maxlength="35"
          show-word-limit
lianyang committed
280
          placeholder="$t('other.please_enter') + 'Chinese address'"
lianyang committed
281 282 283 284 285 286 287 288 289 290 291
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="地址" prop="rmbclm.acwacw.adrelc">
        <c-input
          type="textarea"
          v-model="model.rmbclm.acwacw.adrelc"
          maxlength="35"
          show-word-limit
lianyang committed
292
          placeholder="$t('other.please_enter') + '地址'"
lianyang committed
293 294 295 296 297 298 299 300 301 302
        ></c-input>
      </c-form-item>
    </c-col>
    <c-col :span="12">
      <c-form-item
        label="Drag  Drop Sender"
        prop="rmbclm.bebp.ptsget.sdamod.dadsnd"
      >
        <c-input
          v-model="model.rmbclm.bebp.ptsget.sdamod.dadsnd"
lianyang committed
303
          placeholder="$t('other.please_enter') + 'Drag  Drop Sender'"
lianyang committed
304 305 306 307 308 309 310 311 312 313 314 315
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item
        label="External Key of Address"
        prop="rmbclm.bebbeb.pts.extkey"
      >
        <c-input
          v-model="model.rmbclm.bebbeb.pts.extkey"
          maxlength="16"
lianyang committed
316
          placeholder="$t('other.please_enter') + 'External Key of Address'"
lianyang committed
317 318 319 320 321 322 323 324
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="" prop="rmbclm.bebp.ptsget.sdamod.seainf">
        <c-input
          v-model="model.rmbclm.bebp.ptsget.sdamod.seainf"
lianyang committed
325
          placeholder="$t('other.please_enter') + ''"
lianyang committed
326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onBebpDet">
        {{ $t('ptsp.CF000081') }}
      </c-button>
    </c-col>

    <c-col :span="12">
      <c-form-item label="名称" prop="rmbclm.bebbeb.namelc">
        <c-input
          type="textarea"
          v-model="model.rmbclm.bebbeb.namelc"
          maxlength="35"
          show-word-limit
lianyang committed
343
          placeholder="$t('other.please_enter') + '名称'"
lianyang committed
344 345 346 347 348 349 350 351 352 353 354
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="Address Block" prop="rmbclm.bebbeb.pts.adrblk">
        <c-input
          type="textarea"
          v-model="model.rmbclm.bebbeb.pts.adrblk"
          maxlength="35"
          show-word-limit
lianyang committed
355
          placeholder="$t('other.please_enter') + 'Address Block'"
lianyang committed
356 357 358 359 360 361 362 363 364 365 366
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="Chinese address" prop="rmbclm.bebbeb.dbfadrblkcn">
        <c-input
          type="textarea"
          v-model="model.rmbclm.bebbeb.dbfadrblkcn"
          maxlength="35"
          show-word-limit
lianyang committed
367
          placeholder="$t('other.please_enter') + 'Chinese address'"
lianyang committed
368 369 370 371 372 373 374 375 376 377 378
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-form-item label="地址" prop="rmbclm.bebbeb.adrelc">
        <c-input
          type="textarea"
          v-model="model.rmbclm.bebbeb.adrelc"
          maxlength="35"
          show-word-limit
lianyang committed
379
          placeholder="$t('other.please_enter') + '地址'"
lianyang committed
380 381
        ></c-input>
      </c-form-item>
lianyang committed
382 383
    </c-col> -->

lianyang committed
384 385 386 387 388 389 390 391 392

    </c-col>
  </div>
</template>
<script>
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Betsnd/Event'
lianyang committed
393
import Ptap1 from "~/views/Public/Ptap1"
lianyang committed
394 395

export default {
lianyang committed
396 397 398
    components: {
    "c-ptap1": Ptap1,
  },
lianyang committed
399 400 401 402 403 404 405 406 407 408 409
  inject: ['root'],
  props: ['model', 'codes'],
  mixins: [commonProcess],
  data() {
    return {}
  },
  methods: { ...Event },
  created: function () {},
}
</script>
<style></style>