Commit e350539f by huangxin

brtdck事件关联

parent 473001fa
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,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位" }
], ],
"brdgrp.prb.pts.adrblk":[ "brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"brdgrp.prb.dbfadrblkcn":[ "brdgrp.prb.dbfadrblkcn":[
...@@ -190,7 +190,7 @@ export default { ...@@ -190,7 +190,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brtp.oth.pts.adrblk":[ "brtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"} {max: 140,message:"长度不能超过140"}
], ],
"brtp.oth.dbfadrblkcn":[ "brtp.oth.dbfadrblkcn":[
......
...@@ -502,23 +502,26 @@ ...@@ -502,23 +502,26 @@
v-model="model.brdgrp.rec.docprbrol" v-model="model.brdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择 Presented by" placeholder="请选择 Presented by"
:code="codes.docprbrol" @change="selectOrCheckboxRule('brdgrp.rec.docprbrol')"
:code="codes.docprbrol1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap1 <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '', title: '',
grp: 'brdgrp', grp: 'brdgrp',
rol: 'prb', rol: 'prb',
}" }"
:disabled="true" :disabled="this.flag2"
@onSeainf="onSeainf" @onAplpDet="onPrbpDet" :disabledExtkey="this.flag"
:isAdrblk="true"
:noRef="true"
> >
</c-ptap1> </c-ptap>
</c-col> </c-col>
<!-- SF000087 : Payer --> <!-- SF000087 : Payer -->
<c-col :span="24"> <c-col :span="24">
...@@ -527,24 +530,26 @@ ...@@ -527,24 +530,26 @@
v-model="model.brdgrp.rec.payrol" v-model="model.brdgrp.rec.payrol"
style="width: 100%" style="width: 100%"
placeholder="请输入付款人" placeholder="请输入付款人"
@change="selectOrCheckboxRule('brdgrp.rec.payrol')"
:code="codes.payrol1" :code="codes.payrol1"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap1 <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '', title: '',
grp: 'brtp', grp: 'brtp',
rol: 'oth', rol: 'oth',
}" }"
:disabled="true" :disabled="this.flag3"
disabled1 :disabledExtkey="this.flag4"
@onSeainf="onSeainf" @onAplpDet="onOthpDet" :isAdrblk="true"
:noRef="true"
> >
</c-ptap1> </c-ptap>
<!-- <c-ptap <!-- <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -573,20 +578,71 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -573,20 +578,71 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtdck/Event"; import Event from "~/model/Brtdck/Event";
import Ptap1 from "~/views/Public/Ptap1"; import Ptap1 from "~/views/Public/Ptap1";
// import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Ptsmsg from "~/views/Public/Ptsmsg"; import Ptsmsg from "~/views/Public/Ptsmsg";
export default { export default {
components: { components: {
"c-ptap1": Ptap1, "c-ptap1": Ptap1,
// "c-ptap": Ptap, "c-ptap": Ptap,
"c-ptsmsg": Ptsmsg, "c-ptsmsg": Ptsmsg,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
flag:true,
flag2:true,
flag3:true,
flag4:true,
};
},
watch:{
"model.brdgrp.rec.docprbrol":function(){
if(this.model.brdgrp.rec.docprbrol=='ADV'){
this.flag=true;
}
else if(this.model.brdgrp.rec.docprbrol=='BEN'){
this.flag=true;
}
else if(this.model.brdgrp.rec.docprbrol=='PRB'){
this.flag=false;
}
},
"model.brdgrp.prb.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.brdgrp.prb.pts.extkey!=''){
this.flag2=true;
}else{
this.flag2=false;
}
}
},
"model.brdgrp.rec.payrol":function(){
if(this.model.brdgrp.rec.payrol=='APL'){
this.flag4=true;
}
else if(this.model.brdgrp.rec.payrol=='OTH'){
this.flag4=false;
}
},
"model.brtp.oth.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.brtp.oth.pts.extkey!=''){
this.flag3=true;
}else{
this.flag3=false;
}
}
},
}, },
methods: { ...Event, onSeainf(){}}, methods: { ...Event, onSeainf(){}},
created: function () {}, created: function () {},
......
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