Commit 8e5b3bf7 by zhengxiaokui

zxk

parent 0f109c71
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.cur">
<c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount">
<c-col :span="13">
<el-form-item label="追加金额" prop="ledgrp.cbs.max2.cur">
<c-select
v-model="model.ledgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择币种"
:disabled="true"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.amt">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"></c-input>
<c-col :span="9">
<el-form-item label="" label-width="0px" prop="ledgrp.cbs.max2.amt">
<c-input-currency
v-model="model.ledgrp.cbs.max2.amt"
placeholder="请输入Additional Amount"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="13">
<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
v-model="model.ledgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择Open Add. Amount"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.amt">
<c-input v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount"></c-input>
<c-col :span="9">
<el-form-item label="" label-width="0px" prop="ledgrp.cbs.opn2.amt">
<c-input-currency
v-model="model.ledgrp.cbs.opn2.amt"
placeholder="请输入Open Add. Amount"
></c-input-currency>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<!-- Covered -->
<c-col :span="23">
<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>
<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>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letame/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letopn/Event";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data(){
return {
}
data() {
return {};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page class="eContainer">
<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>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane label="PD000001" name="amep">
<el-tab-pane label="修改" name="amep">
<c-content>
<m-amep :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000017 -->
<el-tab-pane label="PD000017" name="ovwp">
<el-tab-pane label="基本信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000063 -->
<el-tab-pane label="PD000063" name="detp">
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="aamp">
<el-tab-pane
v-if="model.letp.aamp.aammod.addamtflg"
label="附加金额"
name="aamp"
>
<m-aamp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000042 -->
<el-tab-pane label="PD000042" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000094 -->
<el-tab-pane label="PD000094" name="dogpame">
<m-dogpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000098 -->
<el-tab-pane label="PD000098" name="dorpame">
<m-dorpame :model="model" :codes="codes" />
<!--PD000063 -->
<el-tab-pane label="信用证信息" name="detp">
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000102 -->
<el-tab-pane label="PD000102" name="adcpame">
<m-adcpame :model="model" :codes="codes" />
<!--PD000042 -->
<el-tab-pane label="其他当事人" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000347 -->
......@@ -57,58 +65,73 @@
<m-inspame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000317 -->
<el-tab-pane label="PD000317" name="revp">
<m-revp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="PD000027" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="setpan">
<el-tab-pane label="账务/费用" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="glepan">
<el-tab-pane label="分录信息" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="PD000000" name="coninfp">
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="PD000529" name="docpan">
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="PD000546" name="doctre">
<m-doctre :model="model" :codes="codes" />
<!--PD000094 -->
<el-tab-pane label="货物描述修改" name="dogpame">
<m-dogpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000098 -->
<el-tab-pane label="单据要求修改" name="dorpame">
<m-dorpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000102 -->
<el-tab-pane label="附加条款修改" name="adcpame">
<m-adcpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="limitbody">
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000317 -->
<!-- <el-tab-pane label="PD000317" name="revp">
<m-revp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000027 -->
<!-- <el-tab-pane label="PD000027" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000400 -->
<el-tab-pane label="PD000400" name="sprpame">
<!-- <el-tab-pane label="PD000400" name="sprpame">
<m-sprpame :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
<!--PD000396 -->
<el-tab-pane label="PD000396" name="spbpame">
<!-- <el-tab-pane label="PD000396" name="spbpame">
<m-spbpame :model="model" :codes="codes" />
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
......@@ -128,16 +151,21 @@ import Dorpame from "./Dorpame";
import Adcpame from "./Adcpame";
import Inspame from "./Inspame";
import Revp from "./Revp";
import Engp from "./Engp";
//import Engp from "./Engp";
import Setpan from "./Setpan";
import Glepan from "./Glepan";
import Coninfp from "./Coninfp";
import Docpan from "./Docpan";
//import Glepan from "./Glepan";
//import Coninfp from "./Coninfp";
//import Docpan from "./Docpan";
import Doctre from "./Doctre";
import Limitbody from "./Limitbody";
import Sprpame from "./Sprpame";
import Spbpame from "./Spbpame";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-amep": Amep,
......@@ -168,14 +196,14 @@ export default {
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "",
tabVal: "amep",
trnName: "letame",
model: new Letame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {},
codes: { ...CodeTable },
};
},
methods: {
......
......@@ -19,6 +19,12 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<!-- </div> -->
</c-page>
</template>
......@@ -27,6 +33,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Letsel from "~/model/Letsel";
import CommonProcess from "~/mixin/CommonProcess";
import CommonFuncs from "~/mixin/CommonFuncs";
import Check from "~/model/Letsel/Check";
import Default from "~/model/Letsel/Default";
import Pattern from "~/model/Letsel/Pattern";
......@@ -42,7 +49,7 @@ export default {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
mixins: [CommonProcess, CommonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
......@@ -63,6 +70,7 @@ export default {
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
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