Commit 0e9aa709 by Wuyuqiu

bug解决,lttopn交易完善功能

parent bc5c673a
......@@ -255,7 +255,23 @@ export default {
}
},
onSeainf() {},
onDetpButgetref() {},
async onDetpButgetref(){
let rtnmsg = await this.executeRule("butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onBenpDet() {},
}
\ No newline at end of file
......@@ -44,6 +44,7 @@ export default class Letdrv {
},
ledgrp: {
rec: {
inr:"",
ownref: "", // Reference .ledgrp.rec.ownref
nam: "", // 摘要 .ledgrp.rec.nam
revflg: "", // Revolving Flag .ledgrp.rec.revflg
......
......@@ -53,6 +53,8 @@ let checkObj = {
"ltdgrp.rec.avbby" :null,
"ltdgrp.blk.preper" :null,
"ltdgrp.rmt.namelc" :null,
"ltdgrp.blk.addamtcov" :null,
"ltdgrp.cbs.max2.amt" :null,
"ltdgrp.rec.ownref" :null,
"ltdgrp.be2.adrelc" :null,
"ltdgrp.adt.pts.adrblk" :null,
......
......@@ -105,5 +105,8 @@ export default {
"ltdgrp.rec.shptrss18" :Utils.defaultFunction,
"ltdgrp.rec.expplc" :Utils.defaultFunction,
"ltdgrp.rec.cnfins" :Utils.defaultFunction,
"ltdgrp.cbs.max2.amt" :Utils.defaultFunction,
"ltdgrp.cbs.max2.cur" :Utils.defaultFunction,
"ltdgrp.blk.addamtcov" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,329 +2,281 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLttpButgetref(){
let rtnmsg = await this.executeRule("lttp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
async onLttpButgetref() {
let rtnmsg = await this.executeRule("lttp.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBe1pDet(){
let rtnmsg = await this.executeRule("be1p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBe1pDet() {
let rtnmsg = await this.executeRule("be1p.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdtpDet(){
let rtnmsg = await this.executeRule("adtp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdtpDet() {
let rtnmsg = await this.executeRule("adtp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBe2pDet(){
let rtnmsg = await this.executeRule("be2p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBe2pDet() {
let rtnmsg = await this.executeRule("be2p.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onA2tpDet(){
let rtnmsg = await this.executeRule("a2tp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onA2tpDet() {
let rtnmsg = await this.executeRule("a2tp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmtpDet(){
let rtnmsg = await this.executeRule("rmtp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRmtpDet() {
let rtnmsg = await this.executeRule("rmtp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onConpDet(){
let rtnmsg = await this.executeRule("conp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onConpDet() {
let rtnmsg = await this.executeRule("conp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAvtpDet(){
let rtnmsg = await this.executeRule("avtp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAvtpDet() {
let rtnmsg = await this.executeRule("avtp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrgodButtxmsel(){
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc.butshw")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc.butadd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc.butnew")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc.butattto")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc.butdel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc.butatt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSpcbenButtxmsel(){
let rtnmsg = await this.executeRule("spcben.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcbenButtxmsel() {
let rtnmsg = await this.executeRule("spcben.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSpcrcbButtxmsel(){
let rtnmsg = await this.executeRule("spcrcb.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSpcrcbButtxmsel() {
let rtnmsg = await this.executeRule("spcrcb.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChariaButtxmsel(){
let rtnmsg = await this.executeRule("charia.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onChariaButtxmsel() {
let rtnmsg = await this.executeRule("charia.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrwpDet(){
let rtnmsg = await this.executeRule("drwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDrwpDet() {
let rtnmsg = await this.executeRule("drwp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() { },
onBenpDet() { },
onIsspDet() { },
onAplpDet() { },
onAvbpDet() { },
onAdvpDet() { },
onA2bpDet() { },
onApbpDet() { },
onRmbpDet() { },
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf(){},
onLetpButgetref(){},
onBenpDet(){},
onIsspDet(){},
onAplpDet(){},
onAvbpDet(){},
onAdvpDet(){},
onA2bpDet(){},
onApbpDet(){},
onRmbpDet(){},
......
......@@ -642,4 +642,19 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ltdgrp.cbs.max2.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ltdgrp.cbs.opn2.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ltdgrp.blk.addamtcov":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
......@@ -5,332 +5,276 @@ import Pub from "../Public"
export default class Lttopn {
constructor() {
this.data = {
ledgrp: {
rec: {
ownref: "", // Reference .ledgrp.rec.ownref
nam: "", // Name .ledgrp.rec.nam
avbby: "", // Available by [AVBBY0] .ledgrp.rec.avbby
redclsflg: "", // Red/Green Clause .ledgrp.rec.redclsflg
opndat: "", // Date Issued .ledgrp.rec.opndat
shpdat: "", // Shipment Date .ledgrp.rec.shpdat
expdat: "", // Date/Place of Expiry .ledgrp.rec.expdat
expplc: "", // Date/Place of Expiry .ledgrp.rec.expplc
lcrtyp: "", // Form of L/C .ledgrp.rec.lcrtyp
revflg: "", // Revolving Flag .ledgrp.rec.revflg
},
cbs: {
nom1: {
cur: "", // L/C Amount .ledgrp.cbs.nom1.cur
amt: "", // Balance .ledgrp.cbs.nom1.amt
ledgrp:{
rec:{
ownref:"", // Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
avbby:"", // Available by [AVBBY0] .ledgrp.rec.avbby
redclsflg:"", // Red/Green Clause .ledgrp.rec.redclsflg
opndat:"", // Date Issued .ledgrp.rec.opndat
shpdat:"", // Shipment Date .ledgrp.rec.shpdat
expdat:"", // Date/Place of Expiry .ledgrp.rec.expdat
expplc:"", // Date/Place of Expiry .ledgrp.rec.expplc
lcrtyp:"", // Form of L/C .ledgrp.rec.lcrtyp
revflg:"", // Revolving Flag .ledgrp.rec.revflg
},
cbs:{
nom1:{
cur:"", // L/C Amount .ledgrp.cbs.nom1.cur
amt:"", // Balance .ledgrp.cbs.nom1.amt
},
opn1: {
cur: "", // Open Amount .ledgrp.cbs.opn1.cur
amt: "", // Balance .ledgrp.cbs.opn1.amt
opn1:{
cur:"", // Open Amount .ledgrp.cbs.opn1.cur
amt:"", // Balance .ledgrp.cbs.opn1.amt
},
},
apl: {
pts: new Pts().data,
apl:{
pts:new Pts().data,
},
iss: {
pts: new Pts().data,
iss:{
pts:new Pts().data,
},
ben: {
pts: new Pts().data,
ben:{
pts:new Pts().data,
},
avbnam: "", // Available with .ledgrp.avbnam
avbnam:"", // Available with .ledgrp.avbnam
},
lttp: {
ledget: {
sdamod: {
seainf: "", // Reference of L/C .lttp.ledget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .lttp.ledget.sdamod.dadsnd
lttp:{
ledget:{
sdamod:{
seainf:"", // Reference of L/C .lttp.ledget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.ledget.sdamod.dadsnd
},
},
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .lttp.recget.sdamod.dadsnd
seainf: "", // .lttp.recget.sdamod.seainf
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .lttp.recget.sdamod.dadsnd
seainf:"", // .lttp.recget.sdamod.seainf
},
},
usr: {
extkey: "", // Responsible User .lttp.usr.extkey
usr:{
extkey:"", // Responsible User .lttp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .lttp.usrget.sdamod.seainf
usrget:{
sdamod:{
seainf:"", // .lttp.usrget.sdamod.seainf
},
},
aamp: {
aammod: {
addamtflg: "", // Add. Amount .lttp.aamp.aammod.addamtflg
aamp:{
aammod:{
addamtflg:"", // Add. Amount .lttp.aamp.aammod.addamtflg
},
},
be1p: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .lttp.be1p.ptsget.sdamod.dadsnd
seainf: "", // .lttp.be1p.ptsget.sdamod.seainf
be1p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .lttp.be1p.ptsget.sdamod.dadsnd
seainf:"", // .lttp.be1p.ptsget.sdamod.seainf
},
},
},
adtp: {
ptsget: {
sdamod: {
seainf: "", // .lttp.adtp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .lttp.adtp.ptsget.sdamod.dadsnd
adtp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.adtp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.adtp.ptsget.sdamod.dadsnd
},
},
},
be2p: {
ptsget: {
sdamod: {
seainf: "", // .lttp.be2p.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .lttp.be2p.ptsget.sdamod.dadsnd
be2p:{
ptsget:{
sdamod:{
seainf:"", // .lttp.be2p.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.be2p.ptsget.sdamod.dadsnd
},
},
},
letp0: {
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .lttp.letp0.recget.sdamod.dadsnd
letp0:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .lttp.letp0.recget.sdamod.dadsnd
},
},
aammod: {
addamtflg: "", // Add. Amount .lttp.letp0.aammod.addamtflg
aammod:{
addamtflg:"", // Add. Amount .lttp.letp0.aammod.addamtflg
},
cnftxt: "", // Confirmation text .lttp.letp0.cnftxt
cnftxt:"", // Confirmation text .lttp.letp0.cnftxt
},
leltb2b: {
litb2bstm: "", // Streamgrid of other L/Cs backed by B2B LE .lttp.leltb2b.litb2bstm
leltb2b:{
litb2bstm:"", // Streamgrid of other L/Cs backed by B2B LE .lttp.leltb2b.litb2bstm
},
totamt: "", // Total Amount .lttp.totamt
a2tp: {
ptsget: {
sdamod: {
seainf: "", // .lttp.a2tp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .lttp.a2tp.ptsget.sdamod.dadsnd
totamt:"", // Total Amount .lttp.totamt
a2tp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.a2tp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.a2tp.ptsget.sdamod.dadsnd
},
},
},
rmtp: {
ptsget: {
sdamod: {
seainf: "", // .lttp.rmtp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .lttp.rmtp.ptsget.sdamod.dadsnd
rmtp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.rmtp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.rmtp.ptsget.sdamod.dadsnd
},
},
},
avtp: {
ptsget: {
sdamod: {
seainf: "", // .lttp.avtp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .lttp.avtp.ptsget.sdamod.dadsnd
avtp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.avtp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.avtp.ptsget.sdamod.dadsnd
},
},
},
ptsaddp: {
ptsaddg: [], // .lttp.ptsaddp.ptsaddg
ptsaddp:{
ptsaddg:[], // .lttp.ptsaddp.ptsaddg
},
conp: {
ptsget: {
sdamod: {
seainf: "", // .lttp.conp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .lttp.conp.ptsget.sdamod.dadsnd
conp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.conp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.conp.ptsget.sdamod.dadsnd
},
},
},
drwp: {
ptsget: {
sdamod: {
seainf: "", // .lttp.drwp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .lttp.drwp.ptsget.sdamod.dadsnd
drwp:{
ptsget:{
sdamod:{
seainf:"", // .lttp.drwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .lttp.drwp.ptsget.sdamod.dadsnd
},
},
},
labdefdet: "", // DEFDAT LAbel .lttp.labdefdet
labdefdet:"", // DEFDAT LAbel .lttp.labdefdet
},
ltdgrp: {
rec: {
ownref: "", // Reference .ltdgrp.rec.ownref
nam: "", // Name .ltdgrp.rec.nam
lcrtyp: "", // Form of Transfer .ltdgrp.rec.lcrtyp
nomtop: "", // Amount Tolerance +/- .ltdgrp.rec.nomtop
nomton: "", // Amount Tolerance - Negative .ltdgrp.rec.nomton
nomspc: "", // Amount Specification .ltdgrp.rec.nomspc
opndat: "", // Issued on .ltdgrp.rec.opndat
shpdat: "", // Shipment Date .ltdgrp.rec.shpdat
expdat: "", // Date of Expiry .ltdgrp.rec.expdat
expplc: "", // Place of Expiry .ltdgrp.rec.expplc
shppar: "", // Partial Shipment .ltdgrp.rec.shppar
shptrs: "", // Transhipment .ltdgrp.rec.shptrs
apprul: "", // Applicable Rules .ltdgrp.rec.apprul
apprultxt: "", // Other Applicable Rules .ltdgrp.rec.apprultxt
cnfins: "", // Confirmation Instruct. .ltdgrp.rec.cnfins
rmbflg: "", // Reimbursement Information .ltdgrp.rec.rmbflg
shppars18: "", // Partial Shipment .ltdgrp.rec.shppars18
shptrss18: "", // Transhipment .ltdgrp.rec.shptrss18
redclsflg: "", // Red/Green Clause? .ltdgrp.rec.redclsflg
spcbenflg: "", // Special payment conditions for beneficiary exists .ltdgrp.rec.spcbenflg
spcrcbflg: "", // Special Payment Conditions for specified Bank only .ltdgrp.rec.spcrcbflg
avbwth: "", // Available with .ltdgrp.rec.avbwth
avbby: "", // Available by .ltdgrp.rec.avbby
shpfro: "", // Dispatch from .ltdgrp.rec.shpfro
porloa: "", // Air-/Port of Departure .ltdgrp.rec.porloa
pordis: "", // Air-/Port of Destination .ltdgrp.rec.pordis
shpto: "", // Final Destination .ltdgrp.rec.shpto
chato: "", // Own Charges Borne by .ltdgrp.rec.chato
stacty: "", // Country Code Risk Country .ltdgrp.rec.stacty
tenmaxday: "", // Maximum tenor in days .ltdgrp.rec.tenmaxday
prepers18: "", // Days of presentation period .ltdgrp.rec.prepers18
prepertxts18: "", // Presentation period text .ltdgrp.rec.prepertxts18
},
cbs: {
nom1: {
cur: "", // Nominal Amount .ltdgrp.cbs.nom1.cur
amt: "", // Nominal Amount .ltdgrp.cbs.nom1.amt
ltdgrp:{
rec:{
ownref:"", // Reference .ltdgrp.rec.ownref
nam:"", // Name .ltdgrp.rec.nam
lcrtyp:"", // Form of Transfer .ltdgrp.rec.lcrtyp
nomtop:"", // Amount Tolerance +/- .ltdgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .ltdgrp.rec.nomton
nomspc:"", // Amount Specification .ltdgrp.rec.nomspc
opndat:"", // Issued on .ltdgrp.rec.opndat
shpdat:"", // Shipment Date .ltdgrp.rec.shpdat
expdat:"", // Date of Expiry .ltdgrp.rec.expdat
expplc:"", // Place of Expiry .ltdgrp.rec.expplc
shppar:"", // Partial Shipment .ltdgrp.rec.shppar
shptrs:"", // Transhipment .ltdgrp.rec.shptrs
apprul:"", // Applicable Rules .ltdgrp.rec.apprul
apprultxt:"", // Other Applicable Rules .ltdgrp.rec.apprultxt
cnfins:"", // Confirmation Instruct. .ltdgrp.rec.cnfins
rmbflg:"", // Reimbursement Information .ltdgrp.rec.rmbflg
shppars18:"", // Partial Shipment .ltdgrp.rec.shppars18
shptrss18:"", // Transhipment .ltdgrp.rec.shptrss18
redclsflg:"", // Red/Green Clause? .ltdgrp.rec.redclsflg
spcbenflg:"", // Special payment conditions for beneficiary exists .ltdgrp.rec.spcbenflg
spcrcbflg:"", // Special Payment Conditions for specified Bank only .ltdgrp.rec.spcrcbflg
avbwth:"", // Available with .ltdgrp.rec.avbwth
avbby:"", // Available by .ltdgrp.rec.avbby
shpfro:"", // Dispatch from .ltdgrp.rec.shpfro
porloa:"", // Air-/Port of Departure .ltdgrp.rec.porloa
pordis:"", // Air-/Port of Destination .ltdgrp.rec.pordis
shpto:"", // Final Destination .ltdgrp.rec.shpto
chato:"", // Own Charges Borne by .ltdgrp.rec.chato
stacty:"", // Country Code Risk Country .ltdgrp.rec.stacty
tenmaxday:"", // Maximum tenor in days .ltdgrp.rec.tenmaxday
prepers18:"", // Days of presentation period .ltdgrp.rec.prepers18
prepertxts18:"", // Presentation period text .ltdgrp.rec.prepertxts18
},
cbs:{
nom1:{
cur:"", // Nominal Amount .ltdgrp.cbs.nom1.cur
amt:"", // Nominal Amount .ltdgrp.cbs.nom1.amt
},
max: {
cur: "", // This L/C .ltdgrp.cbs.max.cur
amt: "", // Maximum Amount .ltdgrp.cbs.max.amt
max:{
cur:"", // This L/C .ltdgrp.cbs.max.cur
amt:"", // Maximum Amount .ltdgrp.cbs.max.amt
},
opn1: {
amt: "", // Balance .ltdgrp.cbs.opn1.amt
opn1:{
amt:"", // Balance .ltdgrp.cbs.opn1.amt
},
max2:{
cur:"", // Additional Amount .ltdgrp.cbs.max2.cur
amt:"", // Additional Amount .ltdgrp.cbs.max2.amt
},
opn2:{
cur:"", // Open Add. Amount .ltdgrp.cbs.opn2.cur
amt:"", // Open Add. Amount .ltdgrp.cbs.opn2.amt
},
},
be1: {
pts: new Pts().data,
},
adt: {
pts: new Pts().data,
namelc: "", // 名称 .ltdgrp.adt.namelc
adrelc: "", // 地址 .ltdgrp.adt.adrelc
dbfadrblkcn: "", // Chinese address .ltdgrp.adt.dbfadrblkcn
},
be2: {
pts: new Pts().data,
namelc: "", // 名称 .ltdgrp.be2.namelc
adrelc: "", // 地址 .ltdgrp.be2.adrelc
dbfadrblkcn: "", // Chinese address .ltdgrp.be2.dbfadrblkcn
},
a2t: {
pts: new Pts().data,
namelc: "", // 名称 .ltdgrp.a2t.namelc
adrelc: "", // 地址 .ltdgrp.a2t.adrelc
dbfadrblkcn: "", // Chinese address .ltdgrp.a2t.dbfadrblkcn
},
rmt: {
pts: new Pts().data,
namelc: "", // 名称 .ltdgrp.rmt.namelc
adrelc: "", // 地址 .ltdgrp.rmt.adrelc
dbfadrblkcn: "", // Chinese address .ltdgrp.rmt.dbfadrblkcn
},
avt: {
pts: new Pts().data,
namelc: "", // 名称 .ltdgrp.avt.namelc
adrelc: "", // 地址 .ltdgrp.avt.adrelc
dbfadrblkcn: "", // Chinese address .ltdgrp.avt.dbfadrblkcn
},
con: {
pts: new Pts().data,
namelc: "", // 名称 .ltdgrp.con.namelc
adrelc: "", // 地址 .ltdgrp.con.adrelc
dbfadrblkcn: "", // Chinese address .ltdgrp.con.dbfadrblkcn
},
blk: {
lcrgod: "", // Description of Goods .ltdgrp.blk.lcrgod
lcrdoc: "", // Documents Required .ltdgrp.blk.lcrdoc
spcben: "", // Special Payment Cond. .ltdgrp.blk.spcben
spcrcb: "", // Special Payment Cond. .ltdgrp.blk.spcrcb
adlcnd: "", // Additional Conditions .ltdgrp.blk.adlcnd
insbnk: "", // Instructions to Pay., .ltdgrp.blk.insbnk
avbwthtxt: "", // Available in .ltdgrp.blk.avbwthtxt
defdet: "", // Deferred Payment Details .ltdgrp.blk.defdet
dftat: "", // Drafts at .ltdgrp.blk.dftat
shpper: "", // Shipment Period .ltdgrp.blk.shpper
mixdet: "", // Mixed Payment Details .ltdgrp.blk.mixdet
preper: "", // Presentation Period .ltdgrp.blk.preper
preperflg: "", // Presentation Period modified .ltdgrp.blk.preperflg
feetxt: "", // Additional Details to Code for Charges CHATO .ltdgrp.blk.feetxt
},
drw: {
pts: new Pts().data,
namelc: "", // 名称 .ltdgrp.drw.namelc
adrelc: "", // 地址 .ltdgrp.drw.adrelc
dbfadrblkcn: "", // Chinese address .ltdgrp.drw.dbfadrblkcn
be1:{
pts:new Pts().data,
},
adt:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.adt.namelc
adrelc:"", // 地址 .ltdgrp.adt.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.adt.dbfadrblkcn
},
be2:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.be2.namelc
adrelc:"", // 地址 .ltdgrp.be2.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.be2.dbfadrblkcn
},
a2t:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.a2t.namelc
adrelc:"", // 地址 .ltdgrp.a2t.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.a2t.dbfadrblkcn
},
rmt:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.rmt.namelc
adrelc:"", // 地址 .ltdgrp.rmt.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.rmt.dbfadrblkcn
},
avt:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.avt.namelc
adrelc:"", // 地址 .ltdgrp.avt.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.avt.dbfadrblkcn
},
con:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.con.namelc
adrelc:"", // 地址 .ltdgrp.con.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.con.dbfadrblkcn
},
blk:{
lcrgod:"", // Description of Goods .ltdgrp.blk.lcrgod
lcrdoc:"", // Documents Required .ltdgrp.blk.lcrdoc
spcben:"", // Special Payment Cond. .ltdgrp.blk.spcben
spcrcb:"", // Special Payment Cond. .ltdgrp.blk.spcrcb
adlcnd:"", // Additional Conditions .ltdgrp.blk.adlcnd
insbnk:"", // Instructions to Pay., .ltdgrp.blk.insbnk
avbwthtxt:"", // Available in .ltdgrp.blk.avbwthtxt
defdet:"", // Deferred Payment Details .ltdgrp.blk.defdet
dftat:"", // Drafts at .ltdgrp.blk.dftat
shpper:"", // Shipment Period .ltdgrp.blk.shpper
mixdet:"", // Mixed Payment Details .ltdgrp.blk.mixdet
preper:"", // Presentation Period .ltdgrp.blk.preper
preperflg:"", // Presentation Period modified .ltdgrp.blk.preperflg
feetxt:"", // Additional Details to Code for Charges CHATO .ltdgrp.blk.feetxt
addamtcov:"", // Covered .ltdgrp.blk.addamtcov
},
drw:{
pts:new Pts().data,
namelc:"", // 名称 .ltdgrp.drw.namelc
adrelc:"", // 地址 .ltdgrp.drw.adrelc
dbfadrblkcn:"", // Chinese address .ltdgrp.drw.dbfadrblkcn
},
},
// setmod: {
// docamttyplab: "", // settled amount description as label .setmod.docamttyplab
// retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
// ref: "", // our reference .setmod.ref
// doccur: "", // document currency .setmod.doccur
// docamt: "", // document amount .setmod.docamt
// dspflg: "", // Type of settlement .setmod.dspflg
// xreflg: "", // Recalculate Rates .setmod.xreflg
// setglg: {
// labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
// glemod: {
// gleshwstm: "", // Booking stream to Display .setmod.glemod.gleshwstm
// },
// },
// mtabut: {
// coninf: {
// oitinf: {
// labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit: {
// inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset: {
// labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit: {
// inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat: "", // 执行日期 .mtabut.coninf.conexedat
// usr: {
// extkey: "", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
// trnmod: {
// trndoc: {
// advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
// advdoc: "", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam: "", // 国内证落款 .trnmod.trndoc.advnam
// amdapl: "", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl: "", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm: "", // Document tree .trnmod.trndoc.doctrestm
// shwinc: "", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout: "", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm: "", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt: {
// seainf: "", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv: "", // File Receiver .trnmod.trndoc.filrecv
// },
// },
cnybop: {
cnyflg: "", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg: "", // 是否报送跨境人民币2107表 .cnybop.traflg
outflg: "", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg: "", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg: "", // 是否报送跨境人民币2122表 .cnybop.vouflg
cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg
outflg:"", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg
},
// liaall: {
// misamt: "", // Amount not yet assigned .liaall.misamt
// concur: "", // External Booking Amount .liaall.concur
// outpct: "", // Sight Amount Percentage .liaall.outpct
// outamt: "", // Sight Amount .liaall.outamt
// exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
// exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
// },
pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
......
......@@ -298,8 +298,12 @@
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onDetpButgetref"
:disabled="
model.ledgrp.adv.pts.inr &&!model.bedgrp.rec.ownref
? false
: true
"
>
Get
</c-button>
......
......@@ -24,6 +24,7 @@
type="primary"
:disabled="!docdisflg"
@click="showGridPromptDialog('betp.docdis.buttxmsel',null,null,{TXT:'bedgrp.blk.docdis'},{TXT:false},'doxpDialog')"
@change="defaultFunction('betp.folwupopt')"
>
...
</c-button>
......
......@@ -29,7 +29,7 @@
v-model="model.bedgrp.srm.djuusr"
maxlength="80"
placeholder="请输入单据出具人"
:disabled="model.bedgrp.srm.djutyp==='D'"
:disabled="model.bedgrp.srm.djutyp=='D'||model.bedgrp.srm.djutyp==''"
></c-input>
</c-form-item>
</c-col>
......@@ -46,7 +46,7 @@
v-model="model.bedgrp.srm.djudat"
style="width: 100%"
placeholder="请选择单据出具日期"
:disabled="model.bedgrp.srm.djutyp==='D'"
:disabled="model.bedgrp.srm.djutyp=='D'||model.bedgrp.srm.djutyp==''"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -58,7 +58,7 @@
v-model="model.bedgrp.srm.djuref"
maxlength="40"
placeholder="请输入货权单据编号"
:disabled="model.bedgrp.srm.djutyp==='D'"
:disabled="model.bedgrp.srm.djutyp=='D'||model.bedgrp.srm.djutyp==''"
></c-input>
</c-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="11">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Additional Amount" prop="ltdgrp.cbs.max2.cur">
<c-select
v-model="model.ltdgrp.cbs.max2.cur"
style="width: 100%"
placeholder="Please select cur"
disabled
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="20px" prop="ltdgrp.cbs.max2.amt">
<c-input-currency
v-model="model.ltdgrp.cbs.max2.amt"
style="width: 100%"
placeholder="Please input Additional Amount"
@keyup.enter.native="max2amtEvent"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="ltdgrp.cbs.opn2.cur">
<c-select
v-model="model.ltdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="Please select cur"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="20px" prop="ltdgrp.cbs.opn2.amt">
<c-input-currency
v-model="model.ltdgrp.cbs.opn2.amt"
style="width: 100%"
placeholder="Please input Open Add. Amount"
disabled
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Covered" prop="ltdgrp.blk.addamtcov">
<c-input
type="textarea"
v-model="model.ltdgrp.blk.addamtcov"
maxlength="35"
show-word-limit
placeholder="请输入Covered"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Additional Amount" prop="ltdgrp.cbs.max2.cur">
<c-select
v-model="model.ltdgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择Additional Amount"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Amount" prop="ltdgrp.cbs.max2.amt">
<c-input
v-model="model.ltdgrp.cbs.max2.amt"
placeholder="请输入Additional Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="ltdgrp.cbs.opn2.cur">
<c-select
v-model="model.ltdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择Open Add. Amount"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="ltdgrp.cbs.opn2.amt">
<c-input
v-model="model.ltdgrp.cbs.opn2.amt"
placeholder="请输入Open Add. Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Covered" prop="ltdgrp.blk.addamtcov">
<c-input
type="textarea"
v-model="model.ltdgrp.blk.addamtcov"
maxlength="35"
show-word-limit
placeholder="请输入Covered"
></c-input>
</el-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/Letrsv/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event,
max2amtEvent() {
this.executeDefault("ltdgrp.cbs.max2.amt").then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {},
};
</script>
<style>
</style>
......@@ -11,14 +11,13 @@
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
maxlength="8"
placeholder="Please input Reference"
style="width: 95%"
:disabled="true"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
style="margin-left:10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
......@@ -32,15 +31,6 @@
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="true"
@click="onLetpButgetref"
>
Get
</c-button>
</template>
</c-fullbox>
</el-form-item>
......@@ -58,6 +48,7 @@
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item
......@@ -93,8 +84,12 @@
style="margin: 0 0"
size="small"
type="primary"
:disabled="true"
@click="onLetpButgetref"
:disabled="
!model.ltdgrp.rec.ownref
? false
: true
"
@click="onLttpButgetref"
>
Get
</c-button>
......@@ -198,7 +193,8 @@
<c-checkbox
v-model="model.lttp.aamp.aammod.addamtflg"
style="margin-left: 10px"
disabled
:disabled="model.ltdgrp.cbs.max2.amt==''"
@change="openAddDetails"
>Add. Amount</c-checkbox
>
</c-col>
......@@ -845,6 +841,41 @@ export default {
this.model.ltdgrp.rec.apprultxt = "";
}
},
openAddDetails(val){
if(val ==='' && !( this.model.ltdgrp.cbs.max2.amt == '0' && this.model.ltdgrp.cbs.opn2.amt == '0'
&&this.model.ltdgrp.blk.addamtcov ==='') ){
this.$confirm('Do you really want to delete the additional amount of this contract?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('lttp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ltdgrp.cbs.max2.amt = '0';
this.model.ltdgrp.blk.addamtcov ='';
this.updateModel(res.data)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.lttp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
},
created: function () {},
};
......
......@@ -30,6 +30,10 @@
<el-tab-pane label="Overview" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--aamp PD000001 Additional Amount -->
<el-tab-pane label="Additional Amount" name="aamp" v-if="model.lttp.aamp.aammod.addamtflg">
<m-aamp :model="model" :codes="codes"/>
</el-tab-pane>
<!--lttp PD000077 Details -->
<el-tab-pane label="Details" name="detp">
<c-content>
......@@ -152,7 +156,8 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
import Doxp from '~/views/Public/Doxp'
import Doxp from '~/views/Public/Doxp';
import Aamp from "./Aamp"
export default {
name: "Lttopn",
......@@ -170,6 +175,7 @@ export default {
"m-detp": Detp,
'm-doxp': Doxp,
'm-dogp': Dogp,
"m-aamp" : Aamp,
},
provide() {
return {
......
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