Commit 5e5dc01f by wangren

Bctcan 交易 check save 实现

parent 958fd3f6
...@@ -6,13 +6,6 @@ ...@@ -6,13 +6,6 @@
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :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> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <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="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
...@@ -27,16 +20,22 @@ ...@@ -27,16 +20,22 @@
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--Bookings -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<c-content> <c-content>
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Bookings -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--Messages --> <!--Messages -->
<el-tab-pane label="Messages" name="docpan"> <el-tab-pane label="Messages" name="docpan">
...@@ -48,10 +47,7 @@ ...@@ -48,10 +47,7 @@
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -62,6 +58,7 @@ import Api from "~/service/Api" ...@@ -62,6 +58,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Bctcan from "~/model/Bctcan" import Bctcan from "~/model/Bctcan"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Bctcan/Check" import Check from "~/model/Bctcan/Check"
import Default from "~/model/Bctcan/Default" import Default from "~/model/Bctcan/Default"
import Pattern from "~/model/Bctcan/Pattern" import Pattern from "~/model/Bctcan/Pattern"
...@@ -71,7 +68,7 @@ import Glepan from "~/views/Public/Glepan" ...@@ -71,7 +68,7 @@ import Glepan from "~/views/Public/Glepan"
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre" import Doctre from "~/views/Public/Doctre"
export default { export default {
...@@ -90,7 +87,7 @@ export default { ...@@ -90,7 +87,7 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "canp", tabVal: "canp",
...@@ -115,10 +112,8 @@ export default { ...@@ -115,10 +112,8 @@ export default {
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
//更新数据 //更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data); this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} }
else else
{ {
......
...@@ -31,7 +31,8 @@ import Letopn from "./Letopn" ...@@ -31,7 +31,8 @@ import Letopn from "./Letopn"
import Letame from "./Letame" import Letame from "./Letame"
import Letrsv from './Letrsv' import Letrsv from './Letrsv'
import Infled from './Infled' import Infled from './Infled'
//import Bptsel from './Bptsel' // import Bptsel from './Bptsel'
//import Bptopn from './Bptopn' //import Bptopn from './Bptopn'
//import Bptset from './Bptset' //import Bptset from './Bptset'
//import Bptame from './Bptame' //import Bptame from './Bptame'
...@@ -242,8 +243,8 @@ const BusRouter = [ ...@@ -242,8 +243,8 @@ const BusRouter = [
{ path: 'letdrv', component: Letdrv, name: 'Letdrv', meta: { title: '出口信用证出口收单' } }, { path: 'letdrv', component: Letdrv, name: 'Letdrv', meta: { title: '出口信用证出口收单' } },
{ path: 'infled', component: Infled, name: 'Infled', meta: { title: '出口信用证交易查询' } }, { path: 'infled', component: Infled, name: 'Infled', meta: { title: '出口信用证交易查询' } },
{ path: 'bptsel', component: Bptsel, name: 'Bptsel', meta: { title: '出口融资入口交易' } }, // { path: 'bptsel', component: Bptsel, name: 'Bptsel', meta: { title: '出口融资入口交易' } },
{ path: 'bptopn', component: Bptopn, name: 'Bptopn', meta: { title: '出口融资放款' } }, // { path: 'bptopn', component: Bptopn, name: 'Bptopn', meta: { title: '出口融资放款' } },
{ path: 'bptcan', component: Bptcan, name: 'Bptcan', meta: { title: '出口融资注销' } }, { path: 'bptcan', component: Bptcan, name: 'Bptcan', meta: { title: '出口融资注销' } },
......
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