Commit 5c57e73c by zhoubaojian

zbj bftsnd bftset

parent c2b22300
...@@ -2,124 +2,140 @@ import Api from "~/service/Api" ...@@ -2,124 +2,140 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onLiaallButmisamt(){ async onDadsnd() {
let rtnmsg = await this.executeRule("bftp.dedget.sdamod.dadsnd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {
},
async onBFDDadsnd() {
let rtnmsg = await this.executeRule("bftp.recget.sdamod.dadsnd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.bfdgrp.rec.ownref = rtnmsg.data.bfdgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onBFDSeainf() {
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt") let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLiaallButmissig(){ async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig") let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onSetmodDet(){ async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onWrkpDet(){ async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp.det") let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onOthpDet(){ async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det") let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLimptsGet1(){ async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts.get1") let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLimptsGet2(){ async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts.get2") let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLimmodTrycal(){ async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod.trycal") let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onMtdbutButapy(){ async onMtdbutButapy() {
let rtnmsg = await this.executeRule("mtdbut.butapy") let rtnmsg = await this.executeRule("mtdbut.butapy")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onMtdbutButcan(){ async onMtdbutButcan() {
let rtnmsg = await this.executeRule("mtdbut.butcan") let rtnmsg = await this.executeRule("mtdbut.butcan")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
......
<template> <template>
<c-page title="卖方信用证收款">
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn
...@@ -21,59 +22,78 @@ ...@@ -21,59 +22,78 @@
<!--PD000034 --> <!--PD000034 -->
<el-tab-pane label="收款" name="setp"> <el-tab-pane label="收款" name="setp">
<c-content>
<m-setp :model="model" :codes="codes"/> <m-setp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="或有" name="engp"> <el-tab-pane label="表外" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="帐务" name="setpan"> <el-tab-pane label="费用及账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="分录" name="glepan"> <el-tab-pane label="分录" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes"/> <m-glepan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import Utils from "~/utils/index";
import Bftset from "~/model/Bftset" import CodeTable from "~/config/CodeTable";
import CommonProcess from "~/mixin/CommonProcess" import Bftset from "~/model/Bftset";
import Check from "~/model/Bftset/Check" import CommonProcess from "~/mixin/CommonProcess";
import Default from "~/model/Bftset/Default" import CommonFuncs from "~/mixin/CommonFuncs";
import Pattern from "~/model/Bftset/Pattern" import Check from "~/model/Bftset/Check";
import Setp from "./Setp" import Default from "~/model/Bftset/Default";
import Pattern from "~/model/Bftset/Pattern";
import Setp from "./Setp";
import Detp from "./Detp";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Detp from "./Detp"
export default { export default {
...@@ -93,7 +113,8 @@ export default { ...@@ -93,7 +113,8 @@ export default {
root: this root: this
} }
}, },
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess, CommonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data(){ data(){
return { return {
tabVal: "", tabVal: "",
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="远期单据指示" prop="bfdsnd.usadet"> <el-form-item label="远期单据指示" prop="bfdsnd.usadet">
<c-input type="textarea" v-model="model.bfdsnd.usadet" maxlength="65" show-word-limit placeholder="请输入远期单据指示" ></c-input> <c-input
type="textarea"
v-model="model.bfdsnd.usadet"
maxlength="65"
show-word-limit
placeholder="请输入远期单据指示"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" @click="onUsatxtButtxmsel"> <c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onUsatxtButtxmsel"
>
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-row>
<c-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="偿付条款" prop="bfdsnd.addphr"> <el-form-item label="偿付条款" prop="bfdsnd.addphr">
<c-input type="textarea" v-model="model.bfdsnd.addphr" maxlength="65" show-word-limit placeholder="请输入偿付条款" ></c-input> <c-input
type="textarea"
v-model="model.bfdsnd.addphr"
maxlength="65"
show-word-limit
placeholder="请输入偿付条款"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" @click="onRgfphrButtxmsel"> <c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onRgfphrButtxmsel"
>
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-row>
<c-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="新受益人地址" prop="bfdsnd.newbenadr"> <el-form-item label="新受益人地址" prop="bfdsnd.newbenadr">
<c-input type="textarea" v-model="model.bfdsnd.newbenadr" maxlength="35" show-word-limit placeholder="请输入新受益人地址" ></c-input> <c-input
type="textarea"
v-model="model.bfdsnd.newbenadr"
maxlength="35"
show-word-limit
placeholder="请输入新受益人地址"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
<c-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="新受益人编号" prop="bfdgrp.blk.benref"> <el-form-item label="新受益人编号" prop="bfdgrp.blk.benref">
<c-input type="textarea" v-model="model.bfdgrp.blk.benref" maxlength="16" show-word-limit placeholder="请输入新受益人编号" ></c-input> <c-input
type="textarea"
v-model="model.bfdgrp.blk.benref"
maxlength="16"
show-word-limit
placeholder="请输入新受益人编号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bftsnd/Event" import Event from "~/model/Bftsnd/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<c-page title="卖方信用证寄单">
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn
...@@ -21,31 +22,41 @@ ...@@ -21,31 +22,41 @@
<!--PD000021 --> <!--PD000021 -->
<el-tab-pane label="寄单" name="rgfp"> <el-tab-pane label="寄单" name="rgfp">
<c-content>
<m-rgfp :model="model" :codes="codes"/> <m-rgfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000259 --> <!--PD000259 -->
<el-tab-pane label="寄单1" name="rgfp1"> <el-tab-pane label="寄单1" name="rgfp1">
<c-content>
<m-rgfp1 :model="model" :codes="codes"/> <m-rgfp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000050 --> <!--PD000050 -->
<el-tab-pane label="指示/不符点" name="dscins"> <el-tab-pane label="指示/不符点" name="dscins">
<c-content>
<m-dscins :model="model" :codes="codes"/> <m-dscins :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000049 --> <!--PD000049 -->
<el-tab-pane label="单据描述" name="rgfdet"> <el-tab-pane label="单据描述" name="rgfdet">
<c-content>
<m-rgfdet :model="model" :codes="codes"/> <m-rgfdet :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="或有" name="engp"> <el-tab-pane label="表外" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="务" name="setpan"> <el-tab-pane label="费用及账务" name="setpan">
<!-- <!--
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
--> -->
...@@ -56,41 +67,52 @@ ...@@ -56,41 +67,52 @@
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import Utils from "~/utils/index";
import Bftsnd from "~/model/Bftsnd" import CodeTable from "~/config/CodeTable";
import CommonProcess from "~/mixin/CommonProcess" import Bftsnd from "~/model/Bftsnd";
import Check from "~/model/Bftsnd/Check" import CommonProcess from "~/mixin/CommonProcess";
import Default from "~/model/Bftsnd/Default" import CommonFuncs from "~/mixin/CommonFuncs";
import Pattern from "~/model/Bftsnd/Pattern" import Check from "~/model/Bftsnd/Check";
import Rgfp from "./Rgfp" import Default from "~/model/Bftsnd/Default";
import Rgfp1 from "./Rgfp1" import Pattern from "~/model/Bftsnd/Pattern";
import Dscins from "./Dscins" import Rgfp from "./Rgfp";
import Rgfdet from "./Rgfdet" import Rgfp1 from "./Rgfp1";
import Dscins from "./Dscins";
import Rgfdet from "./Rgfdet";
import Detp from "./Detp";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Detp from "./Detp"
export default { export default {
...@@ -112,7 +134,8 @@ export default { ...@@ -112,7 +134,8 @@ export default {
root: this root: this
} }
}, },
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess,CommonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data(){ data(){
return { return {
tabVal: "", tabVal: "",
......
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