Commit a36c6ee9 by liuyunfeng

提交跳转

parent 44597969
{1:F01null0001000001}{2:I103null151120072120072115119999N}{3:{111:001}{121:b10f3129-a9a0-4c00-8d96-357124fb9768}} {4:
:20:OR000020000090
:23B:CRED
:50K:HEBEIJIANSHE JITUAN TIANCHENJIANZHU
GONGCHENG YOUXIANGONGSI
:52K:ZHANGJIAKOUCANGZHOUFENHANG
:53K:ZHANGJIAKOUCANGZHOUFENHANG
:54K:/62284835
ZHANGJIAKOUCHENGDEFENHANG
:56K:/62284833
ZHANGJIAKOUCANGZHOUYINGYEBU
:57K:/62284834
ZHANGJIAKOUCANGZHOUYINGYEBU
:59K:/62284836
HUAMAO LEO INDUSTRIAL (TIANJIN)
GROUP CO., LTD
1001-BUILDING B FINANCIAL AVENUE
CHANGJIANG ROAD NANKAI DISTRICT
:70:3
:71A:OUR
:71G:CNY6800,
:72:3
:33B:CNY6800,
-}
\ No newline at end of file
{1:F01null0001000001}{2:I103null151320072120072115139999N}{3:{111:001}{121:b10f3129-a9a0-4c00-8d96-357124fb9768}} {4:
:20:OR000020000090
:23B:CRED
:50K:HEBEIJIANSHE JITUAN TIANCHENJIANZHU
GONGCHENG YOUXIANGONGSI
:52K:ZHANGJIAKOUCANGZHOUFENHANG
:53K:ZHANGJIAKOUCANGZHOUFENHANG
:54K:/62284835
ZHANGJIAKOUCHENGDEFENHANG
:56K:/62284833
ZHANGJIAKOUCANGZHOUYINGYEBU
:57K:/62284834
ZHANGJIAKOUCANGZHOUYINGYEBU
:59K:/62284836
HUAMAO LEO INDUSTRIAL (TIANJIN)
GROUP CO., LTD
1001-BUILDING B FINANCIAL AVENUE
CHANGJIANG ROAD NANKAI DISTRICT
:70:3
:71A:OUR
:71G:CNY6800,
:72:3
:33B:CNY6800,
-}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -238,6 +238,8 @@ export default {
const rtnmsgdoc = await Api.post('cptopn/sav', { data: Utils.flatObject(this.model) })
if (rtnmsgdoc.code == SUCCESS) {
// this.model.trnmod.trndoc.docmod.doclst=rtnmsgdoc.data.trnmod_trndoc_docmod_doclst
this.$notify.info('提交成功!')
this.$router.push('office')
}
else {
this.$notify.error({title: '错误',message: '服务请求失败!'})
......
......@@ -154,6 +154,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Utils from "~/utils"
export default {
data(){
......@@ -269,7 +270,7 @@ export default {
this.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/searow",{data:this.model})
let rtnmsg = await Api.post("trnrel/searow",{data:Utils.flatObject(this.model)})
if(rtnmsg.code == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -279,6 +280,7 @@ export default {
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
this.$notify.info('提交成功!');
})
},
onDsp(){
......@@ -444,7 +446,7 @@ export default {
},
mounted:async function(){
console.log("进入trnrel交易");
this.onSearow()
// this.onSearow()
}
}
</script>
......
<template>
<div>
<div class="title">会计分录</div>
<div class="title">面函列表</div>
<div class="e-table-wrapper">
<el-table
:data="model.trnmod.trndoc.docmod.doclst"
......@@ -34,11 +34,46 @@
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
props:['model'],
methods:{
detail(){
async detail(){
let cortyp = row.cortyp
if (cortyp == 'SWT'|| cortyp == 'FMT' || cortyp == 'CMT') {
this.model.msgmod_doccod = row.id
rtnmsg = await Api.post('cptopn/msgmod_butshw', { data: Utils.flatObject(this.model) })
} else {
this.model.trndoc_doccod = row.id
this.model.trndoc_cortyp = cortyp
rtnmsg = await Api.post('cptopn/trndoc_butshw', { data: Utils.flatObject(this.model) })
}
if (rtnmsg.code == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
let viewurl = "/psbcfront" + rtnmsg.data.msgmod_docpth;
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else if(cortyp == 'ELC')
{
Modal.info({title:'电证报文',content:<div style={{height:400,overflow:'auto'}}><ELCMessage mty={row.id} message={rtnmsg.data["\\trnmod\\trndoc\\docinf"]}/></div>,
width:1000,
})
}
else {
let url = "/psbcfront" + rtnmsg.data.trndoc_docpth;
// let url = rtnmsg.data.trndoc_docpth;
let viewurl = "/psbcfront/pdfjs/web/viewer.html";
viewurl += "?file=" + url;
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
}
else {
this.$notify.error({title: '错误',message: '服务请求失败!'})
}
}
}
}
......
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