Commit e4ed052a by wanggang_yf

修改bptset等交易

parent b3baab11
......@@ -14,9 +14,6 @@ export default class Bctset{
actuamt:"",
}
},
dftcre:{
dfflag:"",
},
bcdgrp:{
rec:{
inr:"",
......@@ -586,6 +583,7 @@ export default class Bctset{
// bustyp:"", // 业务种类 .trnmod.bustyp
// },
dftcre:{
dfflag:"",
dfdgrp:{
rec:{
pntref:"", // Parent Reference .dftcre.dfdgrp.rec.pntref
......
......@@ -83,13 +83,13 @@ export default {
],
"bpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bpdgrp.fia.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 1000,message:"长度不能超过1000"}
],
"bpdgrp.fia.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -97,7 +97,7 @@ export default {
],
"bpdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -419,30 +419,6 @@ export default {
});
}
},
async onChk() {
let rtnmsg = await this.executeRule("chk")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onCan() {
let rtnmsg = await this.executeRule("can")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
onSeainf_bed() {
......
......@@ -132,15 +132,6 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bpdgrp.rec.pctfin":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"bpdgrp.rec.fincod":[
{type: "string", required: false, message: "必输项"},
{max: 17,message:"长度不能超过17"}
......@@ -235,32 +226,6 @@ export default {
],
"bpdgrp.rec.pntref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.pntnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bptp.fpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bptp.fpdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bpdgrp.bu2.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -410,14 +375,6 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"bpdgrp.fia.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
......@@ -432,33 +389,11 @@ export default {
{max: 10,message:"长度不能超过10"}
],
"bpdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bpdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bpdgrp.inv.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.intday":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"bpdgrp.rec.intrat":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"bpdgrp.rec.marrat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"bpdgrp.rec.tolrat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"bpdgrp.rec.grarat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
......
......@@ -196,7 +196,7 @@ export default class Bptopn{
ovdintrat:"", // 罚息比率 .bptmod.finmod.ovdintrat
act1:"", // 第一还款�'�号 .bptmod.finmod.act1
accbch:"", // 入�'�机构 .bptmod.finmod.accbch
act3:"", // 第三方还款�'�号 .bptmod.finmod.act3
act3:"", // 第三方还款号 .bptmod.finmod.act3
acttyp:"", // 第三方还款方式 .bptmod.finmod.acttyp
intact:"", // 利息付款�'�号 .bptmod.finmod.intact
intamt:"", // 预收息金额 .bptmod.finmod.intamt
......
......@@ -28,6 +28,7 @@ export default class Bptsel{
pts:new Pts().data,
},
rec:{
finblk:"",
opndat:"", // Open Date .bpdgrp.rec.opndat
matdat:"", // Maturity Date .bpdgrp.rec.matdat
fintyp:"", // Type of Advance .bpdgrp.rec.fintyp
......@@ -35,6 +36,7 @@ export default class Bptsel{
pntnam:"", // Name of Parent Contract .bpdgrp.rec.pntnam
ownref:"", // Invoice Advancing Ref. .bpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bpdgrp.rec.nam
inr:""
},
},
cfgfil:{
......
......@@ -398,5 +398,21 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBptmodButgetref() {
let rtnmsg = await this.executeRule("bptmod.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
}
\ No newline at end of file
......@@ -59,7 +59,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bptp.purtyp":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
......@@ -126,9 +125,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 17,message:"长度不能超过17"}
],
"setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
......@@ -216,23 +212,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"bpdgrp.rec.pntref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.pntnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......
......@@ -6,21 +6,22 @@ export default class Bptset{
this.data = {
bpdgrp:{
rec:{
pntref:"", // 单据编号 .bpdgrp.rec.pntref
inr:"",
pntref:"", // 单据编号 Parent Reference .bpdgrp.rec.pntref
pntnam:"", // Name of Parent Contract .bpdgrp.rec.pntnam
ownref:"", // 融资业务编号 .bpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bpdgrp.rec.nam
fintyp:"", // 融资类型 .bpdgrp.rec.fintyp
fintyp:"", // 融资类型 Type of Advance .bpdgrp.rec.fintyp
pctfin:"", // Percentage .bpdgrp.rec.pctfin
opndat:"", // 起息日期 .bpdgrp.rec.opndat
opndat:"", // 起息日期 Open Date .bpdgrp.rec.opndat
matdat:"", // Maturity Date .bpdgrp.rec.matdat
finact:"", // 融资帐号 .bpdgrp.rec.finact
finact:"", // 融资帐号 Advance Amount .bpdgrp.rec.finact
fincod:"", // 借据号 .bpdgrp.rec.fincod
ovdflg:"", // Overdue Flag .bpdgrp.rec.ovdflg
tolrat:"", // 执行利率 .bpdgrp.rec.tolrat
ffttyp:"", // 福费廷转卖类型 .bpdgrp.rec.ffttyp
fortyp:"", // Forfaiting Type .bpdgrp.rec.fortyp
lctyp:"", // L/C Type .bpdgrp.rec.lctyp
changectyp:"", // L/C Type .bpdgrp.rec.lctyp
f0104:"", // 境外付款人所属部门 .bpdgrp.rec.f0104
f0105:"", // 境外付款人与本机构的关系 .bpdgrp.rec.f0105
f0102:"", // 是否附有银行承兑汇票 .bpdgrp.rec.f0102
......@@ -28,6 +29,8 @@ export default class Bptset{
bennam:"", // 国内证受益人中文名称 .bpdgrp.rec.bennam
loanno:"", // 原一级市场买入融资借据号 .bpdgrp.rec.loanno
benidcode:"", // 国内信用证受益人统一信用代码 .bpdgrp.rec.benidcode
finblk:"",
calflg:"",
},
cbs:{
max:{
......@@ -192,7 +195,9 @@ export default class Bptset{
amt:"", // 偿还本金 .bptmod.finmod.cbs.cbe.amt
},
totint:"", // 偿还利息总额 .bptmod.finmod.cbs.totint
calflg:"",
},
act1:"",
acttyp:"", // 第三方还款方式 .bptmod.finmod.acttyp
act3:"", // 第三方还款账号 .bptmod.finmod.act3
intprd:"", // 计息周期 .bptmod.finmod.intprd
......@@ -355,6 +360,8 @@ export default class Bptset{
dtgmod:{
dtgtagm46:"", // Advice of Issuing Bnk .trnmod.trndoc.dtgmod.dtgtagm46
},
doceot:[],
},
cipmod:{
dddbsh:"", // 端到端标识号 .trnmod.cipmod.dddbsh
......
......@@ -5,6 +5,7 @@ export default class Infbpd{
constructor () {
this.data = {
infcon:{
objinr:"",
seaownref:"", // Own Reference .infcon.seaownref
nam:"", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef
......@@ -71,6 +72,7 @@ export default class Infbpd{
},
bpdgrp:{
rec:{
inr:"",
pntref:"", // Parent Contract .bpdgrp.rec.pntref
pntnam:"", // Name .bpdgrp.rec.pntnam
ownref:"", // Finance Reference .bpdgrp.rec.ownref
......
......@@ -65,6 +65,7 @@ export default class Api
}
static async _post(url,data,method="post")
{
//debugger
let token = window.sessionStorage.token
let userId = window.sessionStorage.userId
let headers = {userId,token,"terminal":"WEB"};
......
......@@ -100,7 +100,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="4" style="margin-left: 20px">
<c-col :span="4" style="padding:5px; font: size 30%;">
<span>%</span>
</c-col>
</c-row>
......
<template>
<c-page title="出口融资注销">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<el-form
:model="model"
......@@ -109,6 +123,9 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"/>
</div>
</c-page>
</template>
......@@ -176,17 +193,17 @@ export default {
tabClick(){
}
},
created:async function(){
created:async function() {
console.log("进入bptcan交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
let rtnmsg = await this.init(this.$route.query)
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
} else {
this.$notify.error({title: '错误', message: '服务请求失败!'});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
......
<template>
<c-page title="出口融资注销">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000016 -->
<el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000010 -->
<el-tab-pane label="Incoming Tag 72/79" name="coninftag">
<c-content>
<m-coninftag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000529 Messages -->
<el-tab-pane label="报文及面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000546 Attachments-->
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="DTA Fields" name="dtetag">
<c-content>
<m-dtetag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD001139 -->
<!-- <el-tab-pane label="试算结果" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> -->
<!--PD000204 -->
<el-tab-pane label="CIPS" name="cips">
<c-content>
<m-cips :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000449 -->
<el-tab-pane label="CIPS2.0" name="cips2">
<c-content>
<m-cips2 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000450 CIPS2.0 -->
<el-tab-pane label="CIPS3.0" name="cips3">
<c-content>
<m-cips3 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- PD000001
<el-tab-pane label="PD000001" name="dtetag">
<m-dtetag :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="Fee Conditions" name="fecp">
<c-content>
<m-fecp :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>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"/>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bptcan from "~/model/Bptcan"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Bptcan/Check"
import Default from "~/model/Bptcan/Default"
import Pattern from "~/model/Bptcan/Pattern"
import Canp from "./Canp"
import Coninftag from "./Coninftag"
import Doctre from "./Doctre"
import Dtetag from "./Dtetag"
import Shisuan from "./Shisuan"
import Cips from "./Cips"
import Cips2 from "./Cips2"
import Cips3 from "./Cips3"
import Fecp from "./Fecp"
// import Limitbody from "./Limitbody"
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"
export default {
name: "Bptcan",
components:{
"m-canp" : Canp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-coninftag" : Coninftag,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-dtetag" : Dtetag,
"m-shisuan" : Shisuan,
"m-cips" : Cips,
"m-cips2" : Cips2,
"m-cips3" : Cips3,
"m-fecp" : Fecp,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "canp",
trnName: "bptcan",
model: new Bptcan().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bptcan交易");
let rtnmsg = await this.init(this.$route.query)
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -2,6 +2,7 @@
<div class="eibs-tab">
<!-- =================顶部====================== -->
<c-row>
<!--line1-->
<c-col :span="24">
<c-col :span="11">
......@@ -95,6 +96,7 @@
</el-form-item>
</c-col>
</c-col>
</c-row>
<!-- =================中部====================== -->
......@@ -377,9 +379,10 @@
<c-row>
<c-col :span="12">
<el-form-item label="第一还款账号" prop="bptmod.finmod.act1">
<c-select v-model="model.bptmod.finmod.act1" style="width: 100%" placeholder="请选择第一还款帐号">
<!-- <c-select v-model="model.bptmod.finmod.act1" style="width: 100%" placeholder="请选择第一还款帐号">
<el-option v-for="(item, idx) in codes.codeSet['bptmod.finmod.act1']" :key="idx" :label="item.split('\t')[1]" :value="item.split('\t')[0]"></el-option>
</c-select>
</c-select> -->
<c-input v-model="model.bptmod.finmod.act1" style="width: 100%" placeholder="请输入第一还款账号"></c-input>
</el-form-item>
</c-col>
......@@ -582,21 +585,20 @@
<c-row>
<c-col :span="12">
<el-form-item label="第三方还款账号" prop="bptmod.finmod.act3">
<c-select v-model="model.bptmod.finmod.act3" style="width: 100%" placeholder="请选择第三方还款账号">
</c-select>
<c-input v-model="model.bptmod.finmod.act3" style="width: 100%" placeholder="请输入第三方还款账号"></c-input>
</el-form-item>
</c-col>
</c-row>
<!---line9---->
<c-row>
<c-col :span="12">
<el-form-item label="预扣息账号" prop="bptmod.finmod.intact">
<c-select v-model="model.bptmod.finmod.intact" style="width: 100%" placeholder="请选择利息付款帐号">
<!-- <c-select v-model="model.bptmod.finmod.intact" style="width: 100%" placeholder="请选择利息付款帐号">
<el-option v-for="(item, idx) in codes.codeSet['bptmod.finmod.intact']" :key="idx" :label="item.split('\t')[1]" :value="item.split('\t')[0]"></el-option>
</c-select>
</c-select> -->
<c-input v-model="model.bptmod.finmod.intact" style="width: 100%" placeholder="请输入利息付款帐号"></c-input>
</el-form-item>
</c-col>
......@@ -669,3 +671,4 @@ export default {
<style>
</style>
......@@ -27,8 +27,9 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="cfabpt.ownextkey">
<c-select v-model="model.cfabpt.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
<!-- <c-select v-model="model.cfabpt.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select> -->
<c-input v-model="model.cfabpt.ownextkey" style="width:100%" placeholder="请输入地区机构号"></c-input>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" :placeholder="$t('other.please_enter')+'国内证落款'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'修改申请人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" :placeholder="$t('other.please_enter')+'国内证通知书'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bptset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<!-- =================顶部====================== -->
<c-row>
<!--line1-->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Parent Contract" prop="bpdgrp.rec.pntref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.bpdgrp.rec.pntref" maxlength="16" placeholder="请输入Reference" disabled></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="1">
<el-form-item label="" prop="" style="width: 100%">
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="bpdgrp.rec.pntnam" style="width: 100%">
<c-fullbox>
<c-input v-model="model.bpdgrp.rec.pntnam" maxlength="16" placeholder="" disabled></c-input>
<template slot="footer"> </template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!--line2-->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Finance Reference" prop="bpdgrp.rec.ownref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.bpdgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" disabled></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button size="small" type="primary" @click="onBptmodButgetref">
Get
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="bpdgrp.rec.nam" style="width: 100%">
<c-fullbox>
<c-input v-model="model.bpdgrp.rec.nam" maxlength="16" placeholder="" disabled></c-input>
<template slot="footer"> </template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!--line3-->
<c-col :span="24">
<!-- <c-col :span="11">-->
<!-- <el-form-item label="Purchase Agreement" prop="bptp.fpdgrp.rec.ownref" style="width: 100%">-->
<!-- <c-fullbox>-->
<!-- <c-input v-model="model.bptp.fpdgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" disabled></c-input>-->
<!-- <template slot="footer">-->
<!-- <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">-->
<!-- <span style="font-family: '宋体'; font-weight: bold">i</span>-->
<!-- </c-button>-->
<!-- </template>-->
<!-- </c-fullbox>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<c-col :span="1">
<el-form-item label="" prop="" style="width: 100%">
</el-form-item>
</c-col>
<!-- <c-col :span="12">-->
<!-- <el-form-item label="Name" prop="bptp.fpdgrp.rec.nam" style="width: 100%">-->
<!-- <c-fullbox>-->
<!-- <c-input v-model="model.bptp.fpdgrp.rec.nam" maxlength="16" placeholder="" disabled></c-input>-->
<!-- <template slot="footer"> </template>-->
<!-- </c-fullbox>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
</c-col>
</c-row>
<!---->
<!-- ------页面左侧----------- -->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Verification Certificate Number" prop="bpdgrp.rec.pntref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.bpdgrp.rec.pntref" maxlength="16" placeholder="请输入Reference" disabled></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Verification Certificate Number" >
<c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit placeholder="请输入Verification Certificate Number" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Declaration Number" prop="lendoc.decnum">
<c-input v-model="model.lendoc.decnum" maxlength="22" placeholder="请输入Declaration Number"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- -----------页面右侧--------- -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="ACT" prop="lendoc.account">
<c-input :disabled="model.lendoc.actflg!='X'" type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-col :span="6" :offset="6">
<c-checkbox v-model="model.lendoc.actflg">Input Account</c-checkbox>
</el-col>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -42,9 +42,9 @@ import Infled from './Infled'
import Bptopn from './Bptopn'
//import Bptset from './Bptset'
import Bptame from './Bptame'
//import Bptcrf from './Bptcrf'
//import Bptcrf from "./Bptcrf"
import Bptcan from './Bptcan'
import Bptset from "./Bptset"
import Sptrel from "./Sptrel"
import Sptrou from "./Sptrou"
import Bddsel from "./Bddsel"
......@@ -285,6 +285,8 @@ const BusRouter = [
{ path: 'bptopn', component: Bptopn, name: 'Bptopn', meta: { title: '出口融资放款' } },
{ path: 'bptame', component: Bptame, name: 'Bptame', meta: { title: '出口融资修改' } },
{ path: 'bptset', component: Bptset, name: 'Bptset', meta: { title: '出口融资还款' } },
//{ path: 'bptcrf', component: Bptcrf, name: 'Bptcrf', meta: { title: '出口融资返还' } },
{ path: 'bptcan', component: Bptcan, name: 'Bptcan', meta: { title: '出口融资注销' } },
......
......@@ -364,7 +364,7 @@ export default {
visiable:{
get:function () {return this.visible;},
set:function (value) {
debugger;
//debugger;
this.$parent.$parent.dialogVisible2 =value;
}
......
......@@ -337,43 +337,11 @@
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0px,padding: 20px 16px"
style="margin-left: 0px, padding: 20px 16px"
type="primary"
@click="toBptopn"
>出口融资放款</c-button
>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0px,padding: 20px 16px"
type="primary"
@click="toBPTSET"
>出口融资融资还款</c-button
>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0px,padding: 20px 16px"
type="primary"
@click="toBPTAME"
>出口融资修改</c-button
>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0px,padding: 20px 16px"
type="primary"
@click="toBPTCRF"
>出口融资融资返还</c-button
>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0px,padding: 20px 16px"
type="primary"
@click="toBPTCAN"
>出口融资注销</c-button
>
</c-col>
<!-- <el-row> -->
......@@ -448,7 +416,7 @@
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
@click="getButtons(scope.row['OWNREF'])"
>
处理
</c-button>
......@@ -466,12 +434,12 @@
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"
>11</m-busbtn
>
<m-busbtn ref="childs" :ownref="ownref" :model="BptselModel" ownrefPath="bpdgrp" trnCode="bptsel" @onChoose="onChoose"
>11</m-busbtn>
</div>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
......@@ -479,6 +447,8 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbpd/Event";
import BusNavbar from "~/views/Public/BusNavbar";
import BptselModel from "~/model/Bptsel"
export default {
inject: ["root"],
props: ["model", "codes"],
......@@ -486,7 +456,9 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
BptselModel: new BptselModel().data,
ownref: "",
initdialog: false,
dialogTableVisible: false,
searchToggle: true,
stmData: {
......@@ -616,6 +588,7 @@ export default {
methods: {
...Event,
async getButtons(ownref){
this.ownref = ownref
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
......@@ -630,18 +603,18 @@ export default {
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.bpdgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
// async getTrnInfo(idx, row) {
// this.model.infcon.objinr = row["INR"];
// this.model.bpdgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
// this.dialogTableVisible = true;
// let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
}
},
// if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// }
// },
closeTrn(refId) {
this.$refs[refId].doClose();
},
......
......@@ -106,7 +106,6 @@ import Smhinfp from "./Smhinfp";
import Peninfp from "./Peninfp";
import Liainfp from "./Liainfp";
import Prtpan from "./Prtpan";
export default {
components: {
"m-infsea": Infsea,
......
<template>
<ReviewWrapper>
<Bptopn></Bptopn>
</ReviewWrapper>
</template>
<script>
import Bptopn from "~/views/Business/Bptopn";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBptopn",
components: { ReviewWrapper, Bptopn },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bptset></Bptset>
</ReviewWrapper>
</template>
<script>
import Bptset from "~/views/Business/Bptset";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBptset",
components: { ReviewWrapper, Bptset },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -90,6 +90,8 @@ import ReviewBetamc from "./Business/ReviewBetamc.vue";
import ReviewCptcan from "./Business/ReviewCptcan.vue";
import ReviewCptrep from "./Business/ReviewCptrep.vue";
import ReviewCltdav from "./Business/ReviewCltdav.vue";
import ReviewBptopn from "./Business/ReviewBptopn.vue";
import ReviewBptset from "./Business/ReviewBptset";
const ReviewRouter = [
......@@ -198,6 +200,8 @@ const ReviewRouter = [
{ path: "Cptato", component: ReviewCptato, name: "ReviewCptato", meta: { title: "复核-Cptato" } },
{ path: "Cptcan", component: ReviewCptcan, name: "ReviewCptcan", meta: { title: "复核-Cptcan" } },
{ path: "Cptrep", component: ReviewCptrep, name: "ReviewCptrep", meta: { title: "复核-Cptrep" } },
{ path: "Bptopn", component: ReviewBptopn, name: "ReviewBptopn", meta: { title: "复核-Bptopn" } },
{ path: "Bptset", component: ReviewBptset, name: "ReviewBptset", meta: { title: "复核-Bptset" } },
];
......
......@@ -313,7 +313,7 @@ export default {
getWeekNo(date) {
let week = moment(date).day();
if (week === 0) {
debugger;
//debugger;
return "7";
} else {
return week;
......@@ -352,7 +352,7 @@ export default {
//间隔价格:
let invPrice;
if (this.model.price2 > this.model.price1) {
debugger;
//debugger;
invPrice = this.model.price2 - this.model.price1;
} else {
invPrice = this.model.price1 - this.model.price2;
......
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