Commit 979ec712 by WH

添加复核页面

parent 99832032
......@@ -22,7 +22,15 @@ export default {
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: {
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
}
if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null
params.trnmod.trn = null
}
const res = await Api.post('/service/betdcr/init', {
transName: this.trnName,
......
......@@ -22,7 +22,15 @@ export default {
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: {
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
}
if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null
params.trnmod.trn = null
}
const res = await Api.post('/service/brtcsg/init', {
...params,
......
......@@ -22,7 +22,15 @@ export default {
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: {
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
}
if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null
params.trnmod.trn = null
}
const res = await Api.post('/service/brtdcr/init', {
transName: this.trnName,
......
......@@ -18,13 +18,13 @@
</c-content>
</el-tab-pane>
<!--PD000027 -->
<!-- <el-tab-pane label="表外记账" name="engp">-->
<!-- <c-content>-->
<!-- &lt;!&ndash; 表外记账 &ndash;&gt;-->
<!-- <m-engp :model="model" :codes="codes" />-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
......
......@@ -22,7 +22,15 @@ export default {
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: {
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
}
if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null
params.trnmod.trn = null
}
const res = await Api.post('/service/brteus/init', {
...params,
......
......@@ -22,10 +22,15 @@ export default {
...doctre,
async init () {
const params = {
// spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: {
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
}
if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null
params.trnmod.trn = null
}
const res = await Api.post('/service/letdrv/init', {
...params,
......
......@@ -22,10 +22,18 @@ export default {
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: {
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
}
if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null
params.trnmod.trn = null
}
const res = await Api.post('/service/litdav/init', {
// ...params,
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
......
......@@ -21,8 +21,17 @@ export default {
...doctre,
async init() {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod: {
trn: JSON.parse(localStorage.getItem('review_'+this.trnName))
},
}
if ( typeof(this.$route.query.inr) == 'string'){
params.spt = null
params.trnmod.trn = null
}
const res = await Api.post('/service/litsel/init', {
...params,
transName: this.trnName,
......
<template>
<ReviewWrapper>
<Betdcr></Betdcr>
</ReviewWrapper>
</template>
<script>
import Betdcr from '../business/betdcr/views';
import { ReviewWrapper} from "~/components/gj-common.min.js";
export default {
name: "ReviewBetdcr",
components: { ReviewWrapper, Betdcr },
created() {},
mounted() {},
}
</script>
\ No newline at end of file
<template>
<ReviewWrapper>
<Brtcsg></Brtcsg>
</ReviewWrapper>
</template>
<script>
import Brtcsg from '../business/brtcsg/views';
import { ReviewWrapper} from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtcsg",
components: { ReviewWrapper, Brtcsg },
created() {},
mounted() {},
}
</script>
\ No newline at end of file
<template>
<ReviewWrapper>
<Brtdcr></Brtdcr>
</ReviewWrapper>
</template>
<script>
import Brtdcr from '../business/brtdcr/views';
import { ReviewWrapper} from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtdcr",
components: { ReviewWrapper, Brtdcr },
created() {},
mounted() {},
}
</script>
\ No newline at end of file
<template>
<ReviewWrapper>
<Brteus></Brteus>
</ReviewWrapper>
</template>
<script>
import Brteus from '../business/brteus/views';
import { ReviewWrapper} from "~/components/gj-common.min.js";
export default {
name: "ReviewBrteus",
components: { ReviewWrapper, Brteus },
created() {},
mounted() {},
}
</script>
\ No newline at end of file
<template>
<ReviewWrapper>
<Letdrv></Letdrv>
</ReviewWrapper>
</template>
<script>
import Letdrv from '../business/letdrv/views';
import { ReviewWrapper} from "~/components/gj-common.min.js";
export default {
name: "ReviewLetdrv",
components: { ReviewWrapper, Letdrv },
created() {},
mounted() {},
}
</script>
\ No newline at end of file
<template>
<ReviewWrapper>
<Litdav></Litdav>
</ReviewWrapper>
</template>
<script>
import Litdav from '../business/litdav/views';
import { ReviewWrapper} from "~/components/gj-common.min.js";
export default {
name: "ReviewLitdav",
components: { ReviewWrapper, Litdav },
created() {},
mounted() {},
}
</script>
\ No newline at end of file
<template>
<ReviewWrapper>
<Litsel></Litsel>
</ReviewWrapper>
</template>
<script>
import Litsel from '../business/litsel/views';
import { ReviewWrapper} from "~/components/gj-common.min.js";
export default {
name: "ReviewLitsel",
components: { ReviewWrapper, Litsel },
created() {},
mounted() {},
}
</script>
\ No newline at end of file
......@@ -5,5 +5,12 @@ const Business = [
{ path: 'litame', component: () => import('~/review/ReviewLitame.vue'), name: 'litame', meta: { title: '复核-Litame' } },
{ path: 'brtcan', component: () => import('~/review/ReviewBrtcan.vue'), name: 'brtcan', meta: { title: '复核-Brtcan' } },
{ path: 'brtlat', component: () => import('~/review/ReviewBrtlat.vue'), name: 'brtlat', meta: { title: '复核-Brtlat' } },
{ path: 'betdcr', component: () => import('~/review/ReviewBetdcr.vue'), name: 'betdcr', meta: { title: '复核-Betdcr' } },
{ path: 'brtdcr', component: () => import('~/review/ReviewBrtdcr.vue'), name: 'brtdcr', meta: { title: '复核-Brtdcr' } },
{ path: 'brtcsg', component: () => import('~/review/ReviewBrtcsg.vue'), name: 'brtcsg', meta: { title: '复核-Brtcsg' } },
{ path: 'brteus', component: () => import('~/review/ReviewBrteus.vue'), name: 'brteus', meta: { title: '复核-Brteus' } },
{ path: 'letdrv', component: () => import('~/review/ReviewLetdrv.vue'), name: 'letdrv', meta: { title: '复核-Letdrv' } },
{ path: 'litdav', component: () => import('~/review/ReviewLitdav.vue'), name: 'litdav', meta: { title: '复核-Litdav' } },
{ path: 'litsel', component: () => import('~/review/ReviewLitsel.vue'), name: 'litsel', meta: { title: '复核-Litsel' } },
]
export default Business
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