Commit 5477032e by Eivi

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 2220a19b e3c9f283
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
], ],
"bodgrp.cbs.max.amt":[ "bodgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -117,13 +117,13 @@ export default { ...@@ -117,13 +117,13 @@ export default {
], ],
"bodgrp.cbs.opn1.amt":[ "bodgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"bodgrp.drr.pts.adrblk":[ "bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} //{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.drr.dbfadrblkcn":[ "bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -174,15 +174,15 @@ export default { ...@@ -174,15 +174,15 @@ export default {
], ],
"bodgrp.col.pts.adrblk":[ "bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} //{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.col.dbfadrblkcn":[ "bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bodgrp.rec.matpercnt":[ "bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"}, //{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} //{max: 3,message:"长度不能超过3"}
], ],
"bodgrp.rec.paydocnum":[ "bodgrp.rec.paydocnum":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -231,7 +231,7 @@ export default { ...@@ -231,7 +231,7 @@ export default {
], ],
"bodgrp.dre.pts.adrblk":[ "bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} //{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.dre.dbfadrblkcn":[ "bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -293,7 +293,7 @@ export default { ...@@ -293,7 +293,7 @@ export default {
], ],
"bodgrp.blk.setinsbo":[ "bodgrp.blk.setinsbo":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} //{max: 65,message:"长度不能超过65"}
], ],
"bodgrp.blk.agtaut":[ "bodgrp.blk.agtaut":[
......
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
], ],
"bodgrp.drr.pts.adrblk":[ "bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} //{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.drr.dbfadrblkcn":[ "bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
], ],
"bodgrp.col.pts.adrblk":[ "bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} //{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.col.dbfadrblkcn":[ "bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -128,7 +128,7 @@ export default { ...@@ -128,7 +128,7 @@ export default {
], ],
"bodgrp.dre.pts.adrblk":[ "bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} //{max: 35,message:"长度不能超过35"}
], ],
"bodgrp.dre.dbfadrblkcn":[ "bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
"setmod.docamt":[ "setmod.docamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -371,7 +371,7 @@ export default { ...@@ -371,7 +371,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"bodgrp.cbs.opn1.amt":[ "bodgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -414,7 +414,7 @@ export default { ...@@ -414,7 +414,7 @@ export default {
], ],
"setmod.redamt":[ "setmod.redamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
......
...@@ -48,6 +48,7 @@ export default class Detopn{ ...@@ -48,6 +48,7 @@ export default class Detopn{
}, },
dedgrp:{ dedgrp:{
rec:{ rec:{
rejame:"",
ownref:"", // 编号 .dedgrp.rec.ownref ownref:"", // 编号 .dedgrp.rec.ownref
opndat:"", // 开立日期 .dedgrp.rec.opndat opndat:"", // 开立日期 .dedgrp.rec.opndat
shpdat:"", // Shipment Date .dedgrp.rec.shpdat shpdat:"", // Shipment Date .dedgrp.rec.shpdat
......
...@@ -88,6 +88,7 @@ export default class Getsel{ ...@@ -88,6 +88,7 @@ export default class Getsel{
clsflg:"", // which contracts to show .gcdget.clsflg clsflg:"", // which contracts to show .gcdget.clsflg
}, },
cfgfil:{ cfgfil:{
btnstm:[],
bitmap:"", // Bitmap for folder .cfgfil.bitmap bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1 regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2 regside2:"", // Regside .cfgfil.regside2
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onSeainf"
></c-button> ></c-button>
</c-col> </c-col>
...@@ -54,7 +53,7 @@ ...@@ -54,7 +53,7 @@
<el-form-item label="" > <el-form-item label="" >
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" offset="4"> <c-col :span="12" :offset="4">
<el-form-item label="Amount" > <el-form-item label="Amount" >
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -171,27 +170,36 @@ ...@@ -171,27 +170,36 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Tenor Data" prop="trnmod.swiadd.newmatpercnt"> <el-form-item label="Tenor Data" prop="oldbodgrp.rec.matpercnt">
<c-input disabled v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入New Tenor Data"></c-input> <c-input disabled v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入New Tenor Data"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<el-form-item label="" prop="trnmod.swiadd.newmatpertyp" label-width="5px"> <el-form-item label="" prop="oldbodgrp.rec.matpertyp" label-width="5px">
<c-select disabled v-model="model.trnmod.swiadd.newmatpertyp" style="width: 100%" placeholder="请选择Days/Month or Year for Maturity Period"></c-select> <c-select disabled v-model="model.oldbodgrp.rec.matpertyp" style="width: 100%" placeholder="请选择Days/Month or Year for Maturity Period">
<el-option <el-option
v-for="item in codes.matper" v-for="item in matpertyp"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="trnmod.swiadd.newmatperbeg" label-width="5px"> <el-form-item label="" prop="oldbodgrp.rec.matperbeg" label-width="5px">
<c-select disabled v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%" placeholder="请选择Start of Maturity Period"> <c-select disabled v-model="model.oldbodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period">
<el-option
v-for="item in codes.matperbeg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -203,16 +211,16 @@ ...@@ -203,16 +211,16 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="New Tenor Data" prop="oldbodgrp.rec.matpercnt"> <el-form-item label="New Tenor Data" prop="trnmod.swiadd.newmatpercnt">
<c-input :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入Tenor Data"></c-input> <c-input :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入Tenor Data"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<el-form-item label="" prop="oldbodgrp.rec.matper" label-width="5px"> <el-form-item label="" prop="trnmod.swiadd.newmatpertyp" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matper" style="width: 100%" placeholder="请输入Days/Months or Years for Maturity Period"> <c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatpertyp" style="width: 100%" placeholder="请输入Days/Months or Years for Maturity Period">
<el-option <el-option
v-for="item in codes.matper" v-for="item in matpertyp"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -223,8 +231,8 @@ ...@@ -223,8 +231,8 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="oldbodgrp.rec.matperbeg" label-width="5px"> <el-form-item label="" prop="trnmod.swiadd.newmatperbeg" label-width="5px">
<c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.oldbodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG"> <c-select :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG">
<el-option <el-option
v-for="item in codes.matperbeg" v-for="item in codes.matperbeg"
:key="item.value" :key="item.value"
...@@ -275,18 +283,30 @@ export default { ...@@ -275,18 +283,30 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
matpertyp: [
{ label: "Days", value: "D" },
],
} }
}, },
watch:{ watch:{
"model.bodgrp.rec.doctypcod":function(){ "model.bodgrp.rec.doctypcod":function(){
if(this.model.bodgrp.rec.doctypcod=='P'){ if(this.model.bodgrp.rec.doctypcod=='P'){
this.model.oldbodgrp.rec.matpercnt=""; this.model.trnmod.swiadd.newmatpercnt="";
this.model.oldbodgrp.rec.matper=""; this.model.trnmod.swiadd.newmatpertyp="";
this.model.oldbodgrp.rec.matperbeg=""; this.model.trnmod.swiadd.newmatperbeg="";
this.model.trnmod.swiadd.newmatdat=""; this.model.trnmod.swiadd.newmatdat="";
} }
}, },
"model.trnmod.swiadd.newmatdat":function(){
if(this.model.trnmod.swiadd.newmatdat!=""||this.model.trnmod.swiadd.newmatpercnt!=""){
this.model.bodgrp.rec.matdat=this.model.trnmod.swiadd.newmatdat;
}
else{
this.model.bodgrp.rec.matdat=this.model.oldbodgrp.rec.matdat;
}
}
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
......
<template> <template>
<c-row> <c-row>
<!-- =================顶部====================== --> <!-- =================顶部====================== -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="20"> <c-col :span="20">
...@@ -20,20 +20,18 @@ ...@@ -20,20 +20,18 @@
</c-col> </c-col>
<c-col :span="1"> <c-col :span="1">
<c-button <c-button
style="margin:0 10px 0 0;padding: 0 10px;" style="margin: 0 10px 0 0; padding: 0 10px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onSeainf"
></c-button> ></c-button>
</c-col> </c-col>
<c-col :span="3" style="text-align: right"> <c-col :span="3" style="text-align: right">
<c-button <c-button
style="margin:0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" :disabled="this.flag"
@click="onDitpButgetref"
> >
获取 获取
</c-button> </c-button>
...@@ -71,17 +69,16 @@ ...@@ -71,17 +69,16 @@
</c-col> </c-col>
<c-col :span="2"> <c-col :span="2">
<c-button <c-button
style="margin:0 10px 0 0;padding: 0 10px;" style="margin: 0 10px 0 0; padding: 0 10px"
size="small" size="small"
icon="el-icon-search" icon="el-icon-search"
type="primary" type="primary"
@click="onExtkey"
></c-button> ></c-button>
</c-col> </c-col>
<c-col :span="8" > <c-col :span="8">
<c-checkbox <c-checkbox v-model="model.bodgrp.rec.dircolflg"
v-model="model.bodgrp.rec.dircolflg" >Direct Collection</c-checkbox
>Direct Collection</c-checkbox> >
</c-col> </c-col>
</c-col> </c-col>
...@@ -92,7 +89,6 @@ ...@@ -92,7 +89,6 @@
v-model="model.bodgrp.cbs.max.cur" v-model="model.bodgrp.cbs.max.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择Currency" placeholder="请选择Currency"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
...@@ -115,7 +111,9 @@ ...@@ -115,7 +111,9 @@
v-model="model.bodgrp.cbs.max.amt" v-model="model.bodgrp.cbs.max.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入Document Amount" placeholder="请输入Document Amount"
@keyup.enter.native="defaultFunction('bodgrp.cbs.max.amt', model.bodgrp.cbs.max.amt)" @keyup.enter.native="
defaultFunction('bodgrp.cbs.max.amt', model.bodgrp.cbs.max.amt)
"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -126,7 +124,6 @@ ...@@ -126,7 +124,6 @@
v-model="model.bodgrp.cbs.opn1.cur" v-model="model.bodgrp.cbs.opn1.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择Currency" placeholder="请选择Currency"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.cur"
...@@ -149,7 +146,9 @@ ...@@ -149,7 +146,9 @@
v-model="model.bodgrp.cbs.opn1.amt" v-model="model.bodgrp.cbs.opn1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入Open Amount" placeholder="请输入Open Amount"
@keyup.enter.native="defaultFunction('bodgrp.cbs.opn1.amt', model.bodgrp.cbs.opn1.amt)" @keyup.enter.native="
defaultFunction('bodgrp.cbs.opn1.amt', model.bodgrp.cbs.opn1.amt)
"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -159,7 +158,7 @@ ...@@ -159,7 +158,7 @@
type="date" type="date"
disabled disabled
v-model="model.bodgrp.rec.rcvdat" v-model="model.bodgrp.rec.rcvdat"
style="width:100%" style="width: 100%"
placeholder="请选择Order Date" placeholder="请选择Order Date"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
...@@ -169,7 +168,7 @@ ...@@ -169,7 +168,7 @@
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bodgrp.rec.shpdat" v-model="model.bodgrp.rec.shpdat"
style="width:100%" style="width: 100%"
placeholder="请选择Shipment date" placeholder="请选择Shipment date"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
...@@ -177,19 +176,35 @@ ...@@ -177,19 +176,35 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Presentation Date" prop="bodgrp.rec.predat"> <el-form-item label="Presentation Date" prop="bodgrp.rec.predat">
<c-date-picker type="date" disabled v-model="model.bodgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"></c-date-picker> <c-date-picker
type="date"
disabled
v-model="model.bodgrp.rec.predat"
style="width: 100%"
placeholder="请选择Presentation Date"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Dispatched on" prop="bodgrp.rec.advdat"> <el-form-item label="Dispatched on" prop="bodgrp.rec.advdat">
<c-date-picker type="date" disabled v-model="model.bodgrp.rec.advdat" style="width:100%" placeholder="请选择Dispatched on"></c-date-picker> <c-date-picker
type="date"
disabled
v-model="model.bodgrp.rec.advdat"
style="width: 100%"
placeholder="请选择Dispatched on"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod"> <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition"> <c-select
v-model="model.bodgrp.rec.doctypcod"
style="width: 100%"
placeholder="请选择Collection Condition"
>
<el-option <el-option
v-for="item in codes.doctypcod" v-for="item in codes.doctypcod"
:key="item.value" :key="item.value"
...@@ -203,13 +218,19 @@ ...@@ -203,13 +218,19 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat"> <el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
<c-date-picker type="date" disabled v-model="model.bodgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker> <c-date-picker
type="date"
disabled
v-model="model.bodgrp.rec.matdat"
style="width: 100%"
placeholder="请选择Maturity Date"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="发票类型" prop="bodgrp.rec.invtyp"> <el-form-item label="发票类型" prop="bodgrp.rec.invtyp">
<c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" > <c-select v-model="model.bodgrp.rec.invtyp" style="width: 100%">
<el-option <el-option
v-for="item in invtyp" v-for="item in invtyp"
:key="item.value" :key="item.value"
...@@ -223,17 +244,25 @@ ...@@ -223,17 +244,25 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt"> <el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-input disabled v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"></c-input> <c-input
disabled
v-model="model.bodgrp.rec.matpercnt"
placeholder="请输入Tenor Specification"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="1"> <c-col :span="1" style="margin-left:-10px">
<el-form-item label="Days" label-width="5px" > <el-form-item label="Days"> </el-form-item>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Starting from" prop="bodgrp.rec.matperbeg"> <el-form-item label="Starting from" prop="bodgrp.rec.matperbeg">
<c-select disabled v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from"> <c-select
disabled
v-model="model.bodgrp.rec.matperbeg"
style="width: 100%"
placeholder="请选择Starting from"
>
<el-option <el-option
v-for="item in codes.matperbeg" v-for="item in codes.matperbeg"
:key="item.value" :key="item.value"
...@@ -247,12 +276,18 @@ ...@@ -247,12 +276,18 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Tenor Details Text" prop="bodgrp.blk.bogdet"> <el-form-item label="Tenor Details Text" prop="bodgrp.blk.bogdet">
<c-input type="textarea" :disabled="model.bodgrp.rec.doctypcod === 'P'" v-model="model.bodgrp.blk.bogdet" maxlength="43" show-word-limit placeholder="请输入Tenor Details Text" ></c-input> <c-input
type="textarea"
:disabled="model.bodgrp.rec.doctypcod === 'P'"
v-model="model.bodgrp.blk.bogdet"
maxlength="43"
show-word-limit
placeholder="请输入Tenor Details Text"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="24" style="height: 24px; margin-top: -10px">
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel"> <el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button> <c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
</el-form-item> </el-form-item>
...@@ -273,7 +308,6 @@ ...@@ -273,7 +308,6 @@
</el-table-column> </el-table-column>
<el-table-column label="Document" prop="docnam" width="auto"> <el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam"> <c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
...@@ -286,8 +320,10 @@ ...@@ -286,8 +320,10 @@
</template> </template>
</el-table-column> </el-table-column>
</c-table> </c-table>
</c-col> -->
<c-col :span="24">
<c-edit-table :model="model" v-bind="docgrd"> </c-edit-table>
</c-col> </c-col>
</c-col> </c-col>
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -299,8 +335,6 @@ ...@@ -299,8 +335,6 @@
rol: 'drr', rol: 'drr',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
<c-ptap <c-ptap
...@@ -311,8 +345,6 @@ ...@@ -311,8 +345,6 @@
rol: 'col', rol: 'col',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
<c-ptap <c-ptap
...@@ -323,13 +355,18 @@ ...@@ -323,13 +355,18 @@
rol: 'dre', rol: 'dre',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty"> <el-form-item
<c-select v-model="model.bodgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country!"> label="Country Code Risk Country!"
prop="bodgrp.rec.stacty"
>
<c-select
v-model="model.bodgrp.rec.stacty"
style="width: 100%"
placeholder="请选择Country Code Risk Country!"
>
<el-option <el-option
v-for="item in codes.stacty" v-for="item in codes.stacty"
:key="item.value" :key="item.value"
...@@ -341,8 +378,12 @@ ...@@ -341,8 +378,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Goods Code" prop="bodgrp.rec.godcod"> <el-form-item label="Goods Code" prop="bodgrp.stagod">
<c-select v-model="model.bodgrp.rec.godcod" style="width:100%" placeholder="请选择Goods Code"> <c-select
v-model="model.bodgrp.rec.stagod"
style="width: 100%"
placeholder="请选择Goods Code"
>
<el-option <el-option
v-for="item in codes.godcod" v-for="item in codes.godcod"
:key="item.value" :key="item.value"
...@@ -353,34 +394,61 @@ ...@@ -353,34 +394,61 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Botame/Event" import Event from "~/model/Botame/Event";
import Utils from "~/utils"; import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptap": Ptap }, components: { "c-ptap": Ptap },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
invtyp: [ docgrd: {
{ label: "type1", value: "1" } columns: [
{
title: "lst",
width: "80px",
dataIndex: "cmail1",
show: "input",
},
{
title: "2nd",
width: "80px",
dataIndex: "cmail2",
show: "input",
},
{
title: "Document",
width: "320px",
dataIndex: "docnam",
show: "select",
code: "codeTable",
},
], ],
urls: "botp.docgrdm.docgrd",
},
invtyp: [{ label: "type1", value: "1" }],
codeTable: [ codeTable: [
{ label: "Airway Bills", value: "Airway Bills" }, { label: "Airway Bills", value: "Airway Bills" },
{ label: "Beneficiary's Declaration", value: "Beneficiary's Declaration" }, {
label: "Beneficiary's Declaration",
value: "Beneficiary's Declaration",
},
{ label: "Bill of Lading Copies", value: "Bill of Lading Copies" }, { label: "Bill of Lading Copies", value: "Bill of Lading Copies" },
{ label: "Bill of Lading Originals", value: "Bill of Lading Originals" }, {
label: "Bill of Lading Originals",
value: "Bill of Lading Originals",
},
{ label: "Certificate", value: "Certificate" }, { label: "Certificate", value: "Certificate" },
{ label: "Certificate of Analysis", value: "Certificate of Analysis" }, { label: "Certificate of Analysis", value: "Certificate of Analysis" },
{ label: "Certificate of Origin", value: "Certificate of Origin" }, { label: "Certificate of Origin", value: "Certificate of Origin" },
...@@ -397,30 +465,30 @@ import Event from "~/model/Botame/Event" ...@@ -397,30 +465,30 @@ import Event from "~/model/Botame/Event"
{ label: "Shipment Advice", value: "Shipment Advice" }, { label: "Shipment Advice", value: "Shipment Advice" },
{ label: "Weight List", value: "Weight List" }, { label: "Weight List", value: "Weight List" },
], ],
newValue: { // newValue: {
id: 0, // id: 0,
cmail1: "", // cmail1: "",
cmail2: "", // cmail2: "",
docnam: "", // docnam: "",
description: "", // description: "",
serialNum: "", // serialNum: "",
tableName: "", // tableName: "",
tcddoc: "", // tcddoc: "",
}, // },
columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'], // columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'],
}; };
}, },
methods: { methods: {
...Event, ...Event,
addTableValue(index) { // addTableValue(index) {
var newTableValue = Object.assign({}, this.newValue); // var newTableValue = Object.assign({}, this.newValue);
const serial = Utils.generateUUID(); // const serial = Utils.generateUUID();
newTableValue.serialNum = serial; // newTableValue.serialNum = serial;
this.model.botp.docgrdm.docgrd.splice(index - 1, 0, newTableValue); // this.model.botp.docgrdm.docgrd.splice(index - 1, 0, newTableValue);
}, // },
deleteTable(index) { // deleteTable(index) {
this.model.botp.docgrdm.docgrd.splice(index, 1); // this.model.botp.docgrdm.docgrd.splice(index, 1);
}, // },
}, },
computed: { computed: {
flag() { flag() {
...@@ -430,8 +498,7 @@ import Event from "~/model/Botame/Event" ...@@ -430,8 +498,7 @@ import Event from "~/model/Botame/Event"
created: function () { created: function () {
console.log(this.root); console.log(this.root);
}, },
} };
</script> </script>
<style> <style>
</style> </style>
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
rol: 'drr', rol: 'drr',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
...@@ -22,8 +20,6 @@ ...@@ -22,8 +20,6 @@
rol: 'dre', rol: 'dre',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -36,8 +32,6 @@ ...@@ -36,8 +32,6 @@
rol: 'col', rol: 'col',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -57,7 +51,7 @@ ...@@ -57,7 +51,7 @@
</c-edit-table> </c-edit-table>
</c-col> </c-col>
</c-row> </c-row>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
...@@ -105,7 +99,7 @@ export default { ...@@ -105,7 +99,7 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
onsole.log(this.root); console.log(this.root);
} }
} }
</script> </script>
......
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
} }
else else
{ {
......
...@@ -131,7 +131,6 @@ export default { ...@@ -131,7 +131,6 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
//更新数据 //更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" label-width="30%" prop="cnybop.cnyflg"> <el-form-item label="是否报送跨境人民币2101表" label-width="30%" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表" <c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表"
:code="codes.cnyflg" :disabled="true"> :code="codes.cnyflg" >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
rol: 'drr', rol: 'drr',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
...@@ -22,8 +20,6 @@ ...@@ -22,8 +20,6 @@
rol: 'dre', rol: 'dre',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -36,8 +32,6 @@ ...@@ -36,8 +32,6 @@
rol: 'col', rol: 'col',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -104,7 +98,7 @@ export default { ...@@ -104,7 +98,7 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
onsole.log(this.root); console.log(this.root);
} }
} }
</script> </script>
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onSeainf"
></c-button> ></c-button>
</c-col> </c-col>
</c-col> </c-col>
...@@ -254,13 +253,13 @@ ...@@ -254,13 +253,13 @@
<el-form-item <el-form-item
style="text-align: left" style="text-align: left"
label-width="5px" label-width="5px"
prop="bodgrp.cbs.max.amt" prop="setmod.redamt"
> >
<c-input-currency :disabled="model.bodgrp.rec.focflg=='X'" <c-input-currency :disabled="model.bodgrp.rec.focflg=='X'"
v-model="model.bodgrp.cbs.max.amt" v-model="model.setmod.redamt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入Reduction Amt" placeholder="请输入Reduction Amt"
@keyup.enter.native="defaultFunction('bodgrp.cbs.max.amt', model.bodgrp.cbs.max.amt)" @keyup.enter.native="defaultFunction('setmod.redamt', model.setmod.redamt)"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -292,13 +291,13 @@ ...@@ -292,13 +291,13 @@
<el-form-item <el-form-item
style="text-align: left" style="text-align: left"
label-width="5px" label-width="5px"
prop="bodgrp.cbs.max.amt" prop="setmod.docamt"
> >
<c-input-currency <c-input-currency
v-model="model.bodgrp.cbs.max.amt" v-model="model.setmod.docamt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入Settle Amt." placeholder="请输入Settle Amt."
@keyup.enter.native="defaultFunction('bodgrp.cbs.max.amt', model.bodgrp.cbs.max.amt)" @keyup.enter.native="defaultFunction('setmod.docamt', model.setmod.docamt)"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -354,6 +353,29 @@ export default { ...@@ -354,6 +353,29 @@ export default {
}, },
} }
}, },
watch:{
"model.bodgrp.rec.docsta":function(){
if(this.model.bodgrp.rec.predat!=''){
this.model.bodgrp.rec.docsta=="A";
}
else if(this.model.bodgrp.rec.opndat!=''){
this.model.bodgrp.rec.docsta=="B";
}
else if(this.model.bodgrp.rec.focflg=='X'){
this.model.bodgrp.rec.docsta==="D";
}
else if(this.model.bodgrp.rec.clsdat!=''){
this.model.bodgrp.rec.docsta=="E";
}
},
"model.bodgrp.rec.focflg":function(){
if(this.model.bodgrp.rec.focflg=='X'){
this.model.setmod.redamt=this.model.setmod.docamt;
}else{
this.model.setmod.redamt=='';
}
}
},
computed: { computed: {
clsflgp: { clsflgp: {
get() { get() {
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<template slot="footer"> <template slot="footer">
<el-form-item label="" prop="lendoc.actflg"> <el-form-item label="" prop="lendoc.actflg">
<c-checkbox <c-checkbox
:disabled="model.bopmod.szflg==='3'" :disabled="model.bopmod.szflg=='3' || model.bopmod.szflg==''"
v-model="model.lendoc.actflg" v-model="model.lendoc.actflg"
style="margin-left: 10px" style="margin-left: 10px"
>基础数据</c-checkbox >基础数据</c-checkbox
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
v-model="model.bopmod.acttyp" v-model="model.bopmod.acttyp"
style="width: 100%" style="width: 100%"
placeholder="请选择款项来源" placeholder="请选择款项来源"
:disabled="model.bopmod.szflg==='2' || model.bopmod.szflg==='3'" :disabled="model.bopmod.szflg!='1'"
> >
<el-option <el-option
v-for="item in acttyp" v-for="item in acttyp"
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
v-model="model.bopmod.ownextkey" v-model="model.bopmod.ownextkey"
style="width: 100%" style="width: 100%"
placeholder="请选择地区机构号" placeholder="请选择地区机构号"
:disabled="model.bopmod.szflg==='3'" :disabled="model.bopmod.szflg=='3' || model.bopmod.szflg==''"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -204,7 +204,7 @@ export default { ...@@ -204,7 +204,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
} }
else else
{ {
......
...@@ -129,6 +129,7 @@ ...@@ -129,6 +129,7 @@
<c-input <c-input
v-model="model.trnmod.swiadd.ameamt" v-model="model.trnmod.swiadd.ameamt"
style="width: 100%" style="width: 100%"
@keyup.enter.native="showGridPromptDialog('trnmod.swiadd.ameamt')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -423,11 +424,13 @@ ...@@ -423,11 +424,13 @@
v-model="model.trnmod.swiadd.orimsgtyp" v-model="model.trnmod.swiadd.orimsgtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择原报文类型" placeholder="请选择原报文类型"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- DETAME默认不展示 -->
<!-- <c-col :span="24">
<el-form-item <el-form-item
label="Request of Amendment send to" label="Request of Amendment send to"
prop="detamep.ramrol" prop="detamep.ramrol"
...@@ -439,19 +442,20 @@ ...@@ -439,19 +442,20 @@
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="" label=""
> >
<c-col :span="12"> <!-- DETAME默认不展示 -->
<!-- <c-col :span="12">
<c-checkbox v-model="model.detamep.benconflg" <c-checkbox v-model="model.detamep.benconflg"
>Beneficiary's Confirmation Required</c-checkbox >受益人加保兑</c-checkbox
> >
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="12">
<c-checkbox v-model="model.detamep.benaccflg" <c-checkbox v-model="model.detamep.benaccflg"
>Amendment Accepted by Beneficiary</c-checkbox >受益人接受修改</c-checkbox
> >
</c-col> </c-col>
</el-form-item> </el-form-item>
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
icon="el-icon-search" icon="el-icon-search"
style="margin-right: 10px" style="margin-right: 10px"
></c-button> ></c-button>
......
...@@ -9,11 +9,7 @@ ...@@ -9,11 +9,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Reference" prop="gidgrp.rec.ownref"> <el-form-item label="Reference" prop="gidgrp.rec.ownref">
<c-input v-model="model.gidgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" <c-input v-model="model.gidgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
@keyup.enter.native="
showGridPromptDialog('gidgrp.rec.ownref')
"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "sel", tabVal: "",
trnName: "getsel", trnName: "getsel",
model: new Getsel().data, model: new Getsel().data,
checkRules: Check, checkRules: Check,
......
...@@ -533,14 +533,14 @@ export default { ...@@ -533,14 +533,14 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
async getButtons(ownref) { // async getButtons(ownref) {
this.initdialog = true; // this.initdialog = true;
this.ownref = ownref; // this.ownref = ownref;
console.log("ownref:" + ownref); // console.log("ownref:" + ownref);
setTimeout(() => { // setTimeout(() => {
this.$refs.childs.$emit("childmethods") // this.$refs.childs.$emit("childmethods")
}, 10) // }, 10)
}, // },
async onChoose(code) { async onChoose(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code); this.$router.history.push("/business/" + code);
......
...@@ -513,9 +513,13 @@ ...@@ -513,9 +513,13 @@
</el-row> </el-row>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body> <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns"> <div v-if="dialogFlag" class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnCode="gitsel" ownrefPath="gidgrp" :model="gitselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn> <m-busbtn ref="childs" :ownref="ownref" trnCode="gitsel" ownrefPath="gidgrp" :model="gitselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn>
</div> </div>
<div v-else >
<m-busbtn ref="childs" :ownref="ownref" trnCode="getsel" ownrefPath="gidgrp" :model="getselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn>
</div>
</el-dialog> </el-dialog>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -700,6 +704,7 @@ import CodeTable from "~/config/CodeTable"; ...@@ -700,6 +704,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infgid/Event"; import Event from "~/model/Infgid/Event";
import GitselModel from "~/model/Gitsel"; import GitselModel from "~/model/Gitsel";
import GetselModel from "~/model/Getsel";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
export default { export default {
...@@ -710,9 +715,11 @@ export default { ...@@ -710,9 +715,11 @@ export default {
data() { data() {
return { return {
gitselModel: new GitselModel().data, gitselModel: new GitselModel().data,
getselModel: new GetselModel().data,
ownref: "", ownref: "",
initdialog: false, initdialog: false,
dialogTableVisible: false, dialogTableVisible: false,
dialogFlag: true,
trnData: { trnData: {
columns: [ columns: [
'0 1 "Trn ID" 100', '0 1 "Trn ID" 100',
...@@ -760,6 +767,8 @@ export default { ...@@ -760,6 +767,8 @@ export default {
async getButtons(ownref) { async getButtons(ownref) {
this.initdialog = true; this.initdialog = true;
this.ownref = ownref; this.ownref = ownref;
this.dialogFlag = ownref.startsWith("LG");
console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" + ownref); console.log("ownref:" + ownref);
setTimeout(() => { setTimeout(() => {
this.$refs.childs.$emit("childmethods") this.$refs.childs.$emit("childmethods")
...@@ -797,6 +806,11 @@ export default { ...@@ -797,6 +806,11 @@ export default {
}, },
}, },
created: function () {}, created: function () {},
watch:{
"model.gidgrp.rec.ownref":function(){
}
},
}; };
</script> </script>
<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