Commit fb82f564 by Wuyuqiu

交易Bug修改,lttcan交易页面修改及初始化

parent 17f46ec2
......@@ -216,6 +216,8 @@ export default class Betset {
},
},
pageId: "", // ctx的key
betprbl1blk:"",
betissl1blk:"",
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
......
......@@ -4,9 +4,23 @@ import Utils from "~/utils"
* Lttcan Check规则
*/
let checkObj = {
"lttp0.recget.sdamod.dadsnd" :null,
"rmbclm.rmbrmb.pts.extkey" :null,
"rmbclm.acwacw.pts.extkey" :null,
"rmbclm.acwacw.pts.adrblk" :null,
"setmod.dspflg" :null,
"sndmsg" :null,
"rmbclm.bebbeb.adrelc" :null,
"rmbclm.acwacw.namelc" :null,
"mtabut.coninf.conexedat" :null,
"lttcanp.trnrec.strinf" :null,
"rmbclm.bebbeb.namelc" :null,
"rmbclm.rmbrmb.pts.adrblk" :null,
"setmod.docamt" :null,
"rmbclm.rmbrmb.adrelc" :null,
"rmbclm.bebbeb.pts.adrblk" :null,
"rmbclm.acwacw.adrelc" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
}
for (const key in checkObj) {
......
......@@ -6,15 +6,43 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ltdgrp.avt.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.adrelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.namelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"rmbclm.acwacw.pts.extkey" :Utils.defaultFunction,
"rmbclm.acwacw.adrelc" :Utils.defaultFunction,
"rmbclm.acwacw.namelc" :Utils.defaultFunction,
"rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.adt.pts.nam" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction,
"rmbclm.bebbeb.adrelc" :Utils.defaultFunction,
"rmbclm.bebbeb.namelc" :Utils.defaultFunction,
"rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.be1.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ltdgrp.avt.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"ltdgrp.rec.expdat" :Utils.defaultFunction,
"ltdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"ltdgrp.adt.pts.nam" :Utils.defaultFunction,
"rmbclm.rmbrol" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ltdgrp.be2.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,18 +2,140 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
onSeainf() {
},
async onCanletButtxmsel() {
let rtnmsg = await this.executeRule("canlet.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onCanletButtxmsel(){
let rtnmsg = await this.executeRule("canlet.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 onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcwpDet(){
let rtnmsg = await this.executeRule("acwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.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 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 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 onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf(){},
onAvbpDet(){},
}
\ No newline at end of file
......@@ -95,4 +95,186 @@ export default {
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"rmbclm.rmbrmb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbrmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.rmbrmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string",max: 999,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwacw.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.acwacw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebbeb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.bebbeb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Lttcan{
constructor () {
this.data = {
lttp0:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .lttp0.recget.sdamod.dadsnd
seainf:"", // .lttp0.recget.sdamod.seainf
},
},
ledget:{
sdamod:{
seainf:"", // .lttp0.ledget.sdamod.seainf
},
},
aammod:{
addamtflg:"", // Add. Amount .lttp0.aammod.addamtflg
},
import Pub from "../Public"
export default class Lttcan {
constructor() {
this.data = {
lttp0: {
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .lttp0.recget.sdamod.dadsnd
seainf: "", // .lttp0.recget.sdamod.seainf
},
},
ledget: {
sdamod: {
seainf: "", // .lttp0.ledget.sdamod.seainf
},
},
aammod: {
addamtflg: "", // Add. Amount .lttp0.aammod.addamtflg
},
},
ledgrp: {
rec: {
ownref: "", // L/C Reference .ledgrp.rec.ownref
nam: "", // Name .ledgrp.rec.nam
},
},
ltdgrp: {
rec: {
ownref: "", // Transfer Reference .ltdgrp.rec.ownref
nam: "", // Name .ltdgrp.rec.nam
avbby: "", // Available by .ltdgrp.rec.avbby
shpdat: "", // Shipment Date .ltdgrp.rec.shpdat
opndat: "", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp: "", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat: "", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc: "", // Date / Place of Expiry .ltdgrp.rec.expplc
},
cbs: {
nom1: {
cur: "", // Transfer L/C Amount .ltdgrp.cbs.nom1.cur
amt: "", // Balance .ltdgrp.cbs.nom1.amt
},
opn1: {
cur: "", // Open Amount .ltdgrp.cbs.opn1.cur
amt: "", // Balance .ltdgrp.cbs.opn1.amt
},
},
avt: {
pts: new Pts().data,
},
be1: {
pts: new Pts().data,
},
be2: {
pts: new Pts().data,
},
adt: {
pts: new Pts().data,
},
},
lttcanp: {
trnrec: {
strinf: "", // Narrative .lttcanp.trnrec.strinf
},
},
sndmsg: "", // Send Message .sndmsg
rmbclm: {
rmbrmb: {
pts: new Pts().data,
namelc: "", // 名称 .rmbclm.rmbrmb.namelc
adrelc: "", // 地址 .rmbclm.rmbrmb.adrelc
dbfadrblkcn: "", // Chinese address .rmbclm.rmbrmb.dbfadrblkcn
},
rmbp: {
ptsget: {
sdamod: {
seainf: "", // .rmbclm.rmbp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .rmbclm.rmbp.ptsget.sdamod.dadsnd
},
ledgrp:{
rec:{
ownref:"", // L/C Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
},
},
},
acwacw: {
pts: new Pts().data,
namelc: "", // 名称 .rmbclm.acwacw.namelc
adrelc: "", // 地址 .rmbclm.acwacw.adrelc
dbfadrblkcn: "", // Chinese address .rmbclm.acwacw.dbfadrblkcn
},
acwp: {
ptsget: {
sdamod: {
seainf: "", // .rmbclm.acwp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .rmbclm.acwp.ptsget.sdamod.dadsnd
},
ltdgrp:{
rec:{
ownref:"", // Transfer Reference .ltdgrp.rec.ownref
nam:"", // Name .ltdgrp.rec.nam
avbby:"", // Available by .ltdgrp.rec.avbby
shpdat:"", // Shipment Date .ltdgrp.rec.shpdat
opndat:"", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp:"", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat:"", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc:"", // Date / Place of Expiry .ltdgrp.rec.expplc
},
cbs:{
nom1:{
cur:"", // Transfer L/C Amount .ltdgrp.cbs.nom1.cur
amt:"", // Balance .ltdgrp.cbs.nom1.amt
},
opn1:{
cur:"", // Open Amount .ltdgrp.cbs.opn1.cur
amt:"", // Balance .ltdgrp.cbs.opn1.amt
},
},
avt:{
pts:new Pts().data,
},
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
adt:{
pts:new Pts().data,
},
},
},
bebbeb: {
pts: new Pts().data,
namelc: "", // 名称 .rmbclm.bebbeb.namelc
adrelc: "", // 地址 .rmbclm.bebbeb.adrelc
dbfadrblkcn: "", // Chinese address .rmbclm.bebbeb.dbfadrblkcn
},
bebp: {
ptsget: {
sdamod: {
seainf: "", // .rmbclm.bebp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .rmbclm.bebp.ptsget.sdamod.dadsnd
},
lttcanp:{
trnrec:{
strinf:"", // Narrative .lttcanp.trnrec.strinf
},
},
sndmsg:"", // Send Message .sndmsg
pageId: "" // ctx的key
}
}
},
},
rmbrol: "", // 偿付行 .rmbclm.rmbrol
valdat: "", // value date .rmbclm.valdat
},
pageId: "", // ctx的key
lttbe1l1blk: "",
lttbe2l1blk: "",
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
mtabut: new Pub().data.Mtabut,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<!-- Available with -->
<c-col :span="24">
<el-form-item label="Reimbursement Bank" prop="rmbclm.rmbrol">
<c-select
v-model="model.rmbclm.rmbrol"
style="width: 100%"
placeholder="Please select Reimbursement Bank"
:code="codes.rolall"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'rmbrmb',
}"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
:disabled="
!( model.rmbclm.rmbrol == 'OTH')
"
:disabledExtkey="!(model.rmbclm.rmbrol == 'RMB'||model.rmbclm.rmbrol == 'OTH')"
:disabledRef="!(model.rmbclm.rmbrol == 'RMB'||model.rmbclm.rmbrol == 'OTH')"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'acwacw',
}"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'bebbeb',
}"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="value date" prop="rmbclm.valdat">
<c-date-picker
type="date"
v-model="model.rmbclm.valdat"
style="width: 100%"
placeholder="Please select value date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttcan/Event";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
......@@ -10,15 +25,46 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000002 -->
<el-tab-pane label="canp" name="canp">
<c-content>
<m-canp :model="model" :codes="codes" />
</c-content>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--lttcan PD000002 Cancelation -->
<el-tab-pane label="Cancelation" name="canp">
<m-canp :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--lttcan PD000009 MT 742 Reimbursement Claim -->
<el-tab-pane label="MT 742 Reimbursement Claim" name="rcldetp">
<m-rcldetp :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
......@@ -26,22 +72,33 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Lttcan from "~/model/Lttcan";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Lttcan/Check";
import Default from "~/model/Lttcan/Default";
import Pattern from "~/model/Lttcan/Pattern";
import Canp from "./Canp";
import Rcldetp from "./Rcldetp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default {
name: "Lttcan",
components: {
"m-canp": Canp,
"m-setpan": Setpan,
"m-rcldetp": Rcldetp,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "canp",
......@@ -57,12 +114,21 @@ export default {
};
},
methods: {
tabClick() {},
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入lttcan交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
......@@ -171,7 +171,6 @@
v-model="model.bttp.futhndflg"
style="width: 100%"
placeholder="Please select Further Handing"
disabled
:code="codes.futhndflg"
>
</c-select>
......
......@@ -105,14 +105,17 @@
maxlength="3500"
show-word-limit
placeholder="请输入Discrepancies"
:disabled="!model.btdgrp.blk.docdisflg"
:rows="5"
></c-input>
</el-form-item>
</c-col>
<c-col :span="18" :offset="6">
<c-checkbox v-model="model.btdgrp.blk.docdisflg"
>Discrepancies modified</c-checkbox
>
<el-form-item label="" prop="btdgrp.blk.docdisflg" style="margin-left:-150px;">
<c-checkbox v-model="model.btdgrp.blk.docdisflg"
>Discrepancies modified</c-checkbox
>
</el-form-item>
<!-- <c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox> -->
</c-col>
</c-col>
......
......@@ -117,7 +117,6 @@ export default {
return {
tabVal: "davp",
trnName: "lttdav",
trnType: "",
model: new Lttdav().data,
checkRules: Check,
defaultRules: Default,
......
......@@ -125,20 +125,20 @@
</c-col>
<c-col :span="24">
<el-form-item label="始发(航空)站 prop="ltdgrp.rec.porloa">
<el-form-item label="始发(航空)站" prop="ltdgrp.rec.porloa">
<c-input
type="textarea"
v-model="model.ltdgrp.rec.porloa"
maxlength="65"
show-word-limit
placeholder="Please input 始发(航空)站
placeholder="Please input 始发(航空)站"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="终点(航空)站
label="终点(航空)站"
prop="ltdgrp.rec.pordis"
>
<c-input
......@@ -146,7 +146,7 @@
v-model="model.ltdgrp.rec.pordis"
maxlength="65"
show-word-limit
placeholder="Please input 终点(航空)站
placeholder="Please input 终点(航空)站"
></c-input>
</el-form-item>
</c-col>
......
<template>
<ReviewWrapper>
<Lttdav></Lttdav>
</ReviewWrapper>
</template>
<script>
import Lttdav from "~/views/Business/Lttdav";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLttdav",
components: { ReviewWrapper, Lttdav },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -101,7 +101,7 @@ import ReviewTrtsel from "./Business/ReviewTrtsel.vue";
import ReviewTrtcan from "./Business/ReviewTrtcan.vue";
import ReviewLttdck from "./Business/ReviewLttdck.vue";
import ReviewLttdav from "./Business/ReviewLttdav.vue";
import ReviewGetcrq from "./Business/ReviewGetcrq.vue";
import ReviewGetcan from "./Business/ReviewGetcan.vue";
import ReviewGitcrq from "./Business/ReviewGitcrq.vue";
......@@ -220,6 +220,7 @@ const ReviewRouter = [
{ path: "clttra", component: ReviewClttra, name: "ReviewClttra", meta: { title: "复核-Clttra" } },
{ path: "lttdck", component: ReviewLttdck, name: "ReviewLttdck", meta: { title: "复核-Lttdck" } },
{ path: "lttdav", component: ReviewLttdav, name: "ReviewLttdav", meta: { title: "复核-Lttdav" } },
{ 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" } },
......
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