Commit e9b87c46 by lianyang

Betsnd中Document Instructions页面Maturity Date显隐

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