Commit ecdf26d9 by liaoxing

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents b8c6e30c 059c3e70
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
<template> <template>
<div class="m-Btn-eContainer" v-if="!buttonHide && ((!isReview && !funcBtnHide) || showSetBtn)"> <div class="m-Btn-eContainer" v-if="!buttonHide && ((!isReview && !funcBtnHide) || showSetBtn)">
<div class="m-funcBtn-eContainer" v-if="!isReview && !buttonHide && !funcBtnHide"> <div class="m-funcBtn-eContainer" v-if="!isReview && !buttonHide && !funcBtnHide">
<el-button type="primary" v-show="root.judgeVisiableInfo('mtabut.usrcon')" size="small" @click="confirm" :loading="$store.state.Status.loading.confirm">{{ $t('buttons.confirm') }}</el-button> <!-- 确认按钮暂时隐藏 -->
<!-- <el-button type="primary" v-show="root.judgeVisiableInfo('mtabut.usrcon')" size="small" @click="confirm" :loading="$store.state.Status.loading.confirm">{{ $t('buttons.confirm') }}</el-button> -->
<el-button type="primary" v-show="root.judgeVisiableInfo('mtabut.sav')" size="small" @click="start" :loading="$store.state.Status.loading.submit">{{ $t('buttons.submit') }}</el-button> <el-button type="primary" v-show="root.judgeVisiableInfo('mtabut.sav')" size="small" @click="start" :loading="$store.state.Status.loading.submit">{{ $t('buttons.submit') }}</el-button>
<el-button size="small" v-show="root.judgeVisiableInfo('mtabut.chk')" @click="check" :loading="$store.state.Status.loading.check">{{ $t('buttons.check') }}</el-button> <el-button size="small" v-show="root.judgeVisiableInfo('mtabut.chk')" @click="check" :loading="$store.state.Status.loading.check">{{ $t('buttons.check') }}</el-button>
<el-button size="small" @click="save" :loading="$store.state.Status.loading.stash">{{ $t('buttons.stash') }}</el-button> <el-button size="small" @click="save" :loading="$store.state.Status.loading.stash">{{ $t('buttons.stash') }}</el-button>
......
...@@ -55,9 +55,7 @@ export default class Eadame{ ...@@ -55,9 +55,7 @@ export default class Eadame{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
dclp: { dclp: [],
exdebtcode: ""
}
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
......
...@@ -55,9 +55,7 @@ export default class Eaddel{ ...@@ -55,9 +55,7 @@ export default class Eaddel{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
dclp: { dclp: [],
exdebtcode: "",
}
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
......
...@@ -52,6 +52,7 @@ export default class Eadinf{ ...@@ -52,6 +52,7 @@ export default class Eadinf{
inltcabuscode:"", // 信用证承兑业务参号 .recgrp.bas.inltcabuscode inltcabuscode:"", // 信用证承兑业务参号 .recgrp.bas.inltcabuscode
remark:"", // 备注 .recgrp.bas.remark remark:"", // 备注 .recgrp.bas.remark
relation:"", // 对方与本机构的关系 .recgrp.bas.relation relation:"", // 对方与本机构的关系 .recgrp.bas.relation
sta: ""
}, },
}, },
recp:{ recp:{
...@@ -60,10 +61,7 @@ export default class Eadinf{ ...@@ -60,10 +61,7 @@ export default class Eadinf{
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
exdebtcode: "", exdebtcode: "",
}, },
dclp: { dclp: []
exdebtcode: "",
sta: ""
}
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
......
...@@ -54,9 +54,7 @@ export default class Eafame{ ...@@ -54,9 +54,7 @@ export default class Eafame{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
dclp: { dclp: [],
exdebtcode: "",
}
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
......
...@@ -54,9 +54,7 @@ export default class Eafdel{ ...@@ -54,9 +54,7 @@ export default class Eafdel{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
dclp: { dclp: [],
exdebtcode: "",
}
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
......
...@@ -54,9 +54,7 @@ export default class Eafinf{ ...@@ -54,9 +54,7 @@ export default class Eafinf{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
dclp: { dclp: [],
exdebtcode: "",
}
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
......
...@@ -43,26 +43,7 @@ export default class Ecaadd{ ...@@ -43,26 +43,7 @@ export default class Ecaadd{
}, },
}, },
recp:{ recp:{
dclp:{ dclp:[],
dofoexlocode:"",
changeno:"",
actiontype:"",
buscode:"",
loanopenbalan:"",
withcurrence:"",
withamount:"",
settamount:"",
useofunds:"",
princurr:"",
remark:"",
actiondesc:"",
changedate:"",
acp:"",
endbalan:"",
inpaycurr:"",
inpayamount:"",
pinpayamount:"",
},
pubp:{ pubp:{
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
......
...@@ -43,6 +43,7 @@ export default class Ecaame{ ...@@ -43,6 +43,7 @@ export default class Ecaame{
}, },
}, },
recp:{ recp:{
dclp:[],
pubp:{ pubp:{
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
......
...@@ -43,6 +43,7 @@ export default class Ecadel{ ...@@ -43,6 +43,7 @@ export default class Ecadel{
}, },
}, },
recp:{ recp:{
dclp:[],
pubp:{ pubp:{
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
......
...@@ -43,6 +43,7 @@ export default class Ecainf{ ...@@ -43,6 +43,7 @@ export default class Ecainf{
}, },
}, },
recp:{ recp:{
dclp:[],
pubp:{ pubp:{
acp:"", // 确认 .recp.pubp.acp acp:"", // 确认 .recp.pubp.acp
}, },
......
...@@ -19,6 +19,11 @@ export default class Gitame{ ...@@ -19,6 +19,11 @@ export default class Gitame{
gitapll4blk:"", gitapll4blk:"",
gitrmbl1blk:"", gitrmbl1blk:"",
gitp:{ gitp:{
oldgidtxt: {},
oldgtxgidtxt: {},
gtx: {
gidtxt: {},
},
swiftflg:"", // 是否SWIFT格式 .gitp.swiftflg swiftflg:"", // 是否SWIFT格式 .gitp.swiftflg
recget:{ recget:{
sdamod:{ sdamod:{
...@@ -128,6 +133,7 @@ export default class Gitame{ ...@@ -128,6 +133,7 @@ export default class Gitame{
chargi:{ chargi:{
chkast:"", // Allow * .gitp.chargi.chkast chkast:"", // Allow * .gitp.chargi.chkast
}, },
gidtxt: {},
gidtxtmodflg:"", // Modify Guarantee Text .gitp.gidtxtmodflg gidtxtmodflg:"", // Modify Guarantee Text .gitp.gidtxtmodflg
chkgidtxt:"", // Allow * .gitp.chkgidtxt chkgidtxt:"", // Allow * .gitp.chkgidtxt
cnrp:{ cnrp:{
......
...@@ -4,38 +4,38 @@ ...@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 --> <!-- 外债编号 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode"> <c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28" <c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- 变动编号 --> <!-- 变动编号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno"> <el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号" <c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled> :code="codes.changeno" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 操作类型 --> <!-- 操作类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype"> <el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled <c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype"> :code="codes.actiontype">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 银行业务参号 --> <!-- 银行业务参号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode"> <el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input> <c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" :disabled="dclp.acp !== 'X'"></c-input>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动类型 --> <!-- 变动类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype"> <el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled <c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" :disabled="dclp.acp !== 'X'"
:code="codes.changtype"> :code="codes.changtype">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -43,37 +43,37 @@ ...@@ -43,37 +43,37 @@
<!-- 变动日期 --> <!-- 变动日期 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat"> <el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled <c-date-picker type="date" v-model="dclp.chdate" style="width:100%" :disabled="dclp.acp !== 'X'"
placeholder="请选择变动日期"></c-date-picker> placeholder="请选择变动日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动币种 --> <!-- 变动币种 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency"> <el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled <c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" :disabled="dclp.acp !== 'X'"
:code="codes.curtxt1"> :code="codes.curtxt1">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动金额 --> <!-- 变动金额 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount"> <el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled> <c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" :disabled="dclp.acp !== 'X'">
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 公允价值 --> <!-- 公允价值 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue"> <el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled> <c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" :disabled="dclp.acp !== 'X'">
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 备注 --> <!-- 备注 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark"> <c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit <c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('eadp.S0000023')" :disabled="dclp.acp !== 'X'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -81,28 +81,28 @@ ...@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px"> <c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 --> <!-- S0000022 : 删除原因 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc"> <c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7" <c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled> show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input> </c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item> <el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox> <c-checkbox v-model="dclp.acp" class="checkbox-left" :disabled="model.cfabut.dclflg !== 'X'">确认</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue"> <c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta"> <c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled <!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1"> :code="codes.sta1">
</c-select> --> </c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span> <span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span> <span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span> <span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span> <span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span> <span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span> <span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -120,10 +120,17 @@ export default { ...@@ -120,10 +120,17 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
dclp: {},
} }
}, },
methods: { ...Event }, methods: { ...Event },
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
created: function () { created: function () {
} }
......
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债海外代付-变动信息(1) --> <!--外债海外代付-变动信息(1) -->
<!-- <el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp"> <el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> --> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')" <c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
......
...@@ -4,38 +4,38 @@ ...@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 --> <!-- 外债编号 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode"> <c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28" <c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- 变动编号 --> <!-- 变动编号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno"> <el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号" <c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled> :code="codes.changeno" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 操作类型 --> <!-- 操作类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype"> <el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled <c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype"> :code="codes.actiontype">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 银行业务参号 --> <!-- 银行业务参号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode"> <el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input> <c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动类型 --> <!-- 变动类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype"> <el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled <c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype"> :code="codes.changtype">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -43,36 +43,36 @@ ...@@ -43,36 +43,36 @@
<!-- 变动日期 --> <!-- 变动日期 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat"> <el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled <c-date-picker type="date" v-model="dclp.chdate" style="width:100%" disabled
placeholder="请选择变动日期"></c-date-picker> placeholder="请选择变动日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动币种 --> <!-- 变动币种 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency"> <el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled <c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1"> :code="codes.curtxt1">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动金额 --> <!-- 变动金额 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount"> <el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled> <c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" disabled>
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 公允价值 --> <!-- 公允价值 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue"> <el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled> <c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" disabled>
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 备注 --> <!-- 备注 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark"> <c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit <c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -81,28 +81,28 @@ ...@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px"> <c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 --> <!-- S0000022 : 删除原因 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc"> <c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7" <c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled> show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" :disabled="dclp.acp !== 'X'">
</c-input> </c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item> <el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox> <c-checkbox v-model="dclp.acp" class="checkbox-left" :disabled="model.cfabut.dclflg !== 'X'">确认</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue"> <c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta"> <c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled <!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1"> :code="codes.sta1">
</c-select> --> </c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span> <span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span> <span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span> <span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span> <span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span> <span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span> <span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -120,10 +120,17 @@ export default { ...@@ -120,10 +120,17 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
dclp: {}
} }
}, },
methods: { ...Event }, methods: { ...Event },
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
created: function () { created: function () {
} }
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债海外代付-变动信息(1) --> <!--外债海外代付-变动信息(1) -->
<!-- <el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp"> <el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> --> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')" <c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
......
...@@ -4,38 +4,38 @@ ...@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 --> <!-- 外债编号 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode"> <c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28" <c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- 变动编号 --> <!-- 变动编号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno"> <el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号" <c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled> :code="codes.changeno" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 操作类型 --> <!-- 操作类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype"> <el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled <c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype"> :code="codes.actiontype">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 银行业务参号 --> <!-- 银行业务参号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode"> <el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input> <c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动类型 --> <!-- 变动类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype"> <el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled <c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype"> :code="codes.changtype">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -43,36 +43,36 @@ ...@@ -43,36 +43,36 @@
<!-- 变动日期 --> <!-- 变动日期 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat"> <el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" <c-date-picker type="date" v-model="dclp.chdate" style="width:100%"
placeholder="请选择变动日期"></c-date-picker> placeholder="请选择变动日期" disabled></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动币种 --> <!-- 变动币种 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency"> <el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled <c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1"> :code="codes.curtxt1">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动金额 --> <!-- 变动金额 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount"> <el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled> <c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" disabled>
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 公允价值 --> <!-- 公允价值 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue"> <el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled> <c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" disabled>
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 备注 --> <!-- 备注 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark"> <c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit <c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -81,28 +81,28 @@ ...@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px"> <c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 --> <!-- S0000022 : 删除原因 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc"> <c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7" <c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled> show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input> </c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item> <el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox> <c-checkbox v-model="dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue"> <c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta"> <c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled <!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1"> :code="codes.sta1">
</c-select> --> </c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span> <span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span> <span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span> <span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span> <span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span> <span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span> <span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -120,13 +120,25 @@ export default { ...@@ -120,13 +120,25 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
dclp: {}
} }
}, },
methods: { ...Event }, methods: { ...Event },
created: function () { created: function () {
},
// watch: {
// 'model.recp.dclp'() {
// this.dclp = xx;
// }
// }
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
} }
},
} }
</script> </script>
<style> <style>
......
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债海外代付-变动信息(1) --> <!--外债海外代付-变动信息(1) -->
<!-- <el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp"> <el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> --> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
......
...@@ -4,38 +4,38 @@ ...@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 --> <!-- 外债编号 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode"> <c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28" <c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- 变动编号 --> <!-- 变动编号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno"> <el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号" <c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled> :code="codes.changeno" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 操作类型 --> <!-- 操作类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype"> <el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled <c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype"> :code="codes.actiontype">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 银行业务参号 --> <!-- 银行业务参号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode"> <el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input> <c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" :disabled="dclp.acp !== 'X'"></c-input>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动类型 --> <!-- 变动类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype"> <el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled <c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" :disabled="dclp.acp !== 'X'"
:code="codes.changtype"> :code="codes.changtype">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -43,37 +43,37 @@ ...@@ -43,37 +43,37 @@
<!-- 变动日期 --> <!-- 变动日期 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat"> <el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled <c-date-picker type="date" v-model="dclp.chdate" style="width:100%" :disabled="dclp.acp !== 'X'"
placeholder="请选择变动日期"></c-date-picker> placeholder="请选择变动日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动币种 --> <!-- 变动币种 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency"> <el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled <c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" :disabled="dclp.acp !== 'X'"
:code="codes.curtxt1"> :code="codes.curtxt1">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动金额 --> <!-- 变动金额 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount"> <el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled> <c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" :disabled="dclp.acp !== 'X'">
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 公允价值 --> <!-- 公允价值 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue"> <el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled> <c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" :disabled="dclp.acp !== 'X'">
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 备注 --> <!-- 备注 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark"> <c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit <c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('eadp.S0000023')" :disabled="dclp.acp !== 'X'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -81,28 +81,28 @@ ...@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px"> <c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 --> <!-- S0000022 : 删除原因 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc"> <c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7" <c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled> show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input> </c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item> <el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox> <c-checkbox v-model="dclp.acp" class="checkbox-left" :disabled="model.cfabut.dclflg !== 'X'">确认</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue"> <c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta"> <c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled <!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1"> :code="codes.sta1">
</c-select> --> </c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span> <span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span> <span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span> <span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span> <span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span> <span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span> <span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -120,10 +120,17 @@ export default { ...@@ -120,10 +120,17 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
dclp: {},
} }
}, },
methods: { ...Event }, methods: { ...Event },
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
created: function () { created: function () {
} }
......
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) --> <!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp"> <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> --> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')" <c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
......
...@@ -4,38 +4,38 @@ ...@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 --> <!-- 外债编号 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode"> <c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28" <c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- 变动编号 --> <!-- 变动编号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno"> <el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号" <c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled> :code="codes.changeno" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 操作类型 --> <!-- 操作类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype"> <el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled <c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype"> :code="codes.actiontype">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 银行业务参号 --> <!-- 银行业务参号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode"> <el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input> <c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动类型 --> <!-- 变动类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype"> <el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled <c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype"> :code="codes.changtype">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -43,36 +43,36 @@ ...@@ -43,36 +43,36 @@
<!-- 变动日期 --> <!-- 变动日期 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat"> <el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled <c-date-picker type="date" v-model="dclp.chdate" style="width:100%" disabled
placeholder="请选择变动日期"></c-date-picker> placeholder="请选择变动日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动币种 --> <!-- 变动币种 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency"> <el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled <c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1"> :code="codes.curtxt1">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动金额 --> <!-- 变动金额 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount"> <el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled> <c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" disabled>
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 公允价值 --> <!-- 公允价值 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue"> <el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled> <c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" disabled>
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 备注 --> <!-- 备注 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark"> <c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit <c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -81,28 +81,28 @@ ...@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px"> <c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 --> <!-- S0000022 : 删除原因 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc"> <c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7" <c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled> show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" :disabled="dclp.acp !== 'X'">
</c-input> </c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item> <el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox> <c-checkbox v-model="dclp.acp" class="checkbox-left" :disabled="model.cfabut.dclflg !== 'X'">确认</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue"> <c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta"> <c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled <!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1"> :code="codes.sta1">
</c-select> --> </c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span> <span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span> <span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span> <span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span> <span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span> <span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span> <span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -120,10 +120,17 @@ export default { ...@@ -120,10 +120,17 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
dclp: {},
} }
}, },
methods: { ...Event }, methods: { ...Event },
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
created: function () { created: function () {
} }
......
...@@ -18,11 +18,11 @@ ...@@ -18,11 +18,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) --> <!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp"> <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> --> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')" <c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
......
...@@ -4,38 +4,38 @@ ...@@ -4,38 +4,38 @@
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 --> <!-- 外债编号 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode"> <c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.0.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28" <c-input v-model="dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- 变动编号 --> <!-- 变动编号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno"> <el-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号" <c-input v-model="dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled> :code="codes.changeno" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 操作类型 --> <!-- 操作类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype"> <el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled <c-select v-model="dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype"> :code="codes.actiontype">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 银行业务参号 --> <!-- 银行业务参号 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode"> <el-form-item label="银行业务参号" prop="recp.dclp.0.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input> <c-input v-model="dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动类型 --> <!-- 变动类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype"> <el-form-item label="变动类型" prop="recp.dclp.0.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled <c-select v-model="dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype"> :code="codes.changtype">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -43,36 +43,36 @@ ...@@ -43,36 +43,36 @@
<!-- 变动日期 --> <!-- 变动日期 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat"> <el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled <c-date-picker type="date" v-model="dclp.chdate" style="width:100%" disabled
placeholder="请选择变动日期"></c-date-picker> placeholder="请选择变动日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动币种 --> <!-- 变动币种 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency"> <el-form-item label="变动币种" prop="recp.dclp.0.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled <c-select v-model="dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1"> :code="codes.curtxt1">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 变动金额 --> <!-- 变动金额 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount"> <el-form-item label="变动金额" prop="recp.dclp.0.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled> <c-input-currency-min v-model="dclp.chamount" style="width:100%" placeholder="请输入变动金额" class="input-currency-left" disabled>
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 公允价值 --> <!-- 公允价值 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue"> <el-form-item label="公允价值" prop="recp.dclp.0.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled> <c-input-currency-min v-model="dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" class="input-currency-left" disabled>
</c-input> </c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 备注 --> <!-- 备注 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark"> <c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.0.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit <c-input type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input> :placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -81,28 +81,28 @@ ...@@ -81,28 +81,28 @@
<c-col :span="12" style="padding-left: 20px"> <c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 --> <!-- S0000022 : 删除原因 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc"> <c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.0.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7" <c-input type="textarea" v-model="dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled> show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input> </c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item> <el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox> <c-checkbox v-model="dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue"> <c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta"> <c-form-item prop="recp.dclp.0.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled <!-- <c-select v-model="this.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1"> :code="codes.sta1">
</c-select> --> </c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span> <span v-if="this.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span> <span v-else-if="this.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span> <span v-else-if="this.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span> <span v-else-if="this.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span> <span v-else-if="this.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span> <span v-else-if="this.dclp.sta == 'E'">待修改</span>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -120,10 +120,17 @@ export default { ...@@ -120,10 +120,17 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
dclp: {},
} }
}, },
methods: { ...Event }, methods: { ...Event },
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
created: function () { created: function () {
} }
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) --> <!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp"> <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> --> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
......
...@@ -3,73 +3,85 @@ ...@@ -3,73 +3,85 @@
<!-- ==================左边================ --> <!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px;">
<c-col :span="24"> <c-col :span="24">
<c-form-item label="国内外汇贷款编号" prop="recp.dclp.dofoexlocode"> <c-form-item label="国内外汇贷款编号" prop="recp.dclp.0.dofoexlocode">
<c-input disabled v-model="model.recp.dclp.dofoexlocode" maxlength="28" placeholder=""></c-input> <c-input disabled v-model="dclp.dofoexlocode" maxlength="28" placeholder=""></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="变动编号" prop="recp.dclp.changeno"> <c-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input disabled v-model="model.recp.dclp.changeno" placeholder=""></c-input> <c-input disabled v-model="dclp.changeno" placeholder=""></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype"> <el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select disabled :code="codes.actiontype" v-model="model.recp.dclp.actiontype" style="width:100%" placeholder=""> <c-select disabled :code="codes.actiontype" v-model="dclp.actiontype" style="width:100%" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.dclp.buscode"> <c-form-item label="银行业务编号" prop="recp.dclp.0.buscode">
<c-input v-model="model.recp.dclp.buscode" placeholder=""></c-input> <c-input v-model="dclp.buscode" placeholder=""></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="期初余额" prop="recp.dclp.loanopenbalan" > <c-form-item label="期初余额" prop="recp.dclp.0.loanopenbalan" >
<c-input v-model="model.recp.dclp.loanopenbalan" placeholder=""></c-input> <c-input-currency v-model="dclp.loanopenbalan" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="提款币种" prop="recp.dclp.withcurrence"> <el-form-item label="提款币种" prop="recp.dclp.0.withcurrence">
<c-select :code="codes.curtxt1" v-model="model.recp.dclp.withcurrence" style="width:100%" placeholder=""> <c-select :code="codes.curtxt1" v-model="dclp.withcurrence" style="width:100%" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="提款金额" prop="recp.dclp.withamount" > <c-form-item label="提款金额" prop="recp.dclp.0.withamount" >
<c-input v-model="model.recp.dclp.withamount" placeholder=""></c-input> <c-input-currency v-model="dclp.withamount" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="结汇金额" prop="recp.dclp.settamount" > <c-form-item label="结汇金额" prop="recp.dclp.0.settamount" >
<c-input v-model="model.recp.dclp.settamount" placeholder=""></c-input> <c-input-currency v-model="dclp.settamount" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="资金用途" prop="recp.dclp.useofunds"> <el-form-item label="资金用途" prop="recp.dclp.0.useofunds">
<c-select v-model="model.recp.dclp.useofunds" style="width:100%" placeholder=""> <c-select :code="codes.useofunds" v-model="dclp.useofunds" style="width:100%" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="还本币种" prop="recp.dclp.princurr"> <el-form-item label="还本币种" prop="recp.dclp.0.princurr">
<c-select :code="codes.curtxt1" v-model="model.recp.dclp.princurr" style="width:100%" placeholder=""> <c-select :code="codes.curtxt1" v-model="dclp.princurr" style="width:100%" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-form-item label="还本金额" prop="recp.dclp.0.repayamount" >
<c-input-currency v-model="dclp.repayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="备注" prop="recp.dclp.remark"> <c-form-item label="购汇还本金额" prop="recp.dclp.0.prepayamount" >
<c-input :rows="4" type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit placeholder="" ></c-input> <c-input-currency v-model="dclp.prepayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="备注" prop="recp.dclp.0.remark">
<c-input :rows="4" type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit placeholder="" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -77,42 +89,44 @@ ...@@ -77,42 +89,44 @@
<!-- ============右边================= --> <!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<c-form-item label="删除原因" prop="recp.dclp.actiondesc"> <c-form-item label="删除原因" prop="recp.dclp.0.actiondesc">
<c-input disabled :rows="6" type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" show-word-limit placeholder="" ></c-input> <c-input disabled :rows="6" type="textarea" v-model="dclp.actiondesc" maxlength="32" show-word-limit placeholder="" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="变动日期" prop="recp.dclp.changedate"> <el-form-item label="变动日期" prop="recp.dclp.0.changedate">
<c-date-picker type="date" v-model="model.recp.dclp.changedate" style="width:100%" placeholder=""></c-date-picker> <c-date-picker type="date" v-model="dclp.changedate" style="width:100%" placeholder=""></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox disabled v-model="model.recp.dclp.acp">确认</c-checkbox> <c-form-item label="" label-width="0" prop="recp.dclp.0.acp">
<c-checkbox disabled v-model="dclp.acp">确认</c-checkbox>
</c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="期末余额" prop="recp.dclp.endbalan" > <c-form-item label="期末余额" prop="recp.dclp.0.endbalan" >
<c-input v-model="model.recp.dclp.endbalan" placeholder=""></c-input> <c-input-currency v-model="dclp.endbalan" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付息币种" prop="recp.dclp.inpaycurr"> <el-form-item label="付息币种" prop="recp.dclp.0.inpaycurr">
<c-select :code="codes.curtxt1" v-model="model.recp.dclp.inpaycurr" style="width:100%" placeholder=""> <c-select :code="codes.curtxt1" v-model="dclp.inpaycurr" style="width:100%" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="付息金额" prop="recp.dclp.inpayamount" > <c-form-item label="付息金额" prop="recp.dclp.0.inpayamount" >
<c-input v-model="model.recp.dclp.inpayamount" placeholder=""></c-input> <c-input-currency v-model="dclp.inpayamount" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item label="购汇付息金额" prop="recp.dclp.pinpayamount" > <c-form-item label="购汇付息金额" prop="recp.dclp.0.pinpayamount" >
<c-input v-model="model.recp.dclp.pinpayamount" placeholder=""></c-input> <c-input-currency v-model="dclp.pinpayamount" placeholder=""></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -132,7 +146,14 @@ ...@@ -132,7 +146,14 @@
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
dclp: {}
}
},
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
} }
}, },
methods:{...Event}, methods:{...Event},
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<c-col :span="12"> <c-col :span="12">
<span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span> <span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span>
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl"> <c-form-item label="DCL数目" prop="cfabut.newdcl">
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr"> <c-button size="small" type="primary" @click="onCutpErr">
{{$t('cutp.C0000009')}} {{$t('cutp.C0000009')}}
</c-button> </c-button>
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
import Api from "~/service/Api" 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/Ebaadd/Event" import Event from "~/model/Ecaadd/Event"
export default { export default {
inject: ['root'], inject: ['root'],
......
<template>
<div class="eibs-tab">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-form-item label="国内外汇贷款编号" prop="recp.dclp.0.dofoexlocode">
<c-input disabled v-model="dclp.dofoexlocode" maxlength="28" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input disabled v-model="dclp.changeno" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select disabled :code="codes.actiontype" v-model="dclp.actiontype" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.dclp.0.buscode">
<c-input :disabled="this.dclp.acp==''" v-model="dclp.buscode" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期初余额" prop="recp.dclp.0.loanopenbalan" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.loanopenbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提款币种" prop="recp.dclp.0.withcurrence">
<c-select :disabled="this.dclp.acp==''" :code="codes.curtxt1" v-model="dclp.withcurrence" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="提款金额" prop="recp.dclp.0.withamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.withamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="结汇金额" prop="recp.dclp.0.settamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.settamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="资金用途" prop="recp.dclp.0.useofunds">
<c-select :disabled="this.dclp.acp==''" :code="codes.useofunds" v-model="dclp.useofunds" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="还本币种" prop="recp.dclp.0.princurr">
<c-select :disabled="this.dclp.acp==''" :code="codes.curtxt1" v-model="dclp.princurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="还本金额" prop="recp.dclp.0.repayamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.repayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇还本金额" prop="recp.dclp.0.prepayamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.prepayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="备注" prop="recp.dclp.0.remark">
<c-input :disabled="this.dclp.acp==''" :rows="4" type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-form-item label="删除原因" prop="recp.dclp.0.actiondesc">
<c-input disabled :rows="6" type="textarea" v-model="dclp.actiondesc" maxlength="32" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="变动日期" prop="recp.dclp.0.changedate">
<c-date-picker :disabled="this.dclp.acp==''" type="date" v-model="dclp.changedate" style="width:100%" placeholder=""></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" label-width="0" prop="recp.dclp.0.acp">
<c-checkbox :disabled="this.model.cfabut.dclflg==''" v-model="dclp.acp">确认</c-checkbox>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期末余额" prop="recp.dclp.0.endbalan" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.endbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付息币种" prop="recp.dclp.0.inpaycurr">
<c-select :disabled="this.dclp.acp==''" :code="codes.curtxt1" v-model="dclp.inpaycurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付息金额" prop="recp.dclp.0.inpayamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.inpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇付息金额" prop="recp.dclp.0.pinpayamount" >
<c-input-currency :disabled="this.dclp.acp==''" v-model="dclp.pinpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebaadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
dclp: {}
}
},
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
...@@ -15,27 +15,6 @@ ...@@ -15,27 +15,6 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-form-item label="代付利息" prop="eblmod.ebl.resamt">
<c-input v-model="model.eblmod.ebl.resamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.cfabut.addnew">新增接口数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model="model.cfabut.newdcl" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="VRF数目" prop="cfabut.newvrf">
<c-input v-model="model.cfabut.newvrf" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
<!-- ============右边================= --> <!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
...@@ -48,16 +27,16 @@ ...@@ -48,16 +27,16 @@
</c-col> --> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<c-checkbox v-model="model.cfabut.dclflg">责任余额</c-checkbox> <c-checkbox v-model="model.cfabut.dclflg">变动信息</c-checkbox>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span> <span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span>
</c-col> --> </c-col> -->
<c-col :span="8"> <!-- <c-col :span="8">
<c-checkbox v-model="model.cfabut.vrfflg">履约信息</c-checkbox> <c-checkbox disabled v-model="model.cfabut.vrfflg">履约信息</c-checkbox>
</c-col> </c-col> -->
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -100,7 +79,7 @@ ...@@ -100,7 +79,7 @@
<c-col :span="12"> <c-col :span="12">
<span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span> <span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span>
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl"> <c-form-item label="DCL数目" prop="cfabut.newdcl">
...@@ -108,7 +87,7 @@ ...@@ -108,7 +87,7 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr"> <c-button size="small" type="primary" @click="onCutpErr">
{{$t('cutp.C0000009')}} {{$t('cutp.C0000009')}}
</c-button> </c-button>
......
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
<m-conp :model="model" :codes="codes"/> <m-conp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="国内外汇贷款-变动信息" name="dclpp">
<c-content>
<m-dclpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn <c-function-btn
...@@ -37,11 +43,13 @@ import Default from "~/model/Ecaame/Default" ...@@ -37,11 +43,13 @@ import Default from "~/model/Ecaame/Default"
import Pattern from "~/model/Ecaame/Pattern" import Pattern from "~/model/Ecaame/Pattern"
import Sel from "./Sel" import Sel from "./Sel"
import Conp from "./Conp" import Conp from "./Conp"
import Dclpp from "./Dclpp"
export default { export default {
name: "Ecaame", name: "Ecaame",
components:{ components:{
"m-dclpp":Dclpp,
"m-sel" : Sel, "m-sel" : Sel,
"m-conp" : Conp, "m-conp" : Conp,
}, },
......
<template>
<div class="eibs-tab">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-form-item label="国内外汇贷款编号" prop="recp.dclp.0.dofoexlocode">
<c-input disabled v-model="dclp.dofoexlocode" maxlength="28" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input disabled v-model="dclp.changeno" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select disabled :code="codes.actiontype" v-model="dclp.actiontype" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.dclp.0.buscode">
<c-input disabled v-model="dclp.buscode" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期初余额" prop="recp.dclp.0.loanopenbalan" >
<c-input-currency disabled v-model="dclp.loanopenbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提款币种" prop="recp.dclp.0.withcurrence">
<c-select disabled :code="codes.curtxt1" v-model="dclp.withcurrence" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="提款金额" prop="recp.dclp.0.withamount" >
<c-input-currency disabled v-model="dclp.withamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="结汇金额" prop="recp.dclp.0.settamount" >
<c-input-currency disabled v-model="dclp.settamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="资金用途" prop="recp.dclp.0.useofunds">
<c-select :code="codes.useofunds" disabled v-model="dclp.useofunds" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="还本币种" prop="recp.dclp.0.princurr">
<c-select disabled :code="codes.curtxt1" v-model="dclp.princurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="还本金额" prop="recp.dclp.0.repayamount" >
<c-input-currency disabled v-model="dclp.repayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇还本金额" prop="recp.dclp.0.prepayamount" >
<c-input-currency disabled v-model="dclp.prepayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="备注" prop="recp.dclp.0.remark">
<c-input disabled :rows="4" type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-form-item label="删除原因" prop="recp.dclp.0.actiondesc">
<c-input :disabled="this.dclp.acp==''" :rows="6" type="textarea" v-model="dclp.actiondesc" maxlength="32" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="变动日期" prop="recp.dclp.0.changedate">
<c-date-picker disabled type="date" v-model="dclp.changedate" style="width:100%" placeholder=""></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" label-width="0" prop="recp.dclp.0.acp">
<c-checkbox :disabled="(this.model.cfabut.dclflg=='' && this.model.cfabut.basflg=='') ||(this.model.cfabut.dclflg=='X' && this.model.cfabut.basflg=='X')||(this.model.cfabut.dclflg=='' && this.model.cfabut.basflg=='X')" v-model="dclp.acp">确认</c-checkbox>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期末余额" prop="recp.dclp.0.endbalan" >
<c-input-currency disabled v-model="dclp.endbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付息币种" prop="recp.dclp.0.inpaycurr">
<c-select disabled :code="codes.curtxt1" v-model="dclp.inpaycurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付息金额" prop="recp.dclp.0.inpayamount" >
<c-input-currency disabled v-model="dclp.inpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇付息金额" prop="recp.dclp.0.pinpayamount" >
<c-input-currency disabled v-model="dclp.pinpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebaadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
dclp: {}
}
},
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
},
"model.cfabut.dclflg" :{
immediate: true,
handler(val,oldval){
if(this.model.cfabut.basflg=="X" && this.model.cfabut.dclflg=="X"){
this.dclp.acp="X"
}
else if(this.model.cfabut.dclflg==""){
this.dclp.acp=""
}
}
},
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
...@@ -15,27 +15,6 @@ ...@@ -15,27 +15,6 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-form-item label="代付利息" prop="eblmod.ebl.resamt">
<c-input v-model="model.eblmod.ebl.resamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.cfabut.addnew">新增接口数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model="model.cfabut.newdcl" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="VRF数目" prop="cfabut.newvrf">
<c-input v-model="model.cfabut.newvrf" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
<!-- ============右边================= --> <!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
...@@ -48,16 +27,16 @@ ...@@ -48,16 +27,16 @@
</c-col> --> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<c-checkbox v-model="model.cfabut.dclflg">责任余额</c-checkbox> <c-checkbox v-model="model.cfabut.dclflg">变动信息</c-checkbox>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span> <span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span>
</c-col> --> </c-col> -->
<c-col :span="8"> <!-- <c-col :span="8">
<c-checkbox v-model="model.cfabut.vrfflg">履约信息</c-checkbox> <c-checkbox disabled v-model="model.cfabut.vrfflg">履约信息</c-checkbox>
</c-col> </c-col> -->
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -146,6 +125,19 @@ ...@@ -146,6 +125,19 @@
} }
}, },
watch:{
"model.cfabut.basflg" :{
immediate: true,
handler(val,oldval){
if(this.model.cfabut.basflg=="X"){
this.model.cfabut.dclflg="X"
}
else{
this.model.cfabut.dclflg=""
}
}
},
},
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
......
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
<m-conp :model="model" :codes="codes"/> <m-conp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="国内外汇贷款-变动信息" name="dclpp">
<c-content>
<m-dclpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn <c-function-btn
...@@ -37,11 +43,13 @@ import Default from "~/model/Ecadel/Default" ...@@ -37,11 +43,13 @@ import Default from "~/model/Ecadel/Default"
import Pattern from "~/model/Ecadel/Pattern" import Pattern from "~/model/Ecadel/Pattern"
import Sel from "./Sel" import Sel from "./Sel"
import Conp from "./Conp" import Conp from "./Conp"
import Dclpp from "./Dclpp"
export default { export default {
name: "Ecadel", name: "Ecadel",
components:{ components:{
"m-dclpp":Dclpp,
"m-sel" : Sel, "m-sel" : Sel,
"m-conp" : Conp, "m-conp" : Conp,
}, },
......
<template>
<div class="eibs-tab">
<!-- ==================左边================ -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-form-item label="国内外汇贷款编号" prop="recp.dclp.0.dofoexlocode">
<c-input disabled v-model="dclp.dofoexlocode" maxlength="28" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="变动编号" prop="recp.dclp.0.changeno">
<c-input disabled v-model="dclp.changeno" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.0.actiontype">
<c-select disabled :code="codes.actiontype" v-model="dclp.actiontype" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="银行业务编号" prop="recp.dclp.0.buscode">
<c-input disabled v-model="dclp.buscode" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期初余额" prop="recp.dclp.0.loanopenbalan" >
<c-input-currency disabled v-model="dclp.loanopenbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提款币种" prop="recp.dclp.0.withcurrence">
<c-select disabled :code="codes.curtxt1" v-model="dclp.withcurrence" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="提款金额" prop="recp.dclp.0.withamount" >
<c-input-currency disabled v-model="dclp.withamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="结汇金额" prop="recp.dclp.0.settamount" >
<c-input-currency disabled v-model="dclp.settamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="资金用途" prop="recp.dclp.0.useofunds">
<c-select :code="codes.useofunds" disabled v-model="dclp.useofunds" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="还本币种" prop="recp.dclp.0.princurr">
<c-select disabled :code="codes.curtxt1" v-model="dclp.princurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="还本金额" prop="recp.dclp.0.repayamount" >
<c-input-currency disabled v-model="dclp.repayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇还本金额" prop="recp.dclp.0.prepayamount" >
<c-input-currency disabled v-model="dclp.prepayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="备注" prop="recp.dclp.0.remark">
<c-input disabled :rows="4" type="textarea" v-model="dclp.remark" maxlength="31" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-form-item label="删除原因" prop="recp.dclp.0.actiondesc">
<c-input disabled :rows="6" type="textarea" v-model="dclp.actiondesc" maxlength="32" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="变动日期" prop="recp.dclp.0.changedate">
<c-date-picker disabled type="date" v-model="dclp.changedate" style="width:100%" placeholder=""></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" label-width="0" prop="recp.dclp.0.acp">
<c-checkbox disabled v-model="dclp.acp">确认</c-checkbox>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="期末余额" prop="recp.dclp.0.endbalan" >
<c-input-currency disabled v-model="dclp.endbalan" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付息币种" prop="recp.dclp.0.inpaycurr">
<c-select disabled :code="codes.curtxt1" v-model="dclp.inpaycurr" style="width:100%" placeholder="">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="付息金额" prop="recp.dclp.0.inpayamount" >
<c-input-currency disabled v-model="dclp.inpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="购汇付息金额" prop="recp.dclp.0.pinpayamount" >
<c-input-currency disabled v-model="dclp.pinpayamount" placeholder=""></c-input-currency>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebaadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
dclp: {}
}
},
watch: {
'model.recp.dclp': function (newVal, oldVal) {
if (newVal) {
this.dclp = newVal[0]
}
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
...@@ -15,27 +15,6 @@ ...@@ -15,27 +15,6 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-form-item label="代付利息" prop="eblmod.ebl.resamt">
<c-input disabled v-model="model.eblmod.ebl.resamt" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.cfabut.addnew">新增接口数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model="model.cfabut.newdcl" placeholder=""></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="VRF数目" prop="cfabut.newvrf">
<c-input v-model="model.cfabut.newvrf" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col> </c-col>
<!-- ============右边================= --> <!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
...@@ -48,16 +27,16 @@ ...@@ -48,16 +27,16 @@
</c-col> --> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<c-checkbox disabled v-model="model.cfabut.dclflg">责任余额</c-checkbox> <c-checkbox disabled v-model="model.cfabut.dclflg">变动信息</c-checkbox>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span> <span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span>
</c-col> --> </c-col> -->
<c-col :span="8"> <!-- <c-col :span="8">
<c-checkbox disabled v-model="model.cfabut.vrfflg">履约信息</c-checkbox> <c-checkbox disabled v-model="model.cfabut.vrfflg">履约信息</c-checkbox>
</c-col> </c-col> -->
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -100,7 +79,7 @@ ...@@ -100,7 +79,7 @@
<c-col :span="12"> <c-col :span="12">
<span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span> <span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span>
</c-col> </c-col> -->
<c-col :span="12"> <c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl"> <c-form-item label="DCL数目" prop="cfabut.newdcl">
...@@ -108,7 +87,7 @@ ...@@ -108,7 +87,7 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr"> <c-button size="small" type="primary" @click="onCutpErr">
{{$t('cutp.C0000009')}} {{$t('cutp.C0000009')}}
</c-button> </c-button>
......
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
<m-conp :model="model" :codes="codes"/> <m-conp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="国内外汇贷款-变动信息" name="dclpp">
<c-content>
<m-dclpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<!-- <c-function-btn <!-- <c-function-btn
...@@ -37,11 +43,13 @@ import Default from "~/model/Ecainf/Default" ...@@ -37,11 +43,13 @@ import Default from "~/model/Ecainf/Default"
import Pattern from "~/model/Ecainf/Pattern" import Pattern from "~/model/Ecainf/Pattern"
import Sel from "./Sel" import Sel from "./Sel"
import Conp from "./Conp" import Conp from "./Conp"
import Dclpp from "./Dclpp"
export default { export default {
name: "Ecainf", name: "Ecainf",
components:{ components:{
"m-dclpp":Dclpp,
"m-sel" : Sel, "m-sel" : Sel,
"m-conp" : Conp, "m-conp" : Conp,
}, },
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<c-col :span="24"> <c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg == 'N'" label="面函标题" prop="gitamep.mstitle"> <c-form-item v-if="model.gitp.swiftflg == 'N'" label="面函标题" prop="gitamep.mstitle">
<c-input type="textarea" v-model="model.gitamep.mstitle" maxlength="30" show-word-limit placeholder="请输入面函标题"> <c-input type="textarea" v-model="model.gitamep.mstitle" maxlength="50" show-word-limit placeholder="请输入面函标题">
</c-input> </c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -299,7 +299,7 @@ ...@@ -299,7 +299,7 @@
<el-form-item v-if=" <el-form-item v-if="
model.gitp.swiftflg == 'N' && model.gitp.swiftflg == 'N' &&
model.trnmod.swiadd.newexpflg == '' model.trnmod.swiadd.newexpflg == ''
" label="新到期日" prop="trnmod.swiadd.newexpdat"> " label="新到期日" prop="trnmod.swiadd.newexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width: 100%" placeholder="请输入新到期日期"> <c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width: 100%" placeholder="请输入新到期日期">
</c-date-picker> </c-date-picker>
</el-form-item> </el-form-item>
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
<c-col :span="16"> <c-col :span="16">
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflg == ''" label="保函文本可变因素" prop="gidgrp.blk.gidtxt"> <el-form-item v-if="model.gitp.gidtxtmodflg == ''" label="保函文本可变因素" prop="gidgrp.blk.gidtxt">
<i-stream-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="16" <c-xml-format-editor :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="16"
:model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入保函文本可变因素"> :model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入保函文本可变因素">
</i-stream-input> </c-xml-format-editor>
</el-form-item> </el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflg == 'X'" label="保函文本可变因素" prop="gidgrp.blk.gtxgidtxt"> <el-form-item v-if="model.gitp.gidtxtmodflg == 'X'" label="保函文本可变因素" prop="gidgrp.blk.gtxgidtxt">
<i-stream-input type="textarea" :model="model.gidgrp.blk.gtxgidtxt" rows="16" maxlength="65" <c-xml-format-editor type="textarea" :model="model.gidgrp.blk.gtxgidtxt" rows="16" maxlength="65"
show-word-limit placeholder="请输入保函文本可变因素"></i-stream-input> show-word-limit placeholder="请输入保函文本可变因素"></c-xml-format-editor>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -26,14 +26,15 @@ ...@@ -26,14 +26,15 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" <c-button :disabled="(model.gitp.gidtxtmodflg == '' && model.gitp.gidtxt == model.gidgrp.blk.gidtxt) || (model.gitp.gidtxtmodflg == 'X' && model.gitp.gtx.gidtxt == model.gidgrp.blk.gtxgidtxt)"
style="margin: 18px 0 0 10px; width: 50%" @click="onGitpButdif"> size="small" type="primary" style="margin: 18px 0 0 10px; width: 50%" @click="onGitpButdif">
查看系统文本 查看系统文本
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button size="small" type="primary" style="margin: 5px 0 0 10px; width: 50%" @click="onGitpButdifhis"> <c-button :disabled="(model.gitp.gidtxtmodflg == '' && model.gitp.oldgidtxt == model.gidgrp.blk.gidtxt) || (model.gitp.gidtxtmodflg == 'X' && model.gitp.oldgtxgidtxt == model.gidgrp.blk.gtxgidtxt)"
size="small" type="primary" style="margin: 5px 0 0 10px; width: 50%" @click="onGitpButdifhis">
查看历史文本 查看历史文本
</c-button> </c-button>
</c-col> </c-col>
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" <c-button :disabled="!(model.gitp.gidtxtmodflg == 'X' && model.gidgrp.rec.giduil == 'CN')" size="small" type="primary"
style="margin: 5px 0 0 10px; width: 50%" @click="onGitpGidtxtmod"> style="margin: 5px 0 0 10px; width: 50%" @click="onGitpGidtxtmod">
修改中文保函文本 修改中文保函文本
</c-button> </c-button>
......
...@@ -118,7 +118,9 @@ import Ptypc from "./Ptypc"; ...@@ -118,7 +118,9 @@ import Ptypc from "./Ptypc";
import Aacp from "./Aacp"; import Aacp from "./Aacp";
import Aamp20 from "./Aamp20"; import Aamp20 from "./Aamp20";
const tabNameToRulePathMapping = {
"gidtxtp": "gitp.gidtxtp",
}
export default { export default {
components: { components: {
...@@ -151,8 +153,42 @@ export default { ...@@ -151,8 +153,42 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
handleChange(val) { myTabClick(tab) {
console.log(val); this.tabClick(tab);
let name = tab.name;
let rulePath;
if (name === "gidtxtp") {
rulePath = "gitp.gidtxtp";
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
handleChange(names){
// console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) {
return
}
const arr = []
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]//取出激活/展开面板name对应的rulePath
if (path) {
arr.push(path)
}
}
let rulePath = arr.join(",");//把arr数组加入逗号分割,变成字符串
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
}, },
}, },
created: function () { }, created: function () { },
......
...@@ -72,11 +72,11 @@ ...@@ -72,11 +72,11 @@
</c-checkbox> </c-checkbox>
<c-checkbox v-model="model.gitp.chkpreper" style="margin: 0 0 0 10px" class="checkbox-left">允许 <c-checkbox v-model="model.gitp.chkpreper" style="margin: 0 0 0 10px" class="checkbox-left">允许
</c-checkbox> </c-checkbox>
<c-button disabled size="small" type="primary" style="margin: 0px 0 0 10px; width: 100px" <c-button :disabled="!(model.gitp.prepermodflg == 'X' && (model.gidgrp.blk.preper !== '' || model.gidgrp.blk.atxpreper !== ''))" size="small" type="primary" style="margin: 0px 0 0 10px; width: 100px"
@click="onGitpButdifpreper"> @click="onGitpButdifpreper">
查看系统文本 查看系统文本
</c-button> </c-button>
<c-button disabled size="small" style="margin: 10px 0 0 10px; width: 100px" type="primary" <c-button :disabled="!(model.gitp.prepermodflg == 'X' && (model.gidgrp.blk.preper !== '' || model.gidgrp.blk.atxpreper !== ''))" size="small" style="margin: 10px 0 0 10px; width: 100px" type="primary"
@click="onGitpButdifhispreper"> @click="onGitpButdifhispreper">
查看历史文本 查看历史文本
</c-button> </c-button>
......
...@@ -38,7 +38,11 @@ ...@@ -38,7 +38,11 @@
import Basp1 from "./Basp1"; import Basp1 from "./Basp1";
import Outp from "./Outp"; import Outp from "./Outp";
const tabNameToRulePathMapping = {
'basp': "bopmod.dbcp.basp",
'basp1': "bopmod.dbfp.basp",
"outp": "cnybop.outp",
}
export default { export default {
inject: ["root"], inject: ["root"],
components: { components: {
...@@ -58,7 +62,28 @@ ...@@ -58,7 +62,28 @@
}, },
methods: { methods: {
...Event, ...Event,
handleChange() {} handleChange(names){
// console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) {
return
}
const arr = []
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]//取出激活/展开面板name对应的rulePath
if (path) {
arr.push(path)
}
}
let rulePath = arr.join(",");//把arr数组加入逗号分割,变成字符串
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
v-model="model.gidgrp.rec.gartyp" v-model="model.gidgrp.rec.gartyp"
style="width: 100%" style="width: 100%"
placeholder="请选择保函种类" placeholder="请选择保函种类"
:code="codes.typgar2" :code="codes.typgar"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
v-model="model.gidgrp.rec.gartyp" v-model="model.gidgrp.rec.gartyp"
style="width: 100%" style="width: 100%"
placeholder="请选择保函种类" placeholder="请选择保函种类"
:code="codes.typgar2" :code="codes.typgar"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -52,6 +52,10 @@ ...@@ -52,6 +52,10 @@
import Gitsetp1 from "./Gitsetp1"; import Gitsetp1 from "./Gitsetp1";
import Gitsetp from "./Gitsetp"; import Gitsetp from "./Gitsetp";
const tabNameToRulePathMapping = {
"det756": "setmod.setglg.setgll(2).sespay.det756",
"det202cv": "setmod.setglg.setgll(2).sespay.det202"
}
export default { export default {
components: { components: {
...@@ -94,8 +98,27 @@ ...@@ -94,8 +98,27 @@
}, },
methods: { methods: {
...Event, ...Event,
handleChange(val) { handleChange(names){
console.log(val); // console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) {
return
}
const arr = []
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]//取出激活/展开面板name对应的rulePath
if (path) {
arr.push(path)
}
}
let rulePath = arr.join(",");//把arr数组加入逗号分割,变成字符串
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
}, },
}, },
created: function () {}, created: function () {},
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<!-- S0000012 : 申报类型 --> <!-- S0000012 : 申报类型 -->
<c-col :span="24" style="margin-top: 20px"> <c-col :span="24" style="margin-top: 20px">
<c-col :span="12" class="col-left"> <c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="申报类型" label-width="120px" prop="bopmod.szflg"> <el-form-item label="申报类型" label-width="120px" prop="bopmod.szflg">
<c-select <c-select
v-model="model.bopmod.szflg" v-model="model.bopmod.szflg"
...@@ -19,15 +20,6 @@ ...@@ -19,15 +20,6 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7" :offset="1">
<c-checkbox
v-model="model.bopmod.basflg"
:disabled="model.bopmod.szflg != '1' && model.bopmod.szflg != '2'"
>基础数据</c-checkbox
>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款项来源"> <el-form-item label="款项来源">
<c-select <c-select
...@@ -45,7 +37,6 @@ ...@@ -45,7 +37,6 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地区机构号"> <el-form-item label="地区机构号">
<c-select <c-select
...@@ -59,6 +50,19 @@ ...@@ -59,6 +50,19 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="7">
<el-form-item class="checkbox-left">
<c-checkbox
v-model="model.bopmod.basflg"
:disabled="model.bopmod.szflg != '1' && model.bopmod.szflg != '2'"
>基础数据</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
</div> </div>
</template> </template>
<script> <script>
......
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
rulePath = "bopmod.dbfp.basp" rulePath = "bopmod.dbfp.basp"
} }
if(name === 'outp'){ if(name === 'outp'){
rulePath = "cnybop.Outp" rulePath = "cnybop.outp"
} }
if (name === "cips") { if (name === "cips") {
rulePath = "trnmod.cipmod.cips" rulePath = "trnmod.cipmod.cips"
......
...@@ -108,8 +108,9 @@ ...@@ -108,8 +108,9 @@
</c-button> </c-button>
<c-button style="margin-left: 5px" size="small" type="primary" @click="continueEdit(scope.row)">处理 <c-button style="margin-left: 5px" size="small" type="primary" @click="continueEdit(scope.row)">处理
</c-button> </c-button>
<c-button style="margin-left: 5px" size="small" @click="onChange(scope.row)" :disabled="scope.row.状态!='INC'">更改 <!-- 更改按钮暂时隐藏 -->
</c-button> <!-- <c-button style="margin-left: 5px" size="small" @click="onChange(scope.row)" :disabled="scope.row.状态!='INC'">更改
</c-button> -->
<el-popover placement="top-start" width="50" trigger="click"> <el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list"> <ul class="table-button-item-list">
......
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
:label=" :label="
idx == 0 idx == 1
? 'Per mile fee depending on duration' ? 'Per mile fee depending on duration'
: 'A fixed amount per unit is caculated. This type will, for example, be used for correspondence charges.' : 'A fixed amount per unit is caculated. This type will, for example, be used for correspondence charges.'
" "
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
/> />
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-col v-if="idx == 0"> <c-col v-if="idx == 1">
<c-col> <c-col>
<el-form-item label="千分率"> <el-form-item label="千分率">
<c-input v-model="formData.wrkfec.ratcal" /> <c-input v-model="formData.wrkfec.ratcal" />
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col v-if="idx == 0" :span="12"> <c-col v-if="idx == 1" :span="12">
<el-form-item label="计费基础金额"> <el-form-item label="计费基础金额">
<c-input v-model="formData.wrkfec.calcbs" disabled /> <c-input v-model="formData.wrkfec.calcbs" disabled />
</el-form-item> </el-form-item>
......
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