Commit 7bc5ad20 by liuxin

detame修改

parent c8aba79c
......@@ -44,6 +44,7 @@ export default {
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction,
"dedgrp.rec.tenmaxday" :Utils.defaultFunction,
"trnmod.swiadd.newnomtopame" :Utils.defaultFunction,
"trnmod.swiadd.newnomtoname" :Utils.defaultFunction,
}
......
......@@ -44,5 +44,6 @@ export default {
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction,
"dedgrp.rec.tenmaxday" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -8,6 +8,7 @@
v-model="model.dedgrp.rec.isyifu"
style="width: 100%"
placeholder="请选择是否可议付"
@change="selectOrCheckboxRule('dedgrp.rec.isyifu')"
>
<el-option
v-for="item in codes.isyifu"
......@@ -60,9 +61,9 @@
-->
<c-ptapdome
:disabledBankno="model.dedgrp.rec.isyifu != 'Y'"
:disabledBankno="model.dedgrp.rec.avbwth != 'S'"
:disabledJigomc="true"
:disabledDizhii="model.dedgrp.rec.isyifu != 'Y'"
:disabledDizhii="model.dedgrp.rec.avbwth != 'S'"
:model="model"
:argadr="{
title: '议付行',
......@@ -290,9 +291,9 @@
-->
<c-ptapdome
:disabledBankno="true"
:disabledJigomc="true"
:disabledDizhii="true"
:disabledBankno="this.model.dedgrp.rec.lcrtyp == 'I'"
:disabledJigomc="this.model.dedgrp.rec.lcrtyp == 'I'"
:disabledDizhii="this.model.dedgrp.rec.lcrtyp == 'I'"
:model="model"
:argadr="{
title: '转让行',
......
<template>
<div class="eibs-tab">
<!-- ========================= Left ========================= -->
<c-col :span="11">
<el-form-item label="分批装运货物" prop="dedgrp.rec.shppar">
<c-select v-model="model.dedgrp.rec.shppar" style="width:100%" placeholder="请选择">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
<div class="eibs-tab">
<!-- ========================= Left ========================= -->
<c-col :span="11">
<el-form-item label="分批装运货物" prop="dedgrp.rec.shppar">
<c-select
v-model="model.dedgrp.rec.shppar"
style="width: 100%"
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="dedgrp.rec.fqzytgfw">
<c-select v-model="model.dedgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.dedgrp.rec.shppar != 'Y'" style="width:100%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-form-item>
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
<c-select
v-model="model.dedgrp.rec.fqzytgfw"
placeholder="请选择"
:disabled="model.dedgrp.rec.shppar != 'Y'"
style="width: 100%"
>
<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>
<el-form-item label="分期装运/提供服务约定" prop="dedgrp.rec.fqtime">
<c-input type="textarea" :rows="3" v-model="model.dedgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"></c-input>
</el-form-item>
<el-form-item
label="分期装运/提供服务约定"
prop="dedgrp.rec.fqtime"
>
<c-input
type="textarea"
:rows="3"
v-model="model.dedgrp.rec.fqtime"
maxlength="140"
show-word-limit
placeholder="请输入"
style="width: 100%"
></c-input>
</el-form-item>
<el-form-item label="货物运输/交货/服务方式" prop="dedgrp.rec.tratyp">
<c-select v-model="model.dedgrp.rec.tratyp" style="width:100%" placeholder="请选择" @change="recTratypChange" :disabled="model.dedgrp.rec.mytype == 'F'">
<el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
:value="item.value">
<el-form-item
label="货物运输/交货/服务方式"
prop="dedgrp.rec.tratyp"
>
<c-select
v-model="model.dedgrp.rec.tratyp"
style="width: 100%"
placeholder="请选择"
@change="recTratypChange"
:disabled="model.dedgrp.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>
<el-form-item v-if="model.dedgrp.rec.mytype == 'H'" label="手输运输方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<el-form-item
v-if="model.dedgrp.rec.mytype == 'H'"
label="手输运输方式"
prop="dedgrp.rec.sdsrfs"
>
<c-input
type="textarea"
v-model="model.dedgrp.rec.sdsrfs"
:disabled="model.dedgrp.rec.tratyp!='08' && model.dedgrp.rec.mytype!='F'"
maxlength="140"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == 'F'" label="服务提供方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<el-form-item
v-if="model.dedgrp.rec.mytype == 'F'"
label="服务提供方式"
prop="dedgrp.rec.sdsrfs"
>
<c-input
type="textarea"
v-model="model.dedgrp.rec.sdsrfs"
maxlength="140"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item
v-if="model.dedgrp.rec.mytype == '3'"
label="手输运输方式/服务提供方式"
prop="dedgrp.rec.sdsrfs"
>
<c-input
type="textarea"
v-model="model.dedgrp.rec.sdsrfs"
:disabled="this.mytypeFlag"
maxlength="140"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == '3'" label="手输运输方式/服务提供方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同编号" prop="dedgrp.rec.conno">
<c-input v-model="model.dedgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同编号" prop="dedgrp.rec.conno">
<c-input
v-model="model.dedgrp.rec.conno"
maxlength="35"
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item label="合同金额" prop="dedgrp.rec.conamt">
<c-col :span="10">
<c-select v-model="model.dedgrp.rec.concur" style="width:90%" placeholder="请选择">
<el-option label="CNY 人民币" value="CNY"></el-option>
</c-select>
<c-col :span="24">
<el-form-item label="合同金额">
<c-col :span="10">
<c-select
v-model="model.dedgrp.rec.concur"
placeholder="请选择"
style="width: 100%"
>
<el-option label="CNY 人民币" value="CNY"></el-option>
</c-select>
</c-col>
<c-col :span="14">
<el-form-item label="" label-width="5px" prop="dedgrp.rec.conamt">
<c-input-currency
v-model="model.dedgrp.rec.conamt"
placeholder="请输入"
></c-input-currency>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="14">
<c-input v-model="model.dedgrp.rec.conamt" placeholder="请输入"></c-input>
</c-col>
</el-form-item>
</c-col>
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="货物转运地(港)" prop="dedgrp.rec.shpfro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shpfro" :disabled="model.dedgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<el-form-item label="货物目的地/交货地(港)" prop="dedgrp.rec.shpto">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shpto" :disabled="model.dedgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="货物转运地(港)" prop="dedgrp.rec.shpfro">
<c-input
type="textarea"
style="width: 100%"
:rows="3"
v-model="model.dedgrp.rec.shpfro"
:disabled="model.dedgrp.rec.mytype == 'F'"
maxlength="35"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item label="服务提供地点" prop="dedgrp.rec.shppro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shppro" :disabled="model.dedgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<el-form-item label="货物目的地/交货地(港)" prop="dedgrp.rec.shpto">
<c-input
type="textarea"
style="width: 100%"
:rows="3"
v-model="model.dedgrp.rec.shpto"
:disabled="model.dedgrp.rec.mytype == 'F'"
maxlength="35"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
<el-form-item label="服务提供地点" prop="dedgrp.rec.shppro">
<c-input
type="textarea"
style="width: 100%"
:rows="3"
v-model="model.dedgrp.rec.shppro"
:disabled="model.dedgrp.rec.mytype == 'H'"
maxlength="35"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<!--
<!--
<c-col :span="12">
<span v-text="model.detp.fenzhu"
a-path=".detp.fenzhu" > </span>
......@@ -86,31 +201,21 @@
<c-col :span="12">
<span v-text="model.detp.sdysfs" data-path=".detp.sdysfs" > </span>
</c-col>
-->
</div>
--></div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Detopn/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detopn/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
mytypeFlag:true,
}
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="信用证号码"
prop="dedgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.dedgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
style="width: 95%"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="1" style="text-align: right"> -->
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
<!-- </c-col> -->
</c-col>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="信用证号码" prop="dedgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.dedgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"
style="width: 95%" disabled></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="1" style="text-align: right"> -->
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
">i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag"
@click="onDetpButgetref">
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
<!-- </c-col> -->
</c-col>
<c-col :span="24">
<el-form-item label="是否可以转让" prop="dedgrp.rec.lcrtyp">
<c-select
v-model="model.dedgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.lcrtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否可以转让" prop="dedgrp.rec.lcrtyp">
<c-select v-model="model.dedgrp.rec.lcrtyp" style="width: 100%" placeholder="请选择">
<el-option v-for="item in codes.lcrtyp" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="所属客户经理"
prop="detp.usr.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.detp.usr.extkey"
maxlength="8"
placeholder="请输入所属客户经理"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left:10px;padding: 0 10px;"
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="所属客户经理" prop="detp.usr.extkey" style="width: 100%">
<c-fullbox>
<c-input v-model="model.detp.usr.extkey" maxlength="8" placeholder="请输入所属客户经理" disabled>
</c-input>
<template slot="footer">
<c-button style="margin-left: 10px; padding: 0 10px" size="small" icon="el-icon-search"
type="primary" @click="onExtkey"></c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col>
<!-- <c-col>
&nbsp;
</c-col> -->
<c-col :span="13">
<el-form-item label="信用证金额" prop="dedgrp.cbs.nom1.cur">
<c-select
disabled
v-model="model.dedgrp.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="13">
<el-form-item label="信用证金额" prop="dedgrp.cbs.nom1.cur">
<c-select disabled v-model="model.dedgrp.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="11">
<el-form-item
style="text-align: left"
label-width="5px"
prop="dedgrp.cbs.nom1.amt"
>
<c-input-currency
v-model="model.dedgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
@keyup.enter.native="
defaultFunction('dedgrp.cbs.nom1.amt', model.dedgrp.cbs.nom1.amt)
"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item style="text-align: left" label-width="5px" prop="dedgrp.cbs.nom1.amt">
<c-input-currency v-model="model.dedgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入信用证金额" @keyup.enter.native="
defaultFunction(
'dedgrp.cbs.nom1.amt',
model.dedgrp.cbs.nom1.amt
)
"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="大写金额" prop="detp.upamt">
<c-input
v-model="model.detp.upamt"
maxlength="76"
placeholder="请输入大写金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="大写金额" prop="detp.upamt">
<c-input v-model="model.detp.upamt" maxlength="76" placeholder="请输入大写金额" disabled></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop">
<c-input
......@@ -168,31 +109,28 @@
</c-col>
</c-col> -->
<c-col :span="24">
<c-col :span="13">
<c-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop">
<c-input
v-model="model.dedgrp.rec.nomtop"
maxlength="9"
style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"
></c-input>
</c-form-item>
</c-col>
<c-col :span="1" style="text-align:center">
<label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label>
</c-col>
<c-col :span="10">
<c-input
v-model="model.dedgrp.rec.nomton"
maxlength="9"
style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"
></c-input>
<c-col :span="24">
<c-col :span="13">
<c-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop">
<c-input v-model="model.dedgrp.rec.nomtop" maxlength="10" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"></c-input>
</c-form-item>
</c-col>
<c-col :span="1" style="text-align: center">
<label style="
display: inline-block;
width: calc(3% - 4px);
text-align: center;
">-</label>
</c-col>
<c-col :span="10">
<c-form-item label="" prop="dedgrp.rec.nomton" label-width="0">
<c-input v-model="model.dedgrp.rec.nomton" prop="dedgrp.rec.nomton" maxlength="10" style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"></c-input></c-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12" style="text-align: left">
<!-- <c-col :span="12" style="text-align: left">
<el-form-item
label=""
style="text-align: left; margin-left: 12px"
......@@ -207,72 +145,35 @@
</el-form-item>
</c-col> -->
<!-- <c-col> &nbsp; </c-col> -->
<c-col :span="13">
<el-form-item label="信用证最大金额" prop="dedgrp.cbs.max.cur">
<c-select
v-model="model.dedgrp.cbs.max.cur"
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> &nbsp; </c-col> -->
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="dedgrp.cbs.max.amt">
<c-input
v-model="model.dedgrp.cbs.max.amt"
placeholder="请输入信用证最大金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="信用证最大金额" prop="dedgrp.cbs.max.cur">
<c-select v-model="model.dedgrp.cbs.max.cur" 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="24">
<el-form-item label="贸易类型" prop="dedgrp.rec.mytype">
<c-select
v-if="model.dedgrp.rec.elcflg == 'N'"
v-model="model.dedgrp.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.dedgrp.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="11">
<el-form-item label="" label-width="5px" prop="dedgrp.cbs.max.amt">
<c-input v-model="model.dedgrp.cbs.max.amt" placeholder="请输入信用证最大金额" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="贸易类型" prop="dedgrp.rec.mytype">
<c-select v-model="model.dedgrp.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">
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="开证日期" prop="dedgrp.rec.opndat">
<c-date-picker
......@@ -285,61 +186,28 @@
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<c-form-item label="开证日期" prop="dedgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.opndat"
value-format="yyyy-MM-dd"
placeholder="请选择Date"
style="width:100%"
></c-date-picker>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.dedgrp.rec.mytype == 'H'"
label="最迟货物装运日"
prop="dedgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Date"
></c-date-picker>
</el-form-item>
<el-form-item
v-if="model.dedgrp.rec.mytype == 'F'"
label="最迟服务提供日"
prop="dedgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Date"
></c-date-picker>
</el-form-item>
<el-form-item
label="最迟货物装运日/服务提供日"
v-if="model.dedgrp.rec.mytype == '3'"
prop="dedgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="开证日期" prop="dedgrp.rec.opndat">
<c-date-picker type="date" v-model="model.dedgrp.rec.opndat" value-format="yyyy-MM-dd"
placeholder="请选择Date" style="width: 100%"></c-date-picker>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.dedgrp.rec.mytype == 'H'" label="最迟货物装运日" prop="dedgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.dedgrp.rec.shpdat" value-format="yyyy-MM-dd"
style="width: 100%" placeholder="请选择Date"></c-date-picker>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == 'F'" label="最迟服务提供日" prop="dedgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.dedgrp.rec.shpdat" value-format="yyyy-MM-dd"
style="width: 100%" placeholder="请选择Date"></c-date-picker>
</el-form-item>
<el-form-item label="最迟货物装运日/服务提供日" v-if="model.dedgrp.rec.mytype == '3'" prop="dedgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.dedgrp.rec.shpdat" value-format="yyyy-MM-dd"
style="width: 100%" placeholder="请选择"></c-date-picker>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="有效日期" prop="dedgrp.rec.expdat">
<c-date-picker
......@@ -352,84 +220,59 @@
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<c-form-item label="有效日期" prop="dedgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.expdat"
value-format="yyyy-MM-dd"
placeholder="请选择Date"
style="width:100%"
></c-date-picker>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="有效日期" prop="dedgrp.rec.expdat">
<c-date-picker type="date" v-model="model.dedgrp.rec.expdat" value-format="yyyy-MM-dd"
placeholder="请选择Date" style="width: 100%"></c-date-picker>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="有效地点" prop="dedgrp.rec.expplc">
<c-input
v-model="model.dedgrp.rec.expplc"
maxlength="35"
placeholder="请输入Place of Expiry"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="开证行开证类型" prop="dedgrp.rec.dkflg">
<c-select v-model="model.dedgrp.rec.dkflg" style="width: 100%" placeholder="请选择" :code="codes.dkflg"
disabled></c-select>
</c-form-item>
</c-col>
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="货运时间" prop="dedgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
style="width: 95%"
placeholder="请选择Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<c-form-item label="货运时间" prop="dedgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择Shipment Date"
></c-date-picker>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="有效地点" prop="dedgrp.rec.expplc">
<c-input v-model="model.dedgrp.rec.expplc" maxlength="35" placeholder="请输入Place of Expiry">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转运" prop="dedgrp.rec.shptrs">
<c-select
v-model="model.dedgrp.rec.shptrs"
style="width: 100%"
placeholder="请选择"
:disabled="model.dedgrp.rec.mytype == 'F'"
>
<el-option label="不允许" value="禁止"></el-option>
<el-option label="允许" value="允许"></el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-form-item label="货运时间" prop="dedgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.dedgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择Shipment Date"
></c-date-picker>
</c-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="转运" prop="dedgrp.rec.shptrs">
<c-select v-model="model.dedgrp.rec.shptrs" style="width: 100%" placeholder="请选择"
:disabled="model.dedgrp.rec.mytype == 'F'">
<el-option label="不允许" value="禁止"></el-option>
<el-option label="允许" value="允许"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否通过电证系统" prop="dedgrp.rec.elcflg">
<c-select
v-model="model.dedgrp.rec.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
>
<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="dedgrp.rec.elcflg">
<c-select v-model="model.dedgrp.rec.elcflg" style="width: 100%" placeholder="请选择是否通过电证系统">
<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="dedgrp.rec.dkflg">
<c-select v-model="model.dedgrp.rec.dkflg" style="width:100%" placeholder="请选择是否代开信用证">
......@@ -438,81 +281,68 @@
</c-col>
-->
<c-col :span="24">
<el-form-item label="信用证兑付方式" prop="dedgrp.rec.avbby">
<c-select
v-model="model.dedgrp.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>
</c-col>
<c-col :span="24">
<el-form-item label="天数" prop="dedgrp.rec.tenmaxday">
<c-input
v-model="model.dedgrp.rec.tenmaxday"
maxlength="35"
placeholder="请输入天数"
:disabled = "model.dedgrp.rec.avbby == 'P'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证兑付方式" prop="dedgrp.rec.avbby">
<c-select v-model="model.dedgrp.rec.avbby" style="width: 100%" @change="avbbykeyEvent"
placeholder="请选择">
<el-option v-for="item in codes.avbbyDetopn" :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.blk.dftat">
<c-input
type="textarea"
v-model="model.dedgrp.blk.dftat"
maxlength="35"
show-word-limit
placeholder="请输入远期付款指示"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="天数" prop="dedgrp.rec.tenmaxday">
<c-input v-model.number="model.dedgrp.rec.tenmaxday" placeholder="请输入天数"
:disabled="model.dedgrp.rec.avbby == 'P'"></c-input>
</el-form-item>
</c-col>
</c-col>
<div v-if="model.dedgrp.rec.avbby != 'D'">
<c-col :span="24">
<el-form-item label="远期付款指示" prop="dedgrp.blk.dftat">
<c-input type="textarea" v-model="model.dedgrp.blk.dftat" maxlength="35" show-word-limit
placeholder="请输入远期付款指示" :disabled="!model.dedgrp.rec.avbby"></c-input>
</el-form-item>
</c-col>
</div>
<div v-else>
<c-col :span="24">
<el-form-item label="远期付款指示" prop="dedgrp.blk.defdet">
<c-input type="textarea" v-model="model.dedgrp.blk.defdet" maxlength="35" show-word-limit
placeholder="请输入远期付款指示"></c-input>
</el-form-item>
</c-col>
</div>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="摘要" prop="dedgrp.rec.nam">
<c-input
text-align="middle"
v-model="model.dedgrp.rec.nam"
maxlength="40"
disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="摘要" prop="dedgrp.rec.nam">
<c-input text-align="middle" v-model="model.dedgrp.rec.nam" maxlength="40" disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'dedgrp',
rol: 'ben',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '受益人',
grp: 'dedgrp',
rol: 'ben',
}" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
</c-ptap>
</c-col>
<!--
<c-col :span="24">
<c-col :span="24">
<el-form-item label="受益人账号" prop="dedgrp.ben.pts.extact">
<c-input v-model="model.dedgrp.ben.pts.extact" maxlength="16" placeholder="请输入受益人账号"></c-input>
</el-form-item>
</c-col>
</c-col>
<!--
<c-col :span="24">
<c-col :span="24">
<el-form-item label="受益人参考号" prop="dedgrp.ben.pts.ref">
......@@ -571,45 +401,30 @@
</c-col>
-->
<c-col :span="24">
<el-form-item label="联行行号" prop="dedgrp.beb.pts.bankno">
<c-input
v-model="model.dedgrp.beb.pts.bankno"
maxlength="20"
placeholder="请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人开户行联行行号" prop="dedgrp.beb.pts.bankno">
<c-input v-model="model.dedgrp.beb.pts.bankno" maxlength="20" placeholder="请输入Number of bank">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行名称 电证用" prop="dedgrp.beb.pts.jigomc">
<c-input
type="textarea"
v-model="model.dedgrp.beb.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.beb.pts.jigomc">
<c-input type="textarea" v-model="model.dedgrp.beb.pts.jigomc" maxlength="35" show-word-limit
placeholder="请输入联行名称 电证用"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'dedgrp',
rol: 'apl',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '申请人',
grp: 'dedgrp',
rol: 'apl',
}" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
</c-ptap>
</c-col>
<!--
<!--
<c-col :span="24">
<el-form-item label="申请人参考号" prop="dedgrp.apl.pts.ref">
<c-input v-model="model.dedgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人参考号"></c-input>
......@@ -665,44 +480,29 @@
</c-col>
-->
<c-col :span="24">
<el-form-item label="是否通知客户" prop="dedgrp.rec.rejflg">
<c-select
v-model="model.dedgrp.rec.rejflg"
style="width: 100%"
placeholder="请选择是否通知客户"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="拒绝通知理由" prop="dedgrp.blk.rejadvrsn">
<c-input
type="textarea"
v-model="model.dedgrp.blk.rejadvrsn"
maxlength="35"
show-word-limit
placeholder="请输入拒绝通知理由"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否通知客户" prop="dedgrp.rec.rejflg">
<c-select v-model="model.dedgrp.rec.rejflg" style="width: 100%" placeholder="请选择是否通知客户">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单期限" prop="dedgrp.blk.preper">
<c-input
type="textarea"
v-model="model.dedgrp.blk.preper"
maxlength="35"
show-word-limit
placeholder="请输入交单期限"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="拒绝通知理由" prop="dedgrp.blk.rejadvrsn">
<c-input type="textarea" v-model="model.dedgrp.blk.rejadvrsn" maxlength="35" show-word-limit
placeholder="请输入拒绝通知理由"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="交单期限" prop="dedgrp.blk.preper">
<c-input type="textarea" v-model="model.dedgrp.blk.preper" maxlength="35" show-word-limit
placeholder="请输入交单期限"></c-input>
</el-form-item>
</c-col>
</c-col>
<!--
<!--
<c-col :span="12">
<el-form-item label="" prop="detp.usrget.sdamod.seainf">
<c-input v-model="model.detp.usrget.sdamod.seainf" placeholder="请输入"></c-input>
......@@ -716,31 +516,31 @@
</el-form-item>
</c-col> -->
<!--
<!--
<c-col :span="12">
<el-form-item label="Address Block" prop="dedgrp.ben.pts.adrblk">
<c-input type="textarea" v-model="model.dedgrp.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" prop="dedgrp.ben.dbfadrblkcn">
<c-input type="textarea" v-model="model.dedgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
-->
<!-- TODO 貌似多余的
<!-- TODO 貌似多余的
<c-col :span="12">
<span v-text="model.detp.zchday" data-path=".detp.zchday"> </span>
</c-col> -->
<!--
<!--
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="detp.aplp.ptsget.sdamod.dadsnd">
<c-input v-model="model.detp.aplp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<!--
<!--
<c-col :span="12">
<el-form-item label="" prop="detp.aplp.ptsget.sdamod.seainf">
<c-input v-model="model.detp.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
......@@ -748,7 +548,7 @@
</c-col>
-->
<!--
<!--
<c-col :span="12">
<c-button size="small" type="primary" @click="onAplpDet">
Details
......@@ -756,7 +556,7 @@
</c-col>
-->
<!--
<!--
<c-col :span="12">
<el-form-item label="Chinese address" prop="dedgrp.apl.dbfadrblkcn">
<c-input type="textarea" v-model="model.dedgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
......@@ -808,7 +608,7 @@
</el-form-item>
</c-col>
-->
</div>
</div>
</template>
<script>
import Api from "~/service/Api";
......@@ -818,23 +618,23 @@ import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
jigomcFlag: false,
trade: "",
};
},
methods: { ...Event },
created: function () {},
computed: {
flag() {
return this.model.dedgrp.ben.pts.extkey == "";
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
jigomcFlag: false,
trade: "",
};
},
methods: { ...Event },
created: function () { },
computed: {
flag() {
return this.model.dedgrp.ben.pts.extkey == "";
},
},
},
};
</script>
<style>
......
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