Commit 7b876abe by liyixun

getset (bug844)

parent 5532231b
......@@ -5,6 +5,9 @@ import Pub from "../Public"
export default class Getset{
constructor () {
this.data = {
gitapll1blk:"",
gitbenl1blk:"",
lendoc_botsetl1blk:"",
gctp:{
expfldlab:"", // Label for Field Validity .gctp.expfldlab
explab:"", // Label unlimited Validity .gctp.explab
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--bttrcl PD000034 Claim Reimb. -->
<el-tab-pane :label="$t('bttrcl.PD000034')" name="rclp">
<m-rclp :model="model" :codes="codes"/>
</el-tab-pane>
<!--rmbclm PD000128 Reimbursement Details -->
<el-tab-pane :label="$t('rmbclm.PD000128')" name="remp">
<m-remp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<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>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--bttrcl PD000034 Claim Reimb. -->
<el-tab-pane label="Claim Remib" name="rclp">
<c-content>
<m-rclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--rmbclm PD000128 Reimbursement Details -->
<el-tab-pane label="Reimbursement Details" name="remp">
<m-remp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bttrcl from "~/model/Bttrcl"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Bttrcl/Check"
import Default from "~/model/Bttrcl/Default"
import Pattern from "~/model/Bttrcl/Pattern"
import Rclp from "./Rclp"
import Remp from "./Remp"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Bttrcl from "~/model/Bttrcl";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bttrcl/Check";
import Default from "~/model/Bttrcl/Default";
import Pattern from "~/model/Bttrcl/Pattern";
import Rclp from "./Rclp";
import Remp from "./Remp";
export default {
name: "Bttrcl",
components:{
"m-rclp" : Rclp,
"m-remp" : Remp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "bttrcl",
trnType: "",
model: new Bttrcl().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
name: "Bttrcl",
components: {
"m-rclp": Rclp,
"m-remp": Remp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "rclp",
trnName: "bttrcl",
trnType: "",
model: new Bttrcl().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入bttrcl交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入bttrcl交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -686,6 +686,13 @@ export default {
methods:{...Event},
created:function(){
},
watch:{
"model.mtabut.clsflg":function(){
if(this.model.mtabut.clsflg=='C'){
this.model.mtabut.clsflg='X'
}
}
}
}
</script>
......
......@@ -116,7 +116,7 @@ import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
import Limitbody from "./Limitbody";
export default {
......
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