Commit 173ee88c by 潘际乾

ditopn交易中内容、明细

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