Commit 22417fe9 by liuxin

detame交易补充

parent 670cb6c8
......@@ -6521,5 +6521,9 @@ const CodeTable = {
{label:"远期议付", value:"2"},
{label:"批文后补", value:"3"},
],
rejame:[
{label:"已同意", value:"ACPT"},
{label:"已拒绝", value:"RJCT"},
]
}
export default CodeTable;
\ No newline at end of file
......@@ -48,7 +48,7 @@ export default {
],
"dedgrp.cbs.nom1.amt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -91,7 +91,7 @@ export default {
{max: 34,message:"长度不能超过34"}
],
"dedgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "date", required: true, message: "输入正确的日期"}
],
"dedgrp.beb.pts.bankno":[
......@@ -99,14 +99,14 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"dedgrp.rec.expdat":[
{type: "date", required: true, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"dedgrp.beb.pts.jigomc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.expplc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
......@@ -386,7 +386,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.lcrtyp":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.cbs.nom1.cur":[
......
......@@ -157,6 +157,43 @@ export default class Detopn{
letbenl2blk: "",
letbenl1blk: "",
letissl1blk: "",
detamep:{
ramrollab:"", // Label for RAMROL .detamep.ramrollab
zchday:"", // 最迟装运/服务提供日 .detamep.zchday
newday:"", // 新最迟日期 .detamep.newday
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .detamep.recget.sdamod.dadsnd
seainf:"", // .detamep.recget.sdamod.seainf
},
},
amenbr:"", // 实际修改次数 .detamep.amenbr
engcur:"", // 修改总金额 .detamep.engcur
engamt:"", // 修改总金额 .detamep.engamt
maxcur:"", // Currency of Maximum Amount .detamep.maxcur
maxamt:"", // New Maximum Amount .detamep.maxamt
ramrol:"", // Request of Amendment send to .detamep.ramrol
benconflg:"", // Beneficiary's Confirmation Required .detamep.benconflg
benaccflg:"", // Amendment Accepted by Beneficiary .detamep.benaccflg
hwzydi:"", // 槧物运装运地/服务提供低 .detamep.hwzydi
},
olddedgrp:{
cbs:{
nom1:{
amt:"", // Balance .olddedgrp.cbs.nom1.amt
},
max:{
cur:"", // Currency .olddedgrp.cbs.max.cur
amt:"", // Balance .olddedgrp.cbs.max.amt
},
},
rec:{
nomtop:"", // Amount Tolerance - Positive .olddedgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .olddedgrp.rec.nomton
expdat:"", // 到期日 .olddedgrp.rec.expdat
shpdat:"", // Shipment Date .olddedgrp.rec.shpdat
},
},
pageId: "" // ctx的key
}
}
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item
label="Additional Conditions"
prop="dedgrp.blk.adlcnd"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入Additional Conditions"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Additional Conditions History"
prop="dedgrp.blk.adlcndame"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.adlcndame"
maxlength="50"
show-word-limit
placeholder="请输入Additional Conditions History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Additional Conditions amendment"
prop="trnmod.swiadd.adlcnd"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入Additional Conditions amendment"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item prop="">
<c-checkbox v-model="model.dedgrp.rec.redclsflg"
>Red/Green Clause</c-checkbox
>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.detamep.hfmdes" data-path=".detamep.hfmdes">
</span>
</c-col>
<c-col :span="12">
<el-form-item label="Description of Goods" prop="dedgrp.blk.lcrgod">
<c-input
type="textarea"
v-model="model.dedgrp.blk.lcrgod"
maxlength="65"
show-word-limit
placeholder="请输入Description of Goods"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Description of Goods History"
prop="dedgrp.blk.lcrgodame"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.lcrgodame"
maxlength="50"
show-word-limit
placeholder="请输入Description of Goods History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Description of Goods amendment"
prop="trnmod.swiadd.lcrgod"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.lcrgod"
maxlength="65"
show-word-limit
placeholder="请输入Description of Goods amendment"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search">
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Documents Required" prop="dedgrp.blk.lcrdoc">
<c-input
type="textarea"
v-model="model.dedgrp.blk.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Documents Required History"
prop="dedgrp.blk.lcrdocame"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.lcrdocame"
maxlength="50"
show-word-limit
placeholder="请输入Documents Required History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Documents Required amendment"
prop="trnmod.swiadd.lcrdoc"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required amendment"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item
label="Instructions to Paying/Accepting/Negotiating Bank"
prop="dedgrp.blk.insbnk"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.insbnk"
maxlength="65"
show-word-limit
placeholder="请输入Instructions to Paying/Accepting/Negotiating Bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Instruction to Paying/Accepting/Negotiating Bank History"
prop="dedgrp.blk.insbnkame"
>
<c-input
type="textarea"
v-model="model.dedgrp.blk.insbnkame"
maxlength="50"
show-word-limit
placeholder="请输入Instruction to Paying/Accepting/Negotiating Bank History"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Instruction to P/A/N Bank amendment"
prop="trnmod.swiadd.insbnk"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.insbnk"
maxlength="50"
show-word-limit
placeholder="请输入Instruction to P/A/N Bank amendment"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -27,6 +27,13 @@
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="修改" name="amep">
<c-content>
<m-amep :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000017 -->
<el-tab-pane label="基本信息" name="ovwp">
<c-content>
......@@ -51,6 +58,22 @@
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="货物描述" name="dogpame">
<m-dogpame :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="单据修改" name="dorpame">
<m-dorpame :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="其他条款修改" name="adcpame">
<m-adcpame :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="指示" name="inspame">
<m-inspame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<c-content>
......@@ -110,13 +133,12 @@
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Detopn from "~/model/Detopn";
import Detame from "~/model/Detame"
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Detopn/Check";
import Default from "~/model/Detopn/Default";
import Pattern from "~/model/Detopn/Pattern";
import Check from "~/model/Detame/Check";
import Default from "~/model/Detame/Default";
import Pattern from "~/model/Detame/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Detp1 from "./Detp1";
......@@ -124,6 +146,12 @@ import Detp2 from "./Detp2";
import Stament from "./Stament";
import Aamp from "./Aamp";
import Amep from "./Amep";
import Dogpame from "./Dogpame";
import Dorpame from "./Dorpame";
import Adcpame from "./Adcpame";
import Inspame from "./Inspame";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp";
......@@ -146,6 +174,11 @@ export default {
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-limitbody": Limitbody,
"m-amep": Amep,
"m-dogpame": Dogpame,
"m-dorpame": Dorpame,
"m-adcpame": Adcpame,
"m-inspame": Inspame,
},
provide() {
return {
......@@ -158,7 +191,7 @@ export default {
computed: {},
data() {
return {
tabVal: "ovwp",
tabVal: "amep",
trnName: "detame",
model: new Detame().data,
checkRules: Check,
......@@ -171,7 +204,7 @@ export default {
methods: {
},
created: async function () {
console.log("进入detopn交易");
console.log("进入detame交易");
//let rtnmsg = await this.init({})
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
......
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