Commit 173ee88c by 潘际乾

ditopn交易中内容、明细

parent 19022c5f
......@@ -1931,9 +1931,9 @@ const CodeTable = {
{label:"总行清算自贸区挂账业务",value:"1" },
],
dffs:[
{label:"即期付款",value:"1" },
{label:"远期付款",value:"2" },
{label:"混合付款",value:"3" },
{label:"即期付款",value:"1" },
],
expplc:[
{label:"www",value:"s" },
......@@ -1943,9 +1943,9 @@ const CodeTable = {
{label:"货物贸易",value:"1" },
],
yfxx:[
{label:"指定议付",value:"3" },
{label:"不可议付",value:"1" },
{label:"自由议付",value:"2" },
{label:"指定议付",value:"3" },
],
}
export default CodeTable;
\ No newline at end of file
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small">
<c-tabs v-model="activeName" ref="elment" type="card" @tab-click="tabClick" >
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="200px"
size="small"
>
<c-tabs
v-model="activeName"
ref="elment"
type="card"
@tab-click="tabClick"
>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
<el-tab-pane label="内容" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000275 -->
<el-tab-pane label="PD000275" name="revp">
<m-revp :model="model" :codes="codes"/>
<!--PD000077 -->
<el-tab-pane label="明细" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000342 -->
<el-tab-pane label="PD000342" name="tk">
<m-tk :model="model" :codes="codes"/>
<el-tab-pane label="条款" name="tk">
<m-tk :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000065 -->
<el-tab-pane label="PD000065" name="rbip">
<m-rbip :model="model" :codes="codes"/>
<!--PD000000 -->
<el-tab-pane label="结算" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000077 -->
<el-tab-pane label="PD000077" name="detp">
<m-detp :model="model" :codes="codes"/>
<!-- 分录 glepan-->
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!-- 附件信息 doctre-->
<!--PD000361 -->
<el-tab-pane label="PD000361" name="mt799">
<m-mt799 :model="model" :codes="codes"/>
<el-tab-pane label="Mt799" name="mt799">
<m-mt799 :model="model" :codes="codes" />
</el-tab-pane>
<!-- 账户概况 avtlst -->
<!--
<el-tab-pane label="经办夹查询" name="revp">
<m-revp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="PD000019" name="litbenl1">
<el-tab-pane label="经办夹查询" name="rbip">
<m-rbip :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="经办夹查询" name="litbenl1">
<m-litbenl1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000021 -->
<el-tab-pane label="PD000021" name="litapll1">
<el-tab-pane label="经办夹查询" name="litapll1">
<m-litapll1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000020 -->
<el-tab-pane label="PD000020" name="litrmbl1">
<el-tab-pane label="经办夹查询" name="litrmbl1">
<m-litrmbl1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
-->
<!--PD000027 -->
<el-tab-pane label="PD000027" name="engp">
<!-- <el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000510 -->
<el-tab-pane label="PD000510" name="addbcb">
<!-- <el-tab-pane label="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="PD000529" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="PD000001" name="ccvpan">
<!-- <el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Ditopn from "~/model/Ditopn"
import CommonProcess from "~/mixin/CommonProcess"
import Pattern from "~/model/Ditopn/Pattern"
import Ovwp from "./Ovwp"
import Revp from "./Revp"
import Tk from "./Tk"
import Rbip from "./Rbip"
import Detp from "./Detp"
import Mt799 from "./Mt799"
import Litbenl1 from "./Litbenl1"
import Litapll1 from "./Litapll1"
import Litrmbl1 from "./Litrmbl1"
import Setpan from "./Setpan"
import Engp from "./Engp"
import Addbcb from "./Addbcb"
import Docpan from "./Docpan"
import Coninfp from "./Coninfp"
import Ccvpan from "./Ccvpan"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Ditopn from "~/model/Ditopn";
import CommonProcess from "~/mixin/CommonProcess";
import Pattern from "~/model/Ditopn/Pattern";
import Ovwp from "./Ovwp";
import Revp from "./Revp";
import Tk from "./Tk";
import Rbip from "./Rbip";
import Detp from "./Detp";
import Mt799 from "./Mt799";
import Litbenl1 from "./Litbenl1";
import Litapll1 from "./Litapll1";
import Litrmbl1 from "./Litrmbl1";
import Setpan from "./Setpan";
import Engp from "./Engp";
import Addbcb from "./Addbcb";
import Docpan from "./Docpan";
import Coninfp from "./Coninfp";
import Ccvpan from "./Ccvpan";
export default {
components:{
"m-ovwp" : Ovwp,
"m-revp" : Revp,
"m-tk" : Tk,
"m-rbip" : Rbip,
"m-detp" : Detp,
"m-mt799" : Mt799,
"m-litbenl1" : Litbenl1,
"m-litapll1" : Litapll1,
"m-litrmbl1" : Litrmbl1,
"m-setpan" : Setpan,
"m-engp" : Engp,
"m-addbcb" : Addbcb,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
"m-ccvpan" : Ccvpan,
components: {
"m-ovwp": Ovwp,
"m-revp": Revp,
"m-tk": Tk,
"m-rbip": Rbip,
"m-detp": Detp,
"m-mt799": Mt799,
"m-litbenl1": Litbenl1,
"m-litapll1": Litapll1,
"m-litrmbl1": Litrmbl1,
"m-setpan": Setpan,
"m-engp": Engp,
"m-addbcb": Addbcb,
"m-docpan": Docpan,
"m-coninfp": Coninfp,
"m-ccvpan": Ccvpan,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
activeName: "ovwp",
model:new Ditopn().data,
model: new Ditopn().data,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
rules:Pattern,
codes:{
rules: Pattern,
codes: CodeTable,
};
},
}
},
methods:{
tabClick(){
}
methods: {
tabClick() {},
},
created:async function(){
created: async function() {
console.log("进入ditopn交易");
let rtnmsg = await Api.post("ditopn/init",{params:{}})
if(rtnmsg.retcod == SUCCESS)
{
let rtnmsg = await Api.post("ditopn/init", { params: {} });
if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</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