Commit 7644c663 by Wuyuqiu

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents e07ecad4 54f58284
......@@ -5,6 +5,7 @@ import Pub from "../Public"
export default class Ccttra {
constructor() {
this.data = {
ccttral1blk: "",
ccdgrp: {
rec: {
ownref: "", // Our Reference .ccdgrp.rec.ownref
......
......@@ -84,8 +84,7 @@ export default class Infgid{
purpos:"", // Outgoing Purpose .gidgrp.rec.purpos
hndtyp:"", // Handling Type .gidgrp.rec.hndtyp
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
gartypin:"", // Undertaking Type from Local Undertaking Seq. C .gidgrp.rec.gartypin
legfrm:"", // Form of Undertaking .gidgrp.rec.legfrm
gartypin:"", // Undertaking Type from Local Undertaking Seq. C
demand:"", // Demand Indicator .gidgrp.rec.demand
giduil:"", // Language of Undertak. .gidgrp.rec.giduil
secuilflg:"", // Bilingual Guarantee .gidgrp.rec.secuilflg
......
......@@ -202,7 +202,7 @@ export default {
],
"ledgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"letp.avbp.ptsget.sdamod.dadsnd":[
......@@ -223,11 +223,11 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"ledgrp.blk.avbwthtxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.dbfadrblkcn":[
......@@ -254,17 +254,17 @@ export default {
],
"ledgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 210,message:"长度不能超过210"}
],
"ledgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string", required: false, message: "必输项"},
{max: 105,message:"长度不能超过105"}
],
"letp.drwp.ptsget.sdamod.dadsnd":[
......@@ -285,7 +285,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"ledgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.drw.dbfadrblkcn":[
......
......@@ -110,7 +110,7 @@ export default {
],
"lidgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 80,message:"长度不能超过80"}
{max: 140,message:"长度不能超过35*4"}
],
"lidgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
import Utils from "~/utils"
/**
* Sptneg Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Sptneg Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"usfmod.usr.extkey" :Utils.defaultFunction,
"usfmod.selusg" :Utils.defaultFunction,
"usfmod.selusgset" :Utils.defaultFunction,
"usfmod.flt" :Utils.defaultFunction,
"sptstm" :Utils.defaultFunction,
"chkrim" :Utils.defaultFunction,
"chkaut" :Utils.defaultFunction,
"chkinc" :Utils.defaultFunction,
"chkpen" :Utils.defaultFunction,
"chkcor" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onUsfmodShwflt(){
let rtnmsg = await this.executeRule("usfmod.shwflt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onNegcnt(){
let rtnmsg = await this.executeRule("negcnt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onClmmodDet(){
let rtnmsg = await this.executeRule("clmmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"selobj":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"seltxt":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"sptstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"clmmod.wfs.objtyp":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"clmmod.wfs.objinr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"clmmod.wfs.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"clmmod.wfestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Sptneg{
constructor () {
this.data = {
chkinc:"", // Incoming .chkinc
chkrim:"", // Registered .chkrim
chkpen:"", // Pending .chkpen
chkcor:"", // Correction .chkcor
chkaut:"", // Automatic .chkaut
selobj:"", // Reference .selobj
seltxt:"", // Selection Name .seltxt
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
sptstm:"", // List of SPT records .sptstm
clmmod:{
wfs:{
objtyp:"", // Table Used to Store Associated Object .clmmod.wfs.objtyp
objinr:"", // Object .clmmod.wfs.objinr
objnam:"", // External Readable Object Identification .clmmod.wfs.objnam
},
wfestm:"", // WFEs for transaction for display .clmmod.wfestm
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -101,7 +101,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
......@@ -196,6 +196,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
......
......@@ -307,6 +307,9 @@
v-model="model.cfagit.recgrp.bas.bencountrycode"
maxlength="3"
placeholder="请输入受益人国别/地区"
@keyup.enter.native="
showGridPromptDialog(`cfagit.recgrp.bas.bencountrycode`)
"
></c-input>
</el-form-item>
<template slot="footer">
......
......@@ -237,6 +237,9 @@
v-model="model.cnybop.cnyvou.svouchercountrycode"
maxlength="3"
placeholder="请输入担保人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.svouchercountrycode`)
"
></c-input>
<template slot="footer">
<c-button
......@@ -272,6 +275,9 @@
v-model="model.cnybop.cnyvou.svoucheecountrycode"
maxlength="3"
placeholder="请输入担保权人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.svoucheecountrycode`)
"
></c-input>
<template slot="footer">
<c-button
......@@ -297,6 +303,9 @@
v-model="model.cnybop.cnyvou.sdebtorcountrycode"
maxlength="3"
placeholder="请输入债务人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.sdebtorcountrycode`)
"
></c-input>
<template slot="footer">
<c-button
......@@ -332,6 +341,9 @@
v-model="model.cnybop.cnyvou.sreversecountrycode"
maxlength="3"
placeholder="请输入反担保人国别"
@keyup.enter.native="
showGridPromptDialog(`cnybop.cnyvou.sreversecountrycode`)
"
></c-input>
<template slot="footer">
<c-button
......
......@@ -11,7 +11,6 @@
style="width: 100%"
placeholder="请选择指定银行"
:code="codes.avbwth"
@change="avbwthEvent"
>
</c-select>
</el-form-item>
......@@ -19,7 +18,7 @@
<c-col :span="24">
<c-ptap
v-if="model.ledgrp.rec.avbwth!='O'"
v-if="model.ledgrp.rec.avbwth != 'O'"
:model="model"
:argadr="{
title: '',
......@@ -37,7 +36,25 @@
<!-- 名称地址 -->
<c-col :span="24">
<el-form-item label="" prop="ledgrp.blk.avbwthtxt">
<el-form-item
label=""
prop="ledgrp.avb.pts.adrblk"
v-if="model.ledgrp.rec.avbwth != 'O'"
>
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入Address Block"
:disabled="model.ledgrp.rec.avbwth!=''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.blk.avbwthtxt"
v-if="model.ledgrp.rec.avbwth == 'O'">
<c-input
type="textarea"
:rows="3"
......@@ -45,21 +62,9 @@
maxlength="140"
show-word-limit
placeholder="请输入名称地址"
:disabled="model.ledgrp.rec.avbwth!='O'"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.avb.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col> -->
<!-- 信用证兑付方式 Available by-->
<c-col :span="24">
......@@ -69,7 +74,6 @@
style="width: 100%"
placeholder="请选择兑付方式"
:code="codes.avbby0"
@change="avbbykeyEvent"
>
</c-select>
</el-form-item>
......@@ -109,7 +113,16 @@
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('letp.lcrdftat.buttxmsel', null, null,{TXT: 'ledgrp.blk.dftat'}, {TXT: false},'doxpDialog')"
@click="
showGridPromptDialog(
'letp.lcrdftat.buttxmsel',
null,
null,
{ TXT: 'ledgrp.blk.dftat' },
{ TXT: false },
'doxpDialog'
)
"
:disabled="blkDftatFlag"
>
...
......@@ -131,6 +144,7 @@
:onlySearch="false"
@onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
:disabledExtkey="blkDftatFlag"
:disabled="blkDftatFlag"
>
</c-ptap>
......@@ -267,7 +281,6 @@
</el-form-item>
</c-col>-->
<!-- 交单期限 Days of presentation period-->
<c-col :span="24">
<el-form-item label="交单期限" prop="ledgrp.rec.prepers18">
......@@ -282,8 +295,18 @@
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('letp.preper.buttxmsel', null, null,{TXT: 'ledgrp.rec.prepers18'}, {TXT: false},'doxpDialog')"
disabled >
@click="
showGridPromptDialog(
'letp.preper.buttxmsel',
null,
null,
{ TXT: 'ledgrp.rec.prepers18' },
{ TXT: false },
'doxpDialog'
)
"
disabled
>
...
</c-button>
</template>
......@@ -319,7 +342,16 @@
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('letp.charia.buttxmsel', null, null,{TXT: 'ledgrp.blk.feetxt'}, {TXT: false},'doxpDialog')"
@click="
showGridPromptDialog(
'letp.charia.buttxmsel',
null,
null,
{ TXT: 'ledgrp.blk.feetxt' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
......@@ -797,6 +829,7 @@ import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letdrw/Event'
import Ptap from '~/views/Public/Ptap'
import Utils from '~/utils'
export default {
components: {
......@@ -812,30 +845,58 @@ export default {
},
methods: {
...Event,
avbwthEvent(){
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
this.model.ledgrp.avb.pts.extkey = ''
this.model.ledgrp.blk.avbwthtxt = ''
}
},
avbbykeyEvent() {
if (this.model.ledgrp.rec.avbby == 'P') {
this.model.ledgrp.rec.tenmaxday = 0
this.model.ledgrp.blk.defdet = ''
}
if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
// avbbykeyEvent() {
// if (this.model.ledgrp.rec.avbby == 'P') {
// this.model.ledgrp.rec.tenmaxday = 0
// this.model.ledgrp.blk.defdet = ''
// }
// if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
this.model.ledgrp.blk.defdet = '' //汇票期限置空
this.model.ledgrp.drw.pts.extkey = ''//付款人置空
this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk
}
this.executeCheck('ledgrp.rec.avbby').then((res) => {
if (res.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
// this.model.ledgrp.blk.defdet = '' //汇票期限置空
// this.model.ledgrp.drw.pts.extkey = ''//付款人置空
// this.model.ledgrp.drw.pts.adrblk = '' //名称地址置空.pts.adrblk
// }
// this.executeCheck('ledgrp.rec.avbby').then((res) => {
// if (res.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, res.data)
// }
// })
// },
openRevolvingDetails(val){
if(val ==='' && !(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.$confirm('Are you sure you want to delete the entered Revolving Details?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('ledgrp.rec.revflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.revdat ='';//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
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.ledgrp.rec.revflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
},
created: function () {},
computed: {
......@@ -843,7 +904,8 @@ export default {
get() {
return (
this.model.ledgrp.rec.avbwth == 'A' ||
this.model.ledgrp.rec.avbwth == 'S'
this.model.ledgrp.rec.avbwth == 'S' ||
this.model.ledgrp.rec.avbwth == ''
)
},
},
......
......@@ -147,6 +147,7 @@
<c-checkbox
v-model="model.letp.aamp.aammod.addamtflg"
style="margin-left: 10px"
@change="openAddAmount"
>附加金额</c-checkbox
>
</c-col>
......@@ -415,6 +416,7 @@
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg"
@change="openRevolvingDetails"
>Revolving L/C</c-checkbox
>
</c-col>
......@@ -1107,6 +1109,68 @@ export default {
this.model.ledgrp.rec.apprultxt = ''
}
},
openAddAmount(val){
if(val ==='' && !(this.model.ledgrp.cbs.max2.amt =='0.000'&& this.model.ledgrp.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('letp.aamp.aammod.addamtflg').then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
// this.model.ledgrp.cbs.max2.amt ='0.000';
// this.model.ledgrp.blk.addamtcov = '';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {//No的功能在这里写
this.model.letp.aamp.aammod.addamtflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
openRevolvingDetails(val){
if(val ==='' && !(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.$confirm('Are you sure you want to delete the entered Revolving Details?','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:false
}).then(() => {//yes的执行在这里写
this.executeRule('ledgrp.rec.revflg').then(res => {
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.revdat ='';//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
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.ledgrp.rec.revflg ='X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
},
created: function () {},
}
......
......@@ -129,6 +129,7 @@
:onlySearch="false"
@onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
:disabledExtkey="blkDftatFlag"
:disabled="blkDftatFlag"
>
</c-ptap>
......
<template>
<div class="eibs-tab">
<!-- SF000045 : Type of Items -->
<c-col :span="12">
<c-checkbox v-model="model.chkinc">{{$t('sptneg.CF000040')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.chkrim">{{$t('sptneg.CF000035')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.chkpen">{{$t('sptneg.CF000036')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.chkcor">{{$t('sptneg.CF000039')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.chkaut">{{$t('sptneg.CF000067')}}</c-checkbox>
</c-col>
<!-- SF000049 : Reference -->
<c-col :span="12">
<c-form-item :label="$t('sptneg.SF000049')" prop="selobj">
<c-input v-model="model.selobj" maxlength="32" :placeholder="$t('other.please_enter')+$t('sptneg.SF000049')"></c-input>
</c-form-item>
</c-col>
<!-- SF000050 : Name -->
<c-col :span="12">
<c-form-item label="Selection Name" prop="seltxt">
<c-input v-model="model.seltxt" maxlength="32" :placeholder="$t('other.please_enter')+'Selection Name'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.usfmod.usftxt" data-path=".usfmod.usftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Filter" prop="usfmod.flt">
<c-select v-model="model.usfmod.flt" style="width:100%" :placeholder="$t('other.please_enter')+'Filter'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsfmodShwflt">
{{$t('usfmod.CF000033')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onNegcnt">
{{$t('sptneg.CG000105')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.usfmod.labtxt" data-path=".usfmod.labtxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Selected User Group Set" prop="usfmod.selusgset">
<c-select v-model="model.usfmod.selusgset" style="width:100%" :placeholder="$t('other.please_enter')+'Selected User Group Set'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="User ID" prop="usfmod.usr.extkey">
<c-input v-model="model.usfmod.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Selected User Group" prop="usfmod.selusg">
<c-select v-model="model.usfmod.selusg" style="width:100%" :placeholder="$t('other.please_enter')+'Selected User Group'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Select user branch" prop="usfmod.selusb">
<c-select v-model="model.usfmod.selusb" style="width:100%" :placeholder="$t('other.please_enter')+'Select user branch'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="usfmod.usrget.sdamod.seainf">
<c-input v-model="model.usfmod.usrget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="List of SPT records" prop="sptstm">
<c-input v-model="model.sptstm" :placeholder="$t('other.please_enter')+'List of SPT records'"></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/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000004 : Object -->
<c-col :span="12">
<c-form-item label="Table Used to Store Associated Object" prop="clmmod.wfs.objtyp">
<c-input v-model="model.clmmod.wfs.objtyp" maxlength="6" :placeholder="$t('other.please_enter')+'Table Used to Store Associated Object'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('clmmod.S0000004')" prop="clmmod.wfs.objinr">
<c-input v-model="model.clmmod.wfs.objinr" maxlength="8" :placeholder="$t('other.please_enter')+$t('clmmod.S0000004')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : Object Name -->
<c-col :span="12">
<c-form-item label="External Readable Object Identification" prop="clmmod.wfs.objnam">
<c-input v-model="model.clmmod.wfs.objnam" maxlength="40" :placeholder="$t('other.please_enter')+'External Readable Object Identification'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onClmmodDet">
{{$t('clmmod.CG000002')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="WFEs for transaction for display" prop="clmmod.wfestm">
<c-input v-model="model.clmmod.wfestm" :placeholder="$t('other.please_enter')+'WFEs for transaction for display'"></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/Sptneg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--sptneg PD000042 Menu -->
<el-tab-pane :label="$t('sptneg.PD000042')" name="menu">
<m-menu :model="model" :codes="codes"/>
</el-tab-pane>
<!--clmmod PD000001 Workflow -->
<el-tab-pane :label="$t('clmmod.PD000001')" name="ordpwfm">
<m-ordpwfm :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Sptneg from "~/model/Sptneg"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Sptneg/Check"
import Default from "~/model/Sptneg/Default"
import Pattern from "~/model/Sptneg/Pattern"
import Menu from "./Menu"
import Ordpwfm from "./Ordpwfm"
export default {
name: "Sptneg",
components:{
"m-menu" : Menu,
"m-ordpwfm" : Ordpwfm,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "sptneg",
trnType: "",
model: new Sptneg().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入sptneg交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<ReviewWrapper>
<Betamc></Betamc>
</ReviewWrapper>
</template>
<script>
import Betamc from "~/views/Business/Betamc";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBetamc",
components: { ReviewWrapper, Betamc },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Brtacp></Brtacp>
</ReviewWrapper>
</template>
<script>
import Brtacp from "~/views/Business/Brtacp";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtacp",
components: { ReviewWrapper, Brtacp },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Brtame></Brtame>
</ReviewWrapper>
</template>
<script>
import Brtame from "~/views/Business/Brtame";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtame",
components: { ReviewWrapper, Brtame },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Brtcan></Brtcan>
</ReviewWrapper>
</template>
<script>
import Brtcan from "~/views/Business/Brtcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtcan",
components: { ReviewWrapper, Brtcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Brtcsg></Brtcsg>
</ReviewWrapper>
</template>
<script>
import Brtcsg from "~/views/Business/Brtcsg";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtcsg",
components: { ReviewWrapper, Brtcsg },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Brtdcr></Brtdcr>
</ReviewWrapper>
</template>
<script>
import Brtdcr from "~/views/Business/Brtdcr";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtdcr",
components: { ReviewWrapper, Brtdcr },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Brtlat></Brtlat>
</ReviewWrapper>
</template>
<script>
import Brtlat from "~/views/Business/Brtlat";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtlat",
components: { ReviewWrapper, Brtlat },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Brtset></Brtset>
</ReviewWrapper>
</template>
<script>
import Brtset from "~/views/Business/Brtset";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtset",
components: { ReviewWrapper, Brtset },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Brtsnd></Brtsnd>
</ReviewWrapper>
</template>
<script>
import Brtsnd from "~/views/Business/Brtsnd";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtsnd",
components: { ReviewWrapper, Brtsnd },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Cptcan></Cptcan>
</ReviewWrapper>
</template>
<script>
import Cptcan from "~/views/Business/Cptcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewCptcan",
components: { ReviewWrapper, Cptcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Cptrep></Cptrep>
</ReviewWrapper>
</template>
<script>
import Cptrep from "~/views/Business/Cptrep";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewCptrep",
components: { ReviewWrapper, Cptrep },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Litacp></Litacp>
</ReviewWrapper>
</template>
<script>
import Litacp from "~/views/Business/Litacp";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLitacp",
components: { ReviewWrapper, Litacp },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Litcan></Litcan>
</ReviewWrapper>
</template>
<script>
import Litcan from "~/views/Business/Litcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLitcan",
components: { ReviewWrapper, Litcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Litdck></Litdck>
</ReviewWrapper>
</template>
<script>
import Litdck from "~/views/Business/Litdck";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLitdck",
components: { ReviewWrapper, Litdck },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Litdla></Litdla>
</ReviewWrapper>
</template>
<script>
import Litdla from "~/views/Business/Litdla";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLitdla",
components: { ReviewWrapper, Litdla },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Litrog></Litrog>
</ReviewWrapper>
</template>
<script>
import Litrog from "~/views/Business/Litrog";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLitrog",
components: { ReviewWrapper, Litrog },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
......@@ -73,6 +73,23 @@ import ReviewCctdav from "./Business/ReviewCctdav.vue";
import ReviewCctdcr from "./Business/ReviewCctdcr.vue";
import ReviewCcttra from "./Business/ReviewCcttra.vue";
import ReviewLttopn from "./Business/ReviewLttopn.vue";
import ReviewLitdck from "./Business/ReviewLitdck.vue";
import ReviewBrtlat from "./Business/ReviewBrtlat.vue";
import ReviewBrtsnd from "./Business/ReviewBrtsnd.vue";
import ReviewBrtacp from "./Business/ReviewBrtacp.vue";
import ReviewBrtset from "./Business/ReviewBrtset.vue";
import ReviewBrtdcr from "./Business/ReviewBrtdcr.vue";
import ReviewBrtcsg from "./Business/ReviewBrtcsg.vue";
import ReviewLitrog from "./Business/ReviewLitrog.vue";
import ReviewBrtcan from "./Business/ReviewBrtcan.vue";
import ReviewBrtame from "./Business/ReviewBrtame.vue";
import ReviewLitacp from "./Business/ReviewLitacp.vue";
import ReviewLitdla from "./Business/ReviewLitdla.vue";
import ReviewLitcan from "./Business/ReviewLitcan.vue";
import ReviewBetamc from "./Business/ReviewBetamc.vue";
import ReviewCptcan from "./Business/ReviewCptcan.vue";
import ReviewCptrep from "./Business/ReviewCptrep.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
......@@ -92,6 +109,14 @@ const ReviewRouter = [
{ path: "brtdck", component: ReviewBrtdck, name: "ReviewBrtdck", meta: { title: "复核-Brtdck" } },
{ path: "bdtudp", component: ReviewBdtudp, name: "ReviewBdtudp", meta: { title: "复核-Bdtudp" } },
{ path: "brtudp", component: ReviewBrtudp, name: "ReviewBrtudp", meta: { title: "复核-Brtudp" } },
{ path: "brtlat", component: ReviewBrtlat, name: "ReviewBrtlat", meta: { title: "复核-Brtlat" } },
{ path: "brtsnd", component: ReviewBrtsnd, name: "ReviewBrtsnd", meta: { title: "复核-Brtsnd" } },
{ path: "brtacp", component: ReviewBrtacp, name: "ReviewBrtacp", meta: { title: "复核-Brtacp" } },
{ path: "brtcan", component: ReviewBrtcan, name: "ReviewBrtcan", meta: { title: "复核-Brtcan" } },
{ path: "brtame", component: ReviewBrtame, name: "ReviewBrtame", meta: { title: "复核-Brtame" } },
{ path: "brtset", component: ReviewBrtset, name: "ReviewBrtset", meta: { title: "复核-Brtset" } },
{ path: "brtdcr", component: ReviewBrtdcr, name: "ReviewBrtdcr", meta: { title: "复核-Brtdcr" } },
{ path: "brtcsg", component: ReviewBrtcsg, name: "ReviewBrtcsg", meta: { title: "复核-Brtcsg" } },
{ path: "brteus", component: ReviewBrteus, name: "ReviewBrteus", meta: { title: "复核-Brteus" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
{ path: "bftsnd", component: ReviewBftsnd, name: "ReviewBftsnd", meta: { title: "复核-Bftsnd" } },
......@@ -120,8 +145,13 @@ const ReviewRouter = [
{ path: "betsnd", component: ReviewBetsnd, name: "ReviewBetsnd", meta: { title: "复核-Betsnd" } },
{ path: "betcan", component: ReviewBetcan, name: "ReviewBetcan", meta: { title: "复核-Betcan" } },
{ path: "litopn", component: ReviewLitopn, name: "ReviewLitopn", meta: { title: "复核-Litopn" } },
{ path: "litrog", component: ReviewLitrog, name: "ReviewLitrog", meta: { title: "复核-Litrog" } },
{ path: "bftset", component: ReviewBftset, name: "ReviewBftset", meta: { title: "复核-Bftset" } },
{ path: "litame", component: ReviewLitame, name: "ReviewLitame", meta: { title: "复核-Litame" } },
{ path: "litdck", component: ReviewLitdck, name: "ReviewLitdck", meta: { title: "复核-Litdck" } },
{ path: "litacp", component: ReviewLitacp, name: "ReviewLitacp", meta: { title: "复核-Litacp" } },
{ path: "litdla", component: ReviewLitdla, name: "ReviewLitdla", meta: { title: "复核-Litdla" } },
{ path: "litcan", component: ReviewLitcan, name: "ReviewLitcan", meta: { title: "复核-Litcan" } },
{ path: "gitcom", component: ReviewGitcom, name: "ReviewGitcom", meta: { title: "复核-Gitcom" } },
{ path: "getopn", component: ReviewGetopn, name: "ReviewGetopn", meta: { title: "复核-Getopn" } },
{ path: "gitpop", component: ReviewGitpop, name: "ReviewGitpop", meta: { title: "复核-Gitpop" } },
......@@ -132,6 +162,7 @@ const ReviewRouter = [
{ path: "bftdrv", component: ReviewBftdrv, name: "ReviewBftdrv", meta: { title: "复核-Bftdrv" } },
{ path: "letdrv", component: ReviewLetdrv, name: "ReviewLetdrv", meta: { title: "复核-Letdrv" } },
{ path: "betacc", component: ReviewBetacc, name: "ReviewBetacc", meta: { title: "复核-Betacc" } },
{ path: "betamc", component: ReviewBetamc, name: "ReviewBetamc", meta: { title: "复核-Betamc" } },
{ path: "ditame", component: ReviewDitame, name: "ReviewDitame", meta: { title: "复核-Ditame" } },
{ path: "letrsv", component: ReviewLetrsv, name: "ReviewLetrsv", meta: { title: "复核-Letrsv" } },
{ path: "betrcl", component: ReviewBetrcl, name: "ReviewBetrcl", meta: { title: "复核-Betrcl" } },
......@@ -163,6 +194,8 @@ const ReviewRouter = [
{ path: "Cptati", component: ReviewCptati, name: "ReviewCptati", meta: { title: "复核-Cptati" } },
{ 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" } },
];
......
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