Commit d683917a by wangguangchao

分录

parent cd8229c2
......@@ -188,7 +188,7 @@ export default class Ditopn{
setfel:[] // 我方佣金/费用 .setmod.setfeg.setfop
},
setglg:{
setglp:[] // 结算 .setmod.setglg.setglp
setgll:[] // 结算 .setmod.setglg.setglp
},
actnot:""
......
<template>
<div class="eibs-tab">
<c-col :span="22" :offset="1">
<c-istream-table :list="stmData.data" >
<c-istream-table :list="stmData.data" :columns="stmData.columns" >
</c-istream-table>
</c-col>
</div>
......@@ -17,6 +17,19 @@ export default {
data(){
return {
stmData: {
columns: [
"2 1 \"D/C\" 38 1 0",
"8 2 \"xxx\" 140",
"6 3 \"Description\" 140",
"3 4 \"Cur\" 60",
"4 5 \"Amount\" 135 2 8:1 2 5",
"9 6 \"Cur1\" 60",
"10 7 \"Amount1\" 135 2 8:1 2 5",
"5 8 \"Value Date\" 80",
"7 9 \"Rate Type\" 90",
"0 10 \"PN\" 62 1 0"
],
data: [
]
}
......
......@@ -28,7 +28,8 @@
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<el-tab-pane label="分录" name="glepan" >
<m-glepan :model="model" :codes="codes" ref="glepan"/>
</el-tab-pane>
<!--PD000000 -->
......@@ -128,6 +129,7 @@ import Coninfp from "./Coninfp"
import Ccvpan from "./Ccvpan"
import Doctre from "./Doctre.vue"
import Actlst from "./Actlst.vue"
import Glepan from "./Glepan.vue"
export default {
......@@ -148,7 +150,8 @@ export default {
"m-coninfp" : Coninfp,
"m-ccvpan" : Ccvpan,
"m-doctre" : Doctre,
"m-actlst" : Actlst
"m-actlst" : Actlst,
"m-glepan" : Glepan
},
provide() {
return {
......@@ -183,6 +186,7 @@ export default {
if (name === "glepan") {
this.executeRule("setmod.glemod.glepan").then(res => {
const data = res.data;
debugger;
this.$refs.glepan.stmData.data = res.data.setmod_glemod_gleshwstm.rows;
//Utils.copyValueFromVO(this.model, data)
})
......
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