Commit 7fa09319 by wangyanjiao

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 d33966ba c674389a
......@@ -4991,6 +4991,10 @@ const CodeTable = {
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
],
rebkpflg1: [
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
],
refper: [
{ label: "Same Week", value: "W=" },
{ label: "Same Half-Year", value: "H=" },
......
......@@ -43,45 +43,23 @@ export default {
}
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.frmdat;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.tildat;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
// this.updateModel(rtnmsg.data);
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
let rtnmsg = await this.executeRule("serbut")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.cnystm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.searol = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.curtxt1 = "";
this.model.infcon.nam = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.doctypcod = "";
},
this.model.cnytyp = ""
this.model.ownref = ""
this.model.frmdat = ""
this.model.tildat = ""
this.model.ownextkey = ""
this.stmData.data = ""
}
}
\ No newline at end of file
......@@ -5,8 +5,11 @@ import Utils from "~/utils"
*/
let checkObj = {
"trncorco.inidatfro" :null,
"coninf.conexedat" :null,
"trncorco.inidattil" :null,
"trn.inr" :null,
"ptyextkey" :null,
"trn.inftxt" :null,
}
for (const key in checkObj) {
......
......@@ -6,11 +6,24 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"trn.inr" :Utils.defaultFunction,
"trncorco.trnstm" :Utils.defaultFunction,
"coninf.usr.extkey" :Utils.defaultFunction,
"recpan.usr.extkey" :Utils.defaultFunction,
"coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"coninf.oitset.oit.inflev" :Utils.defaultFunction,
"trn.relflg" :Utils.defaultFunction,
"trn.ownref" :Utils.defaultFunction,
"recpan.atp.cod" :Utils.defaultFunction,
"atp.cod" :Utils.defaultFunction,
"trncorco.usfmod.flt" :Utils.defaultFunction,
"trncorco.usfmod.usr.extkey" :Utils.defaultFunction,
"trncorco.usfmod.selusg" :Utils.defaultFunction,
"trncorco.usfmod.selusgset" :Utils.defaultFunction,
"trn.infdsp" :Utils.defaultFunction,
"trn.inftxt" :Utils.defaultFunction,
"recpan.ackgrp.rec.sndref" :Utils.defaultFunction,
"coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"coninf.oitinf.oit.inflev" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,7 +2,7 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onUsfmodShwflt(){
async onUsfmodShwflt(){
let rtnmsg = await this.executeRule("usfmod.shwflt")
if(rtnmsg.respCode == SUCCESS)
{
......@@ -134,5 +134,141 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanDet(){
let rtnmsg = await this.executeRule("recpan.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButshw(){
let rtnmsg = await this.executeRule("syswrn.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanNotmap(){
let rtnmsg = await this.executeRule("recpan.notmap")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanButspt(){
let rtnmsg = await this.executeRule("recpan.butspt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanInc(){
let rtnmsg = await this.executeRule("recpan.inc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanButord(){
let rtnmsg = await this.executeRule("recpan.butord")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodImage(){
let rtnmsg = await this.executeRule("imgmod.image")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanIncben(){
let rtnmsg = await this.executeRule("recpan.incben")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInftxtButtxmsel(){
let rtnmsg = await this.executeRule("inftxt.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodElcimage(){
let rtnmsg = await this.executeRule("imgmod.elcimage")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleSearch() {
let rtnmsg = await this.executeRule("searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.trncorco_trnstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
}
}
\ No newline at end of file
......@@ -70,4 +70,167 @@ export default {
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trn.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.con":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.inr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"trn.reloricur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trn.reloriamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trn.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trn.usg":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"trn.relreq":[
{type: "string", required: false, message: "必输项"},
{max: 9,message:"长度不能超过9"}
],
"trn.relres":[
{type: "string", required: false, message: "必输项"},
{max: 9,message:"长度不能超过9"}
],
"trn.cortrninr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trn.exedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recpan.cretrs.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.cretrs.dattim":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"recpan.ackgrp.rec.sndref":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.smhstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trn.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"recpan.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.trsstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"wfmmod.wfs.objinr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"wfmmod.wfs.objnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.wfestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.trostm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"subp.subpenablk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"orestr":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
......@@ -43,6 +43,99 @@ export default class Cptrel{
amt2:"", // Amount .amt2
ptyextkey:"", // Party extkey .ptyextkey
branch:"", // branch .branch
recpan:{
cpltxt:"", // Completion text .recpan.cpltxt
spt:{
sta:"", // Status .recpan.spt.sta
},
ord:{
sta:"", // Status .recpan.ord.sta
},
recget:{
sdamod:{
seainf:"", // Ident No. .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
atp:{
cod:"", // Transaction ID .recpan.atp.cod
},
atpget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recpan.atpget.sdamod.dadsnd
seainf:"", // Transaction .recpan.atpget.sdamod.seainf
},
},
smhstm:"", // Documents .recpan.smhstm
usr:{
extkey:"", // User ID .recpan.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .recpan.usrget.sdamod.seainf
},
},
trsstm:"", // Signatures .recpan.trsstm
con:"", // Reference .recpan.con
cretrs:{
usr:"", // Entered by .recpan.cretrs.usr
dattim:"", // Timestamp .recpan.cretrs.dattim
},
ackgrp:{
rec:{
sndref:"", // Send to SOP/CASmf reference .recpan.ackgrp.rec.sndref
},
},
wfestm:"", // WFEs for transaction for display .recpan.wfestm
trostm:"", // TROs for transaction for display .recpan.trostm
},
trn:{
ownref:"", // Reference .trn.ownref
inr:"", // Transaction Key .trn.inr
objnam:"", // External Readable Object Identification .trn.objnam
reloricur:"", // Relevant Amount .trn.reloricur
reloriamt:"", // Relevant Amount for Release in Original Currency .trn.reloriamt
relflg:"", // Release Status of Transaction .trn.relflg
usr:"", // Responsible .trn.usr
usg:"", // Responsible Group .trn.usg
relreq:"", // Signatures Required/Obtained .trn.relreq
relres:"", // Applied Signatures .trn.relres
cortrninr:"", // Based on Ident No. .trn.cortrninr
exedat:"", // Execution Date .trn.exedat
inftxt:"", // Infotext .trn.inftxt
infdsp:"", // Infoflag .trn.infdsp
},
wfmmod:{
wfs:{
objnam:"", // External Readable Object Identification .wfmmod.wfs.objnam
objtyp:"", // Table Used to Store Associated Object .wfmmod.wfs.objtyp
objinr:"", // Object .wfmmod.wfs.objinr
},
},
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .coninf.conexedat
usr:{
extkey:"", // User ID .coninf.usr.extkey
},
},
subp:{
subpenablk:"", // XMLPanel subpena的内置block .subp.subpenablk
},
orestr:"", // stream of ore records .orestr
pageId: "" // ctx的key
}
}
......
......@@ -6,6 +6,10 @@ import Pub from "../Public"
export default class Ditdav {
constructor() {
this.data = {
litapll1blk: "",
litapll2blk: "",
litapll3blk: "",
litapll4blk: "",
didgrp:{
rec:{
ownref:"", // 参考号 .didgrp.rec.ownref
......
......@@ -245,9 +245,9 @@
<c-docpre
:model="model"
:argadr="{
path: 'bcdgrp.blk.docpre',
path: 'SEMFLG',
grp: 'bctp',
rol: 'blk',
code: 'docpre'
}"></c-docpre>
</c-col>
</c-col>
......
......@@ -363,7 +363,7 @@
placeholder="请选择Booking Procedure"
>
<el-option
v-for="item in codes.rebkpflg"
v-for="item in codes.rebkpflg1"
:key="item.value"
:label="item.label"
:value="item.value"
......
......@@ -349,16 +349,17 @@ export default {
},
methods: {
...Event,
multipleSelect() {
console.log(111);
},
change() {
if (this.model.bodgrp.rec.focflg) {
async change() {
if (this.model.bodgrp.rec.focflg === "X") {
this.isDisabled = true;
this.model.setmod.redamt = this.model.setmod.docamt;
let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_matpertyp;
} else {
this.isDisabled = false;
this.model.setmod.redamt = "0.00";
let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
}
},
async multipleSelect(selection) {
......
......@@ -49,6 +49,10 @@
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
......@@ -100,6 +104,8 @@ import Pattern from "~/model/Brtdcr/Pattern"
import Utlp from "./Utlp"
import Brtdcrd from "./Brtdcrd"
import Mt750p from "./Mt750p"
import Glepan from "~/views/Public/Glepan";
// import Engp from "./Engp"
// import Setpan from "./Setpan"
......@@ -128,6 +134,8 @@ export default {
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
"m-glepan": Glepan,
},
provide() {
return {
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.coninf.oitinf.labinftxt" data-path=".coninf.oitinf.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="coninf.oitinf.oit.inflev">
<c-select v-model="model.coninf.oitinf.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.coninf.oitset.labinftxt" data-path=".coninf.oitset.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="coninf.oitset.oit.inflev">
<c-select v-model="model.coninf.oitset.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="coninf.conexedat">
<c-date-picker type="date" v-model="model.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="coninf.usr.extkey">
<c-input v-model="model.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></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/Cptrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SG000136 : 操作类型描述 -->
<!-- SG000155 : 操作流程 -->
<!-- SG000137 : TRN---Trn created -->
<c-col :span="12">
<c-form-item label="stream of ore records" prop="orestr">
<c-input v-model="model.orestr" :placeholder="$t('other.please_enter')+'stream of ore records'"></c-input>
</c-form-item>
</c-col>
<!-- SG000143 : BRK---Break -->
<!-- SG000138 : COR---Correction -->
<!-- SG000139 : DEL---Trn deleted -->
<!-- SG000140 : REL---Trn released -->
<!-- SG000142 : INC---Message received -->
<!-- SG000141 : DES---Spt deleted -->
<!-- SG000144 : SPT---Spt Released -->
<!-- SG000145 : ROU---ReRounting -->
<!-- SG000152 : CAN---Order Canceled -->
<!-- SG000153 : SIG---Signature -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptrel/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">
<c-form-item label="XMLPanel subpena的内置block" prop="subp.subpenablk">
<c-input type="textarea" v-model="model.subp.subpenablk" maxlength="200" show-word-limit :placeholder="$t('other.please_enter')+'XMLPanel subpena的内置block'" ></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/Cptrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000194 : Reference -->
<!-- S0000195 : Transaction Key -->
<!-- SF000196 : List of preceding and succeeding transactions with possible dependencies in case of correction / deletion -->
<c-col :span="12">
<c-form-item label="TROs for transaction for display" prop="recpan.trostm">
<c-input v-model="model.recpan.trostm" :placeholder="$t('other.please_enter')+'TROs 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/Cptrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000016 : Object -->
<c-col :span="12">
<el-form-item label="Table Used to Store Associated Object" prop="wfmmod.wfs.objtyp">
<c-select v-model="model.wfmmod.wfs.objtyp" style="width:100%" :placeholder="$t('other.please_enter')+'Table Used to Store Associated Object'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('trnp.S0000016')" prop="wfmmod.wfs.objinr">
<c-input v-model="model.wfmmod.wfs.objinr" maxlength="8" :placeholder="$t('other.please_enter')+$t('trnp.S0000016')"></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : Object Name -->
<c-col :span="12">
<c-form-item label="External Readable Object Identification" prop="wfmmod.wfs.objnam">
<c-input v-model="model.wfmmod.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-form-item label="WFEs for transaction for display" prop="recpan.wfestm">
<c-input v-model="model.recpan.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/Cptrel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -102,7 +102,7 @@
></c-input>
</c-col>
<c-col :span="4" v-if="model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox disabled v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
<c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
</c-col>
</c-col>
......@@ -149,7 +149,7 @@
</c-col> -->
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Incoming Purpose " prop="gidgrp.rec.purposin">
<el-form-item v-show="model.gitp.swiftflg=='Y'" label="Incoming Purpose " prop="gidgrp.rec.purposin">
<c-select :disabled="model.gitp.inc760==''" v-model="model.gidgrp.rec.purposin" style="width:100%" placeholder="请选择Incoming Purpose ">
<el-option
v-for="item in codes.purposin"
......@@ -219,6 +219,18 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
:code="codes.hndtyp2"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
......@@ -266,6 +278,24 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ISCO'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp4"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ISSU'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
......@@ -274,6 +304,24 @@
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp3"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp5"
:key="item.value"
:label="item.label"
......@@ -759,7 +807,7 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg!='Y'" class="centerLable">
<c-col :span="4" v-if="model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.teskeyunc">
Test Key Unconfirmity
</c-checkbox>
......@@ -845,19 +893,9 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input :disabled="model.gidgrp.rec.hndtyp!='OT'" rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
<c-input rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap v-if="(model.gidgrp.rec.hndtyp=='OL'||model.gidgrp.rec.hndtyp=='')&&model.gitp.swiftflg!='Y'" :model="model" :argadr="{
title: 'Adv/Rcv bank',
grp: 'gidgrp',
rol: 'adv',
}"
@onAplpDet="onAdvpDet">
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Issuing Bank" prop="gidgrp.iss.pts.ref">
......@@ -916,7 +954,7 @@
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button :disabled="model.gidgrp.rec.hndtyp=='OT'" size="small" type="primary" @click="onBenpDet">
<c-button disabled size="small" type="primary" @click="onBenpDet">
Details
</c-button>
</template>
......@@ -925,9 +963,10 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input :disabled="model.gidgrp.rec.hndtyp=='OT'" rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
<c-input disabled rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="被保证人" prop="gidgrp.gidcxm.warran">
<c-input
......
......@@ -38,11 +38,11 @@
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000210 Undertaking Text -->
<!-- <el-tab-pane label="Undertaking Text" name="gidtxtp">
<el-tab-pane label="Undertaking Text" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes"/>
</el-tab-pane> -->
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.legfrm=='STBY'||model.gidgrp.rec.purpos=='ACNF'" label="Confirmation Details" name="confp">
<el-tab-pane v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.legfrm=='STBY'||model.gidgrp.rec.purpos=='ACNF')" label="Confirmation Details" name="confp">
<m-confp :model="model" :codes="codes"/>
</el-tab-pane>
......
......@@ -53,23 +53,19 @@
<c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadr">
<c-input :disabled="model.gidgrp.rec.delto==''" type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
<c-input :disabled="model.gidgrp.rec.delto==''" rows="4" type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond">
<c-input disabled type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
<c-input disabled type="textarea" rows="4" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Charges Condition">
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
<c-select v-model="model.gidgrp.rec.chato" style="width:100%" placeholder="请选择Own Charges Borne by">
<el-option
......@@ -94,7 +90,7 @@
<c-col :span="24">
<el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt">
<c-fullbox>
<c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<c-input type="textarea" rows="4" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel">
...
......@@ -103,10 +99,7 @@
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="13">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Presentation Instr." prop="gidgrp.blk.preper">
<c-input :disabled="model.gitp.prepermodflg == ''" type="textarea" :rows="5" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input>
......@@ -122,6 +115,8 @@
vs. &History
</c-button>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
......
......@@ -34,7 +34,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input disabled type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
<c-input disabled rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
......
......@@ -31,7 +31,9 @@
<!--PD000043 -->
<el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
<c-content>
<m-ptyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gitp.swiftflg=='Y'||model.gitp.swiftflg==''" label="Presentation/Delivery" name="preperp">
......
......@@ -333,7 +333,8 @@ export default {
'1 1 "编号" 200',
'2 2 "交易名称" 100',
'3 3 "日期" 200',
'4 4 "状态" 50',
// '4 4 "状态" 100',
{ index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN },
'5 5 "币种" 80',
'6 6 "金额" 80',
],
......@@ -344,13 +345,13 @@ export default {
columns: [
'2 1 "Reference" 100 ',
'3 2 "Resp. User" 100 ',
'6 3 "Party Number" 150 ',
'6 3 "Applicant Party Number" 200 ',
'7 4 "Applicant" 150 ',
'8 5 "Party Number" 150 ',
'8 5 "Beneficiary Party Number" 200 ',
'9 6 "Beneficiary" 150 ',
'10 7 "Party Number" 150 ',
'10 7 "Issuing Party Number" 200 ',
'11 8 "Issuing Bank" 150 ',
'12 9 "Party Number" 150 ',
'12 9 "Purchasing Party Number" 200 ',
'13 10 "Purchasing bank" 150 ',
'1 11 "转卖日期" 150 ',
'4 12 "Opened" 150 ',
......
......@@ -64,7 +64,7 @@
placeholder="请选择贸易类型"
>
<el-option
v-for="item in codes.mylx"
v-for="item in codes.mytype"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -675,7 +675,8 @@ export default {
'1 1 "编号" 200',
'2 2 "交易名称" 100',
'3 3 "日期" 200',
'4 4 "状态" 50',
// '4 4 "状态" 50',
{ index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN },
'5 5 "币种" 80',
'6 6 "金额" 80',
],
......@@ -686,11 +687,11 @@ export default {
'1 1 "Reference" 100 ',
'2 2 "Resp. User" 100',
'3 3 "Tenor day" 100',
'7 4 "Party Number" 150 ',
'7 4 "Applicant Party Number" 200 ',
'8 5 "Applicant" 150 ',
'9 6 "Party Number" 150 ',
'9 6 "Beneficiary Party Number" 200 ',
'10 7 "Beneficiary" 150 ',
'11 8 "Party Number" 150 ',
'11 8 "Issuing Party Number" 200 ',
'12 9 "Issuing Bank" 150 ',
'4 10 "Opened" 150 ',
'5 11 "Expired" 150 ',
......
......@@ -16,6 +16,7 @@
</c-col>
<!-- L/C Amount -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="L/C Amount" prop="ledgrp.cbs.nom1.cur">
<c-select
......@@ -27,7 +28,6 @@
></c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input
......@@ -38,14 +38,14 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-checkbox v-model="model.letp.letp0.aammod.addamtflg" disabled
>Add. Amount</c-checkbox
>
</c-col>
</c-col>
<!-- Open Amount -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
<c-select
......@@ -57,7 +57,6 @@
></c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input
......@@ -68,12 +67,12 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-checkbox v-model="model.ledgrp.rec.revflg" disabled
>Revolving L/C</c-checkbox
>
</c-col>
</c-col>
<!-- Available with -->
<c-col :span="24">
<el-form-item label="Available with" prop="ledgrp.avbnam">
......@@ -93,6 +92,7 @@
v-model="model.ledgrp.rec.avbby"
style="width: 100%"
placeholder="请选择Available by [AVBBY0]"
:code="codes.avbby0"
disabled
>
</c-select>
......@@ -165,6 +165,7 @@
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择Form of L/C"
:code="codes.lcrtyp1"
disabled
>
</c-select>
......@@ -178,6 +179,7 @@
v-model="model.ledgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择Confirmation Instruct."
:code="codes.cnfins"
disabled
>
</c-select>
......@@ -190,6 +192,7 @@
v-model="model.ledgrp.rec.cnfsta"
style="width: 100%"
placeholder="请选择Confirmation Status "
:code="codes.cnfsta"
disabled
>
</c-select>
......@@ -263,7 +266,7 @@
<!-- =========================== 右边 ==========================-->
<c-col :span="11" :offset="1">
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="name" prop="letp.letp0.recget.sdamod.dadsnd">
<c-input
v-model="model.letp.letp0.recget.sdamod.dadsnd"
......@@ -271,10 +274,10 @@
disabled
></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nam">
<c-col :span="24">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
......@@ -308,7 +311,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Issuer Ref." prop="ledgrp.iss.pts.ref">
<el-form-item label="Iss.Bank Original LC No." prop="ledgrp.iss.pts.ref">
<c-input
v-model="model.ledgrp.iss.pts.ref"
maxlength="16"
......@@ -330,7 +333,7 @@
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Beneficiary Ref." prop="ledgrp.ben.pts.ref">
<c-input
v-model="model.ledgrp.ben.pts.ref"
......@@ -341,12 +344,12 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.ben.pts.nam">
<c-col :span="24">
<el-form-item label="" prop="ledgrp.ben.pts.nam">
<c-input
v-model="model.ledgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入Date/Place of Expiry"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
......
......@@ -55,9 +55,9 @@
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Booking" name="glepan">
<!-- <el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
......
......@@ -331,7 +331,7 @@
v-model="model.ledgrp.rec.apprul"
style="width: 100%"
placeholder="请选择适用规则"
:code="codes.apprul"
:code="codes.apprul1"
@change="apprulChange"
>
</c-select>
......@@ -354,7 +354,7 @@
v-model="model.ledgrp.rec.shppar"
style="width: 100%"
placeholder="请选择分批装运"
:code="codes.shppars18"
:code="codes.shptrss18"
>
</c-select>
</el-form-item>
......
......@@ -339,7 +339,7 @@
v-model="model.ledgrp.rec.apprul"
style="width: 100%"
placeholder="请选择适用规则"
:code="codes.apprul"
:code="codes.apprul1"
@change="apprulChange"
>
</c-select>
......
<template>
<c-page title="出口信用证预通知">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮-->
<!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮-->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
......@@ -28,7 +28,12 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--PD000017 -->
<el-tab-pane label="内容" name="ovwp">
<c-content>
......@@ -36,9 +41,15 @@
</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"/>
<!--PD000001 Additional Amount 附加金额/额外款项-->
<el-tab-pane
label="附加金额"
name="aamp"
v-if="model.letp.aamp.aammod.addamtflg == 'X'"
>
<c-content>
<m-aamp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000063 -->
......@@ -57,17 +68,23 @@
<!--PD000055 -->
<el-tab-pane label="货物说明" name="dogp">
<m-dogp :model="model" :codes="codes" />
<c-content>
<m-dogp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane label="单据要求" name="dorp">
<m-dorp :model="model" :codes="codes" />
<c-content>
<m-dorp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000060 -->
<el-tab-pane label="其他条款" name="adcp">
<m-adcp :model="model" :codes="codes" />
<c-content>
<m-adcp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
......@@ -79,28 +96,45 @@
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000422 -->
<el-tab-pane label="银行专用特殊付款条件" name="spcrcvp" v-if="model.ledgrp.rec.spcrcbflg=='X'">
<m-spcrcvp :model="model" :codes="codes"/>
<!--PD000422 -->
<el-tab-pane
label="银行专用特殊付款条件"
name="spcrcvp"
v-if="model.ledgrp.rec.spcrcbflg == 'X'"
>
<c-content>
<m-spcrcvp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000394 -->
<el-tab-pane label="受益人特殊付款条件" name="spcbenp" v-if="model.ledgrp.rec.spcbenflg=='X'">
<m-spcbenp :model="model" :codes="codes"/>
<!--PD000394 -->
<el-tab-pane
label="受益人特殊付款条件"
name="spcbenp"
v-if="model.ledgrp.rec.spcbenflg == 'X'"
>
<c-content>
<m-spcbenp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
......@@ -112,90 +146,89 @@
</c-page>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Letnot from "~/model/Letnot";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
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 Api from '~/service/Api'
import Utils from '~/utils/index'
import CodeTable from '~/config/CodeTable'
import Letnot from '~/model/Letnot'
import commonProcess from '~/mixin/commonProcess'
import commonFuncs from '~/mixin/commonFuncs'
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 Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Coninfp from '~/views/Public/Coninfp'
import Setpan from '~/views/Public/Setpan'
import Docpan from '~/views/Public/Docpan'
import Doctre from '~/views/Public/Doctre'
export default {
name: "Letnot",
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-ovwp': Ovwp,
'm-aamp': Aamp,
'm-detp': Detp,
'm-ptyp': Ptyp,
'm-dogp': Dogp,
'm-dorp': Dorp,
'm-adcp': Adcp,
// "m-notcha": Notcha,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-spcrcvp" : Spcrcvp,
"m-spcbenp" : Spcbenp,
'm-setpan': Setpan,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
'm-spcrcvp': Spcrcvp,
'm-spcbenp': Spcbenp,
},
provide() {
return {
root: this,
};
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "letnot",
tabVal: 'ovwp',
trnName: 'letnot',
model: new Letnot().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
}
},
methods: {
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入letnot交易");
let rtnmsg = await this.init({});
console.log('进入letnot交易')
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//更新数据
// Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
this.restoreDisplay()
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
this.$notify.error({ title: '错误', message: '服务请求失败!' })
}
},
};
}
</script>
<style>
</style>
<style></style>
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