Commit 668df75e by 孙杰

样式

parent f74b1cf2
export default { export default {
//转让行 //转让行
"ditp.recget.sdamod.dadsnd": [ "ditp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
...@@ -20,10 +18,10 @@ export default { ...@@ -20,10 +18,10 @@ export default {
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" } { max: 40, message: "长度不能超过40" }
], ],
"didgrp.apl.pts.ref":[ "didgrp.apl.pts.ref": [
{type: "string", required: true, message: "必输项"}, { type: "string", required: true, message: "必输项" },
{max: 16,message:"长度不能超过16"}, { max: 16, message: "长度不能超过16" },
{pattern:/(^\d+$)/, message: "只能输入数字", trigger: 'blur'} { pattern: /(^\d+$)/, message: "只能输入数字", trigger: 'blur' }
], ],
"ditp.usr.extkey": [ "ditp.usr.extkey": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
...@@ -335,7 +333,7 @@ export default { ...@@ -335,7 +333,7 @@ export default {
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"didgrp.adv.pts.extkey": [ "didgrp.adv.pts.extkey": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
], ],
"didgrp.iss.pts.extkey": [ "didgrp.iss.pts.extkey": [
...@@ -343,7 +341,7 @@ export default { ...@@ -343,7 +341,7 @@ export default {
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
], ],
"didgrp.adv.pts.bankno": [ "didgrp.adv.pts.bankno": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 20, message: "长度不能超过20" } { max: 20, message: "长度不能超过20" }
], ],
"didgrp.iss.pts.bankno": [ "didgrp.iss.pts.bankno": [
...@@ -394,7 +392,7 @@ export default { ...@@ -394,7 +392,7 @@ export default {
{ max: 20, message: "长度不能超过20" } { max: 20, message: "长度不能超过20" }
], ],
"didgrp.rmb.pts.jigomc": [ "didgrp.rmb.pts.jigomc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"didgrp.avb.pts.bankno": [ "didgrp.avb.pts.bankno": [
...@@ -402,15 +400,15 @@ export default { ...@@ -402,15 +400,15 @@ export default {
{ max: 20, message: "长度不能超过20" } { max: 20, message: "长度不能超过20" }
], ],
"didgrp.avb.pts.jigomc": [ "didgrp.avb.pts.jigomc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"didgrp.rmb.pts.dizhii": [ "didgrp.rmb.pts.dizhii": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"didgrp.avb.pts.dizhii": [ "didgrp.avb.pts.dizhii": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"didgrp.apc.pts.bankno": [ "didgrp.apc.pts.bankno": [
...@@ -430,10 +428,6 @@ export default { ...@@ -430,10 +428,6 @@ export default {
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 35, message: "长度不能超过35" }
], ],
"didgrp.cmb.pts.jigomc": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"didgrp.apc.pts.youzbm": [ "didgrp.apc.pts.youzbm": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 6, message: "长度不能超过6" } { max: 6, message: "长度不能超过6" }
...@@ -442,10 +436,6 @@ export default { ...@@ -442,10 +436,6 @@ export default {
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
], ],
"didgrp.cmb.pts.dizhii": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"ditp.bennam": [ "ditp.bennam": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 100, message: "长度不能超过100" } { max: 100, message: "长度不能超过100" }
...@@ -478,23 +468,15 @@ export default { ...@@ -478,23 +468,15 @@ export default {
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
], ],
"setmod.docamt": [ "setmod.docamt": [
{ type: "number", required: false, message: "必输项" }, { type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"setmod.zmqacc": [ "setmod.zmqacc": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" } { max: 20, message: "长度不能超过20" }
], ],
"liaall.outamt": [ "liaall.outamt": [
{ type: "number", required: false, message: "必输项" }, { type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
...@@ -513,8 +495,6 @@ export default { ...@@ -513,8 +495,6 @@ export default {
{ max: 18, message: "整数位不能超过14位", trigger: "blur" }, { max: 18, message: "整数位不能超过14位", trigger: "blur" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位", trigger: "blur" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位", trigger: "blur" }
], ],
"liaall.exttotoldamt": [ "liaall.exttotoldamt": [
{ type: "number", required: false, message: "必输项" }, { type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
...@@ -555,9 +535,6 @@ export default { ...@@ -555,9 +535,6 @@ export default {
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 22, message: "长度不能超过22" } { max: 22, message: "长度不能超过22" }
], ],
"liaall.limmod.ownref": [ "liaall.limmod.ownref": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
...@@ -587,7 +564,6 @@ export default { ...@@ -587,7 +564,6 @@ export default {
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" } { max: 3, message: "长度不能超过3" }
], ],
"liaall.limmod.comamt": [ "liaall.limmod.comamt": [
{ max: 18, message: "整数位不能超过14位", trigger: "blur" }, { max: 18, message: "整数位不能超过14位", trigger: "blur" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位", trigger: "blur" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位", trigger: "blur" }
...@@ -604,11 +580,6 @@ export default { ...@@ -604,11 +580,6 @@ export default {
{ max: 18, message: "整数位不能超过14位", trigger: "blur" }, { max: 18, message: "整数位不能超过14位", trigger: "blur" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位", trigger: "blur" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位", trigger: "blur" }
], ],
"liaall.limmod.limpts.pfcod1": [ "liaall.limmod.limpts.pfcod1": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 14, message: "长度不能超过14" } { max: 14, message: "长度不能超过14" }
...@@ -617,14 +588,10 @@ export default { ...@@ -617,14 +588,10 @@ export default {
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 14, message: "长度不能超过14" } { max: 14, message: "长度不能超过14" }
], ],
"mtabut.coninf.oitinf.oit.inftxt": [ "mtabut.coninf.oitinf.oit.inftxt": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 60, message: "长度不能超过60" } { max: 60, message: "长度不能超过60" }
], ],
"mtabut.coninf.oitset.oit.inftxt": [ "mtabut.coninf.oitset.oit.inftxt": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 60, message: "长度不能超过60" } { max: 60, message: "长度不能超过60" }
...@@ -665,9 +632,6 @@ export default { ...@@ -665,9 +632,6 @@ export default {
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.liaccv.totcovamt": [ "liaall.liaccv.totcovamt": [
{ type: "number", required: false, message: "必输项" }, { type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
...@@ -685,4 +649,4 @@ export default { ...@@ -685,4 +649,4 @@ export default {
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 30, message: "长度不能超过30" } { max: 30, message: "长度不能超过30" }
] ]
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-col :span="24">
<el-form-item label="货物/服务名称" prop="godnam">
<el-col :span="24"> <c-input
<el-form-item label="货物/服务名称" prop="godnam"> v-model="model.godnam"
<c-input v-model="model.godnam" maxlength="40" style="width:80%" placeholder="货物服务名称"></c-input> maxlength="40"
</el-form-item> style="width: 80%"
</el-col> placeholder="货物服务名称"
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="特殊规定" prop="litameadv">
<el-col :span="8">
<c-select v-model="model.litameadv" style="width:100%" placeholder="请选择特殊规定">
<el-option v-for="item in codes.litameadv" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-col>
</el-form-item>
</el-col>
<el-col :span="24">
<el-col :span="24"> <el-form-item label="特殊规定" prop="litameadv">
<el-form-item label="" prop="ameadvrmk"> <el-col :span="8">
<c-input type="textarea" v-model="model.ameadvrmk" maxlength="68" style="width:80%" show-word-limit :readonly="true"></c-input> <c-select
</el-form-item> v-model="model.litameadv"
style="width: 100%"
placeholder="请选择特殊规定"
>
<el-option
v-for="item in codes.litameadv"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-col>
</el-form-item>
</el-col> </el-col>
<el-col :span="24">
<el-form-item label="" prop="ameadvrmk">
<c-input
:disabled="model.litameadv != 2"
type="textarea"
v-model="model.ameadvrmk"
maxlength="68"
style="width: 80%"
show-word-limit
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-col :span="24"> <el-form-item label="开证行" prop="bchname">
<el-form-item label="开证行" prop="bchname"> <c-input
<c-input v-model="model.bchname" maxlength="40" style="width:80%" placeholder="请输入branch name"></c-input> v-model="model.bchname"
</el-form-item> maxlength="40"
</el-col> style="width: 80%"
</div> placeholder="请输入branch name"
></c-input>
</el-form-item>
</el-col>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Event from "~/model/Ditopn/Event";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default { export default {
props:["model","codes"], props: ["model", "codes"],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <el-row>
<el-col :span="24">
<el-col :span="12">
<el-form-item
style="height=200px;"
label="General"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitinf.oit.inftxt"
maxlength="60"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</el-col>
<!-- <el-col :span="12">
<el-col :span="12"> <el-form-item
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span> label="Display Type"
</el-col> prop="mtabut.coninf.oitinf.oit.inflev"
--> >
<el-col :span="24"> <c-select
<el-col :span="12"> v-model="model.mtabut.coninf.oitinf.oit.inflev"
<el-form-item label="General" prop="mtabut.coninf.oitinf.oit.inftxt"> style="width: 50%"
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input> disabled
</el-form-item> placeholder="请选择Infotext Level"
>
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-col>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="Display Type" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:50%" disabled placeholder="请选择Infotext Level">
<el-option v-for="item in codes.inflev" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
</el-col>
<el-col :span="24"> <el-col :span="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt"> <el-form-item
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input> label="Settlement"
</el-form-item> prop="mtabut.coninf.oitset.oit.inftxt"
>
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitset.oit.inftxt"
maxlength="60"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitset.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
style="width: 50%"
disabled
placeholder="请选择Infotext Level"
>
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-col>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="Display Type" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:50%" disabled placeholder="请选择Infotext Level">
<el-option v-for="item in codes.inflev" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
</el-col>
<el-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<el-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 40%"
placeholder="请选择执行日期"
></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat"> <el-form-item
<el-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:40%" placeholder="请选择执行日期"></el-date-picker> label="Send for Release to"
</el-form-item> prop="mtabut.coninf.usr.extkey"
</el-col> >
<c-input
<el-col :span="12"> v-model="model.mtabut.coninf.usr.extkey"
<el-form-item label="Send for Release to" prop="mtabut.coninf.usr.extkey"> maxlength="8"
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" style="width:40%" disabled="disabled" placeholder="请输入User ID"></c-input> style="width: 40%"
</el-form-item> disabled="disabled"
</el-col> placeholder="请输入User ID"
</div> ></c-input>
</el-form-item>
</el-col>
</el-row>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Event from "~/model/Ditopn/Event";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event"
export default { export default {
props:["model","codes"], props: ["model", "codes"],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -14,14 +14,14 @@ ...@@ -14,14 +14,14 @@
</el-col> </el-col>
<!-- =========================通知行========================= --> <!-- =========================通知行========================= -->
<el-col :span="12"> <el-col :span="12">
<el-form-item label="通知行BIC" prop="didgrp.iss.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"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="通知行联行行号" prop="didgrp.iss.pts.bankno"> <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"
...@@ -29,8 +29,9 @@ ...@@ -29,8 +29,9 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="通知行联行名称" prop="didgrp.iss.pts.jigomc"> <el-form-item label="通知行联行名称" prop="didgrp.adv.pts.jigomc">
<c-input <c-input
disabled
type="textarea" type="textarea"
v-model="model.didgrp.adv.pts.jigomc" v-model="model.didgrp.adv.pts.jigomc"
maxlength="35" maxlength="35"
...@@ -38,8 +39,9 @@ ...@@ -38,8 +39,9 @@
placeholder="请输入联行名称 电证用" placeholder="请输入联行名称 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="通知行地址" prop="didgrp.iss.pts.dizhii"> <el-form-item label="通知行地址" prop="didgrp.adv.pts.dizhii">
<c-input <c-input
disabled
type="textarea" type="textarea"
v-model="model.didgrp.adv.pts.dizhii" v-model="model.didgrp.adv.pts.dizhii"
maxlength="35" maxlength="35"
...@@ -48,26 +50,28 @@ ...@@ -48,26 +50,28 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="通知行邮编" prop="didgrp.iss.pts.youzbm"> <el-form-item label="通知行邮编" prop="didgrp.adv.pts.youzbm">
<c-input <c-input
disabled
v-model="model.didgrp.adv.pts.youzbm" v-model="model.didgrp.adv.pts.youzbm"
maxlength="6" maxlength="6"
placeholder="请输入邮编 电证用" placeholder="请输入邮编 电证用"
></c-input> ></c-input>
</el-form-item> </el-col </el-form-item> </el-col
><el-col :span="12"> ><el-col :span="12">
<el-form-item label="通知行电话" prop="didgrp.iss.pts.dihdig"> <el-form-item label="通知行电话" prop="didgrp.adv.pts.dihdig" label-width="100px">
<c-input <c-input
disabled
v-model="model.didgrp.adv.pts.dihdig" v-model="model.didgrp.adv.pts.dihdig"
maxlength="16" maxlength="16"
placeholder="请输入邮编" placeholder="请输入电话"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-col> </el-col>
<!-- =========================开证行========================= --> <!-- =========================开证行========================= -->
<el-col :span="12"> <el-col :span="12">
<el-form-item label="开证行BIC" prop="didgrp.adv.pts.extkey"> <el-form-item label="开证行BIC" prop="didgrp.iss.pts.extkey">
<c-input <c-input
disabled disabled
v-model="model.didgrp.iss.pts.extkey" v-model="model.didgrp.iss.pts.extkey"
...@@ -75,8 +79,7 @@ ...@@ -75,8 +79,7 @@
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="开证行联行行号" prop="didgrp.adv.pts.bankno"> <el-form-item label="开证行联行行号" prop="didgrp.iss.pts.bankno">
<!-- <c-input v-model="model.didgrp.adv.pts.bankno" maxlength="20" :readonly="true" placeholder="请输入Number of bank"></c-input> -->
<c-input <c-input
disabled disabled
v-model="model.didgrp.iss.pts.bankno" v-model="model.didgrp.iss.pts.bankno"
...@@ -84,7 +87,7 @@ ...@@ -84,7 +87,7 @@
placeholder="请输入Number of bank" placeholder="请输入Number of bank"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="开证行联行名称" prop="didgrp.adv.pts.jigomc"> <el-form-item label="开证行联行名称" prop="didgrp.iss.pts.jigomc">
<c-input <c-input
disabled disabled
type="textarea" type="textarea"
...@@ -94,7 +97,7 @@ ...@@ -94,7 +97,7 @@
placeholder="请输入联行名称 电证用" placeholder="请输入联行名称 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="开证行地址" prop="didgrp.adv.pts.dizhii"> <el-form-item label="开证行地址" prop="didgrp.iss.pts.dizhii">
<c-input <c-input
disabled disabled
type="textarea" type="textarea"
...@@ -105,7 +108,7 @@ ...@@ -105,7 +108,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="开证行邮编" prop="didgrp.adv.pts.youzbm"> <el-form-item label="开证行邮编" prop="didgrp.iss.pts.youzbm">
<c-input <c-input
disabled disabled
v-model="model.didgrp.iss.pts.youzbm" v-model="model.didgrp.iss.pts.youzbm"
...@@ -115,7 +118,7 @@ ...@@ -115,7 +118,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="开证行电话" prop="didgrp.adv.pts.dihdig"> <el-form-item label="开证行电话" prop="didgrp.iss.pts.dihdig" label-width="100px" >
<c-input <c-input
disabled disabled
v-model="model.didgrp.iss.pts.dihdig" v-model="model.didgrp.iss.pts.dihdig"
...@@ -144,6 +147,7 @@ ...@@ -144,6 +147,7 @@
</el-form-item> </el-form-item>
<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'"
v-model="model.didgrp.rec.avbwth" v-model="model.didgrp.rec.avbwth"
style="width: 100%" style="width: 100%"
placeholder="请选择指定的有关银行" placeholder="请选择指定的有关银行"
...@@ -158,32 +162,32 @@ ...@@ -158,32 +162,32 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
<el-form-item label="议付行联行行号" prop="didgrp.adv.pts.bankno"> <el-form-item label="议付行联行行号" prop="didgrp.avb.pts.bankno">
<c-input <c-input
:disabled="model.didgrp.rec.fenctg != 'Y'"
v-model="model.didgrp.avb.pts.bankno" v-model="model.didgrp.avb.pts.bankno"
maxlength="20" maxlength="20"
:readonly="true"
placeholder="请输入Number of bank" placeholder="请输入Number of bank"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="议付行名称" prop="didgrp.adv.pts.jigomc"> <el-form-item label="议付行名称" prop="didgrp.avb.pts.jigomc">
<c-input <c-input
disabled
type="textarea" type="textarea"
v-model="model.didgrp.avb.pts.jigomc" v-model="model.didgrp.avb.pts.jigomc"
:readonly="true"
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.adv.pts.dizhii"> <el-form-item label="议付行地址" prop="didgrp.avb.pts.dizhii">
<c-input <c-input
disabled
type="textarea" type="textarea"
v-model="model.didgrp.avb.pts.dizhii" v-model="model.didgrp.avb.pts.dizhii"
maxlength="35" maxlength="35"
:readonly="true"
show-word-limit show-word-limit
placeholder="请输入地址 电证用" placeholder="请输入地址 电证用"
></c-input> ></c-input>
...@@ -191,61 +195,51 @@ ...@@ -191,61 +195,51 @@
</el-col> </el-col>
<!-- =========================保兑行========================= --> <!-- =========================保兑行========================= -->
<el-col :span="12"> <el-col :span="12">
<el-col :span="12"> <el-form-item label="是否可保兑" prop="didgrp.rec.bdflg">
<el-form-item label="是否可保兑" prop="didgrp.rec.bdflg"> <c-select
<c-select v-model="model.didgrp.rec.bdflg"
v-model="model.didgrp.rec.bdflg" style="width: 50%"
style="width: 100%" placeholder="请选择是否可保兑"
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-col>
<el-col :span="24">
<el-form-item
label="保兑行联行行号"
prop="didgrp.iss.pts.bankno"
> >
<c-input <el-option
v-model="model.didgrp.iss.pts.bankno" v-for="item in codes.bdflg"
maxlength="20" :key="item.value"
:readonly="true" :label="item.label"
placeholder="请输入Number of bank" :value="item.value"
></c-input> >
</el-form-item> </el-option>
</el-col> </c-select>
<el-col :span="24"> </el-form-item>
<el-form-item label="保兑行名称" prop="didgrp.iss.pts.jigomc">
<c-input
type="textarea"
v-model="model.didgrp.rmb.pts.jigomc"
maxlength="35"
:readonly="true"
show-word-limit
placeholder="请输入联行名称 电证用"
></c-input>
</el-form-item>
</el-col>
<el-col :span="24"> <el-form-item label="保兑行联行行号" prop="didgrp.rmb.pts.bankno">
<el-form-item label="保兑行地址" prop="didgrp.iss.pts.dizhii"> <c-input
<c-input :disabled="model.didgrp.rec.bdflg != 'Y'"
type="textarea" v-model="model.didgrp.rmb.pts.bankno"
v-model="model.didgrp.iss.pts.dizhii" maxlength="20"
maxlength="35" placeholder="请输入Number of bank"
:readonly="true" ></c-input>
show-word-limit </el-form-item>
placeholder="请输入地址 电证用"
></c-input> <el-form-item label="保兑行名称" prop="didgrp.rmb.pts.jigomc">
</el-form-item> <c-input
</el-col> 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
type="textarea"
v-model="model.didgrp.rmb.pts.dizhii"
maxlength="35"
show-word-limit
placeholder="请输入地址 电证用"
></c-input>
</el-form-item>
</el-col> </el-col>
<el-col :span="24">&nbsp;</el-col> <el-col :span="24">&nbsp;</el-col>
<!-- ========================转让行 ======================== --> <!-- ========================转让行 ======================== -->
...@@ -253,7 +247,7 @@ ...@@ -253,7 +247,7 @@
<el-form-item label="是否可以转让" prop="didgrp.rec.lcrtyp"> <el-form-item label="是否可以转让" prop="didgrp.rec.lcrtyp">
<c-select <c-select
v-model="model.didgrp.rec.lcrtyp" v-model="model.didgrp.rec.lcrtyp"
style="width: 100%" style="width: 50%"
placeholder="请选择" placeholder="请选择"
> >
<el-option <el-option
...@@ -265,37 +259,29 @@ ...@@ -265,37 +259,29 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
<el-col :span="12">
<span> </span>
</el-col>
<!-- </el-row> --> <!-- </el-row> -->
<el-col :span="24"> <el-form-item label="转让行联行行号" prop="didgrp.cmb.pts.bankno">
<el-form-item <c-input
label="转让行联行行号" :disabled="model.didgrp.rec.lcrtyp != 'IT'"
prop="didgrp.adv.pts.bankno" v-model="model.didgrp.cmb.pts.bankno"
> maxlength="20"
<c-input placeholder="请输入Number of bank"
v-model="model.didgrp.adv.pts.bankno" ></c-input>
maxlength="20" </el-form-item>
placeholder="请输入Number of bank" <el-form-item label="转让行名称" prop="didgrp.cmb.pts.jigomc">
></c-input>
</el-form-item>
</el-col>
<el-form-item label="转让行名称" prop="didgrp.adv.pts.jigomc">
<c-input <c-input
disabled disabled
type="textarea" type="textarea"
v-model="model.didgrp.adv.pts.jigomc" v-model="model.didgrp.cmb.pts.jigomc"
show-word-limit show-word-limit
placeholder="请输入联行名称 电证用" placeholder="请输入联行名称 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="转让行地址" prop="didgrp.adv.pts.dizhii"> <el-form-item label="转让行地址" prop="didgrp.cmb.pts.dizhii">
<c-input <c-input
disabled disabled
type="textarea" type="textarea"
v-model="model.didgrp.adv.pts.dizhii" v-model="model.didgrp.cmb.pts.dizhii"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址 电证用" placeholder="请输入地址 电证用"
...@@ -304,56 +290,53 @@ ...@@ -304,56 +290,53 @@
</el-col> </el-col>
<!-- ========================申请行 ======================== --> <!-- ========================申请行 ======================== -->
<el-col :span="12"> <el-col :span="12">
<el-form-item label="申请行联行行号" prop="didgrp.iss.pts.bankno"> <el-form-item label="申请行联行行号" prop="didgrp.apc.pts.bankno">
<c-input <c-input
v-model="model.didgrp.iss.pts.bankno" v-model="model.didgrp.apc.pts.bankno"
maxlength="20" maxlength="20"
placeholder="请输入Number of bank" placeholder="请输入Number of bank"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="申请行名称" prop="didgrp.iss.pts.jigomc"> <el-form-item label="申请行名称" prop="didgrp.apc.pts.jigomc">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.didgrp.iss.pts.jigomc" v-model="model.didgrp.apc.pts.jigomc"
maxlength="35" maxlength="35"
:readonly="true"
show-word-limit show-word-limit
placeholder="请输入联行名称 电证用" placeholder="请输入联行名称 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<el-form-item label="申请行地址" prop="didgrp.iss.pts.dizhii"> <el-form-item label="申请行地址" prop="didgrp.apc.pts.dizhii">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.didgrp.iss.pts.dizhii" v-model="model.didgrp.apc.pts.dizhii"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址 电证用" placeholder="请输入地址 电证用"
></c-input> </el-form-item ></c-input> </el-form-item
><el-col :span="12"> > <el-col :span="12">
<el-form-item label="申请人电话" prop="didgrp.iss.pts.dihdig"> <el-form-item label="申请人邮编" prop="didgrp.apc.pts.youzbm">
<c-input <c-input
v-model="model.didgrp.iss.pts.dihdig" v-model="model.didgrp.apc.pts.youzbm"
maxlength="16" maxlength="6"
show-word-limit placeholder="请输入邮编 电证用"
placeholder="请输入电话 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</el-col> </el-col><el-col :span="12">
<el-col :span="12"> <el-form-item label="申请人电话" prop="didgrp.apc.pts.dihdig" label-width="100px">
<el-form-item label="申请人邮编" prop="didgrp.iss.pts.youzbm">
<c-input <c-input
v-model="model.didgrp.iss.pts.youzbm" v-model="model.didgrp.apc.pts.dihdig"
maxlength="6" maxlength="16"
placeholder="请输入邮编 电证用" show-word-limit
placeholder="请输入电话 电证用"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-col> </el-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
export default { export default {
......
<template> <template>
<div class="eibs-tab" > <el-row>
<!-- <el-col :span="12"> <!-- =================顶部====================== -->
<el-form-item label="Drag Drop Sender" > <el-col :span="24">
<c-input v-model="model.ditp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> <el-col :span="8">
</el-form-item> <el-form-item label="参考号" prop="didgrp.rec.ownref">
</el-col> <c-input
--> v-model="model.didgrp.rec.ownref"
<el-col :span="8"> maxlength="16"
<el-form-item label="参考号" prop="didgrp.rec.ownref"> placeholder="请输入Reference"
<c-input v-model="model.didgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" :readonly="true"></c-input> disabled
</el-form-item> ></c-input>
</el-col> </el-form-item>
<el-col :span="4"> </el-col>
<el-form-item label="" label-width="15px"> <el-col :span="4">
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button> <el-form-item label="" label-width="15px">
<c-button size="small" type="primary" :disabled="this.flag" @click="onDitpButgetref"> <c-button
获取 size="small"
</c-button> type="primary;width:10%"
</el-form-item> @click="onSeainf"
</el-col> >i</c-button
>
<c-button
size="small"
type="primary"
:disabled="this.flag"
@click="onDitpButgetref"
>
获取
</c-button>
</el-form-item>
</el-col>
<el-col :span="12">
<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>
</el-col>
</el-col>
<!-- ====================左边======================= -->
<el-col :span="12">
<el-col :span="16">
<el-form-item label="所属客户经理" prop="ditp.usr.extkey">
<c-input
v-model="model.ditp.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item
label=""
label-width="15px"
prop="didgrp.rec.resflg"
>
<c-checkbox v-model="model.didgrp.rec.resflg"
>Reserved Contract</c-checkbox
>
</el-form-item>
</el-col>
<el-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"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-col>
<el-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="请输入信用证金额"
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="大写金额" prop="ditp.amt">
<c-input
v-model="model.ditp.amt"
maxlength="76"
placeholder="请输入大写金额"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
<c-input
v-model="model.didgrp.rec.nomtop"
placeholder="请输入Amount Tolerance - Positive"
></c-input>
</el-form-item>
</el-col>
<!-- <el-col :span="12" style="text-align: left">
<el-col :span="10"> <el-form-item
<el-form-item label="i"> label="-"
<c-input v-model="model.ditp.recget.sdamod.seainf" placeholder="请输入"></c-input> style="text-align: left; margin-left: 12px"
</el-form-item> label-width="20px"
</el-col> prop="didgrp.rec.nomton"
--> >
<c-input
v-model="model.didgrp.rec.nomton"
<el-col :span="12" > maxlength="6"
<el-form-item label="摘要" prop="didgrp.rec.nam"> placeholder="请输入Amount Tolerance - Negative"
<c-input align="middle" v-model="model.didgrp.rec.nam" maxlength="40" :readonly="true" placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input> ></c-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-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"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-col>
<el-col :span="8"> <el-col :span="10">
<el-form-item label="所属客户经理" prop="ditp.usr.extkey"> <el-form-item
<c-input v-model="model.ditp.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> label=""
</el-form-item> label-width="20px"
</el-col> prop="didgrp.cbs.max.amt"
<el-col :span="4"> >
<el-form-item label="" label-width="15px" prop="didgrp.rec.resflg"> <c-input
<c-checkbox v-model="model.didgrp.rec.resflg">Reserved Contract</c-checkbox> v-model="model.didgrp.cbs.max.amt"
</el-form-item> placeholder="请输入信用证最大金额"
</el-col> disabled
></c-input>
<el-col :span="12"> </el-form-item>
<el-form-item label="申请人 参考号" prop="didgrp.apl.pts.ref"> </el-col>
<c-input v-model="model.didgrp.apl.pts.ref" maxlength="12" placeholder="请输入申请人 参考号"></c-input> <el-col :span="24">
</el-form-item> <el-form-item label="贸易类型" prop="didgrp.rec.mytype">
</el-col> <c-select
v-if="model.didgrp.rec.elcflg == 'N'"
<el-col :span="6"> v-model="model.didgrp.rec.mytype"
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur"> style="width: 100%"
<c-select v-model="model.didgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择Currency"> placeholder="请选择贸易类型"
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" >
:value="item.value"> <el-option
</el-option> v-for="item in codes.mylx"
</c-select> :key="item.value"
</el-form-item> :label="item.label"
</el-col> :value="item.value"
<el-col :span="6" > >
<el-form-item style="text-align:left" label-width="20px" prop="didgrp.cbs.nom1.amt"> </el-option>
<c-input v-model="model.didgrp.cbs.nom1.amt" style="text-align:left;width:100%" placeholder="请输入信用证金额"></c-input> </c-select>
</el-form-item> <c-select
v-else
v-model="model.didgrp.rec.mytype"
style="width: 100%"
placeholder="请选择贸易类型"
>
<el-option
v-for="item in codes.mytype"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-col>
<el-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"
></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item 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-col>
<el-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"
></c-date-picker>
</el-form-item>
</el-col>
<el-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>
</el-col>
<el-col :span="24">
<el-form-item label="是否通过电证系统" prop="didgrp.rec.elcflg">
<c-select
v-model="model.didgrp.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>
</el-col>
<el-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>
</el-col>
<el-col :span="24">
<el-form-item
label="申请人统一社会信用代码"
prop="didgrp.rec.idcode"
>
<c-input
v-model="model.didgrp.rec.idcode"
maxlength="18"
disabled
placeholder="请输入申请人统一社会信用代码"
></c-input>
</el-form-item>
</el-col>
<el-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>
</el-col>
<el-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>
</el-col>
</el-col> </el-col>
<!-- ========================右边======================= -->
<!-- <el-col :span="12">
<el-col :span="24">
<el-form-item
label="申请人 参考号"
prop="didgrp.apl.pts.ref"
>
<c-input
v-model="model.didgrp.apl.pts.ref"
maxlength="12"
placeholder="请输入申请人 参考号"
></c-input>
</el-form-item>
</el-col>
<!--
<el-col :span="12"> <el-col :span="12">
<el-form-item label=" "> <el-form-item label=" ">
<c-input v-model="model.ditp.usrget.sdamod.seainf" placeholder="请输入"></c-input> <c-input v-model="model.ditp.usrget.sdamod.seainf" placeholder="请输入"></c-input>
...@@ -79,43 +344,51 @@ ...@@ -79,43 +344,51 @@
<c-input v-model="model.ditp.aplp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> <c-input v-model="model.ditp.aplp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
--> -->
<el-col :span="8">
<el-form-item label="Extkey" prop="didgrp.apl.pts.extkey">
<c-input v-model="model.didgrp.apl.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native="aplExtkeyEvent"></c-input>
</el-form-item>
</el-col>
<el-col :span="4">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</el-form-item>
</el-col>
<!-- <el-col :span="16">
<el-form-item label="Extkey" prop="didgrp.apl.pts.extkey">
<c-input
v-model="model.didgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="aplExtkeyEvent"
></c-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="" label-width="15px">
<c-button
size="small"
type="primary;width:10%"
@click="onSeainf"
>i</c-button
>
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</el-form-item>
</el-col>
<!--
<el-col :span="10"> <el-col :span="10">
<el-form-item label=""> <el-form-item label="">
<c-input v-model="model.ditp.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> <c-input v-model="model.ditp.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
<el-col :span="12"> <el-col :span="24">
<el-form-item label="大写金额" prop="ditp.amt"> <el-form-item label="名称" prop="didgrp.apl.namelc">
<c-input v-model="model.ditp.amt" maxlength="76" placeholder="请输入大写金额"></c-input> <c-input
</el-form-item> type="textarea"
</el-col> v-model="model.didgrp.apl.namelc"
maxlength="35"
show-word-limit
<el-col :span="12"> placeholder="请输入名称"
<el-form-item label="名称" prop="didgrp.apl.namelc"> ></c-input>
<c-input type="textarea" v-model="model.didgrp.apl.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> </el-form-item>
</el-form-item> </el-col>
</el-col> <!--
<!--
<el-col :span="12"> <el-col :span="12">
<el-form-item label="Address Block"> <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> <c-input type="textarea" v-model="model.didgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
...@@ -127,146 +400,137 @@ ...@@ -127,146 +400,137 @@
<c-input type="textarea" v-model="model.didgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> <c-input type="textarea" v-model="model.didgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
--> -->
<el-col :span="6">
<el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
<c-input v-model="model.didgrp.rec.nomtop" placeholder="请输入Amount Tolerance - Positive"></c-input>
</el-form-item>
</el-col>
<el-col :span="6" 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="6" placeholder="请输入Amount Tolerance - Negative"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<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>
</el-col>
<el-col :span="12" >
<el-form-item label="">
</el-form-item>
</el-col>
<el-col :span="7">
<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>
</el-col>
<el-col :span="5">
<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>
</el-col>
<el-col :span="12" > <el-col :span="24">
<el-form-item label=""> <el-form-item label="地址" prop="didgrp.apl.adrelc">
</el-form-item> <c-input
</el-col> type="textarea"
v-model="model.didgrp.apl.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="24">
<el-form-item label="申请人账号" prop="didgrp.apl.pts.extact"> <el-form-item label=""> </el-form-item>
<c-select v-model="model.didgrp.apl.pts.extact" style="width:100%" placeholder="请选择External Account"> </el-col>
</c-select>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="信用证最大金额" prop="didgrp.cbs.max.cur">
<c-select v-model="model.didgrp.cbs.max.cur" style="width:100%" placeholder="请选择Currency">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="" label-width="20px" prop="didgrp.cbs.max.amt">
<c-input v-model="model.didgrp.cbs.max.amt" placeholder="请输入信用证最大金额" :readonly="true"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="申请人开户行 联行行号" prop="didgrp.apb.pts.bankno">
<c-input v-model="model.didgrp.apb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<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="请选择贸易类型">
<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="请选择贸易类型">
<el-option v-for="item in codes.mytype" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</el-col>
<el-col :span="12">
<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>
</el-col>
<el-col :span="12">
<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"></c-date-picker>
</el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="14">
<el-form-item label="受益人 参考号" prop="didgrp.ben.pts.ref"> <el-form-item label="邮编" prop="didgrp.apl.pts.youzbm">
<c-input v-model="model.didgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人 参考号"></c-input> <c-input
</el-form-item> v-model="model.didgrp.apl.pts.youzbm"
</el-col> maxlength="6"
placeholder="请输入邮编"
></c-input>
</el-form-item>
</el-col>
<el-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>
</el-col>
<el-col :span="24">
<el-form-item label=""> </el-form-item>
</el-col>
<el-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>
</el-col>
<el-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"
></c-input>
</el-form-item>
</el-col>
<!-- <el-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>
</el-col>
<el-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>
</el-col>
<!--
<el-col :span="6"> <el-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>
</el-col> --> </el-col> -->
<el-col :span="12">
<el-form-item 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-col>
<el-col :span="8"> <el-col :span="16">
<el-form-item label="Extkey" prop="didgrp.ben.pts.extkey"> <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="benExtkeyEvent"></c-input> <c-input
</el-form-item> v-model="model.didgrp.ben.pts.extkey"
</el-col> maxlength="16"
<el-col :span="4"> placeholder="请输入External Key of Address"
<el-form-item label="" label-width="12px"> @keyup.enter.native="benExtkeyEvent"
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button> ></c-input>
<c-button size="small" type="primary" @click="onBenpDet"> </el-form-item>
Details </el-col>
</c-button> <el-col :span="8">
</el-form-item> <el-form-item label="" label-width="12px">
</el-col> <c-button
size="small"
<el-col :span="12"> type="primary;width:10%"
<el-form-item label="有效日期" prop="didgrp.rec.expdat"> @click="onSeainf"
<c-date-picker type="date" v-model="model.didgrp.rec.expdat" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Date of Expiry"></c-date-picker> >i</c-button
</el-form-item> >
</el-col> <c-button size="small" type="primary" @click="onBenpDet">
<!-- Details
</c-button>
</el-form-item>
</el-col>
<!--
<el-col :span="12"> <el-col :span="12">
<el-form-item label="Drag Drop Sender"> <el-form-item label="Drag Drop Sender">
<c-input v-model="model.ditp.benp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> <c-input v-model="model.ditp.benp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
<!--
<!--
<el-col :span="10"> <el-col :span="10">
<el-form-item label=""> <el-form-item label="">
<c-input v-model="model.ditp.benp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> <c-input v-model="model.ditp.benp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
...@@ -278,21 +542,31 @@ ...@@ -278,21 +542,31 @@
Detials Detials
</c-button> </c-button>
</el-col> --> </el-col> -->
<el-col :span="12"> <el-col :span="24">
<el-form-item label="名称" prop="didgrp.ben.namelc"> <el-form-item label="名称" prop="didgrp.ben.namelc">
<c-input type="textarea" v-model="model.didgrp.ben.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input> <c-input
</el-form-item> type="textarea"
</el-col> v-model="model.didgrp.ben.namelc"
maxlength="35"
<el-col :span="12"> show-word-limit
<el-form-item label="有效地点" prop="didgrp.rec.expplc"> placeholder="请输入名称"
<c-input type="textarea" v-model="model.didgrp.rec.expplc" maxlength="35" show-word-limit placeholder="请输入Place of Expiry" ></c-input> ></c-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-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>
</el-col>
<!-- <!--
<el-col :span="12"> <el-col :span="12">
<el-form-item label="Address Block"> <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> <c-input type="textarea" v-model="model.didgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
...@@ -304,140 +578,136 @@ ...@@ -304,140 +578,136 @@
<c-input type="textarea" v-model="model.didgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> <c-input type="textarea" v-model="model.didgrp.ben.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item> </el-form-item>
</el-col> --> </el-col> -->
<el-col :span="12">
<el-form-item label="地址" prop="didgrp.ben.adrelc">
<c-input type="textarea" v-model="model.didgrp.ben.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="是否通过电证系统" prop="didgrp.rec.elcflg">
<c-select v-model="model.didgrp.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>
</el-col>
<el-col :span="7"> <el-col :span="24">
<el-form-item label="邮编" prop="didgrp.ben.pts.youzbm"> <el-form-item label="地址" prop="didgrp.ben.adrelc">
<c-input v-model="model.didgrp.ben.pts.youzbm" maxlength="6" placeholder="请输入邮编 电证用"></c-input> <c-input
</el-form-item> type="textarea"
</el-col> v-model="model.didgrp.ben.adrelc"
<el-col :span="5"> maxlength="35"
<el-form-item label="电话" label-width="40px" style="margin-left: 12px;" prop="didgrp.ben.pts.dihdig"> show-word-limit
<c-input v-model="model.didgrp.ben.pts.dihdig" maxlength="16" placeholder="请输入邮编"></c-input> placeholder="请输入地址"
</el-form-item> ></c-input>
</el-col> </el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="14">
<el-form-item label="开证类型" prop="didgrp.rec.dkflg"> <el-form-item label="邮编" prop="didgrp.ben.pts.youzbm">
<c-select v-model="model.didgrp.rec.dkflg" style="width:100%" disabled placeholder="请选择开证类型"> <c-input
<el-option v-for="item in codes.dkflg" :key="item.value" :label="item.label" v-model="model.didgrp.ben.pts.youzbm"
:value="item.value"> maxlength="6"
</el-option> placeholder="请输入邮编 电证用"
</c-select> ></c-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="10">
<el-col :span="12"> <el-form-item
<el-form-item label="受益人帐号" prop="didgrp.ben.pts.extact"> label="电话"
<c-input v-model="model.didgrp.ben.pts.extact" maxlength="34" placeholder="请输入受益人帐号"></c-input> label-width="40px"
</el-form-item> style="margin-left: 12px"
</el-col> prop="didgrp.ben.pts.dihdig"
>
<el-col :span="12"> <c-input
<el-form-item label="申请人统一社会信用代码" prop="didgrp.rec.idcode"> v-model="model.didgrp.ben.pts.dihdig"
<c-input v-model="model.didgrp.rec.idcode" maxlength="18" :readonly="true" placeholder="请输入申请人统一社会信用代码"></c-input> maxlength="16"
</el-form-item> placeholder="请输入邮编"
</el-col> ></c-input>
</el-form-item>
<el-col :span="12"> </el-col>
<el-form-item label="收益人开户行 联行行号" prop="didgrp.beb.pts.bankno">
<c-input v-model="model.didgrp.beb.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input> <el-col :span="24">
</el-form-item> <el-form-item label="受益人帐号" prop="didgrp.ben.pts.extact">
</el-col> <c-input
v-model="model.didgrp.ben.pts.extact"
<el-col :span="12"> maxlength="34"
<el-form-item label="货押标识" prop="didgrp.rec.guaflg"> placeholder="请输入受益人帐号"
<c-select v-model="model.didgrp.rec.guaflg" style="width:100%" placeholder="请选择货押标识"> ></c-input>
<el-option v-for="item in codes.guaflg" :key="item.value" :label="item.label" </el-form-item>
:value="item.value"> </el-col>
</el-option>
</c-select> <el-col :span="24">
</el-form-item> <el-form-item
</el-col> label="收益人开户行 联行行号"
prop="didgrp.beb.pts.bankno"
<el-col :span="12"> >
<el-form-item label="联行名称 " prop="didgrp.beb.pts.jigomc"> <c-input
<c-input type="textarea" v-model="model.didgrp.beb.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input> v-model="model.didgrp.beb.pts.bankno"
</el-form-item> maxlength="20"
</el-col> placeholder="请输入Number of bank"
></c-input>
<el-col :span="12"> </el-form-item>
<el-form-item label="假远期信用证" prop="didgrp.rec.jyqflg"> </el-col>
<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>
</el-col>
</div> <el-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="请输入联行名称 电证用"
></c-input>
</el-form-item>
</el-col>
</el-col>
</el-row>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import Event from "~/model/Ditopn/Event";
import Event from "~/model/Ditopn/Event" import Utils from "~/utils";
import CommonProcess from "~/mixin/CommonProcess"
import Utils from "~/utils"
export default { export default {
props:["model","codes"], props: ["model", "codes"],
// mixins: [CommonProcess], // mixins: [CommonProcess],
data(){ data() {
return { return {
declareParams:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/getElcsRef"}, declareParams: {
flag:true, fileName: "ditopn.json",
trade:"", basePath: "{{basePath}}",
} method: "post",
scheme: "{{schemes}}",
host: "{{host}}",
consume: "0",
produce: "0",
uri: "/ditopn/getElcsRef",
},
flag: true,
trade: "",
};
}, },
methods:{ methods: {
...Event, ...Event,
aplExtkeyEvent() { aplExtkeyEvent() {
const data = Utils.flatObject(this.model) const data = Utils.flatObject(this.model);
Api.post("ditopn/executeRule/didgrp.apl.pts.extkey",data).then(res => { Api.post("ditopn/executeRule/didgrp.apl.pts.extkey", data).then(
const data = res.data; (res) => {
this.model.didgrp.apl.namelc = data.didgrp_apl_namelc; const data = res.data;
this.model.didgrp.apl.adrelc = data.didgrp_apl_adrelc; this.model.didgrp.apl.namelc = data.didgrp_apl_namelc;
this.model.didgrp.apl.pts.extkey = data.didgrp_apl_pts_extkey; this.model.didgrp.apl.adrelc = data.didgrp_apl_adrelc;
this.model.didgrp.apl.rolsetflg = data.didgrp_apl_rolsetflg; this.model.didgrp.apl.pts.extkey =
this.flag = false; data.didgrp_apl_pts_extkey;
}) this.model.didgrp.apl.rolsetflg = data.didgrp_apl_rolsetflg;
this.flag = false;
}
);
}, },
benExtkeyEvent() { benExtkeyEvent() {
const data = Utils.flatObject(this.model) const data = Utils.flatObject(this.model);
Api.post("ditopn/executeRule/didgrp.ben.pts.extkey",data).then(res => { Api.post("ditopn/executeRule/didgrp.ben.pts.extkey", data).then(
const data = res.data; (res) => {
this.model.didgrp.ben.namelc = data.didgrp_ben_namelc; const data = res.data;
this.model.didgrp.ben.adrelc = data.didgrp_ben_adrelc; this.model.didgrp.ben.namelc = data.didgrp_ben_namelc;
this.model.didgrp.ben.pts.extkey = data.didgrp_ben_pts_extkey; this.model.didgrp.ben.adrelc = data.didgrp_ben_adrelc;
}) this.model.didgrp.ben.pts.extkey =
} data.didgrp_ben_pts_extkey;
}, }
created:function(){ );
},
}, },
created: function () {},
watch: { watch: {
declareParams() { declareParams() {},
},
} };
}
}
</script> </script>
<style>
</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