Commit 3c6afb51 by “yanyuxin”

功能完善,bug修改

parent 560ebd3d
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="第一还款账号" prop="trtmod.finmod.act1"> <el-form-item label="第一还款账号" prop="trtmod.finmod.act1">
<c-select v-model="model.trtmod.finmod.act1" style="width:100%" placeholder="请选择第一还款账号"> <c-select v-model="model.trtmod.finmod.act1" style="width:100%" placeholder="请选择第一还款账号">
<el-option v-for="item in codes.act1" :key="item.value" :label="item.label" :value="item.value"></el-option> <el-option v-for="(item, idx) in codes.codeSet['trtmod.finmod.act1']" :key="idx" :label="item.split('\t')[1]" :value="item.split('\t')[0]"></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -342,7 +342,7 @@ ...@@ -342,7 +342,7 @@
allow-create allow-create
v-model="model.trtmod.finmod.act3" v-model="model.trtmod.finmod.act3"
style="width:100%" style="width:100%"
:disabled="model.trtmod.finmod.acttyp == null" :disabled="model.trtmod.finmod.acttyp == ''"
placeholder="请选择第三方还款账号"> placeholder="请选择第三方还款账号">
<el-option v-for="item in codes.act3" :key="item.value" :label="item.label" :value="item.value"></el-option> <el-option v-for="item in codes.act3" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select> </c-select>
......
...@@ -78,15 +78,15 @@ ...@@ -78,15 +78,15 @@
</c-form-item> </c-form-item>
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="12">
<el-form-item label="起息日期" prop="trdgrp.rec.stttendat"> <el-form-item label="起息日期" prop="trdgrp.rec.stttendat">
<c-date-picker type="date" v-model="model.trdgrp.rec.stttendat" style="width:50%" :disabled="true" :placeholder="$t('other.please_enter')+$t('trtp0.SF000052')"></c-date-picker> <c-date-picker type="date" v-model="model.trdgrp.rec.stttendat" style="width:100%" :disabled="true" :placeholder="$t('other.please_enter')+$t('trtp0.SF000052')"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="押汇到期日期" prop="trdgrp.rec.matdat"> <el-form-item label="押汇到期日期" prop="trdgrp.rec.matdat">
<c-date-picker label="押汇到期日期" type="date" v-model="model.trdgrp.rec.matdat" style="width:50%" :disabled="true" :placeholder="$t('other.please_enter')+'Maturity Date'"></c-date-picker> <c-date-picker label="押汇到期日期" type="date" v-model="model.trdgrp.rec.matdat" style="width:100%" :disabled="true" :placeholder="$t('other.please_enter')+'Maturity Date'"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="6"> <c-col :span="6">
<c-checkbox v-model="model.financ.rzkx1">贷记贵司指定账户(账号:</c-checkbox> <c-checkbox
v-model="model.financ.rzkx1"
@change="
mutualExclusion();
model.financ.rzkx1 = 'X';
"
>贷记贵司指定账户(账号:</c-checkbox
>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.acc"> <el-form-item
<c-input v-model="model.financ.acc" style="text-align: left; width: 100%" maxlength="40" placeholder="请输入账号"></c-input> style="text-align: left"
label-width="20px"
prop="financ.acc"
>
<c-input
v-model="model.financ.acc"
style="text-align: left; width: 100%"
maxlength="40"
placeholder="请输入账号"
:disabled="model.financ.rzkx1 == '' || model.financ.rzkx1 == null"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<el-form-item label=")"> <el-form-item label=")"> </el-form-item>
</el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-checkbox v-model="model.financ.rzkx2">支付进口信用证项下款项(业务编号:</c-checkbox> <c-checkbox
v-model="model.financ.rzkx2"
@change="
mutualExclusion();
model.financ.rzkx2 = 'X';
"
>支付进口信用证项下款项(业务编号:</c-checkbox
>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref2"> <el-form-item
<c-input v-model="model.financ.ref2" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input> style="text-align: left"
label-width="20px"
prop="financ.ref2"
>
<c-input
v-model="model.financ.ref2"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx2 == '' || model.financ.rzkx2 == null"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<el-form-item label=")"> <el-form-item label=")"> </el-form-item>
</el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-checkbox v-model="model.financ.rzkx3">支付进口代收项下款项(业务编号:</c-checkbox> <c-checkbox
v-model="model.financ.rzkx3"
@change="
mutualExclusion();
model.financ.rzkx3 = 'X';
"
>支付进口代收项下款项(业务编号:</c-checkbox
>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref3"> <el-form-item
<c-input v-model="model.financ.ref3" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input> style="text-align: left"
label-width="20px"
prop="financ.ref3"
>
<c-input
v-model="model.financ.ref3"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx3 == '' || model.financ.rzkx3 == null"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<el-form-item label=")"> <el-form-item label=")"> </el-form-item>
</el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-checkbox v-model="model.financ.rzkx4">支付汇出汇款项下款项(业务编号:</c-checkbox> <c-checkbox
v-model="model.financ.rzkx4"
@change="
mutualExclusion();
model.financ.rzkx4 = 'X';
"
>支付汇出汇款项下款项(业务编号:</c-checkbox
>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref4"> <el-form-item
<c-input v-model="model.financ.ref4" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input> style="text-align: left"
label-width="20px"
prop="financ.ref4"
>
<c-input
v-model="model.financ.ref4"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx4 == '' || model.financ.rzkx4 == null"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<el-form-item label=")"> <el-form-item label=")"> </el-form-item>
</el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<c-checkbox v-model="model.financ.rzkx5">支付国内信用证项下款项(业务编号:</c-checkbox> <c-checkbox
v-model="model.financ.rzkx5"
@change="
mutualExclusion();
model.financ.rzkx5 = 'X';
"
>支付国内信用证项下款项(业务编号:</c-checkbox
>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="14">
<el-form-item style="text-align: left" label-width="20px" prop="financ.ref5"> <el-form-item
<c-input v-model="model.financ.ref5" style="text-align: left; width: 100%" maxlength="20" placeholder="请输入业务编号"></c-input> style="text-align: left"
label-width="20px"
prop="financ.ref5"
>
<c-input
v-model="model.financ.ref5"
style="text-align: left; width: 100%"
maxlength="20"
placeholder="请输入业务编号"
:disabled="model.financ.rzkx5 == '' || model.financ.rzkx5 == null"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<el-form-item label=")"> <el-form-item label=")"> </el-form-item>
</el-form-item>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
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/Trtopn/Event"; import Event from "~/model/Trtopn/Event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {
created: function() {} ...Event,
}; mutualExclusion() {
this.model.financ.rzkx1 = "";
this.model.financ.rzkx2 = "";
this.model.financ.rzkx3 = "";
this.model.financ.rzkx4 = "";
this.model.financ.rzkx5 = "";
},
},
created: function () {},
};
</script> </script>
<style> <style></style>
</style>
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