Commit b622c5c6 by jianglong

修改LTTDCK

parent ef96acd2
......@@ -326,6 +326,11 @@ export default {
],
"lidgrp.rec.stagod":[
{ required: true, message: "必输项"},
],
"lidgrp.rec.tenmaxday":[
{type: "number", required: true, message: "请输入数字"},
{type: "number",max: 999,message:"不能超过999"},
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<div class="eibs">
<!-- left -->
<c-col :span="11">
<c-col :span="12" style="padding-right:20px;">
<c-col :span="24">
<el-form-item
label="不符点描述"
......@@ -178,7 +178,7 @@
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left:20px;">
<c-col :span="4">
<el-form-item label="" style="text-align: left" prop="docdisflg">
<c-checkbox v-model="docdisflg" @change="defaultFunction()"
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="交单信息" name="utlp1">
<m-utlp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="不符点/指示" name="dscinsp">
<m-dscinsp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Lttdck/Event";
import Utils from "~/utils";
import Utlp1 from "./Utlp1";
import Dscinsp from "./Dscinsp";
export default {
components: {
"m-utlp1": Utlp1,
"m-dscinsp": Dscinsp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["utlp1"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<div class="eibs">
<!-- left -->
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item
label="信用证编号"
......@@ -22,7 +22,14 @@
type="primary"
@click="onSeainf"
>
<i class="el-icon-info" style="font-size:15px"></i>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</template>
</c-fullbox>
......@@ -48,66 +55,97 @@
type="primary"
@click="onSeainf"
>
<i class="el-icon-info" style="font-size:15px"></i>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="11" >
<el-form-item label="信用证金额" prop="ltdgrp.cbs.nom1.cur">
<c-fullbox>
<c-input
<c-select :disabled="true"
v-model="model.ltdgrp.cbs.nom1.cur"
maxlength="3"
style="width: 50%"
placeholder="请输入信用证金额"
disabled
></c-input>
<c-input
style="width: 100%"
placeholder="币种"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item
style="text-align: left; margin-left: 5px"
label-width="0px"
prop="ltdgrp.cbs.nom1.amt"
>
<c-input-currency :disabled="true"
v-model="model.ltdgrp.cbs.nom1.amt"
style="width: 50%"
placeholder="请输入"
disabled
></c-input>
<template slot="footer">
<c-checkbox
style="text-align: left; width: 90%"
placeholder="请输入金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<template>
<c-checkbox :disabled="true"
@change="open"
v-model="model.bttp.aammod.addamtflg"
style="margin-left: 10px"
disabled
style="float: right; text-align: center"
>附加金额</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="余额" prop="ltdgrp.cbs.opn1.cur">
<c-fullbox>
<c-input
<c-select
v-model="model.ltdgrp.cbs.opn1.cur"
maxlength="3"
style="width: 50%"
placeholder="请输入余额"
style="width: 100%"
placeholder="币种"
:code="codes.curtxt1"
disabled
></c-input>
<c-input
></c-select>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item style="text-align: left; margin-left: 5px"
label-width="0px"
prop="ltdgrp.cbs.opn1.amt"
>
<c-input-currency
v-model="model.ltdgrp.cbs.opn1.amt"
style="width: 50%"
placeholder="请输入"
style="text-align: left; width: 90%"
placeholder="请输入金额"
disabled
></c-input>
</c-fullbox>
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-form-item label="被授权的银行当事人" prop="ltdgrp.avbnam">
<c-form-item label="可用银行" prop="ltdgrp.avbnam">
<c-input
v-model="model.ltdgrp.avbnam"
maxlength="40"
placeholder="请输入被授权的银行当事人"
placeholder="请输入可用银行"
disabled
></c-input>
</c-form-item>
......@@ -115,7 +153,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="by" prop="ltdgrp.rec.avbby">
<el-form-item label="兑付方式" prop="ltdgrp.rec.avbby">
<c-fullbox>
<c-select
v-model="model.ltdgrp.rec.avbby"
......@@ -154,13 +192,16 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ltdgrp.rec.lcrtyp">
<c-input
v-model="model.ltdgrp.rec.lcrtyp"
maxlength="40"
placeholder="请输入"
disabled
:code="codes.lcrtyp1"
></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -177,18 +218,21 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="ltdgrp.rec.lcrtyp">
<c-input
v-model="model.ltdgrp.rec.expplc"
maxlength="40"
placeholder="请输入到期地点"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px;" >
<c-col :span="24">
<el-form-item label="简略信息" prop="ledgrp.rec.nam">
<c-input
......@@ -254,41 +298,37 @@
</c-col>
<c-col :span="24">
<el-form-item style="margin-left: -150px">
<el-form-item style="margin: 0 0">
<el-divider />
</el-form-item>
</c-col>
<!-- next part -->
<!-- left -->
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="单据编号"
prop="btdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.btdgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据编号"
style="width: 95%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<template slot="footer">
<c-button
style="margin: 0 10px 0 0; padding: 0 12px"
style="margin: 0 10px 0 10px; padding: 0 12px; height: 32px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-search"
>
<i class="el-icon-info" style="font-size:15px"></i>
</c-button>
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<c-button
style="margin: 0 0"
size="small"
......@@ -300,7 +340,9 @@
>
获取
</c-button>
</c-col>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
......@@ -442,13 +484,13 @@
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="描述" prop="btdgrp.rec.nam">
<el-form-item label="摘要信息" prop="btdgrp.rec.nam">
<c-input
v-model="model.btdgrp.rec.nam"
maxlength="40"
placeholder="请输入描述"
placeholder="请输入摘要信息"
disabled
></c-input>
</el-form-item>
......
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<c-page title="">
<el-form
:model="model"
:rules="rules"
......@@ -26,33 +12,73 @@
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--lttdck PD000049 Documents Received -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--lttdck PD000049 Documents Received
<el-tab-pane label="交单" name="utlp1">
<c-content>
<m-utlp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--bttp PD000296 Discr./Instr. -->
-->
<!--bttp PD000296 Discr./Instr.
<el-tab-pane label="不符点、指示" name="dscinsp">
<c-content>
<m-dscinsp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="表外" name="engp">
-->
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<!--liaall PD000027 Liability
<el-tab-pane label="表外" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>-->
<!--setmod PD000000 Settlement
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane>-->
<!--coninf PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="报文" name="docpan">
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="交易附件" name="doctre">
......@@ -73,6 +99,15 @@
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -85,6 +120,8 @@ import Check from "~/model/Lttdck/Check";
import Default from "~/model/Lttdck/Default";
import Pattern from "~/model/Lttdck/Pattern";
import Utlp1 from "./Utlp1";
import Ovwp from "./Ovwp";
import Addbcb from "./Addbcb";
import Dscinsp from "./Dscinsp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
......@@ -102,6 +139,8 @@ export default {
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-ovwp": Ovwp,
"m-addbcb": Addbcb,
},
provide() {
return {
......@@ -111,7 +150,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "utlp1",
tabVal: "ovwp",
trnName: "lttdck",
trnType: "",
model: new Lttdck().data,
......@@ -122,6 +161,7 @@ export default {
codes: {
...CodeTable,
},
activeNames: ["engp"],
};
},
methods: {
......
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