Commit 8e5b3bf7 by zhengxiaokui

zxk

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