Commit f3a41cb4 by zhujiazhan

infcpd,infbrd,Cptadv,Cptopn页面BUG整改

parent 7d7674a7
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,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位" }
], ],
"cptp.uetr":[ "cptp.uetr":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
......
...@@ -43,7 +43,6 @@ export default { ...@@ -43,7 +43,6 @@ export default {
this.model.infcon.searol = ""; this.model.infcon.searol = "";
this.model.infcon.seacur = ""; this.model.infcon.seacur = "";
this.model.infcon.seasta = ""; this.model.infcon.seasta = "";
this.stmData.data = ""; this.stmData.data = "";
}, },
async onInfbutSearow(){ async onInfbutSearow(){
......
...@@ -262,7 +262,9 @@ export default { ...@@ -262,7 +262,9 @@ export default {
this.model.infcon.searol = ""; this.model.infcon.searol = "";
this.model.infcon.seacur = ""; this.model.infcon.seacur = "";
this.model.infcon.seasta = ""; this.model.infcon.seasta = "";
this.model.seapaytyp="";
this.model.msgtyp="";
this.model.countcode="";
this.stmData.data = ""; this.stmData.data = "";
}, },
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
placeholder="请输入清算编号" placeholder="请输入清算编号"
style="width:100%" style="width:100%"
></c-input> ></c-input>
<template slot="footer"> <!-- <template slot="footer">
<c-button <c-button
style="margin-left:10px;padding: 0 10px;" style="margin-left:10px;padding: 0 10px;"
size="small" size="small"
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
@click="onCptpGetinf" @click="onCptpGetinf"
> >
</c-button> </c-button>
</template> </template> -->
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -111,6 +111,7 @@ ...@@ -111,6 +111,7 @@
v-model="model.cpdgrp.rec.othbch" v-model="model.cpdgrp.rec.othbch"
maxlength="8" maxlength="8"
placeholder="请输入所属行" placeholder="请输入所属行"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -261,6 +262,7 @@ ...@@ -261,6 +262,7 @@
v-model="model.cptp.uetr" v-model="model.cptp.uetr"
style="width: 100%" style="width: 100%"
placeholder="请输入Uetr" placeholder="请输入Uetr"
disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" style="margin-left:10px;padding: 0 10px;" type="primary" @click="onCptpGetuetr"> <c-button size="small" style="margin-left:10px;padding: 0 10px;" type="primary" @click="onCptpGetuetr">
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<c-checkbox v-model="model.bopmod.basflg" v-show="basflgShow">基础数据</c-checkbox> <c-checkbox v-model="model.bopmod.basflg" v-show="basflgShow" :disabled="basflgEnable">基础数据</c-checkbox>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地区机构号" label-width="30%"> <el-form-item label="地区机构号" label-width="30%">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号" :disabled="model.bopmod.szflg == 3"> <c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号" :disabled="model.bopmod.szflg == 3 || model.bopmod.szflg == '' ">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -212,6 +212,7 @@ export default { ...@@ -212,6 +212,7 @@ export default {
basflgShow: true, basflgShow: true,
dclflgShow: false, dclflgShow: false,
vrfflgShow: false, vrfflgShow: false,
basflgEnable:true,
szflg:[ szflg:[
{ value: "1", label: "跨境收支" }, { value: "1", label: "跨境收支" },
{ value: "2", label: "境内收支" }, { value: "2", label: "境内收支" },
...@@ -231,13 +232,31 @@ export default { ...@@ -231,13 +232,31 @@ export default {
}, },
methods:{...Event, methods:{...Event,
handelSelChange(){ handelSelChange(){
this.basflgEnable = false;
//控制checkbox的逻辑 //控制checkbox的逻辑
if(this.model.bopmod.szflg == '3'){ if(this.model.bopmod.szflg == '3'){
this.model.bopmod.basflg = false; this.model.bopmod.basflg = false;
this.basflgEnable = true;
this.model.bopmod.acttyp ="";
this.model.bopmod.ownextkey ="";
}else if(this.model.bopmod.szflg == '2'){
this.model.bopmod.acttyp ="";
this.model.bopmod.outchargeamt="0.00";
} }
}, },
}, },
watch:{
"model.bopmod.basflg":{
immediate:true,
handler(val ,oldVal){
if(this.model.bopmod.basflg == ''){
this.model.bopmod.outchargeamt="0.00";
}
}
}
},
created:function(){ created:function(){
} }
......
...@@ -36,9 +36,14 @@ ...@@ -36,9 +36,14 @@
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--
<el-tab-pane label="分录" name="glepan"> <el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" /> <m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane> </el-tab-pane>
-->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<!--PD000000 --> <!--PD000000 -->
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
......
...@@ -337,7 +337,7 @@ export default { ...@@ -337,7 +337,7 @@ export default {
'1 1 "Reference" 140', '1 1 "Reference" 140',
'2 2 "Resp. User" 100', '2 2 "Resp. User" 100',
//'3 3 "Goods Code" 100 1 0 1 GODCOD', //'3 3 "Goods Code" 100 1 0 1 GODCOD',
{ index: 3, position: 3, width: 100, pattern: "code", label: "Goods Code" ,"code":this.codes.godcod}, { index: 3, position: 3, width: 100, pattern: "code", label: "Goods Code" ,"code":"godcod"},
'7 4 "Party Number1" 133', '7 4 "Party Number1" 133',
'8 5 "Applicant" 160', '8 5 "Applicant" 160',
'9 6 "Applicant CN" 133', '9 6 "Applicant CN" 133',
......
...@@ -111,20 +111,22 @@ ...@@ -111,20 +111,22 @@
v-model="model.infcon.pty.extkey" v-model="model.infcon.pty.extkey"
maxlength="24" maxlength="24"
placeholder="请输入Select Single Party" placeholder="请输入Select Single Party"
:disabled=this.flag1
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="Visible Name" label="Party Name"
prop="infcon.pty.nam" prop="infcon.pty.nam"
style="width: 100%" style="width: 100%"
> >
<c-input <c-input
v-model="model.infcon.pty.nam" v-model="model.infcon.pty.nam"
maxlength="40" maxlength="40"
placeholder="请输入External Visible Name" placeholder="请输入External Party Name"
disabled
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -142,6 +144,7 @@ ...@@ -142,6 +144,7 @@
v-model="model.infcon.seapty" v-model="model.infcon.seapty"
maxlength="24" maxlength="24"
placeholder="请输入Party Name/BIC" placeholder="请输入Party Name/BIC"
:disabled=this.flag2
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -166,6 +169,7 @@ ...@@ -166,6 +169,7 @@
v-model="model.infcon.usr.extkey" v-model="model.infcon.usr.extkey"
maxlength="8" maxlength="8"
placeholder="请输入User ID" placeholder="请输入User ID"
disabled
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -248,7 +252,7 @@ ...@@ -248,7 +252,7 @@
v-model="model.msgtyp" v-model="model.msgtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择Swift type" placeholder="请选择Swift type"
:code="codes.swftyp" :code="swftyp"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -422,6 +426,8 @@ export default { ...@@ -422,6 +426,8 @@ export default {
components: { "m-busbtn": BusNavbar }, components: { "m-busbtn": BusNavbar },
data() { data() {
return { return {
flag1:false,
flag2:false,
searol:[ searol:[
{ label: "Ordering Customer", value: "ORC" }, { label: "Ordering Customer", value: "ORC" },
{ label: "Ordering Institution", value: "ORI" }, { label: "Ordering Institution", value: "ORI" },
...@@ -429,6 +435,14 @@ export default { ...@@ -429,6 +435,14 @@ export default {
{ label: "Payee", value: "PYE" }, { label: "Payee", value: "PYE" },
{ label: "Reimb. Bank Transfer", value: "RMT" }, { label: "Reimb. Bank Transfer", value: "RMT" },
], ],
swftyp:[
{ label: "MT103", value: "103" },
{ label: "MT202", value: "202" },
{ label: "MT910", value: "910" },
{ label: "CMT100", value: "CMT" },
{ label: "境内外币清算", value: "100" },
{ label: "Other", value: "OTH" },
],
cptselModel: new CptselModel().data, cptselModel: new CptselModel().data,
searchToggle: true, searchToggle: true,
ownref: "", ownref: "",
...@@ -446,7 +460,7 @@ export default { ...@@ -446,7 +460,7 @@ export default {
width: 100, width: 100,
pattern: "code", pattern: "code",
label: "状态", label: "状态",
code: "relstaEN", code: this.codes.relstaEN,
}, },
'5 5 "币种" 80', '5 5 "币种" 80',
'6 6 "金额" 100', '6 6 "金额" 100',
...@@ -502,6 +516,25 @@ export default { ...@@ -502,6 +516,25 @@ export default {
}, },
}; };
}, },
watch:{
"model.infcon.seapty": function () {
if (this.model.infcon.seapty == '') {
this.flag1 = false;
} else {
this.flag1 = true;
this.model.infcon.pty.extkey="";
}
},
"model.infcon.pty.extkey":function(){
if(this.model.infcon.pty.extkey == ''){
this.flag2 = false;
} else {
this.flag2 = true;
this.model.infcon.seapty="";
}
}
},
methods: { methods: {
...Event, ...Event,
/* handleSearch(callback) { /* handleSearch(callback) {
......
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