Commit 7783833c by lianyang

letnot首页修改,加隐藏页面Aamp.vue\Scbenp.vue\Spcrcvp.vue

parent 76ea812e
......@@ -5,16 +5,13 @@ import Utils from "~/utils"
*/
let checkObj = {
"ledgrp.apb.pts.extkey" :null,
"letp.rmbp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.opndat" :null,
"ledgrp.adv.namelc" :null,
"ledgrp.blk.shpper" :null,
"ledgrp.rmb.pts.extkey" :null,
"letp.avbp.ptsget.sdamod.dadsnd" :null,
"ledgrp.a2b.pts.adrblk" :null,
"letp.conp.ptsget.sdamod.dadsnd" :null,
"ledgrp.iss.pts.adrblk" :null,
"letp.issp.ptsget.sdamod.dadsnd" :null,
"ledgrp.blk.spcrcb" :null,
"ledgrp.blk.preper" :null,
"ledgrp.adv.adrelc" :null,
"ledgrp.ben.adrelc" :null,
......@@ -34,10 +31,8 @@ let checkObj = {
"ledgrp.apb.pts.adrblk" :null,
"letp.usr.extkey" :null,
"ledgrp.a2b.namelc" :null,
"ledgrp.cbs.nom1.cur" :null,
"setmod.redamt" :null,
"ledgrp.cbs.nom1.cur" :null,
"ledgrp.rec.shpdat" :null,
"letp.a2bp.ptsget.sdamod.dadsnd" :null,
"ledgrp.con.pts.nam" :null,
"ledgrp.rec.prepers18" :null,
"ledgrp.rec.nomtop" :null,
......@@ -45,19 +40,17 @@ let checkObj = {
"ledgrp.rec.nomton" :null,
"ledgrp.rec.avbwth" :null,
"ledgrp.apb.namelc" :null,
"letp.drwp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rmb.namelc" :null,
"ledgrp.blk.feetxt" :null,
"ledgrp.apl.namelc" :null,
"ledgrp.cbs.max2.amt" :null,
"ledgrp.rec.stacty" :null,
"ledgrp.adv.pts.adrblk" :null,
"ledgrp.cbs.nom1.amt" :null,
"ledgrp.cbs.nom1.amt" :null,
"ledgrp.blk.lcrdoc" :null,
"ledgrp.blk.defdet" :null,
"letp.apbp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.expdat" :null,
"ledgrp.blk.dftat" :null,
"letp.benp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.lcrtyp" :null,
"ledgrp.blk.insbnk" :null,
"mtabut.coninf.conexedat" :null,
......@@ -67,24 +60,23 @@ let checkObj = {
"ledgrp.blk.adlcnd" :null,
"ledgrp.iss.namelc" :null,
"ledgrp.rec.expplc" :null,
"letp.advp.ptsget.sdamod.dadsnd" :null,
"ledgrp.drw.pts.extkey" :null,
"ledgrp.a2b.pts.extkey" :null,
"ledgrp.iss.pts.ref" :null,
"ledgrp.ben.namelc" :null,
"ledgrp.apl.pts.adrblk" :null,
"letp.recget.sdamod.dadsnd" :null,
"ledgrp.ben.pts.adrblk" :null,
"ledgrp.blk.addamtcov" :null,
"setmod.docamt" :null,
"ledgrp.apb.adrelc" :null,
"ledgrp.rmb.adrelc" :null,
"ledgrp.drw.namelc" :null,
"ledgrp.apl.pts.extkey" :null,
"letp.aplp.ptsget.sdamod.dadsnd" :null,
"ledgrp.con.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null,
"ledgrp.drw.pts.adrblk" :null,
"ledgrp.rec.apprultxt" :null,
"ledgrp.blk.spcben" :null,
}
for (const key in checkObj) {
......@@ -94,3 +86,5 @@ for (const key in checkObj) {
}
export default checkObj
......@@ -218,8 +218,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButapy(){
let rtnmsg = await this.executeRule("mtdbut.butapy")
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -230,8 +230,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButcan(){
let rtnmsg = await this.executeRule("mtdbut.butcan")
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -242,8 +242,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -254,8 +254,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -266,8 +266,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -278,8 +278,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -290,8 +290,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -302,8 +302,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
async onSpcrcbButtxmsel(){
let rtnmsg = await this.executeRule("spcrcb.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -314,8 +314,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
async onSpcbenButtxmsel(){
let rtnmsg = await this.executeRule("spcben.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -49,7 +49,7 @@ export default {
],
"ledgrp.cbs.nom1.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位" }
],
......@@ -64,12 +64,12 @@ export default {
],
"ledgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{type: "string", required: false, message: "必输项",trigger: "blur"},
{max: 2,message:"长度不能超过2",trigger: "blur"}
],
"ledgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{type: "string", required: false, message: "必输项",trigger: "blur"},
{max: 2,message:"长度不能超过2",trigger: "blur"}
],
"ledgrp.ben.adrelc":[
{type: "string", required: true, message: "必输项"},
......@@ -80,7 +80,7 @@ export default {
"ledgrp.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位" }
],
......@@ -189,6 +189,22 @@ export default {
"ledgrp.cbs.max2.amt":[
{type: "strig", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.cbs.opn2.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.blk.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -465,6 +481,7 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
......@@ -489,10 +506,6 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"chaadv":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -507,22 +520,6 @@ export default {
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.redamttxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
......@@ -588,4 +585,14 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.blk.spcrcb":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ledgrp.blk.spcben":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
}
\ No newline at end of file
......@@ -69,6 +69,14 @@ export default class Letnot{
cur:"", // Maximum Amount .ledgrp.cbs.max.cur
amt:"", // Maximum Amount .ledgrp.cbs.max.amt
},
max2:{
cur:"", // Additional Amount .ledgrp.cbs.max2.cur
amt:"", // Additional Amount .ledgrp.cbs.max2.amt
},
opn2:{
cur:"", // Open Add. Amount .ledgrp.cbs.opn2.cur
amt:"", // Open Add. Amount .ledgrp.cbs.opn2.amt
},
},
preadvflg:"", // PreAdvice or Notification .ledgrp.preadvflg
ben:{
......@@ -96,6 +104,7 @@ export default class Letnot{
dbfadrblkcn:"", // Chinese address .ledgrp.avb.dbfadrblkcn
},
blk:{
addamtcov:"", // Covered .ledgrp.blk.addamtcov
avbwthtxt:"", // Available in .ledgrp.blk.avbwthtxt
defdet:"", // Deferred Payment Details .ledgrp.blk.defdet
dftat:"", // Drafts at .ledgrp.blk.dftat
......@@ -107,7 +116,9 @@ export default class Letnot{
lcrdoc:"", // Documents Required .ledgrp.blk.lcrdoc
adlcnd:"", // Additional Conditions .ledgrp.blk.adlcnd
insbnk:"", // Instructions to Pay., .ledgrp.blk.insbnk
},
spcrcb:"", // Special Payment Cond. .ledgrp.blk.spcrcb
spcben:"", // Special Payment Cond. .ledgrp.blk.spcben
},
drw:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.drw.namelc
......@@ -236,6 +247,9 @@ export default class Letnot{
},
},
},
ptsaddp:{
ptsaddg:[], // .letp.ptsaddp.ptsaddg
},
conp:{
ptsget:{
sdamod:{
......
<template>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="13">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.cur">
<c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max2.amt">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"
@keyup.enter.native="
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)"></c-input>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur">
<c-select v-model="model.ledgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn2.amt">
<c-input v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.ledgrp.blk.addamtcov" maxlength="140" show-word-limit
placeholder="请输入Covered" rows="4"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letnot/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-col :span="12">
<el-form-item label="Special Payment Cond." prop="ledgrp.blk.spcben">
<c-input type="textarea" v-model="model.ledgrp.blk.spcben" maxlength="65" show-word-limit
placeholder="请输入Special Payment Cond."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcbenButtxmsel">
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letnot/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event ,onSpcbenButtxmsel(){}},
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Special Payment Cond." prop="ledgrp.blk.spcrcb">
<c-input type="textarea" v-model="model.ledgrp.blk.spcrcb" maxlength="65" show-word-limit
placeholder="请输入Special Payment Cond."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcrcbButtxmsel">
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letnot/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event ,onSpcrcbButtxmsel(){}},
created: function () {
}
}
</script>
<style>
</style>
......@@ -28,7 +28,7 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000017 -->
<el-tab-pane label="内容" name="ovwp">
<c-content>
......@@ -36,6 +36,11 @@
</c-content>
</el-tab-pane>
<!--PD000001 Additional Amount 附加金额/额外款项-->
<el-tab-pane label="附加金额" name="aamp" v-if="model.letp.aamp.aammod.addamtflg=='X'">
<m-aamp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000063 -->
<el-tab-pane label="信用证详情" name="detp">
<c-content>
......@@ -67,16 +72,6 @@
</c-content>
</el-tab-pane>
<!-- PD000015
<el-tab-pane label="PD000015" name="notcha">
<m-notcha :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000020 -->
<!-- <el-tab-pane label="信用证详情" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<c-content>
......@@ -98,8 +93,17 @@
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000422 -->
<el-tab-pane label="银行专用特殊付款条件" name="spcrcvp">
<m-spcrcvp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000394 -->
<el-tab-pane label="受益人特殊付款条件" name="spcbenp">
<m-spcbenp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
......@@ -120,17 +124,14 @@ import Check from "~/model/Letnot/Check";
import Default from "~/model/Letnot/Default";
import Pattern from "~/model/Letnot/Pattern";
import Ovwp from "./Ovwp";
import Aamp from "./Aamp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dogp from "./Dogp";
import Dorp from "./Dorp";
import Adcp from "./Adcp";
// import Notcha from "./Notcha";
// import Detp from "./Detp";
// import Setpan from "./Setpan";
// import Coninfp from "./Coninfp";
// import Docpan from "./Docpan";
// import Doctre from "./Doctre";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
......@@ -141,17 +142,19 @@ export default {
name: "Letnot",
components: {
"m-ovwp": Ovwp,
"m-aamp" : Aamp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dogp": Dogp,
"m-dorp": Dorp,
"m-adcp": Adcp,
// "m-notcha": Notcha,
// "m-detp": Detp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-spcrcvp" : Spcrcvp,
"m-spcbenp" : Spcbenp,
},
provide() {
return {
......@@ -172,14 +175,21 @@ export default {
};
},
methods: {
tabClick() {},
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入letnot交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
......
<template>
<ReviewWrapper>
<Letnot></Letnot>
</ReviewWrapper>
</template>
<script>
import Letnot from "~/views/Business/Letnot";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetnot",
components: { ReviewWrapper, Letnot },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -7,6 +7,7 @@ import ReviewGetset from "./Business/ReviewGetset.vue";
import ReviewDetopn from "./Business/ReviewDetopn.vue";
import ReviewDetdrv from "./Business/ReviewDetdrv.vue";
import ReviewBdtdck from "./Business/ReviewBdtdck.vue";
import ReviewLetnot from "./Business/ReviewLetnot.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
......@@ -18,6 +19,7 @@ const ReviewRouter = [
{ path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } },
{ path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } },
{ path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
];
export default ReviewRouter;
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