Commit 35dd7c90 by nanrui

Botacc的公共面板引入初始化以及其他面板修改

parent a68f016f
import Vue from "vue"
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
......
......@@ -154,10 +154,10 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Delivery instructions" prop="bodgrp.blk.delins">
<el-form-item label="Warehouse/Insurance Instructions " prop="bodgrp.blk.delins">
<c-fullbox>
<c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit
placeholder="请输入Delivery instructions"></c-input>
placeholder="请输入Warehouse/Insurance Instructions "></c-input>
<template slot="footer">
<c-button size="small" type="primary">
...
......
......@@ -42,7 +42,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="35" disabled
<c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="50" disabled
show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
......@@ -75,7 +75,7 @@
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="35" disabled
<c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="50" disabled
show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
......@@ -107,7 +107,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bodgrp.dre.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="35" show-word-limit
<c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="50" show-word-limit
placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
......
......@@ -36,14 +36,14 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="10">
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-input v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="13" :offset="1">
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item>
......@@ -59,14 +59,14 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="10">
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
<c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
placeholder="请选择Warehouse/Insurance" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="13" :offset="1">
<c-col :span="12">
<el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt">
<c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
disabled></c-input>
......@@ -113,7 +113,8 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="" prop="bodgrp.col.pts.nam">
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="bodgrp.col.pts.nam" disabled>
<c-input v-model="model.bodgrp.col.pts.nam" maxlength="40" placeholder="bodgrp.col.pts.nam"
disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -122,46 +123,48 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="10">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matdat">
<c-input v-model="model.bodgrp.rec.matdat" placeholder="" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item label="" prop="bodgrp.rec.matpercnt">
<c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
<c-col :span="2" :offset="1">
<span>Days</span>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Drawee Ref." prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee" disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Start of Maturity Period MATBEG" prop="bodgrp.rec.matperbeg">
<el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="5">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
</c-col> -->
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Drawee Ref." prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bodgrp.dre.pts.nam">
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="bodgrp.dre.pts.nam" disabled>
<c-input v-model="model.bodgrp.dre.pts.nam" maxlength="40" placeholder="bodgrp.dre.pts.nam"
disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
......@@ -180,12 +183,12 @@
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24" style="margin-top:15px;border-top:2px solid #ddd;padding-top:15px" >
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Amount Accepted" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency" disabled>
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency"
disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -196,51 +199,45 @@
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<span v-text="model.botp.matp.mattxtlab" data-path=".botp.matp.mattxtlab"> </span>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%"
placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="currency discount paid back" prop="bptbck.dscbckcur">
<c-input v-model="model.bptbck.dscbckcur" maxlength="3" placeholder="请输入currency discount paid back">
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="11">
<c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
</c-col>
<!-- <c-col :span="24">
<div class="e-table-wrapper">
<el-table :data="model.bptbck.bptbckg" style="width: 100%">
<el-table-column prop="ownref" label="" sortable width="100">
<el-table-column prop="ownref" label="owner" sortable width="100">
</el-table-column>
<el-table-column prop="opncur" label="" sortable width="100">
<el-table-column prop="opncur" label="opncur" sortable width="100">
</el-table-column>
<el-table-column prop="opnamt" label="" sortable width="100">
<el-table-column prop="opnamt" label="opnamt" sortable width="100">
</el-table-column>
<el-table-column prop="bckamt" label="" sortable width="100">
<el-table-column prop="bckamt" label="bckamt" sortable width="100">
</el-table-column>
<el-table-column prop="butcal" label="" sortable width="100">
<el-table-column prop="butcal" label="butcal" sortable width="100">
</el-table-column>
</el-table>
<!-- <el-pagination
</el-table> -->
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.bptbck_bptbckg.total">
</el-pagination> -->
</div>
</c-col>
<!-- </div>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Tenor Stream" prop="liaall.tenstm">
......@@ -261,6 +258,34 @@ export default {
mixins: [commonProcess],
data() {
return {
docgrd: {
columns: [{
title: "Reference",
width: "80px",
dataIndex: "ownref",
show: "input",
},
{
title: "Cur",
width: "80px",
dataIndex: "opncur",
show: "input",
},
{
title: "Open Amount",
width: "80px",
dataIndex: "opnamt",
show: "input",
},
{
title: "Amount Paid",
width: "320px",
dataIndex: "bckamt",
show: "input",
},
],
urls: "bptbck.bptbckg.docgrd",
},
}
},
......
......@@ -60,7 +60,7 @@
</template>
<script>
import Api from "~/service/Api"
// import Utils from "~/utils/index"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Botacc from "~/model/Botacc"
import commonFuncs from "~/mixin/commonFuncs";
......@@ -71,13 +71,16 @@ import Pattern from "~/model/Botacc/Pattern"
import Setp from "./Setp"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Engp from "./Engp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
import Doctre from "./Doctre"
// import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan"
import Docpan from "~/views/Public/Docpan"
import Engp from "~/views/Public/Engp"
import Doctre from "~/views/Public/Doctre"
import Coninfp from "~/views/Public/Coninfp"
export default {
......@@ -100,7 +103,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ptyp",
tabVal: "setp",
trnName: "botacc",
model: new Botacc().data,
checkRules: Check,
......
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