Detp1.vue 8.28 KB
Newer Older
1
<template>
liushikai committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  <div class="eibs-tab">
    <!-- <c-row> -->
    <!--=== ==========左边=============== -->
    <c-col :span="11">
      <c-col :span="24">
        <el-form-item label="通知行参考号" prop="didgrp.rec.tzref">
          <c-input
            v-model="model.didgrp.rec.tzref"
            maxlength="35"
            placeholder="请输入通知行编号"
          ></c-input>
        </el-form-item>
      </c-col>
      <!-- =========================通知行========================= -->
      <c-col :span="24">
        <el-form-item label="通知行BIC" prop="didgrp.adv.pts.extkey">
          <c-input
            v-model="model.didgrp.adv.pts.extkey"
            maxlength="16"
wangna committed
21
            placeholder="请输入通知行BIC"
liushikai committed
22
            @keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.extkey')"
23
            disabled
liushikai committed
24 25 26
          ></c-input>
        </el-form-item>
      </c-col>
wangna committed
27
  
liushikai committed
28
      <c-ptapdome
29
        :disabledBankno="true"
liushikai committed
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 58 59 60 61 62
        :disabledJigomc="true"
        :disabledDizhii="true"
        :model="model"
        :argadr="{
          title: '通知行',
          rol: 'adv',
          grp: 'didgrp'
        }"
      ></c-ptapdome>
      <c-col :span="13">
        <el-form-item label="通知行邮编" prop="didgrp.adv.pts.youzbm">
          <c-input
            disabled
            v-model="model.didgrp.adv.pts.youzbm"
            maxlength="6"
            placeholder="请输入邮编  电证用"
          ></c-input>
        </el-form-item> </c-col
      ><c-col :span="11">
        <el-form-item
          label="通知行电话"
          prop="didgrp.adv.pts.dihdig"
          label-width="100px"
        >
          <c-input
            disabled
            v-model="model.didgrp.adv.pts.dihdig"
            maxlength="16"
            placeholder="请输入电话"
          ></c-input>
        </el-form-item>
      </c-col>
      <!-- ============= 议付行 ========================= -->
63
      <c-col :span="24">
liushikai committed
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
        <el-form-item label="是否可议付" prop="didgrp.rec.fenctg">
          <c-select
            v-model="model.didgrp.rec.fenctg"
            style="width: 100%"
            placeholder="请选择是否可议付"
          >
            <el-option
              v-for="item in codes.fenctg"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="指定的有关银行 " prop="didgrp.rec.avbwth">
          <c-select
            :disabled="model.didgrp.rec.fenctg != 'Y'"
            v-model="model.didgrp.rec.avbwth"
            style="width: 100%"
            placeholder="请选择指定的有关银行"
87
            @change="chooseBank"
liushikai committed
88 89 90 91 92 93 94 95 96 97 98 99 100
          >
            <el-option
              v-for="item in codes.avbwth"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>

      <c-ptapdome
101
        :disabledBankno="true"
liushikai committed
102
        :disabledJigomc="true"
103
        :disabledDizhii="true"
liushikai committed
104 105 106 107 108 109 110 111
        :model="model"
        :argadr="{
          title: '议付行',
          rol: 'avb',
          grp: 'didgrp'
        }"
      ></c-ptapdome>
      <!-- ========================转让行 ======================== -->
112
      <c-col :span="24">
liushikai committed
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
        <el-form-item label="是否可以转让" prop="didgrp.rec.lcrtyp">
          <c-select
            v-model="model.didgrp.rec.lcrtyp"
            style="width: 100%"
            placeholder="请选择"
          >
            <el-option
              v-for="item in codes.lcrtyp"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
wangna committed
129
      
liushikai committed
130 131 132 133 134 135 136 137 138 139 140 141 142 143
      <c-ptapdome
        :disabledBankno="model.didgrp.rec.lcrtyp != 'IT'"
        :disabledJigomc="true"
        :disabledDizhii="model.didgrp.rec.lcrtyp != 'IT'"
        :model="model"
        :argadr="{
          title: '转让行',
          rol: 'cmb',
          grp: 'didgrp'
        }"
      ></c-ptapdome>
    </c-col>
    <!--=== ==========右边=============== -->
    <c-col :span="11" :offset="1">
SunJie committed
144
        <!-- =========================开证行========================= -->
liushikai committed
145 146 147 148 149
      <c-col :span="24">
        <el-form-item label="开证行BIC" prop="didgrp.iss.pts.extkey">
          <c-input
            v-model="model.didgrp.iss.pts.extkey"
            maxlength="16"
wangna committed
150
            placeholder="请输入开证行BIC"
liushikai committed
151 152 153 154
            @keyup.enter.native="showGridPromptDialog('didgrp.iss.pts.extkey')"
          ></c-input>
        </el-form-item>
      </c-col>
wangna committed
155
      
liushikai committed
156 157 158 159 160 161 162 163 164 165 166 167
      <c-ptapdome
        :disabledBankno="true"
        :disabledJigomc="true"
        :disabledDizhii="true"
        :model="model"
        :argadr="{
          title: '开证行',
          rol: 'iss',
          grp: 'didgrp'
        }"
        :isIss="true"
      ></c-ptapdome>
SunJie committed
168

liushikai committed
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
      <c-col :span="13">
        <el-form-item label="开证行邮编" prop="didgrp.iss.pts.youzbm">
          <c-input
            disabled
            v-model="model.didgrp.iss.pts.youzbm"
            maxlength="6"
            placeholder="请输入邮编  电证用"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="11">
        <el-form-item
          label="开证行电话"
          prop="didgrp.iss.pts.dihdig"
          label-width="100px"
        >
          <c-input
            disabled
            v-model="model.didgrp.iss.pts.dihdig"
            maxlength="16"
            placeholder="请输入电话"
          ></c-input>
        </el-form-item>
      </c-col>
      <!-- =========================保兑行========================= -->
194
        <c-col :span="24">
liushikai committed
195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
          <el-form-item label="是否可保兑" prop="didgrp.rec.bdflg">
            <c-select
              v-model="model.didgrp.rec.bdflg"
              style="width: 100%"
              placeholder="请选择是否可保兑"
            >
              <el-option
                v-for="item in codes.bdflg"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </el-form-item>
潘际乾 committed
210
        </c-col>
wangna committed
211
       
liushikai committed
212 213 214 215 216 217 218 219 220 221 222
        <c-ptapdome
          :disabledBankno="model.didgrp.rec.bdflg != 'Y'"
          :disabledJigomc="true"
          :disabledDizhii="model.didgrp.rec.bdflg != 'Y'"
          :model="model"
          :argadr="{
            title: '保兑行',
            rol: 'rmb',
            grp: 'didgrp'
          }"
        ></c-ptapdome>
SunJie committed
223
        <!-- ========================申请行 ======================== -->
liushikai committed
224
      <c-ptapdome
225
        
liushikai committed
226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241
        :disabledJigomc="true"
        :model="model"
        :argadr="{
          title: '申请行',
          rol: 'apc',
          grp: 'didgrp'
        }"
      ></c-ptapdome>
      <c-col :span="13">
        <el-form-item label="申请人邮编" prop="didgrp.apc.pts.youzbm">
          <c-input
            v-model="model.didgrp.apc.pts.youzbm"
            maxlength="6"
            placeholder="请输入邮编  电证用"
          ></c-input>
        </el-form-item> 
潘际乾 committed
242
        </c-col>
liushikai committed
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
      <c-col :span="11">
        <el-form-item
          label="申请人电话"
          prop="didgrp.apc.pts.dihdig"
          label-width="100px"
        >
          <c-input
            v-model="model.didgrp.apc.pts.dihdig"
            maxlength="16"
            placeholder="请输入电话 电证用"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>

  </div>
259 260
</template>
<script>
SunJie committed
261
import Api from "~/service/Api";
wangren committed
262
import commonProcess from "~/mixin/commonProcess";
SunJie committed
263 264
import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
liushikai committed
265
import PtapDome from "~/views/Public/PtapDome";
266 267

export default {
liushikai committed
268 269 270
  components: { "c-ptapdome": PtapDome },
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
271
  mixins: [commonProcess],
liushikai committed
272 273 274 275 276
  data() {
    return {};
  },
  methods: {
    ...Event,
277 278
    async chooseBank(){
      let rtnmsg = await this.executeRule("didgrp.rec.avbwth");   //DIDGRP\REC\AVBWTH
吴佳 committed
279
      if(rtnmsg.respCode == SUCCESS){
280 281 282
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },
liushikai committed
283 284
  },
  created: function () {},
SunJie committed
285
};
286 287 288
</script>
<style>
</style>