Commit 1a29164f by liaoxing

bctrad修改

parent 8bc6c31d
......@@ -4,36 +4,6 @@ import Utils from "~/utils"
* Bctrad Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bcdgrp.dre.namelc" :null,
"bcdgrp.rmi.adrelc" :null,
"bcdgrp.blk.dftins" :null,
"bcdgrp.rmi.pts.nam" :null,
"bcdgrp.dre.adrelc" :null,
"bcdgrp.blk.othins" :null,
"bcdgrp.co2.namelc" :null,
"bcdgrp.rmi.namelc" :null,
"bcdgrp.co2.pts.extkey" :null,
"bcdgrp.dre.pts.nam" :null,
"setmod.dspflg" :null,
"bcdgrp.drr.namelc" :null,
"bcdgrp.co2.pts.adrblk" :null,
"bcdgrp.drr.pts.nam" :null,
"bcdgrp.rmi.pts.extkey" :null,
"bcdgrp.drr.adrelc" :null,
"bcdgrp.blk.colins" :null,
"bcdgrp.drr.pts.adrblk" :null,
"mtabut.coninf.conexedat" :null,
"bcdgrp.blk.colinssnm" :null,
"bcdgrp.blk.chgtxt" :null,
"bcdgrp.drr.pts.extkey" :null,
"bcdgrp.co2.adrelc" :null,
"bcdgrp.dre.pts.adrblk" :null,
"setmod.docamt" :null,
"bcdgrp.rmi.pts.ref" :null,
"bcdgrp.dre.pts.extkey" :null,
"bcdgrp.rmi.pts.adrblk" :null,
"bctp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......
......@@ -17,7 +17,7 @@
</template>
<script>
import event from "../event"
import event from "../event";
//import Addbcb1 from "~/views/Public/Addbcb1";
import Coninfp from "~/views/Public/Coninfp";
......@@ -38,7 +38,7 @@ export default {
},
methods: {
...event,
...Event,
handleChange(val) {
console.log(val);
},
......
......@@ -193,8 +193,7 @@
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import event from "../event"
import event from "../event";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
......@@ -234,7 +233,7 @@ export default {
}
},
methods: {
...event
...Event
},
created: function () {
......
......@@ -142,7 +142,7 @@
<!-- </c-row>-->
</template>
<script>
import event from "../event"
import event from "../event";
export default {
inject: ['root'],
......@@ -154,7 +154,7 @@
}
},
methods: {
...event
...Event
},
created: function () {
......
......@@ -70,7 +70,7 @@
import Bctret from "./Bctret";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import event from "../event"
import event from "../event";
export default {
components: {
......@@ -87,7 +87,7 @@ export default {
}
},
methods: {
...event,
...Event,
handleChange(val) {
console.log(val);
}
......
......@@ -235,7 +235,7 @@
</div>
</template>
<script>
import event from "../event"
import event from "../event";
import Ptap from "~/views/Public/Ptap";
export default {
components: {
......@@ -248,7 +248,7 @@ export default {
return {};
},
methods: {
...event,
...Event,
},
created: function () {},
};
......
<template>
<c-page title="进口代收二次收单">
<c-page title="出口代收二次收单">
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="left"
<el-form :model="model" :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">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> -->
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
......@@ -27,47 +22,30 @@
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
:codes="codes"
@changeSetmodModel="changeSetmodModel"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
<m-setmod :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes"/>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
......@@ -78,12 +56,12 @@
</c-page>
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Bctdav from "../model"
import Bctrad from "../model"
import formRules from '../model/check'
import event from "../event";
import operationFunc from "@/mixin/operationFunc";
// import Bctret from "./Bctret";
// import Detp from "./Detp";
......@@ -91,13 +69,13 @@
import Ovwp from "./Ovwp";
import Addbcb from "./Addbcb";
import Engp from "~/components/business/engp/views";
import Engp from "~/components/business/engp/views"
import Setmod from "~/components/business/setmod/views"
import Coninfp from "~/components/business/coninfp/views"
import Docpan from "~/components/business/docpan/views"
import Doctre from "~/components/business/doctre/views"
import Glentry from "~/components/business/glentry/views";
import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/views/Public/Doctre"
// import Limitbody from "~/components/business/limitbody/views";
import operationFunc from "@/mixin/operationFunc";
export default {
name: "Bctrad",
......@@ -120,7 +98,7 @@
root: this
}
},
mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理
mixins: [operationFunc,event], // 里面包含了Default、Check等的公共处理
data() {
return {
activeNames: ["engp"],
......@@ -128,7 +106,9 @@
trnName: "bctrad",
model: new Bctrad().data,
rules: formRules,
codes: { ...CodeTable },
codes: {
...CodeTable
},
promptData: {
title: 'Select a Party',
columns: [
......@@ -194,23 +174,24 @@
// }
// });
// }
// }
},
created: async function () {
console.log("进入bctrad交易");
let rtnmsg = await this.init(this.$route.query)
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
// console.log("进入bctrad交易");
// let rtnmsg = await this.init(this.$route.query)
// if (rtnmsg.respCode == SUCCESS) {
// //更新数据
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// if (this.isInDisplay) {
// this.restoreDisplay();
// }
// } else {
// this.$notify.error({
// title: '错误',
// message: '服务请求失败!'
// });
// }
},
mounted () {
this.init()
......
<template>
<ReviewWrapper>
<Bctame></Bctame>
<Bctdav></Bctdav>
</ReviewWrapper>
</template>
<script>
import Bctame from "~/business/bctame/views";
import bctdav from "~/business/bctrad/views";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctame",
components: { ReviewWrapper, Bctame },
name: "ReviewBctrad",
components: { ReviewWrapper, Bctdav },
created() {},
mounted() {},
};
......
<template>
<ReviewWrapper>
<Bctrad></Bctrad>
</ReviewWrapper>
</template>
<script>
import Bctrad from "~/business/bctrad/views";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctrad",
components: { ReviewWrapper, Bctrad },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -36,6 +36,7 @@ const Business = [
{ path: 'reviewbotcan', component: () => import('~/review/ReviewBotcan.vue'), name: 'reviewbotcan', meta: { title: '复核-botcan' } },
{ path: 'reviewbotame', component: () => import('~/review/ReviewBotame.vue'), name: 'reviewbotame', meta: { title: '复核-botame' } },
{ path: 'reviewbctacc', component: () => import('~/review/ReviewBctacc.vue'), name: 'reviewbctacc', meta: { title: '复核-bctacc' } },
{ path: 'reviewbctrad', component: () => import('~/review/ReviewBctrad.vue'), name: 'reviewbctrad', meta: { title: '复核-bctrad' } },
......
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