Commit 4ec5adb4 by zhengxiaokui

zxk

parent 59d8ed60
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12">
<c-col :span="12"> <c-col :span="13">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.cur"> <el-form-item label="追加金额" prop="ledgrp.cbs.max2.cur">
<c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount"> <c-select
</c-select> v-model="model.ledgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择币种"
:disabled="true"
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="9">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.amt"> <el-form-item label="" label-width="0px" prop="ledgrp.cbs.max2.amt">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"></c-input> <c-input
v-model="model.ledgrp.cbs.max2.amt"
placeholder="请输入Additional Amount"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12">
<c-col :span="12">
<c-col :span="13">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur"> <el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur">
<c-select v-model="model.ledgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount"> <c-select
</c-select> v-model="model.ledgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择Open Add. Amount"
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="9">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.amt"> <el-form-item label="" label-width="0px" prop="ledgrp.cbs.opn2.amt">
<c-input v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount"></c-input> <c-input
</el-form-item> v-model="model.ledgrp.cbs.opn2.amt"
</c-col> placeholder="请输入Open Add. Amount"
></c-input>
<c-col :span="12">
<el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.ledgrp.blk.addamtcov" maxlength="35" show-word-limit placeholder="请输入Covered" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<!-- Covered -->
<c-col :span="23">
<el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-input
type="textarea"
:rows="4"
v-model="model.ledgrp.blk.addamtcov"
maxlength="35"
show-word-limit
placeholder="请输入Covered"
></c-input>
</el-form-item>
</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/Letopn/Event" import Event from "~/model/Letopn/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 },
}, created: function () {},
methods:{...Event}, };
created:function(){
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -38,31 +38,48 @@ ...@@ -38,31 +38,48 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col v-if="isAdrblk" :span="24">
<el-form-item <el-form-item
label="名称" label="名称地址"
:prop="`${argadr.grp}.${argadr.rol}.pts.namelc`" :prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
> >
<c-input <c-input
v-model="model[argadr.grp][argadr.rol].pts.namelc" type="textarea"
:placeholder="'请输入' + argadr.title + '名称'" :rows="3"
:disabled="disabled" v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入名称地址"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<template v-else>
<c-col :span="24">
<el-form-item
label="名称"
:prop="`${argadr.grp}.${argadr.rol}.pts.namelc`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.namelc"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="地址" label="地址"
:prop="`${argadr.grp}.${argadr.rol}.pts.adrelc`" :prop="`${argadr.grp}.${argadr.rol}.pts.adrelc`"
> >
<c-input <c-input
v-model="model[argadr.grp][argadr.rol].pts.adrelc" v-model="model[argadr.grp][argadr.rol].pts.adrelc"
:placeholder="'请输入' + argadr.title + '地址'" :placeholder="'请输入' + argadr.title + '地址'"
:disabled="disabled" :disabled="disabled"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</template>
</div> </div>
</template> </template>
<script> <script>
...@@ -93,6 +110,12 @@ export default { ...@@ -93,6 +110,12 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
isAdrblk: {
//名称地址是否为大字段
type: Boolean,
default: true,
},
}, },
data() { data() {
return { return {
......
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