Commit 42ce1044 by Wuyuqiu

engp信息可添

parent f6a9abe8
...@@ -4,16 +4,37 @@ ...@@ -4,16 +4,37 @@
Liability Liability
</c-col> --> </c-col> -->
<c-col :span="24" style=""> <c-col :span="24" style="">
<c-table :list="model.liaall.liaallg" style="width:80%,text-align:center,margin-bottom:18px" :border="true"> <c-table
<el-table-column prop="bussec" label="BS" width="40px"> </el-table-column> :list="model.liaall.liaallg"
<el-table-column prop="cbtpfx" label="Type" width="60px"> </el-table-column> style="width:80%,text-align:center,margin-bottom:18px"
<el-table-column prop="matdat" label="Maturity" width="100px"> </el-table-column> :border="true"
<el-table-column prop="tenday" label="Tenor" width="70px"> </el-table-column> >
<el-table-column prop="rol" label="Dbt." width="70px"> </el-table-column> <el-table-column prop="bussec" label="BS" width="40px">
</el-table-column>
<el-table-column prop="cbtpfx" label="Type" width="60px">
</el-table-column>
<el-table-column prop="matdat" label="Maturity">
<template slot-scope="scope">
<c-date-picker
type="date"
v-model="scope.row.matdat"
value-format="yyyy-MM-dd"
placeholder="请选择Date"
style="width: 100%"
@change="executeDefault('liaall.liaallg.matdat')"
>
</c-date-picker>
</template>
</el-table-column>
<el-table-column prop="tenday" label="Tenor" width="70px">
</el-table-column>
<el-table-column prop="rol" label="Dbt." width="70px">
</el-table-column>
<!-- <!--
<el-table-column prop="nam" label="Name" width="300"> </el-table-column> <el-table-column prop="nam" label="Name" width="300"> </el-table-column>
--> -->
<el-table-column prop="cdtrol" label="Cdt." width="70px"> </el-table-column> <el-table-column prop="cdtrol" label="Cdt." width="70px">
</el-table-column>
<el-table-column prop="cur" label="Cur" width="55px"> </el-table-column> <el-table-column prop="cur" label="Cur" width="55px"> </el-table-column>
<el-table-column prop="oldamt" label="Old Amount" width="150px"> <el-table-column prop="oldamt" label="Old Amount" width="150px">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
...@@ -27,7 +48,8 @@ ...@@ -27,7 +48,8 @@
</el-table-column> </el-table-column>
<el-table-column prop="tenpct" label="%" width="80px"> <el-table-column prop="tenpct" label="%" width="80px">
</el-table-column> </el-table-column>
<el-table-column prop="acc" label="Account" width="150px"> </el-table-column> <el-table-column prop="acc" label="Account" width="150px">
</el-table-column>
<el-table-column prop="valdat" label="Value Date" width="200px"> <el-table-column prop="valdat" label="Value Date" width="200px">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
{{dateFormat(scope.row.valdat)}} {{dateFormat(scope.row.valdat)}}
...@@ -37,14 +59,14 @@ ...@@ -37,14 +59,14 @@
<template slot-scope="scope" slot="header"> <template slot-scope="scope" slot="header">
<el-button <el-button
circle circle
style="padding:4px" style="padding: 4px"
class="el-icon-plus" class="el-icon-plus"
size="mini" size="mini"
@click="addRow(scope)" @click="addRow(scope)"
> >
</el-button> </el-button>
<el-button <el-button
style="padding:4px" style="padding: 4px"
circle circle
class="el-icon-minus" class="el-icon-minus"
size="mini" size="mini"
...@@ -54,7 +76,7 @@ ...@@ -54,7 +76,7 @@
</template> </template>
<template slot-scope="scoped"> <template slot-scope="scoped">
<el-button <el-button
style="margin-left:0" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
@click="detail1(scoped.$index, scoped.row)" @click="detail1(scoped.$index, scoped.row)"
...@@ -83,11 +105,28 @@ ...@@ -83,11 +105,28 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="16" style="margin-top:10px"> <c-col :span="16" style="margin-top: 10px">
<el-form-item label="Amount not yet assigned"> <el-form-item label="Amount not yet assigned">
<c-input style="width:15%" disabled v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input> <c-input
<c-input style="width:40%" disabled v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input> style="width: 15%"
<c-button style="width:20%" size="small" disabled type="primary" @click="onLiaallButmisamt"> disabled
v-model="model.liaall.concur"
maxlength="3"
placeholder="请输入External Booking Amount"
></c-input>
<c-input
style="width: 40%"
disabled
v-model="model.liaall.misamt"
placeholder="请输入Amount not yet assigned"
></c-input>
<c-button
style="width: 20%"
size="small"
disabled
type="primary"
@click="onLiaallButmisamt"
>
Add to Current Line Add to Current Line
</c-button> </c-button>
</el-form-item> </el-form-item>
...@@ -123,36 +162,29 @@ ...@@ -123,36 +162,29 @@
</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";
export default { export default {
inject: ['root'], inject: ["root"],
mixins: [commonProcess], mixins: [commonProcess],
props:["model","codes"], props: ["model", "codes"],
data(){ data() {
return { return {};
}
}, },
methods:{ methods: {
async onLiaallButmisamt() { async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall_butmisamt") let rtnmsg = await this.executeRule("liaall_butmisamt");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
}, },
created:function(){ 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