Commit 5c57e73c by zhoubaojian

zbj bftsnd bftset

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