Commit e9b87c46 by lianyang

Betsnd中Document Instructions页面Maturity Date显隐

parent e050fc44
...@@ -307,13 +307,13 @@ export default { ...@@ -307,13 +307,13 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"} {max: 60,message:"长度不能超过60"}
], ],
"mtabut.coninf.oitset.oit.inftxt":[ "mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"} {max: 60,message:"长度不能超过60"}
], ],
......
...@@ -2,29 +2,38 @@ ...@@ -2,29 +2,38 @@
<div class="eibs-tab"> <div class="eibs-tab">
<!-- SF000053 : 内部不符点 --> <!-- SF000053 : 内部不符点 -->
<!--================================左边================================== --> <!--================================左边================================== -->
<c-col :span="13"> <c-col :span="13">
<c-col :span="24"> <c-col :span="24">
<c-col :span="21"> <c-col :span="21">
<el-form-item label="Internal Discrepancies" prop="bedgrp.blk.intdis"> <el-form-item label="Internal Discrepancies" prop="bedgrp.blk.intdis">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.bedgrp.blk.intdis" v-model="model.bedgrp.blk.intdis"
maxlength="1300" maxlength="1300"
:rows="5" :rows="5"
show-word-limit show-word-limit
placeholder="请输入Internal Discrepancies" placeholder="请输入Internal Discrepancies"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3"> <c-col :span="3">
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="showGridPromptDialog('betp.intdis.buttxmsel',null,null,{TXT:'bedgrp.blk.intdis'},{TXT:false},'doxpDialog')" @click="
showGridPromptDialog(
'betp.intdis.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.intdis' },
{ TXT: false },
'doxpDialog'
)
"
> >
<!-- @click="onIntdisButtxmsel" --> <!-- @click="onIntdisButtxmsel" -->
... ...
</c-button> </c-button>
</c-col> </c-col>
...@@ -32,7 +41,10 @@ ...@@ -32,7 +41,10 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="21"> <c-col :span="21">
<el-form-item label="Comments and Conclusions" prop="bedgrp.blk.comcon"> <el-form-item
label="Comments and Conclusions"
prop="bedgrp.blk.comcon"
>
<c-input <c-input
type="textarea" type="textarea"
v-model="model.bedgrp.blk.comcon" v-model="model.bedgrp.blk.comcon"
...@@ -48,15 +60,24 @@ ...@@ -48,15 +60,24 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="showGridPromptDialog('betp.comcon.buttxmsel',null,null,{TXT:'bedgrp.blk.comcon'},{TXT:false},'doxpDialog')" @click="
showGridPromptDialog(
'betp.comcon.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.comcon' },
{ TXT: false },
'doxpDialog'
)
"
> >
<!-- @click="onComconButtxmsel" --> <!-- @click="onComconButtxmsel" -->
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="21"> <c-col :span="21">
<el-form-item <el-form-item
label="Settlement Instructions transaction field" label="Settlement Instructions transaction field"
...@@ -77,19 +98,27 @@ ...@@ -77,19 +98,27 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="showGridPromptDialog('betp.setinstxm.buttxmsel',null,null,{TXT:'bedgrp.blk.setinsbe'},{TXT:false},'doxpDialog')" @click="
showGridPromptDialog(
'betp.setinstxm.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.setinsbe' },
{ TXT: false },
'doxpDialog'
)
"
> >
<!-- @click="onSetinstxmButtxmsel" --> <!-- @click="onSetinstxmButtxmsel" -->
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="18" :offset="6"> <c-col :span="18" :offset="6">
<c-checkbox v-model="bedsndIngdsc">Ignore Discrepancies <c-checkbox v-model="bedsndIngdsc">Ignore Discrepancies </c-checkbox>
</c-checkbox> </c-col>
</c-col> <c-col :span="24">
<c-col :span="24" >
<c-col :span="21"> <c-col :span="21">
<el-form-item label="Discrepancies" prop="bedgrp.blk.docdis"> <el-form-item label="Discrepancies" prop="bedgrp.blk.docdis">
<c-input <c-input
...@@ -99,7 +128,7 @@ ...@@ -99,7 +128,7 @@
:rows="5" :rows="5"
show-word-limit show-word-limit
placeholder="请输入Discrepancies" placeholder="请输入Discrepancies"
:disabled="model.bedgrp.blk.docdisflg==''" :disabled="model.bedgrp.blk.docdisflg == ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -108,144 +137,161 @@ ...@@ -108,144 +137,161 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="showGridPromptDialog('betp.docdis.buttxmsel',null,null,{TXT:'bedgrp.blk.docdis'},{TXT:false},'doxpDialog')" @click="
:disabled="model.bedgrp.blk.docdisflg==''" showGridPromptDialog(
'betp.docdis.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.docdis' },
{ TXT: false },
'doxpDialog'
)
"
:disabled="model.bedgrp.blk.docdisflg == ''"
> >
<!-- @click="onDocdisButtxmsel" --> <!-- @click="onDocdisButtxmsel" -->
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<!--===========================右边============================== --> <!--===========================右边============================== -->
<c-col :span="10" :offset="1"> <c-col :span="10" :offset="1">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bedgrp.blk.docdisflg" <c-checkbox v-model="model.bedgrp.blk.docdisflg"
>Discrepancies modified</c-checkbox> >Discrepancies modified</c-checkbox
>
</c-col> </c-col>
<!-- Futher Handing --> <!-- Futher Handing -->
<c-col :span="24"> <c-col :span="24">
<!-- Processing Options --> <!-- Processing Options -->
<el-form-item label="Futher Handing" prop="betp.folwupopt"> <el-form-item label="Futher Handing" prop="betp.folwupopt">
<c-select <c-select
v-model="model.betp.folwupopt" v-model="model.betp.folwupopt"
style="width: 100%" style="width: 100%"
placeholder="请选择Processing Options" placeholder="请选择Processing Options"
:code="codes.folwupopt" :code="codes.folwupopt"
disabled disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-checkbox v-model="model.bedgrp.rec.approvcod">Documents on Approval Basis
</c-checkbox>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bedsnd.snd732" disabled>Create Advice of Discharge(e.g.MT 732) <c-checkbox v-model="model.bedgrp.rec.approvcod"
</c-checkbox> >Documents on Approval Basis
</c-col> </c-checkbox>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.betp.cre752flg" :disabled="model.betp.folwupopt!='C'">Receive MT 752</c-checkbox> <c-checkbox v-model="model.bedsnd.snd732" disabled
</c-col> >Create Advice of Discharge(e.g.MT 732)
</c-checkbox>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Further Identification" prop="betp.furide"> <c-checkbox
<c-select v-model="model.betp.cre752flg"
v-model="model.betp.furide" :disabled="model.betp.folwupopt != 'C'"
style="width: 100%" >Receive MT 752</c-checkbox
placeholder="请选择"
:code="codes.furide"
:disabled="model.betp.cre752flg==''"
> >
</c-select> </c-col>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Date of Advice" prop="bedgrp.rec.disdat"> <el-form-item label="Further Identification" prop="betp.furide">
<c-date-picker <c-select
type="date" v-model="model.betp.furide"
v-model="model.bedgrp.rec.disdat" style="width: 100%"
style="width: 100%" placeholder="请选择"
placeholder="请选择" :code="codes.furide"
:disabled="model.betp.cre752flg==''" :disabled="model.betp.cre752flg == ''"
></c-date-picker> >
</el-form-item> </c-select>
</c-col> </el-form-item>
</c-col>
<!-- S0000346 : 扣减金额 --> <c-col :span="24">
<c-col :span="24"> <el-form-item label="Date of Advice" prop="bedgrp.rec.disdat">
<c-form-item label="Less comm" prop="bedgrp.rec.lescom"> <c-date-picker
<c-input-currency type="date"
v-model="model.bedgrp.rec.lescom" v-model="model.bedgrp.rec.disdat"
placeholder="请输入扣减金额" style="width: 100%"
></c-input-currency> placeholder="请选择"
</c-form-item> :disabled="model.betp.cre752flg == ''"
</c-col> ></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24"> <!-- S0000346 : 扣减金额 -->
<c-checkbox v-model="model.rmbclmnow" :disabled="model.rmbclmlate!=''">Claim Reimbursement now</c-checkbox> <c-col :span="24">
</c-col> <c-form-item label="Less comm" prop="bedgrp.rec.lescom">
<c-input-currency
v-model="model.bedgrp.rec.lescom"
placeholder="请输入扣减金额"
></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.rmbclmlate" :disabled="model.rmbclmnow!=''">Cliam Reimbursement late</c-checkbox> <c-checkbox v-model="model.rmbclmnow" :disabled="model.rmbclmlate != ''"
</c-col> >Claim Reimbursement now</c-checkbox
>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop=""> <c-checkbox v-model="model.rmbclmlate" :disabled="model.rmbclmnow != ''"
</el-form-item> >Claim Reimbursement late</c-checkbox
</c-col> >
<c-col :span="24"> </c-col>
<el-form-item label="" prop="">
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bedgrp.rec.docrolflg">Send Documents to another</c-checkbox> <el-form-item label="" prop=""> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="" prop=""> </el-form-item>
</c-col>
<!-- SF000064 : Receiver of Documents --> <c-col :span="24">
<c-col :span="24"> <c-checkbox v-model="model.bedgrp.rec.docrolflg"
<el-form-item label="Receiver of Documents" prop="bedgrp.rec.docrol"> >Send Documents to another</c-checkbox
<c-select
v-model="model.bedgrp.rec.docrol"
style="width: 100%"
placeholder="请选择"
:disabled="model.bedgrp.rec.docrolflg==''"
:code="codes.rolall"
> >
</c-select> </c-col>
</el-form-item>
</c-col>
<!-- SF000064 : Receiver of Documents -->
<c-col :span="24"> <c-col :span="24">
<c-ptap1 <el-form-item label="Receiver of Documents" prop="bedgrp.rec.docrol">
:model="model" <c-select
:argadr="{ v-model="model.bedgrp.rec.docrol"
title: '', style="width: 100%"
grp: 'bedgrp', placeholder="请选择"
rol: 'doc', :disabled="model.bedgrp.rec.docrolflg == ''"
}" :code="codes.rolall"
@onSeainf="onSeainf"
@onAplpDet="onDocpDet"
:disabled1="model.bedgrp.rec.docrol!='OTH' ||model.bedgrp.rec.docrolflg==''"
:disabled="true"
> >
</c-ptap1> </c-select>
</c-col> </el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: '',
grp: 'bedgrp',
rol: 'doc',
}"
@onSeainf="onSeainf"
@onAplpDet="onDocpDet"
:disabled1="
model.bedgrp.rec.docrol != 'OTH' || model.bedgrp.rec.docrolflg == ''
"
:disabled="true"
>
</c-ptap1>
</c-col>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<c-checkbox v-model="model.bedgrp.blk.docdisflg">{{ <c-checkbox v-model="model.bedgrp.blk.docdisflg">{{
$t('bedsnd.CF000066') $t('bedsnd.CF000066')
...@@ -544,11 +590,11 @@ import Api from '~/service/Api' ...@@ -544,11 +590,11 @@ 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/Betsnd/Event' import Event from '~/model/Betsnd/Event'
import Ptap1 from "~/views/Public/Ptap1" import Ptap1 from '~/views/Public/Ptap1'
export default { export default {
components: { components: {
"c-ptap1": Ptap1, 'c-ptap1': Ptap1,
}, },
inject: ['root'], inject: ['root'],
props: ['model', 'codes'], props: ['model', 'codes'],
...@@ -556,15 +602,15 @@ export default { ...@@ -556,15 +602,15 @@ export default {
data() { data() {
return {} return {}
}, },
methods: { ...Event, onSeainf(){} }, methods: { ...Event, onSeainf() {} },
computed: { computed: {
bedsndIngdsc: { bedsndIngdsc: {
get() { get() {
return this.model.bedsnd.ingdsc != "" return this.model.bedsnd.ingdsc != ''
}, },
set(val) { set(val) {
this.model.bedsnd.ingdsc = val ? "X" : "" this.model.bedsnd.ingdsc = val ? 'X' : ''
} },
}, },
}, },
created: function () {}, created: function () {},
......
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择Maturity Date" placeholder="请选择Maturity Date"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
:disabled="true" :disabled="model.bedgrp.blk.matper!=''||model.bedgrp.rec.docflg=='P'"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -411,6 +411,7 @@ ...@@ -411,6 +411,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择Maturity Date" placeholder="请选择Maturity Date"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
:disabled="model.bedgrp.blk.matper!=''||model.bedgrp.rec.docflg=='P'"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -425,7 +426,7 @@ ...@@ -425,7 +426,7 @@
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入Maturity Period" placeholder="请输入Maturity Period"
:disabled="model.bedgrp.rec.matdat!=''||model.bedgrp.rec.doctypcod=='P'" :disabled="model.bedgrp.rec.matdat!=null&&model.bedgrp.rec.matdat!=''||model.bedgrp.rec.docflg=='P'"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
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