Commit f8226492 by SunJie

ditame

parent 0e3e66b7
<template>
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="Additional Conditions">
<c-input type="textarea" v-model="model.didgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入Additional Conditions" ></c-input>
</el-form-item>
<div class="eibs-tab">
<el-col :span="11">
<el-form-item label="其他条款">
<c-input
type="textarea"
v-model="model.didgrp.blk.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入Additional Conditions"
:rows="15"
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Additional Conditions Amendment History">
<c-input type="textarea" v-model="model.didgrp.blk.adlcndame" maxlength="50" show-word-limit placeholder="请输入Additional Conditions Amendment History" ></c-input>
</el-form-item>
<el-col :span="12">
<el-form-item label="其他条款历史修改">
<c-input
type="textarea"
v-model="model.didgrp.blk.adlcndame"
maxlength="50"
show-word-limit
placeholder="请输入Additional Conditions Amendment History"
:rows="15"
disabled
></c-input>
</el-form-item>
</el-col>
<!--
<el-col :span="12">
<c-checkbox v-model="model.didgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</el-col>
<el-col :span="12">
<el-form-item label="Additional Conditions amendment">
<c-input type="textarea" v-model="model.trnmod.swiadd.adlcnd" maxlength="65" show-word-limit placeholder="请输入Additional Conditions amendment" ></c-input>
</el-form-item>
</el-col> -->
<el-col :span="12">
<el-form-item label="其他条款修改">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入Additional Conditions amendment"
:rows="10"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndameButtxmsel">
...
</c-button>
</el-col>
</div>
<el-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onAdlcndameButtxmsel"
>
...
</c-button>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditame/Event"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
props:["model","codes"],
data(){
return {
}
props: ["model", "codes"],
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="File Receiver">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Document tree">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</el-col>
<el-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</el-col>
<el-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</el-col>
<el-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</el-col>
<el-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</el-col>
<el-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</el-col>
<el-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
</el-col>
<el-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
</el-col>
<el-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</el-col>
<el-col :span="12">
<el-form-item label="Connected Documents">
<c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input>
</el-form-item>
</el-col>
</div>
<div class="eibs-tab">
<el-col :span="19">
<el-col>
<el-form-item label="File Receiver">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.filrecv"
placeholder="请输入File Receiver"
:rows="10"
></c-input>
</el-form-item>
</el-col>
<el-col>
<el-form-item label="Document tree">
<c-input
type="textarea"
:rows="10"
v-model="model.trnmod.trndoc.doctrestm"
placeholder="请输入Document tree"
></c-input>
</el-form-item> </el-col
></el-col>
<el-col :offset="1" :span="4">
<el-col>
<c-button size="small" type="primary" @click="onTrndocButshw">
Show
</c-button>
</el-col>
<el-col>
<c-button size="small" type="primary" @click="onTrndocButadd">
Details
</c-button>
</el-col>
<el-col>
<c-button size="small" type="primary" @click="onTrndocButnew" >
Add New
</c-button>
</el-col>
<el-col>
<c-button size="small" type="primary" @click="onTrndocButattto" disabled>
Attach to
</c-button>
</el-col>
<el-col>
<c-button type="primary" size="small" @click="onTrndocButdel" disabled>
Delete
</c-button>
</el-col>
<el-col>
<c-button size="small" type="primary" @click="onTrndocButatt" disabled>
Attach
</c-button>
</el-col>
</el-col>
<el-col :span="12">
<span
v-text="model.trnmod.trndoc.doclbl"
data-path=".trnmod.trndoc.doclbl"
>
</span>
</el-col>
<el-col :offset="8" :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwinc"
>Show Incoming Messages</c-checkbox
>
</el-col>
<el-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwout"
>Show Outgoing Messages</c-checkbox
>
</el-col>
<!-- <el-col :span="12">
<el-form-item label="Connected Documents">
<c-input
v-model="model.trnmod.trndoc.condocstm"
placeholder="请输入Connected Documents"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="">
<c-input
v-model="model.trnmod.trndoc.rcvatt.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</el-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditame/Event"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
props:["model","codes"],
data(){
return {
}
props: ["model", "codes"],
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
.el-col button {
margin: 20px;
}
</style>
<template>
<div class="eibs-tab">
<el-col :span="12">
<span v-text="model.ditamep.hfmdes" data-path=".ditamep.hfmdes" > </span>
</el-col>
<el-col :span="12">
<el-form-item label="Description of Goods">
<c-input type="textarea" v-model="model.didgrp.blk.lcrgod" maxlength="65" show-word-limit placeholder="请输入Description of Goods" ></c-input>
</el-form-item>
<div class="eibs-tab">
<!-- <el-col :span="12">
<span v-text="model.ditamep.hfmdes" data-path=".ditamep.hfmdes">
</span>
</el-col> -->
<el-col :span="11">
<el-form-item label="货物描述">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrgod"
maxlength="65"
show-word-limit
placeholder="请输入Description of Goods"
:rows="15"
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="修改历史">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrgodame"
maxlength="50"
show-word-limit
placeholder="请输入Description of Goods Amendment History"
:rows="15"
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Description of Goods Amendment History">
<c-input type="textarea" v-model="model.didgrp.blk.lcrgodame" maxlength="50" show-word-limit placeholder="请输入Description of Goods Amendment History" ></c-input>
</el-form-item>
<el-col :offset="8" :span="14">
<el-form-item label="修改内容">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.lcrgod"
maxlength="65"
show-word-limit
placeholder="请输入Description of Goods amendment"
:rows="10"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Description of Goods amendment">
<c-input type="textarea" v-model="model.trnmod.swiadd.lcrgod" maxlength="65" show-word-limit placeholder="请输入Description of Goods amendment" ></c-input>
</el-form-item>
<el-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onLcrgodameButtxmsel"
/>
</el-col>
<el-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodameButtxmsel">
...
</c-button>
</el-col>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditame/Event"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
props:["model","codes"],
data(){
return {
}
props: ["model", "codes"],
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="Documents Required">
<c-input type="textarea" v-model="model.didgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入Documents Required" ></c-input>
</el-form-item>
<div class="eibs-tab">
<el-col :span="11">
<el-form-item label="单据要求">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required"
:rows="15"
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Documents Required Amendment History">
<c-input type="textarea" v-model="model.didgrp.blk.lcrdocame" maxlength="50" show-word-limit placeholder="请输入Documents Required Amendment History" ></c-input>
</el-form-item>
<el-col :span="12">
<el-form-item label="单据要求历史修改">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrdocame"
maxlength="50"
show-word-limit
placeholder="请输入Documents Required Amendment History"
:rows="15"
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :offset="8" :span="14">
<el-form-item label="单据要求修改">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required amendment"
:rows="10"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Documents Required amendment">
<c-input type="textarea" v-model="model.trnmod.swiadd.lcrdoc" maxlength="65" show-word-limit placeholder="请输入Documents Required amendment" ></c-input>
</el-form-item>
<el-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onLcrdocameButtxmsel"
>
</c-button>
</el-col>
<el-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocameButtxmsel">
...
</c-button>
</el-col>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditame/Event"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
props:["model","codes"],
data(){
return {
}
props: ["model", "codes"],
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-col :span="12">
<el-form-item label="Instructions to Paying/Accepting/Negotiating Bank">
<c-input type="textarea" v-model="model.didgrp.blk.insbnk" maxlength="65" show-word-limit placeholder="请输入Instructions to Paying/Accepting/Negotiating Bank" ></c-input>
</el-form-item>
<div class="eibs-tab">
<el-col :span="14">
<el-form-item
label="Instructions to Paying/Accepting/Negotiating Bank"
>
<c-input
type="textarea"
v-model="model.didgrp.blk.insbnk"
maxlength="65"
show-word-limit
placeholder="请输入Instructions to Paying/Accepting/Negotiating Bank"
:rows="10"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Instructions to P/A/N Amendment History">
<c-input type="textarea" v-model="model.didgrp.blk.insbnkame" maxlength="50" show-word-limit placeholder="请输入Instructions to P/A/N Amendment History" ></c-input>
</el-form-item>
<el-col :span="14">
<el-form-item label="Hostoric overview">
<c-input
type="textarea"
v-model="model.didgrp.blk.insbnkame"
maxlength="50"
show-word-limit
placeholder="请输入Instructions to P/A/N Amendment History"
:rows="10"
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Instruction to P/A/N Bank amendment">
<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>
</el-form-item>
<el-col :span="14">
<el-form-item label="修改">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.insbnk"
maxlength="50"
show-word-limit
placeholder="请输入Instruction to P/A/N Bank amendment"
:rows="10"
></c-input>
</el-form-item>
</el-col>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditame/Event"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
props:["model","codes"],
data(){
return {
}
props: ["model", "codes"],
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-col :span="12">
<div class="eibs-tab">
<!-- <el-col :span="12">
<c-button size="small" type="primary" @click="onSav">
保存
</c-button>
......@@ -11,20 +10,36 @@
<c-button size="small" type="primary" @click="onUsrcon">
用户确认
</c-button>
</el-col>
<el-col :span="12">
<el-form-item label="Narrative">
<c-input type="textarea" v-model="model.trnmod.swiadd.nartxt" maxlength="50" show-word-limit placeholder="请输入Narrative" ></c-input>
</el-form-item>
</el-col> -->
<el-col :span="11">
<el-form-item label="历史修改">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.nartxt"
maxlength="50"
show-word-limit
placeholder="请输入Narrative"
:rows="15"
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="Historic Overview of Narratives">
<c-input type="textarea" v-model="model.olddidgrp.blk.narhis" maxlength="50" show-word-limit placeholder="请输入Historic Overview of Narratives" ></c-input>
</el-form-item>
<el-col :span="12">
<el-form-item label="内容修改">
<c-input
type="textarea"
v-model="model.olddidgrp.blk.narhis"
maxlength="50"
show-word-limit
placeholder="请输入Historic Overview of Narratives"
:rows="15"
disabled
></c-input>
</el-form-item>
</el-col>
<!--
<el-col :span="12">
<c-button size="small" type="primary" @click="onChk">
检核
......@@ -53,31 +68,28 @@
<c-button size="small" type="primary" @click="onCan">
退出
</c-button>
</el-col>
<el-col :span="12">
<c-checkbox v-model="model.trnmod.swiadd.nartxtflg">Narrative modified</c-checkbox>
</el-col>
</div>
</el-col> -->
<el-col :offset="12" :span="12">
<c-checkbox v-model="model.trnmod.swiadd.nartxtflg"
>修改</c-checkbox
>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditame/Event"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
props:["model","codes"],
data(){
return {
}
props: ["model", "codes"],
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<el-row class="eibs-tab">
<div class="eibs-tab">
<!-- ====================顶部==================== -->
<el-col :span="6">
<el-form-item label="参考号" label-width="100px">
......@@ -386,10 +386,11 @@
>
</span>
</el-col>
</el-row>
</div>
</template>
<script>
import Event from "~/model/Ditopn/Event";
import Event from "~/model/Ditame/Event";
import SetpanDialog from "./SetpanDialog.vue";
import Api from "~/service/Api"
import Utils from "~/utils/index"
......
......@@ -4,8 +4,9 @@
:model="model"
:rules="rules"
ref="modelForm"
label-width="100px"
label-width="200px"
size="small"
>
<el-tabs ref="elment" type="card" @tab-click="tabClick">
......@@ -34,8 +35,6 @@
<m-tk :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="历史概要">
<!--PD000021 -->
<m-narp :model="model" :codes="codes" />
......@@ -106,10 +105,12 @@
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</el-tabs>
<c-bus-button :$pntvm="this"></c-bus-button>
</el-form>
</div>
</template>
<script>
import Utils from "~/utils/index"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Ditame from "~/model/Ditame";
......@@ -165,26 +166,26 @@ export default {
// rules:this.mergeRules(Pattern,Check),
rules: Pattern,
codes: {},
init: {
uri: "/ditame/init",
fileName: "ditame.json",
method: "post",
basePath: "{{basePath}}",
scheme: "{{schemes}}",
host: "{{host}}",
consume: "0",
produce: "0",
},
checkAll: {
uri: "/ditame/checkAll",
fileName: "ditame.json",
method: "post",
basePath: "{{basePath}}",
scheme: "{{schemes}}",
host: "{{host}}",
consume: "0",
produce: "0",
},
// init: {
// uri: "/ditame/init",
// fileName: "ditame.json",
// method: "post",
// basePath: "{{basePath}}",
// scheme: "{{schemes}}",
// host: "{{host}}",
// consume: "0",
// produce: "0",
// },
// checkAll: {
// uri: "/ditame/checkAll",
// fileName: "ditame.json",
// method: "post",
// basePath: "{{basePath}}",
// scheme: "{{schemes}}",
// host: "{{host}}",
// consume: "0",
// produce: "0",
// },
saveData: {
uri: "/ditame/saveData",
fileName: "ditame.json",
......@@ -1997,12 +1998,17 @@ export default {
},
};
},
methods: {},
methods: {
tabClick(vm){
}
},
created: async function () {
console.log("进入ditame交易");
let rtnmsg = await Api.post("ditame/init", { params: {} });
if (rtnmsg.respCode == "AAAAAA") {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model,rtnmsg.data)
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -10,7 +10,7 @@
</c-select>
</el-form-item>
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" @keyup.enter.native="recTenmaxdayEvent">
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" >
<c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:15%" maxlength="3"></c-input>
</el-form-item>
......
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