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"}
], ],
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- 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">
...@@ -22,7 +22,16 @@ ...@@ -22,7 +22,16 @@
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" -->
... ...
...@@ -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,7 +60,16 @@ ...@@ -48,7 +60,16 @@
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" -->
... ...
...@@ -77,7 +98,16 @@ ...@@ -77,7 +98,16 @@
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" -->
... ...
...@@ -86,10 +116,9 @@ ...@@ -86,10 +116,9 @@
</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,8 +137,17 @@ ...@@ -108,8 +137,17 @@
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" -->
... ...
...@@ -122,7 +160,8 @@ ...@@ -122,7 +160,8 @@
<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 -->
...@@ -141,17 +180,23 @@ ...@@ -141,17 +180,23 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bedgrp.rec.approvcod">Documents on Approval Basis <c-checkbox v-model="model.bedgrp.rec.approvcod"
>Documents on Approval Basis
</c-checkbox> </c-checkbox>
</c-col> </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.bedsnd.snd732" disabled
>Create Advice of Discharge(e.g.MT 732)
</c-checkbox> </c-checkbox>
</c-col> </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.betp.cre752flg"
:disabled="model.betp.folwupopt != 'C'"
>Receive MT 752</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -161,7 +206,7 @@ ...@@ -161,7 +206,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
:code="codes.furide" :code="codes.furide"
:disabled="model.betp.cre752flg==''" :disabled="model.betp.cre752flg == ''"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -174,7 +219,7 @@ ...@@ -174,7 +219,7 @@
v-model="model.bedgrp.rec.disdat" v-model="model.bedgrp.rec.disdat"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
:disabled="model.betp.cre752flg==''" :disabled="model.betp.cre752flg == ''"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -190,24 +235,28 @@ ...@@ -190,24 +235,28 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.rmbclmnow" :disabled="model.rmbclmlate!=''">Claim Reimbursement now</c-checkbox> <c-checkbox v-model="model.rmbclmnow" :disabled="model.rmbclmlate != ''"
>Claim Reimbursement now</c-checkbox
>
</c-col> </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.rmbclmlate" :disabled="model.rmbclmnow != ''"
>Claim Reimbursement late</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop=""> <el-form-item label="" prop=""> </el-form-item>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop=""> <el-form-item label="" prop=""> </el-form-item>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bedgrp.rec.docrolflg">Send Documents to another</c-checkbox> <c-checkbox v-model="model.bedgrp.rec.docrolflg"
>Send Documents to another</c-checkbox
>
</c-col> </c-col>
<!-- SF000064 : Receiver of Documents --> <!-- SF000064 : Receiver of Documents -->
...@@ -217,7 +266,7 @@ ...@@ -217,7 +266,7 @@
v-model="model.bedgrp.rec.docrol" v-model="model.bedgrp.rec.docrol"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
:disabled="model.bedgrp.rec.docrolflg==''" :disabled="model.bedgrp.rec.docrolflg == ''"
:code="codes.rolall" :code="codes.rolall"
> >
</c-select> </c-select>
...@@ -234,18 +283,15 @@ ...@@ -234,18 +283,15 @@
}" }"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onDocpDet" @onAplpDet="onDocpDet"
:disabled1="model.bedgrp.rec.docrol!='OTH' ||model.bedgrp.rec.docrolflg==''" :disabled1="
model.bedgrp.rec.docrol != 'OTH' || model.bedgrp.rec.docrolflg == ''
"
:disabled="true" :disabled="true"
> >
</c-ptap1> </c-ptap1>
</c-col> </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