Commit 7c73e033 by 黄顺林

单据注销、减额接收前端调整

parent ffb00405
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"didgrp.rec.expdat":[ "didgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"didgrp.cbs.opn1.cur":[ "didgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -63,10 +63,10 @@ export default { ...@@ -63,10 +63,10 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"bddgrp.rec.rcvdat":[ "bddgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"bddgrp.rec.advdat":[ "bddgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"bddgrp.ben.pts.ref":[ "bddgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
], ],
"bddgrp.rec.matdat":[ "bddgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"bddgrp.ben.pts.nam":[ "bddgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -164,7 +164,7 @@ export default { ...@@ -164,7 +164,7 @@ export default {
], ],
"mtabut.coninf.conexedat":[ "mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"mtabut.coninf.usr.extkey":[ "mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="参考号" prop="didgrp.rec.ownref"> <el-form-item label="参考号" prop="didgrp.rec.ownref">
<c-input <c-input
disabled
v-model="model.didgrp.rec.ownref" v-model="model.didgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入参考号" placeholder="请输入参考号"
...@@ -18,11 +19,7 @@ ...@@ -18,11 +19,7 @@
</c-col> </c-col>
<c-col :span="1"> <c-col :span="1">
<el-form-item <el-form-item label="" label-width="15px">
label=""
label-width="15px"
>
<!-- prop="bdtp0.didget.sdamod.seainf" --> <!-- prop="bdtp0.didget.sdamod.seainf" -->
<!-- <c-input v-model="model.bdtp0.didget.sdamod.seainf" placeholder="请输入"></c-input> --> <!-- <c-input v-model="model.bdtp0.didget.sdamod.seainf" placeholder="请输入"></c-input> -->
<c-button size="mini" type="primary" icon="el-icon-search"></c-button> <c-button size="mini" type="primary" icon="el-icon-search"></c-button>
...@@ -32,6 +29,7 @@ ...@@ -32,6 +29,7 @@
<c-col :span="5"> <c-col :span="5">
<el-form-item label="到期日" prop="didgrp.rec.expdat"> <el-form-item label="到期日" prop="didgrp.rec.expdat">
<c-date-picker <c-date-picker
disabled
type="date" type="date"
v-model="model.didgrp.rec.expdat" v-model="model.didgrp.rec.expdat"
style="width: 100%" style="width: 100%"
...@@ -43,6 +41,7 @@ ...@@ -43,6 +41,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur"> <el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
<c-input <c-input
disabled
v-model="model.didgrp.cbs.opn1.cur" v-model="model.didgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
placeholder="请输入Currency" placeholder="请输入Currency"
...@@ -53,6 +52,7 @@ ...@@ -53,6 +52,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="20px"> <el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="20px">
<c-input <c-input
disabled
v-model="model.didgrp.cbs.opn1.amt" v-model="model.didgrp.cbs.opn1.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
></c-input> ></c-input>
...@@ -68,6 +68,7 @@ ...@@ -68,6 +68,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="单据参考号" prop="bddgrp.rec.ownref"> <el-form-item label="单据参考号" prop="bddgrp.rec.ownref">
<c-input <c-input
disabled
v-model="model.bddgrp.rec.ownref" v-model="model.bddgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入单据参考号" placeholder="请输入单据参考号"
...@@ -76,11 +77,7 @@ ...@@ -76,11 +77,7 @@
</c-col> </c-col>
<c-col :span="1"> <c-col :span="1">
<el-form-item <el-form-item label="" label-width="15px">
label=""
label-width="15px"
>
<!-- prop="bdtp0.recget.sdamod.seainf" --> <!-- prop="bdtp0.recget.sdamod.seainf" -->
<!-- <c-input v-model="model.bdtp0.recget.sdamod.seainf" placeholder="请输入"></c-input> --> <!-- <c-input v-model="model.bdtp0.recget.sdamod.seainf" placeholder="请输入"></c-input> -->
<c-button size="mini" type="primary" icon="el-icon-search"></c-button> <c-button size="mini" type="primary" icon="el-icon-search"></c-button>
...@@ -90,6 +87,7 @@ ...@@ -90,6 +87,7 @@
<c-col :span="12" :offset="5"> <c-col :span="12" :offset="5">
<el-form-item label="" prop="bddgrp.rec.nam"> <el-form-item label="" prop="bddgrp.rec.nam">
<c-input <c-input
disabled
v-model="model.bddgrp.rec.nam" v-model="model.bddgrp.rec.nam"
maxlength="40" maxlength="40"
placeholder="请输入Name of Bill Contract" placeholder="请输入Name of Bill Contract"
...@@ -101,10 +99,18 @@ ...@@ -101,10 +99,18 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur"> <el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-select <c-select
disabled
v-model="model.bddgrp.cbs.max.cur" v-model="model.bddgrp.cbs.max.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择单据金额" placeholder="请选择单据金额"
> >
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -112,6 +118,7 @@ ...@@ -112,6 +118,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="" prop="bddgrp.cbs.max.amt" label-width="20px"> <el-form-item label="" prop="bddgrp.cbs.max.amt" label-width="20px">
<c-input <c-input
disabled
v-model="model.bddgrp.cbs.max.amt" v-model="model.bddgrp.cbs.max.amt"
placeholder="请输入单据金额" placeholder="请输入单据金额"
></c-input> ></c-input>
...@@ -121,6 +128,7 @@ ...@@ -121,6 +128,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="申请人" prop="bddgrp.apl.pts.ref"> <el-form-item label="申请人" prop="bddgrp.apl.pts.ref">
<c-input <c-input
disabled
v-model="model.bddgrp.apl.pts.ref" v-model="model.bddgrp.apl.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入申请人" placeholder="请输入申请人"
...@@ -132,6 +140,7 @@ ...@@ -132,6 +140,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur"> <el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
<c-input <c-input
disabled
v-model="model.bddgrp.cbs.opn1.cur" v-model="model.bddgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
placeholder="请输入单据余额" placeholder="请输入单据余额"
...@@ -142,6 +151,7 @@ ...@@ -142,6 +151,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="" prop="bddgrp.cbs.opn1.amt" label-width="20px"> <el-form-item label="" prop="bddgrp.cbs.opn1.amt" label-width="20px">
<c-input <c-input
disabled
v-model="model.bddgrp.cbs.opn1.amt" v-model="model.bddgrp.cbs.opn1.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
></c-input> ></c-input>
...@@ -151,6 +161,7 @@ ...@@ -151,6 +161,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="bddgrp.apl.pts.nam" label-width="150px"> <el-form-item label="" prop="bddgrp.apl.pts.nam" label-width="150px">
<c-input <c-input
disabled
v-model="model.bddgrp.apl.pts.nam" v-model="model.bddgrp.apl.pts.nam"
maxlength="40" maxlength="40"
placeholder="请输入Name of Party" placeholder="请输入Name of Party"
...@@ -162,6 +173,7 @@ ...@@ -162,6 +173,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="到单日期" prop="bddgrp.rec.rcvdat"> <el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
<c-date-picker <c-date-picker
disabled
type="date" type="date"
v-model="model.bddgrp.rec.rcvdat" v-model="model.bddgrp.rec.rcvdat"
style="width: 100%" style="width: 100%"
...@@ -173,6 +185,7 @@ ...@@ -173,6 +185,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="寄单日期" prop="bddgrp.rec.advdat"> <el-form-item label="寄单日期" prop="bddgrp.rec.advdat">
<c-date-picker <c-date-picker
disabled
type="date" type="date"
v-model="model.bddgrp.rec.advdat" v-model="model.bddgrp.rec.advdat"
style="width: 100%" style="width: 100%"
...@@ -184,6 +197,7 @@ ...@@ -184,6 +197,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="受益人" prop="bddgrp.ben.pts.ref"> <el-form-item label="受益人" prop="bddgrp.ben.pts.ref">
<c-input <c-input
disabled
v-model="model.bddgrp.ben.pts.ref" v-model="model.bddgrp.ben.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入受益人" placeholder="请输入受益人"
...@@ -202,6 +216,7 @@ ...@@ -202,6 +216,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="到期日" prop="bddgrp.rec.matdat"> <el-form-item label="到期日" prop="bddgrp.rec.matdat">
<c-date-picker <c-date-picker
disabled
type="date" type="date"
v-model="model.bddgrp.rec.matdat" v-model="model.bddgrp.rec.matdat"
style="width: 100%" style="width: 100%"
...@@ -213,6 +228,7 @@ ...@@ -213,6 +228,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="bddgrp.ben.pts.nam"> <el-form-item label="" prop="bddgrp.ben.pts.nam">
<c-input <c-input
disabled
v-model="model.bddgrp.ben.pts.nam" v-model="model.bddgrp.ben.pts.nam"
maxlength="40" maxlength="40"
placeholder="" placeholder=""
...@@ -224,10 +240,18 @@ ...@@ -224,10 +240,18 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据类型" prop="bddgrp.rec.docflg"> <el-form-item label="单据类型" prop="bddgrp.rec.docflg">
<c-select <c-select
disabled
v-model="model.bddgrp.rec.docflg" v-model="model.bddgrp.rec.docflg"
style="width: 100%" style="width: 100%"
placeholder="请选择单据类型" placeholder="请选择单据类型"
> >
<el-option
v-for="item in codes.brdtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -235,6 +259,7 @@ ...@@ -235,6 +259,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="交单行" prop="bddgrp.prb.pts.ref"> <el-form-item label="交单行" prop="bddgrp.prb.pts.ref">
<c-input <c-input
disabled
v-model="model.bddgrp.prb.pts.ref" v-model="model.bddgrp.prb.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入交单行" placeholder="请输入交单行"
...@@ -246,10 +271,18 @@ ...@@ -246,10 +271,18 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据承付状态" prop="bddgrp.rec.docsta"> <el-form-item label="单据承付状态" prop="bddgrp.rec.docsta">
<c-select <c-select
disabled
v-model="model.bddgrp.rec.docsta" v-model="model.bddgrp.rec.docsta"
style="width: 100%" style="width: 100%"
placeholder="请选择单据承付状态" placeholder="请选择单据承付状态"
> >
<el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -257,6 +290,7 @@ ...@@ -257,6 +290,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="bddgrp.prb.pts.nam" label-width="150px"> <el-form-item label="" prop="bddgrp.prb.pts.nam" label-width="150px">
<c-input <c-input
disabled
v-model="model.bddgrp.prb.pts.nam" v-model="model.bddgrp.prb.pts.nam"
maxlength="40" maxlength="40"
placeholder="请输入Name of Party" placeholder="请输入Name of Party"
...@@ -278,7 +312,7 @@ ...@@ -278,7 +312,7 @@
</c-col> </c-col>
<c-col :span="9" :offset="3"> <c-col :span="9" :offset="3">
<c-checkbox v-model="model.sndmsg">Send Message</c-checkbox> <c-checkbox disabled v-model="model.sndmsg">Send Message</c-checkbox>
</c-col> </c-col>
</el-row> </el-row>
<c-col :span="12"> <c-col :span="12">
...@@ -288,6 +322,13 @@ ...@@ -288,6 +322,13 @@
style="width: 100%" style="width: 100%"
placeholder="请选择Booking Procedure" placeholder="请选择Booking Procedure"
> >
<el-option
v-for="item in codes.rebkpflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -306,9 +347,7 @@ export default { ...@@ -306,9 +347,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event , methods: { ...Event, changed(e) {} },
changed(e) {},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<c-page title="买方信用证单据注销"> <c-page title="买方信用证单据注销">
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn
...@@ -76,8 +76,6 @@ ...@@ -76,8 +76,6 @@
:promptData="promptData" :promptData="promptData"
v-on:select-ety="selectEty" v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog> ></c-grid-ety-prompt-dialog>
</div> </div>
</c-page> </c-page>
</template> </template>
...@@ -93,13 +91,13 @@ import Default from "~/model/Bdtcan/Default"; ...@@ -93,13 +91,13 @@ import Default from "~/model/Bdtcan/Default";
import Pattern from "~/model/Bdtcan/Pattern"; import Pattern from "~/model/Bdtcan/Pattern";
import Canp from "./Canp"; import Canp from "./Canp";
// import Engp from "./Engp"; // import Engp from "./Engp";
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
// import Setpan from "./Setpan" // import Setpan from "./Setpan"
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "./Doctre"; import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
...@@ -130,7 +128,33 @@ export default { ...@@ -130,7 +128,33 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable}, codes: {
...CodeTable,
docsta: [
{ label: "已寄单索款", value: "A" },
{ label: "已到单", value: "B" },
{ label: "已到期付款确认", value: "C" },
{ label: "待付款", value: "D" },
{ label: "付款成功", value: "E" },
{ label: "已拒付", value: "F" },
{ label: "已退单", value: "G" },
{ label: "Clean documents received", value: "H" },
{ label: "Discrepant documents received", value: "I" },
{ label: "Goods released, wait for documents", value: "J" },
{ label: "Goods released, documents received", value: "K" },
{ label: "Documents sent on approval basis", value: "L" },
{ label: "Documents taken up", value: "M" },
{ label: "Documents settled free of payment", value: "N" },
{ label: "Discrepant document received in trust", value: "T" },
{ label: "Other Type of Advice, wait for documents", value: "O" },
{ label: "Documents have been refused and returned", value: "R" },
],
rebkpflg: [
{ label: "Contract already settled", value: "A" },
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
],
},
}; };
}, },
methods: { methods: {
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="参考号" prop="didgrp.rec.ownref"> <el-form-item label="参考号" prop="didgrp.rec.ownref">
<c-input <c-input
disabled
v-model="model.didgrp.rec.ownref" v-model="model.didgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
...@@ -14,6 +15,7 @@ ...@@ -14,6 +15,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="摘要" prop="didgrp.rec.nam"> <el-form-item label="摘要" prop="didgrp.rec.nam">
<c-input <c-input
disabled
v-model="model.didgrp.rec.nam" v-model="model.didgrp.rec.nam"
maxlength="40" maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract" placeholder="请输入Externally Displayed Name to Identify the Contract"
...@@ -25,6 +27,7 @@ ...@@ -25,6 +27,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur"> <el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
<c-select <c-select
disabled
v-model="model.didgrp.cbs.nom1.cur" v-model="model.didgrp.cbs.nom1.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择Currency" placeholder="请选择Currency"
...@@ -35,6 +38,7 @@ ...@@ -35,6 +38,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="" prop="didgrp.cbs.nom1.amt" label-width="0px"> <el-form-item label="" prop="didgrp.cbs.nom1.amt" label-width="0px">
<c-input <c-input
disabled
v-model="model.didgrp.cbs.nom1.amt" v-model="model.didgrp.cbs.nom1.amt"
placeholder="请输入信用证金额" placeholder="请输入信用证金额"
></c-input> ></c-input>
...@@ -43,6 +47,7 @@ ...@@ -43,6 +47,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="申请人" prop="didgrp.apl.pts.ref"> <el-form-item label="申请人" prop="didgrp.apl.pts.ref">
<c-input <c-input
disabled
v-model="model.didgrp.apl.pts.ref" v-model="model.didgrp.apl.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入申请人" placeholder="请输入申请人"
...@@ -55,6 +60,7 @@ ...@@ -55,6 +60,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur"> <el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
<c-select <c-select
disabled
v-model="model.didgrp.cbs.opn1.cur" v-model="model.didgrp.cbs.opn1.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择信用证余额" placeholder="请选择信用证余额"
...@@ -66,6 +72,7 @@ ...@@ -66,6 +72,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="0px"> <el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="0px">
<c-input <c-input
disabled
v-model="model.didgrp.cbs.opn1.amt" v-model="model.didgrp.cbs.opn1.amt"
placeholder="请输入信用证余额" placeholder="请输入信用证余额"
></c-input> ></c-input>
...@@ -73,8 +80,9 @@ ...@@ -73,8 +80,9 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="didgrp.apl.pts.nam" > <el-form-item label="" prop="didgrp.apl.pts.nam">
<c-input <c-input
disabled
v-model="model.didgrp.apl.pts.nam" v-model="model.didgrp.apl.pts.nam"
maxlength="40" maxlength="40"
placeholder="请输入Name of Party" placeholder="请输入Name of Party"
...@@ -86,6 +94,7 @@ ...@@ -86,6 +94,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="指定银行" prop="didgrp.avbnam"> <el-form-item label="指定银行" prop="didgrp.avbnam">
<c-input <c-input
disabled
v-model="model.didgrp.avbnam" v-model="model.didgrp.avbnam"
maxlength="40" maxlength="40"
placeholder="请输入指定银行" placeholder="请输入指定银行"
...@@ -95,6 +104,7 @@ ...@@ -95,6 +104,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="受益人" prop="didgrp.ben.pts.ref"> <el-form-item label="受益人" prop="didgrp.ben.pts.ref">
<c-input <c-input
disabled
v-model="model.didgrp.ben.pts.ref" v-model="model.didgrp.ben.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入受益人" placeholder="请输入受益人"
...@@ -107,6 +117,7 @@ ...@@ -107,6 +117,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="兑付方式" prop="didgrp.rec.avbby"> <el-form-item label="兑付方式" prop="didgrp.rec.avbby">
<c-select <c-select
disabled
v-model="model.didgrp.rec.avbby" v-model="model.didgrp.rec.avbby"
style="width: 100%" style="width: 100%"
placeholder="请选择Available by" placeholder="请选择Available by"
...@@ -115,8 +126,9 @@ ...@@ -115,8 +126,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="didgrp.ben.pts.nam" > <el-form-item label="" prop="didgrp.ben.pts.nam">
<c-input <c-input
disabled
v-model="model.didgrp.ben.pts.nam" v-model="model.didgrp.ben.pts.nam"
maxlength="40" maxlength="40"
placeholder="" placeholder=""
...@@ -128,6 +140,7 @@ ...@@ -128,6 +140,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="开证日期" prop="didgrp.rec.opndat"> <el-form-item label="开证日期" prop="didgrp.rec.opndat">
<c-date-picker <c-date-picker
disabled
type="date" type="date"
v-model="model.didgrp.rec.opndat" v-model="model.didgrp.rec.opndat"
style="width: 100%" style="width: 100%"
...@@ -139,6 +152,7 @@ ...@@ -139,6 +152,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="最迟装运日期" prop="didgrp.rec.shpdat"> <el-form-item label="最迟装运日期" prop="didgrp.rec.shpdat">
<c-date-picker <c-date-picker
disabled
type="date" type="date"
v-model="model.didgrp.rec.shpdat" v-model="model.didgrp.rec.shpdat"
style="width: 100%" style="width: 100%"
...@@ -149,6 +163,7 @@ ...@@ -149,6 +163,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="通知行" prop="didgrp.rec.tzref"> <el-form-item label="通知行" prop="didgrp.rec.tzref">
<c-input <c-input
disabled
v-model="model.didgrp.rec.tzref" v-model="model.didgrp.rec.tzref"
maxlength="35" maxlength="35"
placeholder="请输入通知行编号" placeholder="请输入通知行编号"
...@@ -170,6 +185,7 @@ ...@@ -170,6 +185,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="到期日/到期地点" prop="didgrp.rec.expdat"> <el-form-item label="到期日/到期地点" prop="didgrp.rec.expdat">
<c-date-picker <c-date-picker
disabled
type="date" type="date"
v-model="model.didgrp.rec.expdat" v-model="model.didgrp.rec.expdat"
style="width: 100%" style="width: 100%"
...@@ -181,6 +197,7 @@ ...@@ -181,6 +197,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item label="" prop="didgrp.rec.expplc" label-width="0px"> <el-form-item label="" prop="didgrp.rec.expplc" label-width="0px">
<c-input <c-input
disabled
v-model="model.didgrp.rec.expplc" v-model="model.didgrp.rec.expplc"
maxlength="35" maxlength="35"
placeholder="请输入Place of Expiry" placeholder="请输入Place of Expiry"
...@@ -189,8 +206,9 @@ ...@@ -189,8 +206,9 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="didgrp.adv.pts.nam" > <el-form-item label="" prop="didgrp.adv.pts.nam">
<c-input <c-input
disabled
v-model="model.didgrp.adv.pts.nam" v-model="model.didgrp.adv.pts.nam"
maxlength="40" maxlength="40"
placeholder="请输入到期日/到期地点" placeholder="请输入到期日/到期地点"
...@@ -202,6 +220,7 @@ ...@@ -202,6 +220,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证类型" prop="didgrp.rec.lcrtyp"> <el-form-item label="信用证类型" prop="didgrp.rec.lcrtyp">
<c-select <c-select
disabled
v-model="model.didgrp.rec.lcrtyp" v-model="model.didgrp.rec.lcrtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择Form of Documentary Credit" placeholder="请选择Form of Documentary Credit"
...@@ -219,41 +238,55 @@ ...@@ -219,41 +238,55 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="第" prop="amenbr"> <el-form-item label="第" prop="amenbr">
<c-input <c-input
disabled
v-model="model.amenbr" v-model="model.amenbr"
maxlength="3" maxlength="3"
placeholder="请输入Amendment No." placeholder="请输入Amendment No."
></c-input> ></c-input>
<label>次修改(减额)</label>
</el-form-item> </el-form-item>
<br /> </c-col>
<c-col :span="4">
<el-form-item label="次修改(减额)"> </el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="6">
<el-form-item label="修改金额" prop="amecur"> <el-form-item label="修改金额" prop="amecur">
<c-select <c-select
disabled
v-model="model.amecur" v-model="model.amecur"
style="width: 100%" style="width: 100%"
placeholder="请选择Amount Amend Cur" placeholder="请选择Amount Amend Cur"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="ameamt" label-width="0px"> <el-form-item label="" prop="ameamt" label-width="0px">
<c-input <c-input
disabled
v-model="model.ameamt" v-model="model.ameamt"
placeholder="请输入修改金额" placeholder="请输入修改金额"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<br /> </c-col>
<c-col :span="6">
<el-form-item label="修改日期" prop="amedat"> <el-form-item label="修改日期" prop="amedat">
<c-input <c-input
disabled
v-model="model.amedat" v-model="model.amedat"
maxlength="12" maxlength="12"
placeholder="请输入Amount Amend Date" placeholder="请输入Amount Amend Date"
></c-input> ></c-input>
</el-form-item> </el-form-item>
<br /> </c-col>
<c-col :span="6">
<el-form-item label="是否接受此笔减额修改" prop="ameflg"> <el-form-item label="是否接受此笔减额修改" prop="ameflg">
<c-select <c-select
disabled
v-model="model.ameflg" v-model="model.ameflg"
style="width: 100%" style="width: 100%"
placeholder="请选择是否接受此笔减额修改" placeholder="请选择是否接受此笔减额修改"
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000015 --> <!--PD000015 -->
<el-tab-pane label="减额接受" name="accp"> <el-tab-pane label="减额接受" name="accp">
<m-accp :model="model" :codes="codes"/> <m-accp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000359 --> <!--PD000359 -->
<el-tab-pane label="修改" name="amep"> <el-tab-pane label="修改" name="amep">
<m-amep :model="model" :codes="codes"/> <m-amep :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="内容" name="ovwp"> <el-tab-pane label="内容" name="ovwp">
<m-ovwp :model="model" :codes="codes"/> <m-ovwp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000077 --> <!--PD000077 -->
<el-tab-pane label="明细" name="detp"> <el-tab-pane label="明细" name="detp">
<m-detp :model="model" :codes="codes"/> <m-detp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000342 --> <!--PD000342 -->
<el-tab-pane label="条款" name="tk"> <el-tab-pane label="条款" name="tk">
<m-tk :model="model" :codes="codes"/> <m-tk :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000021 --> <!--PD000021 -->
<el-tab-pane label="历史概要" name="narp"> <el-tab-pane label="历史概要" name="narp">
<m-narp :model="model" :codes="codes"/> <m-narp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000105 --> <!--PD000105 -->
<el-tab-pane label="服描修改" name="dogpame"> <el-tab-pane label="服描修改" name="dogpame">
<m-dogpame :model="model" :codes="codes"/> <m-dogpame :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000110 --> <!--PD000110 -->
<el-tab-pane label="单据修改" name="dorpame"> <el-tab-pane label="单据修改" name="dorpame">
<m-dorpame :model="model" :codes="codes"/> <m-dorpame :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000114 --> <!--PD000114 -->
<el-tab-pane label="其他条款修改" name="adcpame"> <el-tab-pane label="其他条款修改" name="adcpame">
<m-adcpame :model="model" :codes="codes"/> <m-adcpame :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000306 --> <!--PD000306 -->
<el-tab-pane label="给P, A, N. 银行指示" name="inspame"> <el-tab-pane label="给P, A, N. 银行指示" name="inspame">
<m-inspame :model="model" :codes="codes"/> <m-inspame :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan"> <el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/> <m-ccvpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="附件" name="doctre"> <el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD001139 --> <!--PD001139 -->
<el-tab-pane label="试算结果" name="shisuan"> <el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/> <m-shisuan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000452 --> <!--PD000452 -->
<el-tab-pane label="银行明细" name="detp1"> <el-tab-pane label="银行明细" name="detp1">
<m-detp1 :model="model" :codes="codes"/> <m-detp1 :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000488 --> <!--PD000488 -->
<el-tab-pane label="申明" name="stament"> <el-tab-pane label="申明" name="stament">
<m-stament :model="model" :codes="codes"/> <m-stament :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import Utils from "~/utils/index";
import Ditdla from "~/model/Ditdla" import CodeTable from "~/config/CodeTable";
import commonProcess from "~/mixin/commonProcess" import Ditdla from "~/model/Ditdla";
import Check from "~/model/Ditdla/Check" import commonProcess from "~/mixin/commonProcess";
import Default from "~/model/Ditdla/Default" import commonFuncs from "~/mixin/commonFuncs";
import Pattern from "~/model/Ditdla/Pattern" import Check from "~/model/Ditdla/Check";
import Accp from "./Accp" import Default from "~/model/Ditdla/Default";
import Amep from "./Amep" import Pattern from "~/model/Ditdla/Pattern";
import Ovwp from "./Ovwp" import Accp from "./Accp";
import Detp from "./Detp" import Amep from "./Amep";
import Tk from "./Tk" import Ovwp from "./Ovwp";
import Narp from "./Narp" import Detp from "./Detp";
import Dogpame from "./Dogpame" import Tk from "./Tk";
import Dorpame from "./Dorpame" import Narp from "./Narp";
import Adcpame from "./Adcpame" import Dogpame from "./Dogpame";
import Inspame from "./Inspame" import Dorpame from "./Dorpame";
import Ccvpan from "~/views/Public/Ccvpan" import Adcpame from "./Adcpame";
import Setpan from "~/views/Public/Setpan" import Inspame from "./Inspame";
import Coninfp from "./Coninfp" import Ccvpan from "~/views/Public/Ccvpan";
import Docpan from "~/views/Public/Docpan" import Setpan from "~/views/Public/Setpan";
import Doctre from "./Doctre" import Coninfp from "./Coninfp";
import Shisuan from "./Shisuan" import Docpan from "~/views/Public/Docpan";
import Detp1 from "./Detp1" import Doctre from "~/views/Public/Doctre";
import Stament from "./Stament" import Shisuan from "./Shisuan";
import Limitbody from "./Limitbody" import Detp1 from "./Detp1";
import Stament from "./Stament";
import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Ditdla", name: "Ditdla",
components:{ components: {
"m-accp" : Accp, "m-accp": Accp,
"m-amep" : Amep, "m-amep": Amep,
"m-ovwp" : Ovwp, "m-ovwp": Ovwp,
"m-detp" : Detp, "m-detp": Detp,
"m-tk" : Tk, "m-tk": Tk,
"m-narp" : Narp, "m-narp": Narp,
"m-dogpame" : Dogpame, "m-dogpame": Dogpame,
"m-dorpame" : Dorpame, "m-dorpame": Dorpame,
"m-adcpame" : Adcpame, "m-adcpame": Adcpame,
"m-inspame" : Inspame, "m-inspame": Inspame,
"m-ccvpan" : Ccvpan, "m-ccvpan": Ccvpan,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-shisuan" : Shisuan, "m-shisuan": Shisuan,
"m-detp1" : Detp1, "m-detp1": Detp1,
"m-stament" : Stament, "m-stament": Stament,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "accp", tabVal: "accp",
trnName: "ditdla", trnName: "ditdla",
...@@ -168,29 +189,27 @@ export default { ...@@ -168,29 +189,27 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: { ...CodeTable },
}, };
}
}, },
methods:{ methods: {
tabClick(){ tabClick() {},
}
}, },
created:async function(){ created: async function () {
console.log("进入ditdla交易"); console.log("进入ditdla交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
//更新数据
} Utils.copyValueFromVO(this.model, rtnmsg.data);
else if (this.isInDisplay) {
{ this.restoreDisplay();
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
} },
};
</script> </script>
<style> <style>
</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