Commit cb21f144 by wanggang_yf

betrcl 修改页面

parent 1bf22d71
...@@ -113,9 +113,9 @@ export default { ...@@ -113,9 +113,9 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'GID', objtyp: 'bed',
objinr: model.gidgrp.rec.objinr, objinr: model.bedgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref, ownref: model.bedgrp.rec.ownref,
}, },
}; };
return params return params
...@@ -124,9 +124,9 @@ export default { ...@@ -124,9 +124,9 @@ export default {
let params = { let params = {
...this.buildCommonData(model, trnName), ...this.buildCommonData(model, trnName),
rec: { rec: {
objtyp: 'lid', objtyp: 'bed',
objinr: model.brdgrp.rec.objinr, objinr: model.bedgrp.rec.objinr,
ownref: model.brdgrp.rec.ownref, ownref: model.bedgrp.rec.ownref,
swiftflg: model.brtp.swiftflg, swiftflg: model.brtp.swiftflg,
}, },
}; };
......
...@@ -3,6 +3,69 @@ import Pub from '~/components/business/commonModel/index.js'; ...@@ -3,6 +3,69 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Betrcl { export default class Betrcl {
constructor() { constructor() {
this.data = { this.data = {
brdgrp: {
adv: {
pts: new Pts().data,
},
prb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
acb: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
apl: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
ben: {
adrelc: '',
dbfadrblkcn: '',
namelc: '',
pts: new Pts().data,
},
blk: {
chaded: '',
docdisflg: '',
chaadd: '',
docdis: '',
},
rec: {
inr: '',
branchinr: '',
totcur: '',
ownref: '',
disdat: '',
totamt: '',
nam: '',
docprbrol: ''
},
cbs: {
opn1: {
cur: ''
},
opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
},
max2: {
amt: ''
}
},
matp: {
mattxtlab: ''
}
},
betp: { betp: {
adaflg: '' adaflg: ''
}, },
...@@ -21,26 +84,14 @@ export default class Betrcl { ...@@ -21,26 +84,14 @@ export default class Betrcl {
utlamt: '', utlamt: '',
utlamt2: '' utlamt2: ''
}, },
mtabut: {
coninf: {
usr: {
extkey: ''
}
}
},
rmbclm: { rmbclm: {
valdat: '', valdat: '',
clmrmbflg: '', clmrmbflg: '',
rmbrol: '' rmbrol: ''
}, },
liaall: {
tenstm: {
rows: ||=''
},
tensetstm: ''
},
bedgrp: { bedgrp: {
rec: { rec: {
objinr: '',
predat: '', predat: '',
rcvdat: '', rcvdat: '',
doctypcod: '', doctypcod: '',
...@@ -63,11 +114,6 @@ export default class Betrcl { ...@@ -63,11 +114,6 @@ export default class Betrcl {
} }
} }
}, },
trnmod: {
trndoc: {
nar754: ''
}
},
payinstxt: '', payinstxt: '',
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames">
<el-collapse-item title="索汇信息" name="rclp"> <el-collapse-item title="索汇信息" name="rclp">
<c-content> <c-content>
<m-rclp :model="model" :codes="codes" /> <m-rclp :model="model" :codes="codes" />
...@@ -23,36 +23,34 @@ ...@@ -23,36 +23,34 @@
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import Rclp from "./Rclp"
import CodeTable from "~/config/CodeTable"; import Remp from "./Remp"
import Event from "~/model/Gitcrj/Event";
import Rclp from "./Rclp" import event from "../event";
import Remp from "./Remp"
export default {
export default { components: {
components:{ "m-rclp": Rclp,
"m-rclp" : Rclp, "m-remp": Remp,
"m-remp" : Remp,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [event],
data() { data() {
return { return {
activeNames: ["rclp"], activeNames: ["rclp"],
}; };
}, },
methods: { ...Event }, methods: {},
created: created:
function () {}, function () { },
}; };
</script> </script>
<style> <style></style>
</style>
...@@ -14,15 +14,8 @@ ...@@ -14,15 +14,8 @@
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> --> </c-function-btn> -->
<el-form <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:model="model" :validate-on-rule-change="false">
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
: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">
<!--PD000033 --> <!--PD000033 -->
<el-tab-pane label="业务信息" name="ovwp"> <el-tab-pane label="业务信息" name="ovwp">
...@@ -49,11 +42,7 @@ ...@@ -49,11 +42,7 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod"> <el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
<m-setmod <m-setmod :model="model" :codes="codes" @changeSetmodModel="changeSetmodModel" />
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -64,11 +53,11 @@ ...@@ -64,11 +53,11 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="备查/附言" name="coninfp"> <!-- <el-tab-pane label="备查/附言" name="addbcb">
<c-content> <c-content>
<m-coninfp :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--PD000529 --> <!--PD000529 -->
...@@ -87,99 +76,80 @@ ...@@ -87,99 +76,80 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="doxpDialog" <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash">
</c-function-btn> </c-function-btn>
</c-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import event from '../event';
import CodeTable from "~/config/CodeTable"; import operationFunc from "~/mixin/operationFunc";
import CodeTable from "~/config/CodeTable"
import formRules from '../model/check'
import Betrcl from "~/model/Betrcl"; import Betrcl from "~/model/Betrcl";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betrcl/Check";
import Default from "~/model/Betrcl/Default";
import Pattern from "~/model/Betrcl/Pattern";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
import Remp from "./Remp"; import Remp from "./Remp";
import Engp from "~/views/Public/Engp"; // import Addbcb from "./Addbcb"
import Doctre from "~/views/Public/Doctre";
import Setpan from "~/views/Public/Setpan"; import Engp from "~/components/business/engp/views";
import Coninfp from "~/views/Public/Coninfp"; // import Ccvpan from "~/components/business/ccvpan/views";
import Docpan from "~/views/Public/Docpan"; import Setmod from "~/components/business/setmod/views";
import Limitbody from "~/views/Public/Limitbody"; import Glentry from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import Glepan from "~/components/business/glentry/views";
// import Addbcb from "~/components/business/addbcb/views";
// import Coninfp from "~/components/business/coninfp/views";
export default { export default {
name: "Betrcl", name: "Betrcl",
components: { components: {
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
// "m-addbcb": Addbcb,
"m-engp": Engp, "m-engp": Engp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
"m-coninfp": Coninfp,
"m-remp": Remp, "m-remp": Remp,
// "m-coninfp": Coninfp,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-setpan": Setpan, "m-setmod": Setmod,
"m-glentry": Glentry,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-glepan": Glepan,
}, },
provide() { provide() {
return { return {
root: this, root: this,
}; };
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [event, operationFunc],
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "betrcl", trnName: "betrcl",
trnType: "", // trnType: "",
model: new Betrcl().data, model: new Betrcl().data,
checkRules: Check, rules: formRules,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { codes: {
...CodeTable, ...CodeTable
}, },
activeNames: ["engp"], activeNames: ["setpan"],
}; }
}, },
methods: { methods:{
tabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
mounted () {
this.init()
}, },
created: async function () {
console.log("进入betrcl交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
this.$refs.rclp.$refs.table.$refs.table.toggleAllSelection();
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
},
};
</script> </script>
<style> <style></style>
</style>
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