Detp1.vue 14.9 KB
Newer Older
wuziqiang committed
1 2 3 4 5 6 7 8 9 10
<template>
  <div class="eibs-tab">
   <!--=== ==========左边=============== -->
   <c-col :span="11"> 
      <c-col :span="24">
        <el-form-item label="是否可议付" prop="dedgrp.rec.isyifu">
          <c-select
            v-model="model.dedgrp.rec.isyifu"
            style="width: 100%"
            placeholder="请选择是否可议付"
liuxin committed
11
            @change="selectOrCheckboxRule('dedgrp.rec.isyifu')"
wuziqiang committed
12 13 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 51 52 53 54 55 56 57 58 59 60 61 62 63
          >
            <el-option
              v-for="item in codes.isyifu"
              :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="dedgrp.rec.avbwth">
          <c-select
            :disabled="model.dedgrp.rec.isyifu != 'Y'"
            v-model="model.dedgrp.rec.avbwth"
            style="width: 100%"
            placeholder="请选择指定的有关银行"
          >
            <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-col :span="24">
        <el-form-item label="议付行联行行号" prop="dedgrp.avb.pts.bankno">
            <c-input  v-model="model.dedgrp.avb.pts.bankno" maxlength="20"  placeholder="请输入Number of bank"></c-input>
        </el-form-item>
       </c-col>

      <c-col :span="24">
        <el-form-item label="议付行名称" prop="dedgrp.avb.pts.jigomc">
            <c-input type="textarea" v-model="model.dedgrp.avb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称  电证用" ></c-input>
        </el-form-item>
      </c-col>
      
      <c-col :span="24">
        <el-form-item label="议付行地址" prop="dedgrp.avb.pts.dizhii">
            <c-input type="textarea" v-model="model.dedgrp.avb.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址  电证用" ></c-input>
        </el-form-item>
      </c-col>
       -->

      <c-ptapdome
64
        :disabledBankno="model.dedgrp.rec.avbwth != 'S'"
wuziqiang committed
65
        :disabledJigomc="true"
66
        :disabledDizhii="model.dedgrp.rec.avbwth != 'S'"
wuziqiang committed
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 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
        :model="model"
        :argadr="{
          title: '议付行',
          rol: 'avb',
          grp: 'dedgrp'
        }"
      ></c-ptapdome>

      <!--
      <c-col :span="24">
        <el-form-item label="通知行BIC" prop="dedgrp.adv.pts.extkey">
            <c-input  v-model="model.dedgrp.adv.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
      </c-col>
      -->

      <c-col :span="24">
        <el-form-item label="通知行BIC" prop="dedgrp.adv.pts.extkey">
          <c-input
            v-model="model.dedgrp.adv.pts.extkey"
            maxlength="16"
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('dedgrp.adv.pts.extkey')"
          ></c-input>
        </el-form-item>
      </c-col>
      
      <!--
      <c-col :span="24">
        <el-form-item label="通知行联行行号" prop="dedgrp.adv.pts.bankno">
            <c-input  v-model="model.dedgrp.adv.pts.bankno" maxlength="20"  placeholder="请输入Number of bank"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="通知行联行名称" prop="dedgrp.adv.pts.jigomc">
            <c-input type="textarea" v-model="model.dedgrp.adv.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称  电证用" ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="通知行地址" prop="dedgrp.adv.pts.dizhii">
            <c-input type="textarea" v-model="model.dedgrp.adv.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址  电证用" ></c-input>
        </el-form-item>
      </c-col>
      -->
      <c-ptapdome
        :disabledBankno="true"
        :disabledJigomc="true"
        :disabledDizhii="true"
        :model="model"
        :argadr="{
          title: '通知行',
          rol: 'adv',
          grp: 'dedgrp'
        }"
      ></c-ptapdome>

      <c-col :span="13">
        <el-form-item label="通知行邮编" prop="dedgrp.adv.pts.youzbm">
liuxin committed
127
            <c-input  v-model="model.dedgrp.adv.pts.youzbm" maxlength="6" disabled placeholder="请输入邮编"></c-input>
wuziqiang committed
128 129 130 131 132
        </el-form-item>
      </c-col>
                                   
      <c-col :span="11">
        <el-form-item label="通知行电话" prop="dedgrp.adv.pts.dihdig" label-width="100px">
liuxin committed
133
            <c-input  v-model="model.dedgrp.adv.pts.dihdig" maxlength="16" disabled  placeholder="请输入电话"></c-input>
wuziqiang committed
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
        </el-form-item>
      </c-col>
      
                               
      <c-col :span="24">
        <el-form-item label="信用证编号" prop="dedgrp.rec.kzref">
            <c-input  v-model="model.dedgrp.rec.kzref" maxlength="35"  placeholder="请输入信用证编号"></c-input>
        </el-form-item>
       </c-col>
       

      <!--
      <c-col :span="24">
        <el-form-item label="开证行BIC" prop="dedgrp.iss.pts.extkey">
            <c-input  v-model="model.dedgrp.iss.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
      </c-col>
      -->

      <!-- =========================开证行========================= -->
      <c-col :span="24">
        <el-form-item label="开证行BIC" prop="dedgrp.iss.pts.extkey">
          <c-input
            v-model="model.dedgrp.iss.pts.extkey"
            maxlength="16"
            placeholder="请输入External Key of Address"
            @keyup.enter.native="showGridPromptDialog('dedgrp.iss.pts.extkey')"
          ></c-input>
        </el-form-item>
      </c-col>

      <!--<c-col :span="24">
        <el-form-item label="开证行联行行号" prop="dedgrp.iss.pts.bankno">
            <c-input  v-model="model.dedgrp.iss.pts.bankno" maxlength="20"  placeholder="请输入Number of bank"></c-input>
        </el-form-item>
      </c-col>
   
      <c-col :span="24">
        <el-form-item label="开证行联行名称" prop="dedgrp.iss.pts.jigomc">
            <c-input type="textarea" v-model="model.dedgrp.iss.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称  电证用" ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="开证行地址" prop="dedgrp.iss.pts.dizhii">
            <c-input type="textarea" v-model="model.dedgrp.iss.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址  电证用" ></c-input>
        </el-form-item>
      </c-col>
      -->
     
      <c-ptapdome
        :model="model"
        :argadr="{
          title: '开证行',
          rol: 'iss',
          grp: 'dedgrp'
        }"
Eivi committed
191
        :isIss="false"
wuziqiang committed
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
      ></c-ptapdome>


      <c-col :span="12">
        <el-form-item label="开证行邮编" prop="dedgrp.iss.pts.youzbm">
            <c-input  v-model="model.dedgrp.iss.pts.youzbm" maxlength="6"  placeholder="请输入邮编  电证用"></c-input>
        </el-form-item>
       </c-col>
                                   
      <c-col :span="12">
        <el-form-item label="开证行电话" prop="dedgrp.iss.pts.dihdig" label-width="100px">
            <c-input  v-model="model.dedgrp.iss.pts.dihdig" maxlength="16"  placeholder="请输入电话"></c-input>
        </el-form-item>
      </c-col>

   </c-col> 


    <!--=== ==========右边=============== -->
    <c-col :span="11" :offset="1">
Eivi committed
212
      <c-col :span="24">
wuziqiang committed
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 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 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293
       <el-form-item label="是否可保兑" prop="dedgrp.rec.bdflg">
            <c-select
              v-model="model.dedgrp.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>
      </c-col>
      
      <!-- <el-form-item label="保兑行联行行号" prop="dedgrp.rmb.pts.bankno">
        <c-input
          :disabled="model.dedgrp.rec.bdflg != 'Y'"
          v-model="model.dedgrp.rmb.pts.bankno"
          maxlength="20"
          placeholder="请输入Number of bank"
          @keyup.enter.native="showGridPromptDialog('dedgrp.rmb.pts.bankno')"
        ></c-input>
      </el-form-item>

      <el-form-item label="保兑行名称" prop="dedgrp.rmb.pts.jigomc">
        <c-input
          disabled
          type="textarea"
          v-model="model.dedgrp.rmb.pts.jigomc"
          maxlength="35"
          show-word-limit
          placeholder="请输入联行名称  电证用"
        ></c-input>
      </el-form-item>
      <el-form-item label="保兑行地址" prop="dedgrp.rmb.pts.dizhii">
        <c-input
          :disabled="model.dedgrp.rec.bdflg != 'Y'"
          type="textarea"
          v-model="model.dedgrp.rmb.pts.dizhii"
          maxlength="35"
          show-word-limit
          placeholder="请输入地址  电证用"
        ></c-input>
      </el-form-item> -->

      <c-ptapdome
          :disabledBankno="model.dedgrp.rec.bdflg != 'Y'"
          :disabledJigomc="true"
          :disabledDizhii="model.dedgrp.rec.bdflg != 'Y'"
          :model="model"
          :argadr="{
            title: '保兑行',
            rol: 'rmb',
            grp: 'dedgrp'
          }"
      ></c-ptapdome>

      <!--
      <c-col :span="24">
        <el-form-item label="转让行联行行号" prop="dedgrp.cmb.pts.bankno">
            <c-input  v-model="model.dedgrp.cmb.pts.bankno" maxlength="20"  placeholder="请输入Number of bank"></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="转让行名称" prop="dedgrp.cmb.pts.jigomc">
            <c-input type="textarea" v-model="model.dedgrp.cmb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称  电证用" ></c-input>
        </el-form-item>
      </c-col>
                                                                                                                                                                                                                                                                                                         
      <c-col :span="24">
        <el-form-item label="转让行地址" prop="dedgrp.cmb.pts.dizhii">
            <c-input type="textarea" v-model="model.dedgrp.cmb.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址  电证用" ></c-input>
        </el-form-item>
      </c-col>
      -->
     
      <c-ptapdome
liuxin committed
294 295 296
        :disabledBankno="this.model.dedgrp.rec.lcrtyp != 'IT'"
        :disabledJigomc="this.model.dedgrp.rec.lcrtyp != 'IT'"
        :disabledDizhii="this.model.dedgrp.rec.lcrtyp != 'IT'"
wuziqiang committed
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
        :model="model"
        :argadr="{
          title: '转让行',
          rol: 'cmb',
          grp: 'dedgrp'
        }"
      ></c-ptapdome>
      
      <!--
      <c-col :span="24">
        <el-form-item label="申请行联行行号" prop="dedgrp.apc.pts.bankno">
            <c-input  v-model="model.dedgrp.apc.pts.bankno" maxlength="20"  placeholder="请输入Number of bank"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="24">
        <el-form-item label="申请行名称" prop="dedgrp.apc.pts.jigomc">
            <c-input type="textarea" v-model="model.dedgrp.apc.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称  电证用" ></c-input>
        </el-form-item>
        </c-col>
                                                     
       <c-col :span="24">
        <el-form-item label="申请行地址" prop="dedgrp.apc.pts.dizhii">
            <c-input type="textarea" v-model="model.dedgrp.apc.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址  电证用" ></c-input>
        </el-form-item>
        </c-col>
       -->
      <c-ptapdome
        :disabledBankno="true"
        :disabledJigomc="true"
        :disabledDizhii="true"
        :model="model"
        :argadr="{
          title: '申请行',
          rol: 'apc',
          grp: 'dedgrp'
        }"
      ></c-ptapdome>

       <c-col :span="13">
        <el-form-item label="申请人邮编" prop="dedgrp.apc.pts.youzbm">
liuxin committed
338
            <c-input  v-model="model.dedgrp.apc.pts.youzbm" maxlength="6" disabled placeholder="请输入邮编  电证用"></c-input>
wuziqiang committed
339 340 341 342 343
        </el-form-item>
       </c-col>
                                   
       <c-col :span="11">
        <el-form-item label="申请人电话" prop="dedgrp.apc.pts.dihdig" label-width="100px">
liuxin committed
344
            <c-input  v-model="model.dedgrp.apc.pts.dihdig" maxlength="16" disabled  placeholder="请输入电话"></c-input>
wuziqiang committed
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
        </el-form-item>
       </c-col>

      <c-col :span="24">
        <el-form-item label="申请人账号" prop="dedgrp.apl.pts.extact">
            <c-input  v-model="model.dedgrp.apl.pts.extact" maxlength="34"  placeholder="请输入External Account"></c-input>
        </el-form-item>
       </c-col>

      <c-col :span="24">
        <el-form-item label="申请人开户行 联行行号" prop="dedgrp.apb.pts.bankno">
            <c-input  v-model="model.dedgrp.apb.pts.bankno" maxlength="20"  placeholder="请输入Number of bank"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="24">
        <el-form-item label="联行名称" prop="dedgrp.apb.pts.jigomc">
            <c-input type="textarea" v-model="model.dedgrp.apb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称  电证用" ></c-input>
        </el-form-item>
       </c-col>

      <c-col :span="24">
        <el-form-item label="申请人统一社会信用代码" prop="dedgrp.rec.idcode">
            <c-input  v-model="model.dedgrp.rec.idcode" maxlength="18"  placeholder="请输入申请人统一社会信用代码"></c-input>
        </el-form-item>
       </c-col>

    </c-col>
               
                                                    


                                                                               
                                                    

                                   

                                   

  </div>
</template>
<script>
import Api from "~/service/Api"
wangren committed
388
import commonProcess from "~/mixin/commonProcess";
wuziqiang committed
389 390 391 392 393 394 395 396 397
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Detopn/Event"
import Utils from "~/utils";
import PtapDome from "~/views/Public/PtapDome";

export default {
    components: { "c-ptapdome": PtapDome },
    inject: ['root'],
    props:["model","codes"],
wangren committed
398
    mixins: [commonProcess],
wuziqiang committed
399 400 401 402 403 404 405 406 407 408 409 410 411 412
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>