Commit 506e68ef by fukai
parents 1ccd2a67 24c30197
...@@ -14,22 +14,27 @@ ...@@ -14,22 +14,27 @@
</c-col> --> </c-col> -->
<c-col> <c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item label="参考号"> <el-form-item label="参考号" prop="didgrp.rec.ownref">
<c-input <c-input
v-model="model.ditamep.recget.sdamod.seainf" v-model="model.didgrp.rec.ownref"
placeholder="请输入参考号" placeholder="请输入参考号"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2"> <c-col :span="1" style="text-align: right">
<el-form-item label-width="15px"> <el-form-item label-width="0">
<c-button size="small" type="primary" icon="el-icon-search"></c-button> <c-button
size="small"
type="primary"
icon="el-icon-search"
style="margin-left: 0"
></c-button>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11" :offset="1">
<el-form-item label="摘要"> <el-form-item label="摘要" prop="didgrp.rec.nam">
<c-input <c-input
v-model="model.didgrp.rec.nam" v-model="model.didgrp.rec.nam"
maxlength="40" maxlength="40"
...@@ -38,7 +43,7 @@ ...@@ -38,7 +43,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11">
<el-form-item label="修改日期"> <el-form-item label="修改日期">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -48,10 +53,10 @@ ...@@ -48,10 +53,10 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <el-form-item>&nbsp;</el-form-item></c-col> <!-- <c-col :span="12"> <el-form-item>&nbsp;</el-form-item></c-col> -->
<c-col :span="12"> <c-col :span="6" :offset="1">
<el-form-item label="修改次数"> <el-form-item label="修改次数" prop="trnmod.swiadd.amenbr">
<c-input <c-input
v-model="model.trnmod.swiadd.amenbr" v-model="model.trnmod.swiadd.amenbr"
placeholder="请输入修改次数" placeholder="请输入修改次数"
...@@ -59,8 +64,8 @@ ...@@ -59,8 +64,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="5">
<el-form-item label="实际修改次数"> <el-form-item label="实际修改次数" label-width="130px" prop="ditamep.amenbr">
<c-input <c-input
v-model="model.ditamep.amenbr" v-model="model.ditamep.amenbr"
placeholder="请输入实际修改次数" placeholder="请输入实际修改次数"
...@@ -78,144 +83,185 @@ ...@@ -78,144 +83,185 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- ===========left======== -->
<c-col :span="9"> <c-col :span="11">
<el-form-item label="信用证金额"> <c-col :span="24">
<c-col :span="13">
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
<c-input <c-input
v-model="model.olddidgrp.cbs.nom1.amt" v-model="model.didgrp.cbs.nom1.cur"
disabled disabled
style="width: 100px" style="width: 95%"
></c-input> ></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="0" prop="olddidgrp.cbs.nom1.amt">
<c-input <c-input
v-model="model.olddidgrp.cbs.nom1.amt" v-model="model.olddidgrp.cbs.nom1.amt"
style="width: 150px; margin-left: 20px" style="width: 100%"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="6"> <c-col :span="24">
<el-form-item label="溢短装" label-width="60px"> <el-form-item label="溢短装" prop="olddidgrp.rec.nomtop">
<c-input <c-input
v-model="model.olddidgrp.rec.nomtop" v-model="model.olddidgrp.rec.nomtop"
style="width: 100px" style="width: 45%"
disabled disabled
></c-input> ></c-input>
<label style="display: inline-block; width: 28px; text-align: center"
>-</label>
<c-input <c-input
v-model="model.olddidgrp.rec.nomton" v-model="model.olddidgrp.rec.nomton"
style="width: 100px; margin-left: 20px" style="width: 45%"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="8"> <c-col :span="13">
<el-form-item label="最大金额" label-width="100px;"> <el-form-item label="增减金额" prop="trnmod.swiadd.amecur">
<c-input
v-model="model.olddidgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入Currency"
style="width: 150px"
disabled
></c-input>
<c-input <c-input
v-model="model.olddidgrp.cbs.max.cur" v-model="model.trnmod.swiadd.amecur"
maxlength="3" style="width: 95%"
style="width: 150px; margin-left: 20px"
disabled disabled
></c-input> >
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11">
<!-- <c-col :span="12"> <el-form-item label="" label-width="0" prop="trnmod.swiadd.ameamt">
<el-form-item label="Balance">
<c-input <c-input
v-model="model.olddidgrp.cbs.max.amt" v-model="model.trnmod.swiadd.ameamt"
placeholder="请输入Balance" style="width: 100%"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="增减金额"> <c-col :span="13">
<el-form-item label="修改后金额" prop="trnmod.swiadd.newcur">
<c-input <c-input
v-model="model.trnmod.swiadd.amecur" v-model="model.trnmod.swiadd.newcur"
style="width: 100px" style="width: 95%"
disabled disabled
> >
</c-input> </c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="0" prop="trnmod.swiadd.newamt">
<c-input <c-input
v-model="model.trnmod.swiadd.ameamt" v-model="model.trnmod.swiadd.newamt"
style="width: 150px; margin-left: 20px" style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ===========right======== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="13">
<el-form-item label="最大金额" prop="olddidgrp.cbs.max.cur">
<c-input
v-model="model.olddidgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入Currency"
style="width: 95%"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="修改总金额" label-width="230px" > <el-form-item label="" label-width="0" prop="olddidgrp.cbs.max.amt">
<c-input
v-model="model.olddidgrp.cbs.max.amt"
maxlength="3"
style="width: 100%"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="修改总金额" prop="ditamep.engcur">
<c-input <c-input
v-model="model.ditamep.engcur" v-model="model.ditamep.engcur"
style="width: 150px" style="width: 95%"
disabled disabled
></c-input> ></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="0" prop="ditamep.engamt">
<c-input <c-input
v-model="model.ditamep.engamt" v-model="model.ditamep.engamt"
style="width: 150px; margin-left: 20px" style="width: 100%"
disabled disabled
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="9"> <c-col :span="24">
<el-form-item label="修改后金额"> <c-col :span="13">
<el-form-item label="" prop="ditamep.maxcur">
<c-input <c-input
v-model="model.trnmod.swiadd.newcur" v-model="model.ditamep.maxcur"
style="width: 100px" maxlength="3"
style="width: 95%"
disabled disabled
> ></c-input>
</c-input> </el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="0" prop="ditamep.maxamt">
<c-input <c-input
v-model="model.trnmod.swiadd.newamt" v-model="model.ditamep.maxamt"
style="width: 150px; margin-left: 20px" style="width: 100%"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="6"> <c-col :span="24">
<el-form-item label-width="60px"> <el-form-item prop="trnmod.swiadd.newnomtopame">
<c-input <c-input
v-model="model.trnmod.swiadd.newnomtopame" v-model="model.trnmod.swiadd.newnomtopame"
style="width: 100px" style="width: 45%"
></c-input> ></c-input>
<label style="display: inline-block; width: 28px; text-align: center">-</label>
<c-input <c-input
v-model="model.trnmod.swiadd.newnomtoname" v-model="model.trnmod.swiadd.newnomtoname"
style="width: 100px; margin-left: 20px" style="width: 45%"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="8">
<el-form-item label=" " label-width="60px">
<c-input
v-model="model.ditamep.maxcur"
maxlength="3"
style="width: 150px"
disabled
></c-input>
<!-- <c-col :span="12">
<el-form-item label="Balance">
<c-input <c-input
v-model="model.ditamep.maxamt" v-model="model.olddidgrp.cbs.max.amt"
style="width: 150px; margin-left: 20px" placeholder="请输入Balance"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="12">
<c-col :span="11">
<el-form-item label="到期日"> <el-form-item label="到期日">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -227,7 +273,7 @@ ...@@ -227,7 +273,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11" :offset="1">
<el-form-item label="最迟货物装运日"> <el-form-item label="最迟货物装运日">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -244,7 +290,7 @@ ...@@ -244,7 +290,7 @@
</span> </span>
</c-col> --> </c-col> -->
<c-col :span="12"> <c-col :span="11">
<el-form-item label="新到期日"> <el-form-item label="新到期日">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -255,7 +301,7 @@ ...@@ -255,7 +301,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11" :offset="1">
<el-form-item label="新最迟货物装运日"> <el-form-item label="新最迟货物装运日">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -271,18 +317,25 @@ ...@@ -271,18 +317,25 @@
</span> </span>
</c-col> --> </c-col> -->
<c-col :span="12"> <c-col :span="24">
<c-col :span="11">
<el-form-item label="货物装运地(港)"> <el-form-item label="货物装运地(港)">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.trnmod.swiadd.shpfroelc" v-model="model.trnmod.swiadd.shpfroelc"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
:rows="5" :rows="2"
placeholder="请输入Shipment from" placeholder="请输入Shipment from"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1">
<el-form-item label="报文类型">
<c-input disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<span v-text="model.ditamep.hwzydi" data-path=".ditamep.hwzydi"> <span v-text="model.ditamep.hwzydi" data-path=".ditamep.hwzydi">
...@@ -296,7 +349,7 @@ ...@@ -296,7 +349,7 @@
v-model="model.trnmod.swiadd.shptoelc" v-model="model.trnmod.swiadd.shptoelc"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
:rows="5" :rows="2"
placeholder="请输入货物目的地/交货地(港)" placeholder="请输入货物目的地/交货地(港)"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -335,7 +388,7 @@ import CodeTable from "~/config/CodeTable"; ...@@ -335,7 +388,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event"; import Event from "~/model/Ditame/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
......
<template>
<div class="eibs-tab">
<!-- ========================= Left ========================= -->
<c-col :span="11">
<el-form-item label="信用证兑付方式" prop="didgrp.rec.avbby">
<c-select v-model="model.didgrp.rec.avbby" style="width:100%" @change="avbbykeyEvent" placeholder="请选择">
<el-option v-for="item in codes.avbby0" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" @keyup.enter.native="recTenmaxdayEvent">
<c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:15%" maxlength="3"></c-input>
</el-form-item>
<el-form-item label="远期付款指示" prop="didgrp.blk.defdet">
<c-input type="textarea" :disabled="model.didgrp.rec.avbby == 'P'" v-model="model.didgrp.blk.defdet" style="width:75%;margin-right:20px;" maxlength="140" show-word-limit placeholder="请输入" :autosize="{ minRows: 3,maxRows:5}"></c-input>
<c-button size="medium" type="primary" icon="el-icon-search" @click="onDefdetButtxmsel">
</c-button>
</el-form-item>
<el-form-item label="交单期限" prop="didgrp.blk.preper">
<c-input type="textarea" v-model="model.didgrp.blk.preper" :disabled="this.flag" style="width:75%;margin-right:20px;" maxlength="105" show-word-limit placeholder="请输入"></c-input>
<c-button size="medium" type="primary" icon="el-icon-search" @click="onPreperButtxmsel">
</c-button>
</el-form-item>
<el-form-item label="" prop="didgrp.blk.preperflg">
<c-checkbox v-model="model.didgrp.blk.preperflg" :click="preperflgExtkeyEvent()">修改交单期限文本</c-checkbox>
</el-form-item>
<el-form-item label="货物运输或交货方式/服务方式" prop="didgrp.rec.tratyp">
<c-select v-model="model.didgrp.rec.tratyp" style="width:50%" placeholder="请选择" @change="recTratypChange" :disabled="model.didgrp.rec.mytype == 'F'">
<el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == 'H'" label="手输运输方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == 'F'" label="服务提供方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == '3'" label="手输运输方式/服务提供方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同编号" prop="didgrp.rec.conno">
<c-input v-model="model.didgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同金额" prop="didgrp.rec.conamt">
<c-col :span="10">
<c-select v-model="model.didgrp.rec.concur" style="width:90%" placeholder="请选择">
<el-option label="CNY 人民币" value="CNY"></el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input v-model="model.didgrp.rec.conamt" placeholder="请输入"></c-input>
</c-col>
</el-form-item>
</c-col>
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="分批装运货物" prop="didgrp.rec.shppar">
<c-select v-model="model.didgrp.rec.shppar" style="width:50%" placeholder="请选择">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务" prop="didgrp.rec.fqzytgfw">
<c-input v-model="model.didgrp.rec.fqzytgfw" placeholder="请输入" :disabled="model.didgrp.rec.shppar == 'N'" style="width:100%"></c-input>
</el-form-item>
<el-form-item label="分期装运/提供服务约定" prop="didgrp.rec.fqtime">
<c-input type="textarea" :rows="3" v-model="model.didgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"></c-input>
</el-form-item>
<el-form-item label="转运" prop="didgrp.rec.shptrs">
<c-select v-model="model.didgrp.rec.shptrs" style="width:50%" placeholder="请选择" :disabled="model.didgrp.rec.mytype == 'F'">
<el-option label="不允许" value="禁止"></el-option>
<el-option label="允许" value="允许"></el-option>
</c-select>
</el-form-item>
<el-form-item label="货物转运地(港)" prop="didgrp.rec.shpfro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpfro" :disabled="model.didgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="货物目的地/交货地(港)" prop="didgrp.rec.shpto">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpto" :disabled="model.didgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="服务提供地点" prop="didgrp.rec.shppro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shppro" :disabled="model.didgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="合同币种" prop="didgrp.rec.concur">
<c-select v-model="model.didgrp.rec.concur" style="width:100%" placeholder="请选择">
<el-option label="CNY 人民币" value="CNY"></el-option>
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<span v-text="model.ditp.sdysfs" data-path=".ditp.sdysfs" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.ditp.hwzydi" data-path=".ditp.hwzydi" > </span>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
import Utils from "~/utils";
export default {
inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"],
data(){
return {
flag:false,
mytypeFlag:true,
}
},
methods:{...Event,
preperflgExtkeyEvent(){
this.flag = !this.model.didgrp.blk.preperflg
if (this.flag === true){
this.model.didgrp.blk.preper = "货物装运日后15天";
}
},
avbbykeyEvent(){
if(this.model.didgrp.rec.avbby == 'P'){
this.model.didgrp.rec.tenmaxday = 0;
this.model.didgrp.blk.defdet = "";
}
this.executeCheck("didgrp.rec.avbby").then(
(res) => {
if (res.respCode == SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
);
},
recTenmaxdayEvent(){
this.executeDefault("didgrp.rec.tenmaxday").then(
(res) => {
if (res.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
);
},
recTratypChange(){
if (this.model.didgrp.rec.tratyp == "08"){
this.model.didgrp.rec.sdsrfs = "";
this.mytypeFlag = false;
}else{
this.model.didgrp.rec.sdsrfs = "";
this.mytypeFlag = true;
}
}
},
created:function(){
}
}
</script>
<style>
</style>
...@@ -10,32 +10,42 @@ ...@@ -10,32 +10,42 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" @keyup.enter.native="recTenmaxdayEvent"> <el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" >
<c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:15%" maxlength="3"></c-input> <c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:17%" maxlength="3"></c-input>
</el-form-item> </el-form-item>
<el-form-item label="远期付款指示" prop="didgrp.blk.defdet"> <el-form-item label="远期付款指示" prop="didgrp.blk.defdet">
<c-input type="textarea" :disabled="model.didgrp.rec.avbby == 'P'" v-model="model.didgrp.blk.defdet" style="width:75%;margin-right:20px;" maxlength="140" show-word-limit placeholder="请输入" :autosize="{ minRows: 3,maxRows:5}"></c-input> <c-col :span="21">
<c-button size="medium" type="primary" icon="el-icon-search" @click="onDefdetButtxmsel"> <c-input type="textarea" :disabled="model.didgrp.rec.avbby == 'P'" v-model="model.didgrp.blk.defdet" style="width:100%" maxlength="140" show-word-limit placeholder="请输入" :autosize="{ minRows: 3,maxRows:5}"></c-input>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button size="small" style="margin:0 0;" type="primary" icon="el-icon-search" @click="onDefdetButtxmsel">
</c-button> </c-button>
</c-col>
</el-form-item> </el-form-item>
<el-form-item label="交单期限" prop="didgrp.blk.preper"> <el-form-item label="交单期限" prop="didgrp.blk.preper">
<c-input type="textarea" v-model="model.didgrp.blk.preper" :disabled="this.flag" style="width:75%;margin-right:20px;" maxlength="105" show-word-limit placeholder="请输入"></c-input> <c-col :span="21">
<c-button size="medium" type="primary" icon="el-icon-search" @click="onPreperButtxmsel"> <c-input type="textarea" v-model="model.didgrp.blk.preper" :disabled="this.flag" style="width:100%" maxlength="105" show-word-limit placeholder="请输入"></c-input>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button size="small" type="primary" style="margin:0 0;" icon="el-icon-search" @click="onPreperButtxmsel">
</c-button> </c-button>
</c-col>
</el-form-item> </el-form-item>
<el-form-item label="" prop="didgrp.blk.preperflg"> <el-form-item label="" prop="didgrp.blk.preperflg">
<c-checkbox v-model="model.didgrp.blk.preperflg" :click="preperflgExtkeyEvent()">修改交单期限文本</c-checkbox> <c-checkbox v-model="model.didgrp.blk.preperflg" :click="preperflgExtkeyEvent()">修改交单期限文本</c-checkbox>
</el-form-item> </el-form-item>
<el-form-item label="货物运输或交货方式/服务方式" prop="didgrp.rec.tratyp"> <el-form-item label="货物运输/交货/服务方式" prop="didgrp.rec.tratyp">
<c-select v-model="model.didgrp.rec.tratyp" style="width:50%" placeholder="请选择" @change="recTratypChange" :disabled="model.didgrp.rec.mytype == 'F'"> <c-col :span="10">
<c-select v-model="model.didgrp.rec.tratyp" style="width:90%" placeholder="请选择" @change="recTratypChange" :disabled="model.didgrp.rec.mytype == 'F'">
<el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label" <el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
</c-select> </c-select>
</c-col>
</el-form-item> </el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == 'H'" label="手输运输方式" prop="didgrp.rec.sdsrfs"> <el-form-item v-if="model.didgrp.rec.mytype == 'H'" label="手输运输方式" prop="didgrp.rec.sdsrfs">
......
<template>
<div class="eibs-tab">
<!-- <c-row> -->
<c-col :span="24">
<c-col :span="11">
<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>
<!-- =========================通知行========================= -->
<c-col :span="11">
<el-form-item label="通知行BIC" prop="didgrp.adv.pts.extkey">
<c-input
v-model="model.didgrp.adv.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.extkey')"
disabled
></c-input>
</el-form-item>
<el-form-item label="通知行联行行号" prop="didgrp.adv.pts.bankno">
<c-input
v-model="model.didgrp.adv.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.bankno')"
disabled
></c-input>
</el-form-item>
<el-form-item label="通知行联行名称" prop="didgrp.adv.pts.jigomc">
<c-input
disabled
type="textarea"
v-model="model.didgrp.adv.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
<el-form-item label="通知行地址" prop="didgrp.adv.pts.dizhii">
<c-input
disabled
type="textarea"
v-model="model.didgrp.adv.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input>
</el-form-item>
<c-col :span="12">
<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="12">
<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>
</c-col>
<!-- =========================开证行========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="开证行BIC" prop="didgrp.iss.pts.extkey">
<c-input
v-model="model.didgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.iss.pts.extkey')"
></c-input>
</el-form-item>
<el-form-item label="开证行联行行号" prop="didgrp.iss.pts.bankno">
<c-input
disabled
v-model="model.didgrp.iss.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
></c-input>
</el-form-item>
<el-form-item label="开证行联行名称" prop="didgrp.iss.pts.jigomc">
<c-input
disabled
type="textarea"
v-model="model.didgrp.iss.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
<el-form-item label="开证行地址" prop="didgrp.iss.pts.dizhii">
<c-input
disabled
type="textarea"
v-model="model.didgrp.iss.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input>
</el-form-item>
<c-col :span="12">
<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="12">
<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>
</c-col>
<!-- ============= 议付行 ========================= -->
<c-col :span="11">
<el-form-item label="是否可议付" prop="didgrp.rec.fenctg">
<c-select
v-model="model.didgrp.rec.fenctg"
style="width: 50%"
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>
<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="请选择指定的有关银行"
>
<el-option
v-for="item in codes.avbwth"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
<el-form-item label="议付行联行行号" prop="didgrp.avb.pts.bankno">
<c-input
:disabled="model.didgrp.rec.fenctg != 'Y'"
v-model="model.didgrp.avb.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.avb.pts.bankno')"
></c-input>
</el-form-item>
<el-form-item label="议付行名称" prop="didgrp.avb.pts.jigomc">
<c-input
disabled
type="textarea"
v-model="model.didgrp.avb.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
<el-form-item label="议付行地址" prop="didgrp.avb.pts.dizhii">
<c-input
:disabled="model.didgrp.rec.fenctg != 'Y'"
type="textarea"
v-model="model.didgrp.avb.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input>
</el-form-item>
</c-col>
<!-- =========================保兑行========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="是否可保兑" prop="didgrp.rec.bdflg">
<c-select
v-model="model.didgrp.rec.bdflg"
style="width: 50%"
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>
<el-form-item label="保兑行联行行号" prop="didgrp.rmb.pts.bankno">
<c-input
:disabled="model.didgrp.rec.bdflg != 'Y'"
v-model="model.didgrp.rmb.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.rmb.pts.bankno')"
></c-input>
</el-form-item>
<el-form-item label="保兑行名称" prop="didgrp.rmb.pts.jigomc">
<c-input
disabled
type="textarea"
v-model="model.didgrp.rmb.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
<el-form-item label="保兑行地址" prop="didgrp.rmb.pts.dizhii">
<c-input
:disabled="model.didgrp.rec.bdflg != 'Y'"
type="textarea"
v-model="model.didgrp.rmb.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">&nbsp;</c-col>
<!-- ========================转让行 ======================== -->
<c-col :span="11">
<el-form-item label="是否可以转让" prop="didgrp.rec.lcrtyp">
<c-select
v-model="model.didgrp.rec.lcrtyp"
style="width: 50%"
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-row> -->
<el-form-item label="转让行联行行号" prop="didgrp.cmb.pts.bankno">
<c-input
:disabled="model.didgrp.rec.lcrtyp != 'IT'"
v-model="model.didgrp.cmb.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.cmb.pts.bankno')"
></c-input>
</el-form-item>
<el-form-item label="转让行名称" prop="didgrp.cmb.pts.jigomc">
<c-input
disabled
type="textarea"
v-model="model.didgrp.cmb.pts.jigomc"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
<el-form-item label="转让行地址" prop="didgrp.cmb.pts.dizhii">
<c-input
:disabled="model.didgrp.rec.lcrtyp != 'IT'"
type="textarea"
v-model="model.didgrp.cmb.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input>
</el-form-item>
</c-col>
<!-- ========================申请行 ======================== -->
<c-col :span="11" :offset="1">
<el-form-item label="申请行联行行号" prop="didgrp.apc.pts.bankno">
<c-input
v-model="model.didgrp.apc.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.apc.pts.bankno')"
></c-input>
</el-form-item>
<el-form-item label="申请行名称" prop="didgrp.apc.pts.jigomc">
<c-input
disabled
type="textarea"
v-model="model.didgrp.apc.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
<el-form-item label="申请行地址" prop="didgrp.apc.pts.dizhii">
<c-input
type="textarea"
v-model="model.didgrp.apc.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input> </el-form-item
> <c-col :span="12">
<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>
</c-col><c-col :span="12">
<el-form-item label="申请人电话" prop="didgrp.apc.pts.dihdig" label-width="100px">
<c-input
v-model="model.didgrp.apc.pts.dihdig"
maxlength="16"
show-word-limit
placeholder="请输入电话 电证用"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
};
},
methods: {
...Event
},
created: function () {}
};
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- <c-row> --> <!-- <c-row> -->
<c-col :span="24"> <!--=== ==========左边=============== -->
<c-col :span="11"> <c-col :span="11">
<el-form-item label="参考号" prop="didgrp.rec.tzref"> <c-col :span="24">
<el-form-item label="通知行参考号" prop="didgrp.rec.tzref">
<c-input <c-input
v-model="model.didgrp.rec.tzref" v-model="model.didgrp.rec.tzref"
maxlength="35" maxlength="35"
...@@ -11,25 +12,23 @@ ...@@ -11,25 +12,23 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<!-- =========================通知行========================= --> <!-- =========================通知行========================= -->
<c-col :span="11"> <c-col :span="24">
<el-form-item label="通知行BIC" prop="didgrp.adv.pts.extkey"> <el-form-item label="通知行BIC" prop="didgrp.adv.pts.extkey">
<c-input <c-input
v-model="model.didgrp.adv.pts.extkey" v-model="model.didgrp.adv.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.extkey')" @keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.extkey')"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="通知行联行行号" prop="didgrp.adv.pts.bankno"> </c-col>
<!-- <el-form-item label="通知行联行行号" prop="didgrp.adv.pts.bankno">
<c-input <c-input
v-model="model.didgrp.adv.pts.bankno" v-model="model.didgrp.adv.pts.bankno"
maxlength="20" maxlength="20"
placeholder="请输入Number of bank" placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.bankno')" @keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.bankno')"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -52,8 +51,18 @@ ...@@ -52,8 +51,18 @@
show-word-limit show-word-limit
placeholder="请输入地址 电证用" placeholder="请输入地址 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item> -->
<c-col :span="12"> <c-ptapdome
: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"> <el-form-item label="通知行邮编" prop="didgrp.adv.pts.youzbm">
<c-input <c-input
disabled disabled
...@@ -62,8 +71,12 @@ ...@@ -62,8 +71,12 @@
placeholder="请输入邮编 电证用" placeholder="请输入邮编 电证用"
></c-input> ></c-input>
</el-form-item> </c-col </el-form-item> </c-col
><c-col :span="12"> ><c-col :span="11">
<el-form-item label="通知行电话" prop="didgrp.adv.pts.dihdig" label-width="100px"> <el-form-item
label="通知行电话"
prop="didgrp.adv.pts.dihdig"
label-width="100px"
>
<c-input <c-input
disabled disabled
v-model="model.didgrp.adv.pts.dihdig" v-model="model.didgrp.adv.pts.dihdig"
...@@ -72,73 +85,12 @@ ...@@ -72,73 +85,12 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<!-- =========================开证行========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="开证行BIC" prop="didgrp.iss.pts.extkey">
<c-input
v-model="model.didgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.iss.pts.extkey')"
></c-input>
</el-form-item>
<el-form-item label="开证行联行行号" prop="didgrp.iss.pts.bankno">
<c-input
disabled
v-model="model.didgrp.iss.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
></c-input>
</el-form-item>
<el-form-item label="开证行联行名称" prop="didgrp.iss.pts.jigomc">
<c-input
disabled
type="textarea"
v-model="model.didgrp.iss.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
<el-form-item label="开证行地址" prop="didgrp.iss.pts.dizhii">
<c-input
disabled
type="textarea"
v-model="model.didgrp.iss.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input>
</el-form-item>
<c-col :span="12">
<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="12">
<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>
</c-col>
<!-- ============= 议付行 ========================= --> <!-- ============= 议付行 ========================= -->
<c-col :span="11"> <c-col :span="13">
<el-form-item label="是否可议付" prop="didgrp.rec.fenctg"> <el-form-item label="是否可议付" prop="didgrp.rec.fenctg">
<c-select <c-select
v-model="model.didgrp.rec.fenctg" v-model="model.didgrp.rec.fenctg"
style="width: 50%" style="width: 100%"
placeholder="请选择是否可议付" placeholder="请选择是否可议付"
> >
<el-option <el-option
...@@ -150,6 +102,8 @@ ...@@ -150,6 +102,8 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="指定的有关银行 " prop="didgrp.rec.avbwth"> <el-form-item label="指定的有关银行 " prop="didgrp.rec.avbwth">
<c-select <c-select
:disabled="model.didgrp.rec.fenctg != 'Y'" :disabled="model.didgrp.rec.fenctg != 'Y'"
...@@ -166,8 +120,9 @@ ...@@ -166,8 +120,9 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col>
<el-form-item label="议付行联行行号" prop="didgrp.avb.pts.bankno"> <!-- <el-form-item label="议付行联行行号" prop="didgrp.avb.pts.bankno">
<c-input <c-input
:disabled="model.didgrp.rec.fenctg != 'Y'" :disabled="model.didgrp.rec.fenctg != 'Y'"
v-model="model.didgrp.avb.pts.bankno" v-model="model.didgrp.avb.pts.bankno"
...@@ -197,18 +152,28 @@ ...@@ -197,18 +152,28 @@
show-word-limit show-word-limit
placeholder="请输入地址 电证用" placeholder="请输入地址 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item> -->
</c-col> <c-ptapdome
<!-- =========================保兑行========================= --> :disabledBankno="model.didgrp.rec.fenctg != 'Y'"
<c-col :span="11" :offset="1"> :disabledJigomc="true"
<el-form-item label="是否可保兑" prop="didgrp.rec.bdflg"> :disabledDizhii="model.didgrp.rec.fenctg != 'Y'"
:model="model"
:argadr="{
title: '议付行',
rol: 'avb',
grp: 'didgrp'
}"
></c-ptapdome>
<!-- ========================转让行 ======================== -->
<c-col :span="13">
<el-form-item label="是否可以转让" prop="didgrp.rec.lcrtyp">
<c-select <c-select
v-model="model.didgrp.rec.bdflg" v-model="model.didgrp.rec.lcrtyp"
style="width: 50%" style="width: 100%"
placeholder="请选择是否可保兑" placeholder="请选择"
> >
<el-option <el-option
v-for="item in codes.bdflg" v-for="item in codes.lcrtyp"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -216,49 +181,136 @@ ...@@ -216,49 +181,136 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col>
<el-form-item label="保兑行联行行号" prop="didgrp.rmb.pts.bankno"> <!-- </c-row> -->
<!-- <el-form-item label="转让行联行行号" prop="didgrp.cmb.pts.bankno">
<c-input <c-input
:disabled="model.didgrp.rec.bdflg != 'Y'" :disabled="model.didgrp.rec.lcrtyp != 'IT'"
v-model="model.didgrp.rmb.pts.bankno" v-model="model.didgrp.cmb.pts.bankno"
maxlength="20" maxlength="20"
placeholder="请输入Number of bank" placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.rmb.pts.bankno')" @keyup.enter.native="showGridPromptDialog('didgrp.cmb.pts.bankno')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="转让行名称" prop="didgrp.cmb.pts.jigomc">
<el-form-item label="保兑行名称" prop="didgrp.rmb.pts.jigomc">
<c-input <c-input
disabled disabled
type="textarea" type="textarea"
v-model="model.didgrp.rmb.pts.jigomc" v-model="model.didgrp.cmb.pts.jigomc"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
<el-form-item label="转让行地址" prop="didgrp.cmb.pts.dizhii">
<c-input
:disabled="model.didgrp.rec.lcrtyp != 'IT'"
type="textarea"
v-model="model.didgrp.cmb.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input>
</el-form-item> -->
<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">
<!-- =========================开证行========================= -->
<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"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.iss.pts.extkey')"
></c-input>
</el-form-item>
</c-col>
<!-- <el-form-item label="开证行联行行号" prop="didgrp.iss.pts.bankno">
<c-input
disabled
v-model="model.didgrp.iss.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
></c-input>
</el-form-item>
<el-form-item label="开证行联行名称" prop="didgrp.iss.pts.jigomc">
<c-input
disabled
type="textarea"
v-model="model.didgrp.iss.pts.jigomc"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入联行名称 电证用" placeholder="请输入联行名称 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="保兑行地址" prop="didgrp.rmb.pts.dizhii"> <el-form-item label="开证行地址" prop="didgrp.iss.pts.dizhii">
<c-input <c-input
:disabled="model.didgrp.rec.bdflg != 'Y'" disabled
type="textarea" type="textarea"
v-model="model.didgrp.rmb.pts.dizhii" v-model="model.didgrp.iss.pts.dizhii"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址 电证用" placeholder="请输入地址 电证用"
></c-input> ></c-input>
</el-form-item> -->
<c-ptapdome
:disabledBankno="true"
:disabledJigomc="true"
:disabledDizhii="true"
:model="model"
:argadr="{
title: '开证行',
rol: 'iss',
grp: 'didgrp'
}"
:isIss="true"
></c-ptapdome>
<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> </el-form-item>
</c-col> </c-col>
<c-col :span="24">&nbsp;</c-col>
<!-- ========================转让行 ======================== -->
<c-col :span="11"> <c-col :span="11">
<el-form-item label="是否可以转让" prop="didgrp.rec.lcrtyp"> <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>
<!-- =========================保兑行========================= -->
<c-col :span="13">
<el-form-item label="是否可保兑" prop="didgrp.rec.bdflg">
<c-select <c-select
v-model="model.didgrp.rec.lcrtyp" v-model="model.didgrp.rec.bdflg"
style="width: 50%" style="width: 100%"
placeholder="请选择" placeholder="请选择是否可保兑"
> >
<el-option <el-option
v-for="item in codes.lcrtyp" v-for="item in codes.bdflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -266,39 +318,50 @@ ...@@ -266,39 +318,50 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
<!-- </c-row> --> </c-col>
<el-form-item label="转让行联行行号" prop="didgrp.cmb.pts.bankno"> <!-- <el-form-item label="保兑行联行行号" prop="didgrp.rmb.pts.bankno">
<c-input <c-input
:disabled="model.didgrp.rec.lcrtyp != 'IT'" :disabled="model.didgrp.rec.bdflg != 'Y'"
v-model="model.didgrp.cmb.pts.bankno" v-model="model.didgrp.rmb.pts.bankno"
maxlength="20" maxlength="20"
placeholder="请输入Number of bank" placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.cmb.pts.bankno')" @keyup.enter.native="showGridPromptDialog('didgrp.rmb.pts.bankno')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="转让行名称" prop="didgrp.cmb.pts.jigomc">
<el-form-item label="保兑行名称" prop="didgrp.rmb.pts.jigomc">
<c-input <c-input
disabled disabled
type="textarea" type="textarea"
v-model="model.didgrp.cmb.pts.jigomc" v-model="model.didgrp.rmb.pts.jigomc"
maxlength="35"
show-word-limit show-word-limit
placeholder="请输入联行名称 电证用" placeholder="请输入联行名称 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="转让行地址" prop="didgrp.cmb.pts.dizhii"> <el-form-item label="保兑行地址" prop="didgrp.rmb.pts.dizhii">
<c-input <c-input
:disabled="model.didgrp.rec.lcrtyp != 'IT'" :disabled="model.didgrp.rec.bdflg != 'Y'"
type="textarea" type="textarea"
v-model="model.didgrp.cmb.pts.dizhii" v-model="model.didgrp.rmb.pts.dizhii"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址 电证用" placeholder="请输入地址 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item> -->
</c-col> <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>
<!-- ========================申请行 ======================== --> <!-- ========================申请行 ======================== -->
<c-col :span="11" :offset="1"> <!-- <el-form-item label="申请行联行行号" prop="didgrp.apc.pts.bankno">
<el-form-item label="申请行联行行号" prop="didgrp.apc.pts.bankno">
<c-input <c-input
v-model="model.didgrp.apc.pts.bankno" v-model="model.didgrp.apc.pts.bankno"
maxlength="20" maxlength="20"
...@@ -323,8 +386,18 @@ ...@@ -323,8 +386,18 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址 电证用" placeholder="请输入地址 电证用"
></c-input> </el-form-item ></c-input>
> <c-col :span="12"> </el-form-item> -->
<c-ptapdome
: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"> <el-form-item label="申请人邮编" prop="didgrp.apc.pts.youzbm">
<c-input <c-input
v-model="model.didgrp.apc.pts.youzbm" v-model="model.didgrp.apc.pts.youzbm"
...@@ -332,19 +405,27 @@ ...@@ -332,19 +405,27 @@
placeholder="请输入邮编 电证用" placeholder="请输入邮编 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col><c-col :span="12"> </c-col>
<el-form-item label="申请人电话" prop="didgrp.apc.pts.dihdig" label-width="100px"> <c-col :span="11">
<el-form-item
label="申请人电话"
prop="didgrp.apc.pts.dihdig"
label-width="100px"
>
<c-input <c-input
v-model="model.didgrp.apc.pts.dihdig" v-model="model.didgrp.apc.pts.dihdig"
maxlength="16" maxlength="16"
show-word-limit
placeholder="请输入电话 电证用" placeholder="请输入电话 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- <c-col :span="24">&nbsp;</c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -352,19 +433,20 @@ import Api from "~/service/Api"; ...@@ -352,19 +433,20 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
import Utils from "~/utils"; import Utils from "~/utils";
import PtapDome from "~/views/Public/PtapDome";
export default { export default {
inject: ['root'], components: { "c-ptapdome": PtapDome },
inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
return { return {};
};
}, },
methods: { methods: {
...Event ...Event,
}, },
created: function () {} created: function () {},
}; };
</script> </script>
<style> <style>
......
<template>
<c-row>
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="8">
<el-form-item label="参考号" prop="didgrp.rec.ownref">
<c-input
v-model="model.didgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-search"
></c-button
>
<c-button
size="small"
type="primary"
:disabled="this.flag"
@click="onDitpButgetref"
>
获取
</c-button>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="摘要" prop="didgrp.rec.nam">
<c-input
align="middle"
v-model="model.didgrp.rec.nam"
maxlength="40"
disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="16">
<el-form-item label="所属客户经理" prop="ditp.usr.extkey">
<c-input
v-model="model.ditp.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onExtkey"
icon="el-icon-search"
></c-button
>
</el-form-item>
</c-col>
<c-col>
&nbsp;
</c-col>
<c-col :span="12">
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
<c-select
disabled
v-model="model.didgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="didgrp.cbs.nom1.amt"
>
<c-input
v-model="model.didgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="大写金额" prop="ditp.amt">
<c-input
v-model="model.ditp.amt"
maxlength="76"
placeholder="请输入大写金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
<c-input
v-model="model.didgrp.rec.nomtop"
maxlength="9"
placeholder="请输入Amount Tolerance - Positive"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12" style="text-align: left">
<el-form-item
label="-"
style="text-align: left; margin-left: 12px"
label-width="20px"
prop="didgrp.rec.nomton"
>
<c-input
v-model="model.didgrp.rec.nomton"
maxlength="9"
placeholder="请输入Amount Tolerance - Negative"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col>
&nbsp;
</c-col>
<c-col :span="14">
<el-form-item label="信用证最大金额" prop="didgrp.cbs.max.cur">
<c-select
v-model="model.didgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label=""
label-width="20px"
prop="didgrp.cbs.max.amt"
>
<c-input
v-model="model.didgrp.cbs.max.amt"
placeholder="请输入信用证最大金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="贸易类型" prop="didgrp.rec.mytype">
<c-select
v-if="model.didgrp.rec.elcflg == 'N'"
v-model="model.didgrp.rec.mytype"
style="width: 100%"
placeholder="请选择贸易类型"
@change="mytypeChange"
>
<el-option
v-for="item in codes.mylx"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<c-select
v-else
v-model="model.didgrp.rec.mytype"
style="width: 100%"
placeholder="请选择贸易类型"
@change="mytypeChange"
>
<el-option
v-for="item in codes.mytype"
: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.opndat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.opndat"
style="width: 45%"
placeholder="请选择Date L/C Opened/Issued"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.didgrp.rec.mytype == 'H'" label="最迟货物装运日" prop="didgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Shipment Date"
disabled
></c-date-picker>
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == 'F'" label="最迟服务提供日" prop="didgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Shipment Date"
></c-date-picker>
</el-form-item>
<el-form-item label="最迟货物装运日/服务提供日" v-if="model.didgrp.rec.mytype == '3'" prop="didgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="有效日期" prop="didgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.expdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Date of Expiry"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="有效地点" prop="didgrp.rec.expplc">
<c-input
type="textarea"
:rows="3"
v-model="model.didgrp.rec.expplc"
maxlength="35"
show-word-limit
placeholder="请输入Place of Expiry"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否通过电证系统" prop="didgrp.rec.elcflg">
<c-select
v-model="model.didgrp.rec.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
disabled
>
<el-option
v-for="item in codes.elcflg"
: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.dkflg">
<c-select
v-model="model.didgrp.rec.dkflg"
style="width: 100%"
disabled
placeholder="请选择开证类型"
>
<el-option
v-for="item in codes.dkflg"
: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.idcode"
>
<c-input
v-model="model.didgrp.rec.idcode"
maxlength="18"
placeholder="请输入申请人统一社会信用代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货押标识" prop="didgrp.rec.guaflg">
<c-select
v-model="model.didgrp.rec.guaflg"
style="width: 100%"
placeholder="请选择货押标识"
>
<el-option
v-for="item in codes.guaflg"
: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.jyqflg">
<c-select
v-model="model.didgrp.rec.jyqflg"
style="width: 100%"
placeholder="请选择假远期信用证"
>
<el-option
v-for="item in codes.jyqflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="申请人 参考号"
prop="didgrp.apl.pts.ref"
>
<c-input
v-model="model.didgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人 参考号"
></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label=" ">
<c-input v-model="model.ditp.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.ditp.aplp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="16">
<el-form-item label="Extkey" prop="didgrp.apl.pts.extkey">
<c-input
id = "extkey"
v-model="model.didgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.apl.pts.extkey')"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-search"
></c-button
>
<c-button size="small" type="primary" @click="onAplpDet">
详情
</c-button>
</el-form-item>
</c-col>
<!--
<c-col :span="10">
<el-form-item label="">
<c-input v-model="model.ditp.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="名称" prop="didgrp.apl.namelc">
<c-input
type="textarea"
v-model="model.didgrp.apl.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="Address Block">
<c-input type="textarea" v-model="model.didgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address">Extkey</el-form-item>>
<c-input type="textarea" v-model="model.didgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="24">
<el-form-item label="地址" prop="didgrp.apl.adrelc">
<c-input
type="textarea"
v-model="model.didgrp.apl.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="邮编" prop="didgrp.apl.pts.youzbm">
<c-input
v-model="model.didgrp.apl.pts.youzbm"
maxlength="6"
placeholder="请输入邮编"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label="电话"
label-width="40px"
style="margin-left: 12px"
prop="didgrp.apl.pts.dihdig"
>
<c-input
v-model="model.didgrp.apl.pts.dihdig"
maxlength="16"
placeholder="请输入电话"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人账号" prop="didgrp.apl.pts.extact">
<c-select
v-model="model.didgrp.apl.pts.extact"
style="width: 100%"
placeholder="请选择External Account"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="申请人开户行 联行行号"
prop="didgrp.apb.pts.bankno"
>
<c-input
v-model="model.didgrp.apb.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.apb.pts.bankno')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行名称 " prop="didgrp.apb.pts.jigomc">
<c-input
type="textarea"
v-model="model.didgrp.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="didgrp.ben.pts.ref"
>
<c-input
v-model="model.didgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人 参考号"
></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="6">
<span v-text="model.ditp.zchday" data-path=".ditp.zchday" > </span>
</c-col> -->
<c-col :span="16">
<el-form-item label="Extkey" prop="didgrp.ben.pts.extkey">
<c-input
v-model="model.didgrp.ben.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.ben.pts.extkey')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="12px">
<c-button
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-search"
></c-button
>
<c-button size="small" type="primary" @click="onBenpDet">
详情
</c-button>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.ditp.benp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<!--
<c-col :span="10">
<el-form-item label="">
<c-input v-model="model.ditp.benp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" @click="onBenpDet">
Detials
</c-button>
</c-col> -->
<c-col :span="24">
<el-form-item label="名称" prop="didgrp.ben.namelc">
<c-input
type="textarea"
v-model="model.didgrp.ben.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="有效地点" prop="didgrp.rec.expplc">
<c-input
type="textarea"
v-model="model.didgrp.rec.expplc"
maxlength="35"
show-word-limit
placeholder="请输入Place of Expiry"
></c-input>
</el-form-item>
</c-col> -->
<!--
<c-col :span="12">
<el-form-item label="Address Block">
<c-input type="textarea" v-model="model.didgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address">
<c-input type="textarea" v-model="model.didgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="地址" prop="didgrp.ben.adrelc">
<c-input
type="textarea"
v-model="model.didgrp.ben.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="邮编" prop="didgrp.ben.pts.youzbm">
<c-input
v-model="model.didgrp.ben.pts.youzbm"
maxlength="6"
placeholder="请输入邮编 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item
label="电话"
label-width="40px"
style="margin-left: 12px"
prop="didgrp.ben.pts.dihdig"
>
<c-input
v-model="model.didgrp.ben.pts.dihdig"
maxlength="16"
placeholder="请输入电话"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人帐号" prop="didgrp.ben.pts.extact">
<c-input
v-model="model.didgrp.ben.pts.extact"
maxlength="34"
placeholder="请输入受益人帐号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="受益人开户行 联行行号"
prop="didgrp.beb.pts.bankno"
>
<c-input
v-model="model.didgrp.beb.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.beb.pts.bankno')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行名称 " prop="didgrp.beb.pts.jigomc">
<c-input
type="textarea"
v-model="model.didgrp.beb.pts.jigomc"
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
// declareParams: {
// fileName: "ditopn.json",
// basePath: "{{basePath}}",
// method: "post",
// scheme: "{{schemes}}",
// host: "{{host}}",
// consume: "0",
// produce: "0",
// uri: "/ditopn/getElcsRef",
// },
jigomcFlag:false,
trade: ""
};
},
methods: {
...Event,
mytypeChange(){
if (this.model.didgrp.rec.mytype == "F"){
this.model.didgrp.rec.tratyp = "";
this.model.didgrp.rec.sdsrfs = "";
this.model.didgrp.rec.shptrs = "";
this.model.didgrp.rec.shpfro = "";
this.model.didgrp.rec.shpto = "";
this.model.didgrp.rec.shppro = "";
}
},
nom1CurEvent(){
this.executeDefault("didgrp.cbs.nom1.cur").then(
(res) => {
if (res.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
);
}
},
created: function () {},
computed:{
flag(){
return this.model.didgrp.apl.pts.extkey=="";
} ,
},
watch: {
declareParams() {},
},
};
</script>
...@@ -2,26 +2,38 @@ ...@@ -2,26 +2,38 @@
<c-row> <c-row>
<!-- =================顶部====================== --> <!-- =================顶部====================== -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="11">
<el-form-item label="参考号" prop="didgrp.rec.ownref"> <c-col :span="20">
<el-form-item
label="信用证号码"
prop="didgrp.rec.ownref"
style="width: 100%"
>
<c-input <c-input
v-model="model.didgrp.rec.ownref" v-model="model.didgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
style="width: 95%"
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <!-- <c-col :span="1" style="text-align: right"> -->
<el-form-item label="" label-width="15px"> <c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button <c-button
style="margin:0 10px 0 0;padding: 0 10px;"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
icon="el-icon-search" icon="el-icon-search"
></c-button @click="onSeainf"
> ></c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="3" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button <c-button
style="margin:0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="this.flag"
...@@ -29,9 +41,11 @@ ...@@ -29,9 +41,11 @@
> >
获取 获取
</c-button> </c-button>
</el-form-item> <!-- </el-form-item> -->
</c-col> </c-col>
<c-col :span="11"> <!-- </c-col> -->
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="didgrp.rec.nam"> <el-form-item label="摘要" prop="didgrp.rec.nam">
<c-input <c-input
align="middle" align="middle"
...@@ -45,9 +59,14 @@ ...@@ -45,9 +59,14 @@
</c-col> </c-col>
<!-- ====================左边======================= --> <!-- ====================左边======================= -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="16"> <c-col :span="20">
<el-form-item label="所属客户经理" prop="ditp.usr.extkey"> <el-form-item
label="所属客户经理"
prop="ditp.usr.extkey"
style="width: 100%"
>
<c-input <c-input
style="width: 95%"
v-model="model.ditp.usr.extkey" v-model="model.ditp.usr.extkey"
maxlength="8" maxlength="8"
placeholder="请输入User ID" placeholder="请输入User ID"
...@@ -56,28 +75,28 @@ ...@@ -56,28 +75,28 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="4">
<el-form-item label="" label-width="15px"> <!-- <el-form-item label="" label-width="17px"> -->
<c-button <c-button
style="margin:0 10px 0 0;padding: 0 10px;"
size="small" size="small"
icon="el-icon-search"
type="primary" type="primary"
@click="onExtkey" @click="onExtkey"
icon="el-icon-search" ></c-button>
></c-button <!-- </el-form-item> -->
>
</el-form-item>
</c-col> </c-col>
<c-col> <!-- <c-col>
&nbsp; &nbsp;
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="13">
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur"> <el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
<c-select <c-select
disabled disabled
v-model="model.didgrp.cbs.nom1.cur" v-model="model.didgrp.cbs.nom1.cur"
style="width: 100%" style="width: 95%"
placeholder="请选择Currency" placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent" @keyup.enter.native="nom1CurEvent"
> >
...@@ -91,18 +110,18 @@ ...@@ -91,18 +110,18 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11">
<el-form-item <el-form-item
style="text-align: left" style="text-align: left"
label-width="20px" label-width="0"
prop="didgrp.cbs.nom1.amt" prop="didgrp.cbs.nom1.amt"
> >
<c-input <c-input-currency
v-model="model.didgrp.cbs.nom1.amt" v-model="model.didgrp.cbs.nom1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入信用证金额" placeholder="请输入信用证金额"
disabled @keyup.enter.native="defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)"
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -115,42 +134,47 @@ ...@@ -115,42 +134,47 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-col :span="13">
<el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop"> <el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
<c-input <c-input
v-model="model.didgrp.rec.nomtop" v-model="model.didgrp.rec.nomtop"
maxlength="9" maxlength="9"
style="width: 40%"
placeholder="请输入Amount Tolerance - Positive" placeholder="请输入Amount Tolerance - Positive"
disabled ></c-input>
<label style="display:inline-block;width:10%;text-align:center;">-</label>
<c-input
v-model="model.didgrp.rec.nomton"
maxlength="9"
style="width: 40%"
placeholder="请输入Amount Tolerance - Negative"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" style="text-align: left"> </c-col>
<!-- <c-col :span="12" style="text-align: left">
<el-form-item <el-form-item
label="-" label=""
style="text-align: left; margin-left: 12px" style="text-align: left; margin-left: 12px"
label-width="20px" label-width="150px"
prop="didgrp.rec.nomton" prop="didgrp.rec.nomton"
> >
<c-input <c-input
v-model="model.didgrp.rec.nomton" v-model="model.didgrp.rec.nomton"
maxlength="9" maxlength="9"
placeholder="请输入Amount Tolerance - Negative" placeholder="请输入Amount Tolerance - Negative"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col>
&nbsp;
</c-col>
<!-- <c-col> &nbsp; </c-col> -->
<c-col :span="14"> <c-col :span="13">
<el-form-item label="信用证最大金额" prop="didgrp.cbs.max.cur"> <el-form-item label="信用证最大金额" prop="didgrp.cbs.max.cur">
<c-select <c-select
v-model="model.didgrp.cbs.max.cur" v-model="model.didgrp.cbs.max.cur"
style="width: 100%" style="width: 95%"
placeholder="请选择Currency" placeholder="请选择Currency"
disabled disabled
> >
...@@ -165,12 +189,8 @@ ...@@ -165,12 +189,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="11">
<el-form-item <el-form-item label="" label-width="0" prop="didgrp.cbs.max.amt">
label=""
label-width="20px"
prop="didgrp.cbs.max.amt"
>
<c-input <c-input
v-model="model.didgrp.cbs.max.amt" v-model="model.didgrp.cbs.max.amt"
placeholder="请输入信用证最大金额" placeholder="请输入信用证最大金额"
...@@ -214,66 +234,79 @@ ...@@ -214,66 +234,79 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13">
<el-form-item label="开证日期" prop="didgrp.rec.opndat"> <el-form-item label="开证日期" prop="didgrp.rec.opndat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.didgrp.rec.opndat" v-model="model.didgrp.rec.opndat"
style="width: 45%" value-format="yyyy-MM-dd"
placeholder="请选择Date L/C Opened/Issued" style="width: 95%"
disabled placeholder="请选择Date"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.didgrp.rec.mytype == 'H'" label="最迟货物装运日" prop="didgrp.rec.shpdat"> <c-col :span="13">
<el-form-item
v-if="model.didgrp.rec.mytype == 'H'"
label="最迟货物装运日"
prop="didgrp.rec.shpdat"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.didgrp.rec.shpdat" v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 100%" style="width: 95%"
placeholder="请选择Shipment Date" placeholder="请选择Date"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == 'F'" label="最迟服务提供日" prop="didgrp.rec.shpdat"> <el-form-item
v-if="model.didgrp.rec.mytype == 'F'"
label="最迟服务提供日"
prop="didgrp.rec.shpdat"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.didgrp.rec.shpdat" v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 100%" style="width: 95%"
placeholder="请选择Shipment Date" placeholder="请选择Date"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="最迟货物装运日/服务提供日" v-if="model.didgrp.rec.mytype == '3'" prop="didgrp.rec.shpdat"> <el-form-item
label="最迟货物装运日/服务提供日"
v-if="model.didgrp.rec.mytype == '3'"
prop="didgrp.rec.shpdat"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.didgrp.rec.shpdat" v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 100%" style="width: 95%"
placeholder="请选择Shipment Date" placeholder="请选择"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13">
<el-form-item label="有效日期" prop="didgrp.rec.expdat"> <el-form-item label="有效日期" prop="didgrp.rec.expdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.didgrp.rec.expdat" v-model="model.didgrp.rec.expdat"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 100%" style="width: 95%"
placeholder="请选择Date of Expiry" placeholder="请选择Date"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="有效地点" prop="didgrp.rec.expplc"> <el-form-item label="有效地点" prop="didgrp.rec.expplc">
<c-input <c-input
type="textarea"
:rows="3"
v-model="model.didgrp.rec.expplc" v-model="model.didgrp.rec.expplc"
maxlength="35" maxlength="35"
show-word-limit
placeholder="请输入Place of Expiry" placeholder="请输入Place of Expiry"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -284,7 +317,6 @@ ...@@ -284,7 +317,6 @@
v-model="model.didgrp.rec.elcflg" v-model="model.didgrp.rec.elcflg"
style="width: 100%" style="width: 100%"
placeholder="请选择是否通过电证系统" placeholder="请选择是否通过电证系统"
disabled
> >
<el-option <el-option
v-for="item in codes.elcflg" v-for="item in codes.elcflg"
...@@ -303,7 +335,6 @@ ...@@ -303,7 +335,6 @@
style="width: 100%" style="width: 100%"
disabled disabled
placeholder="请选择开证类型" placeholder="请选择开证类型"
> >
<el-option <el-option
v-for="item in codes.dkflg" v-for="item in codes.dkflg"
...@@ -316,14 +347,11 @@ ...@@ -316,14 +347,11 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="申请人统一社会信用代码" prop="didgrp.rec.idcode">
label="申请人统一社会信用代码"
prop="didgrp.rec.idcode"
>
<c-input <c-input
v-model="model.didgrp.rec.idcode" v-model="model.didgrp.rec.idcode"
maxlength="18" maxlength="18"
disabled
placeholder="请输入申请人统一社会信用代码" placeholder="请输入申请人统一社会信用代码"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -366,9 +394,25 @@ ...@@ -366,9 +394,25 @@
<!-- ========================右边======================= --> <!-- ========================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'didgrp',
rol: 'apl',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<!-- <c-col :span="24">
<el-form-item <el-form-item
label="申请人 参考号" label="申请人 参考号"
prop="didgrp.apl.pts.ref" prop="didgrp.apl.pts.ref"
style="width: 100%"
> >
<c-input <c-input
v-model="model.didgrp.apl.pts.ref" v-model="model.didgrp.apl.pts.ref"
...@@ -377,47 +421,44 @@ ...@@ -377,47 +421,44 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<!-- <c-col :span="18">
<c-col :span="12"> <el-form-item
<el-form-item label=" "> label="Extkey"
<c-input v-model="model.ditp.usrget.sdamod.seainf" placeholder="请输入"></c-input> prop="didgrp.apl.pts.extkey"
</el-form-item> style="width: 100%"
</c-col> >
<c-col :span="12">
<el-form-item label="Drag Drop Sender">
<c-input v-model="model.ditp.aplp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="16">
<el-form-item label="Extkey" prop="didgrp.apl.pts.extkey">
<c-input <c-input
id = "extkey" id="extkey"
v-model="model.didgrp.apl.pts.extkey" v-model="model.didgrp.apl.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.apl.pts.extkey')" @keyup.enter.native="
disabled showGridPromptDialog('didgrp.apl.pts.extkey')
"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="6" style="text-align: right">
<el-form-item label="" label-width="15px"> <c-col :span="12">
<el-form-item label="" label-width="5px">
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
icon="el-icon-search" icon="el-icon-search"
></c-button @click="onSeainf('didgrp.apl.pts.extkey')"
> ></c-button>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px">
<c-button size="small" type="primary" @click="onAplpDet"> <c-button size="small" type="primary" @click="onAplpDet">
详情 详情
</c-button> </c-button>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</c-col> -->
<!-- <!--
<c-col :span="10"> <c-col :span="10">
...@@ -426,7 +467,7 @@ ...@@ -426,7 +467,7 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="名称" prop="didgrp.apl.namelc"> <el-form-item label="名称" prop="didgrp.apl.namelc">
<c-input <c-input
type="textarea" type="textarea"
...@@ -436,7 +477,7 @@ ...@@ -436,7 +477,7 @@
placeholder="请输入名称" placeholder="请输入名称"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<!-- <!--
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Address Block"> <el-form-item label="Address Block">
...@@ -451,7 +492,7 @@ ...@@ -451,7 +492,7 @@
</c-col> </c-col>
--> -->
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="地址" prop="didgrp.apl.adrelc"> <el-form-item label="地址" prop="didgrp.apl.adrelc">
<c-input <c-input
type="textarea" type="textarea"
...@@ -461,19 +502,19 @@ ...@@ -461,19 +502,19 @@
placeholder="请输入地址" placeholder="请输入地址"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="14"> <c-col :span="14">
<el-form-item label="邮编" prop="didgrp.apl.pts.youzbm"> <c-form-item label="邮编" prop="didgrp.apl.pts.youzbm">
<c-input <c-input
v-model="model.didgrp.apl.pts.youzbm" v-model="model.didgrp.apl.pts.youzbm"
maxlength="6" maxlength="6"
placeholder="请输入邮编" placeholder="请输入邮编"
></c-input> ></c-input>
</el-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item <c-form-item
label="电话" label="电话"
label-width="40px" label-width="40px"
style="margin-left: 12px" style="margin-left: 12px"
...@@ -484,7 +525,7 @@ ...@@ -484,7 +525,7 @@
maxlength="16" maxlength="16"
placeholder="请输入电话" placeholder="请输入电话"
></c-input> ></c-input>
</el-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -523,26 +564,43 @@ ...@@ -523,26 +564,43 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item <el-form-item label="受益人 参考号" prop="didgrp.ben.pts.ref">
label="受益人 参考号"
prop="didgrp.ben.pts.ref"
>
<c-input <c-input
v-model="model.didgrp.ben.pts.ref" v-model="model.didgrp.ben.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入受益人 参考号" placeholder="请输入受益人 参考号"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<!-- <!--
<c-col :span="6"> <c-col :span="6">
<span v-text="model.ditp.zchday" data-path=".ditp.zchday" > </span> <span v-text="model.ditp.zchday" data-path=".ditp.zchday" > </span>
</c-col> --> </c-col> -->
<c-col :span="16"> <c-col :span="24">
<el-form-item label="Extkey" prop="didgrp.ben.pts.extkey"> <c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'didgrp',
rol: 'ben',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<!-- <c-col :span="18">
<el-form-item
label="Extkey"
prop="didgrp.ben.pts.extkey"
style="width: 100%"
>
<c-input <c-input
v-model="model.didgrp.ben.pts.extkey" v-model="model.didgrp.ben.pts.extkey"
maxlength="16" maxlength="16"
...@@ -551,20 +609,18 @@ ...@@ -551,20 +609,18 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="6" style="text-align: right">
<el-form-item label="" label-width="12px">
<c-button <c-button
class="icon-search"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
icon="el-icon-search" icon="el-icon-search"
></c-button @click="onSeaParty('didgrp.ben.pts.extkey')"
> ></c-button>
<c-button size="small" type="primary" @click="onBenpDet"> <c-button class="detailsButton" size="small" type="primary" @click="onBenpDet">
详情 详情
</c-button> </c-button>
</el-form-item> </c-col> -->
</c-col>
<!-- <!--
<c-col :span="12"> <c-col :span="12">
...@@ -585,7 +641,7 @@ ...@@ -585,7 +641,7 @@
Detials Detials
</c-button> </c-button>
</c-col> --> </c-col> -->
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="名称" prop="didgrp.ben.namelc"> <el-form-item label="名称" prop="didgrp.ben.namelc">
<c-input <c-input
type="textarea" type="textarea"
...@@ -593,10 +649,9 @@ ...@@ -593,10 +649,9 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入名称" placeholder="请输入名称"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="有效地点" prop="didgrp.rec.expplc"> <el-form-item label="有效地点" prop="didgrp.rec.expplc">
...@@ -623,7 +678,7 @@ ...@@ -623,7 +678,7 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="地址" prop="didgrp.ben.adrelc"> <el-form-item label="地址" prop="didgrp.ben.adrelc">
<c-input <c-input
type="textarea" type="textarea"
...@@ -631,10 +686,9 @@ ...@@ -631,10 +686,9 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址" placeholder="请输入地址"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="14"> <c-col :span="14">
<el-form-item label="邮编" prop="didgrp.ben.pts.youzbm"> <el-form-item label="邮编" prop="didgrp.ben.pts.youzbm">
...@@ -692,7 +746,7 @@ ...@@ -692,7 +746,7 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入联行名称 电证用" placeholder="请输入联行名称 电证用"
disabled :disabled="this.jigomcFlag"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -704,31 +758,23 @@ import Api from "~/service/Api"; ...@@ -704,31 +758,23 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
import Utils from "~/utils"; import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
export default { export default {
inject: ['root'], components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
return { return {
// declareParams: { jigomcFlag: false,
// fileName: "ditopn.json", trade: "",
// basePath: "{{basePath}}",
// method: "post",
// scheme: "{{schemes}}",
// host: "{{host}}",
// consume: "0",
// produce: "0",
// uri: "/ditopn/getElcsRef",
// },
jigomcFlag:false,
trade: ""
}; };
}, },
methods: { methods: {
...Event, ...Event,
mytypeChange(){ mytypeChange() {
if (this.model.didgrp.rec.mytype == "F"){ if (this.model.didgrp.rec.mytype == "F") {
this.model.didgrp.rec.tratyp = ""; this.model.didgrp.rec.tratyp = "";
this.model.didgrp.rec.sdsrfs = ""; this.model.didgrp.rec.sdsrfs = "";
this.model.didgrp.rec.shptrs = ""; this.model.didgrp.rec.shptrs = "";
...@@ -737,21 +783,21 @@ export default { ...@@ -737,21 +783,21 @@ export default {
this.model.didgrp.rec.shppro = ""; this.model.didgrp.rec.shppro = "";
} }
}, },
nom1CurEvent(){ nom1CurEvent() {
this.executeDefault("didgrp.cbs.nom1.cur").then( this.executeDefault("didgrp.cbs.nom1.cur").then((res) => {
(res) => { if ((res.respCode = SUCCESS)) {
if (res.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
} });
); },
} },
created: function () {
console.log(this.root);
},
computed: {
flag() {
return this.model.didgrp.apl.pts.extkey == "";
}, },
created: function () {},
computed:{
flag(){
return this.model.didgrp.apl.pts.extkey=="";
} ,
}, },
watch: { watch: {
declareParams() {}, declareParams() {},
......
<template> <template>
<c-page title="信用证修改">
<div class="eContainer"> <div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
ref="modelForm" ref="modelForm"
label-width="200px" label-width="150px"
size="small" size="small"
label-position="right"
> >
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
...@@ -17,15 +19,19 @@ ...@@ -17,15 +19,19 @@
<el-tab-pane label="内容" name="ovwp"> <el-tab-pane label="内容" name="ovwp">
<!--PD000001 --> <!--PD000001 -->
<c-content>
<m-ovwp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="银行明细" name="detp1"> <el-tab-pane label="其他当事人" name="detp1">
<!--PD000452 --> <!--PD000452 -->
<c-content>
<m-detp1 :model="model" :codes="codes" /> <m-detp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="明细" name="detp"> <el-tab-pane label="详细信息" name="detp">
<!--PD000077 --> <!--PD000077 -->
<m-detp :model="model" :codes="codes" /> <m-detp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
...@@ -105,11 +111,12 @@ ...@@ -105,11 +111,12 @@
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
<c-bus-button :$pntvm="this"></c-bus-button> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog> <c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Utils from "~/utils/index"; import Utils from "~/utils/index";
...@@ -175,7 +182,7 @@ export default { ...@@ -175,7 +182,7 @@ export default {
// defaultRule:Default, // defaultRule:Default,
// rules:this.mergeRules(Pattern,Check), // rules:this.mergeRules(Pattern,Check),
rules: Pattern, rules: Pattern,
codes: {}, codes: { ...CodeTable },
// init: { // init: {
// uri: "/ditame/init", // uri: "/ditame/init",
// fileName: "ditame.json", // fileName: "ditame.json",
......
...@@ -163,8 +163,7 @@ ...@@ -163,8 +163,7 @@
console.log("进入infcpd交易"); console.log("进入infcpd交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 this.updateModel(rtnmsg.data)
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment