Detp1.vue 14.7 KB
Newer Older
wuziqiang committed
1 2
<template>
  <div class="eibs-tab">
3 4 5
   <!--=== ==========左边=============== -->
   <c-col :span="11"> 
      <c-col :span="24">
wuziqiang committed
6
        <el-form-item label="是否可议付" prop="dedgrp.rec.isyifu">
7 8 9 10 11 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
          <c-select
            v-model="model.dedgrp.rec.isyifu"
            style="width: 100%"
            placeholder="请选择是否可议付"
          >
            <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">
wuziqiang committed
45 46 47
            <c-input  v-model="model.dedgrp.avb.pts.bankno" maxlength="20"  placeholder="请输入Number of bank"></c-input>
        </el-form-item>
       </c-col>
48 49 50

      <c-col :span="24">
        <el-form-item label="议付行名称" prop="dedgrp.avb.pts.jigomc">
wuziqiang committed
51 52
            <c-input type="textarea" v-model="model.dedgrp.avb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称  电证用" ></c-input>
        </el-form-item>
53 54 55 56
      </c-col>
      
      <c-col :span="24">
        <el-form-item label="议付行地址" prop="dedgrp.avb.pts.dizhii">
wuziqiang committed
57 58
            <c-input type="textarea" v-model="model.dedgrp.avb.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址  电证用" ></c-input>
        </el-form-item>
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
      </c-col>
       -->

      <c-ptapdome
        :disabledBankno="model.dedgrp.rec.isyifu != 'Y'"
        :disabledJigomc="true"
        :disabledDizhii="model.dedgrp.rec.isyifu != 'Y'"
        :model="model"
        :argadr="{
          title: '议付行',
          rol: 'avb',
          grp: 'dedgrp'
        }"
      ></c-ptapdome>

      <!--
      <c-col :span="24">
        <el-form-item label="通知行BIC" prop="dedgrp.adv.pts.extkey">
wuziqiang committed
77 78
            <c-input  v-model="model.dedgrp.adv.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
      </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">
wuziqiang committed
96 97
            <c-input  v-model="model.dedgrp.adv.pts.bankno" maxlength="20"  placeholder="请输入Number of bank"></c-input>
        </el-form-item>
98 99 100 101
      </c-col>

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

      <c-col :span="24">
        <el-form-item label="通知行地址" prop="dedgrp.adv.pts.dizhii">
wuziqiang committed
108 109
            <c-input type="textarea" v-model="model.dedgrp.adv.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址  电证用" ></c-input>
        </el-form-item>
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
      </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
126
            <c-input  v-model="model.dedgrp.adv.pts.youzbm" maxlength="6" disabled placeholder="请输入邮编"></c-input>
wuziqiang committed
127
        </el-form-item>
128
      </c-col>
wuziqiang committed
129
                                   
130 131
      <c-col :span="11">
        <el-form-item label="通知行电话" prop="dedgrp.adv.pts.dihdig" label-width="100px">
liuxin committed
132
            <c-input  v-model="model.dedgrp.adv.pts.dihdig" maxlength="16" disabled  placeholder="请输入电话"></c-input>
133 134 135 136 137
        </el-form-item>
      </c-col>
      
                               
      <c-col :span="24">
wuziqiang committed
138 139 140 141
        <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>
142 143 144 145 146
       

      <!--
      <c-col :span="24">
        <el-form-item label="开证行BIC" prop="dedgrp.iss.pts.extkey">
wuziqiang committed
147 148
            <c-input  v-model="model.dedgrp.iss.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
      </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>
wuziqiang committed
167
        </el-form-item>
168 169 170 171 172
      </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>
wuziqiang committed
173
        </el-form-item>
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
      </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'
        }"
        :isIss="false"
      ></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>
wuziqiang committed
197 198 199
        </el-form-item>
       </c-col>
                                   
200 201 202
      <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>
wuziqiang committed
203
        </el-form-item>
204 205 206 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 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
      </c-col>

   </c-col> 


    <!--=== ==========右边=============== -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
       <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>
wuziqiang committed
276
        </el-form-item>
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307
      </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
        :disabledBankno="true"
        :disabledJigomc="true"
        :disabledDizhii="true"
        :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>
wuziqiang committed
308 309
        </el-form-item>
       </c-col>
310 311 312 313
                                   
       <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>
wuziqiang committed
314 315
        </el-form-item>
        </c-col>
316 317 318 319
                                                     
       <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>
wuziqiang committed
320 321
        </el-form-item>
        </c-col>
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336
       -->
      <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
337
            <c-input  v-model="model.dedgrp.apc.pts.youzbm" maxlength="6" disabled placeholder="请输入邮编  电证用"></c-input>
wuziqiang committed
338 339 340
        </el-form-item>
       </c-col>
                                   
341 342
       <c-col :span="11">
        <el-form-item label="申请人电话" prop="dedgrp.apc.pts.dihdig" label-width="100px">
liuxin committed
343
            <c-input  v-model="model.dedgrp.apc.pts.dihdig" maxlength="16" disabled  placeholder="请输入电话"></c-input>
344 345 346 347 348 349 350 351 352 353 354 355
        </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>
wuziqiang committed
356 357 358
        </el-form-item>
       </c-col>
                                   
359 360 361 362 363 364 365
       <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">
wuziqiang committed
366 367 368 369
        <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>
370 371 372 373 374 375 376 377 378 379 380 381 382

    </c-col>
               
                                                    


                                                                               
                                                    

                                   

                                   

wuziqiang committed
383 384 385 386
  </div>
</template>
<script>
import Api from "~/service/Api"
wangren committed
387
import commonProcess from "~/mixin/commonProcess";
wuziqiang committed
388
import CodeTable from "~/config/CodeTable"
389 390 391
import Event from "~/model/Detopn/Event"
import Utils from "~/utils";
import PtapDome from "~/views/Public/PtapDome";
wuziqiang committed
392 393

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

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

    }
}
</script>
<style>

</style>