Commit 6169472c by WF1020

gitame,gitcrj,gitcrq修改

parent 262a7d61
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
import Api from "~/service/Api"; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import event from '../event' import event from '../event'
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="备查表" name="addbcb1"> <el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" /> <m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="附言" name="coninfp"> <el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
...@@ -19,24 +19,22 @@ import event from '../event' ...@@ -19,24 +19,22 @@ import event from '../event'
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Addbcb1 from "./Addbcb1"; import Addbcb1 from "./Addbcb1";
export default { export default {
components: { components: {
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-addbcb1": Addbcb1, "m-addbcb1": Addbcb1,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeNames: ["addbcb1"], activeNames: ["addbcb1"],
}; };
},
}, methods: {
methods: { },
}, created: function () { },
created: function () { },
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000003 : 货物税号 DE!--> <!-- S0000003 : 货物税号 DE!-->
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
......
...@@ -2,32 +2,32 @@ ...@@ -2,32 +2,32 @@
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="开立方式" name="opnp"> <el-collapse-item title="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes" /> <m-opnp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="修改日期" name="amedat20" v-if="model.gitp.swiftflg == 'Y'"> <el-collapse-item title="修改日期" name="amedat20" v-if="model.gitp.swiftflg == 'Y'">
<m-amedat20 :model="model" :codes="codes" /> <m-amedat20 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="演示/交付" name="preperp" v-if="model.gitp.swiftflg == 'Y'"> <el-collapse-item title="演示/交付" name="preperp" v-if="model.gitp.swiftflg == 'Y'">
<m-preperp :model="model" :codes="codes" /> <m-preperp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 演示/交付" name="preperpc" v-if=" <el-collapse-item title="Seq. C: 演示/交付" name="preperpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
"> ">
<m-preperpc :model="model" :codes="codes" /> <m-preperpc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="保函修改" name="ameps20"> <el-collapse-item title="保函修改" name="ameps20">
<m-ameps20 :model="model" :codes="codes" /> <m-ameps20 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq C:保函修改" name="amecp" v-if=" <el-collapse-item title="Seq C:保函修改" name="amecp" v-if="
model.gitp.swiftflg == 'Y' && model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' || (model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA') model.trnmod.swiadd.purposame == 'ICCA')
"> ">
<m-amecp :model="model" :codes="codes" /> <m-amecp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="保函文本" name="gidtxtp" v-if="model.gitamep.prtflg == 'X'"> <el-collapse-item title="保函文本" name="gidtxtp" v-if="model.gitamep.prtflg == 'X'">
<m-gidtxtp :model="model" :codes="codes" /> <m-gidtxtp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 保函文本" name="gidtxtpc" v-if=" <el-collapse-item title="Seq. C: 保函文本" name="gidtxtpc" v-if="
model.gitp.swiftflg == 'Y' && model.gitp.swiftflg == 'Y' &&
...@@ -35,34 +35,34 @@ ...@@ -35,34 +35,34 @@
model.trnmod.swiadd.purposame == 'ICCA') && model.trnmod.swiadd.purposame == 'ICCA') &&
model.gitamep.prtflg == 'X' model.gitamep.prtflg == 'X'
"> ">
<m-gidtxtpc :model="model" :codes="codes" /> <m-gidtxtpc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="概要" name="ovwp1"> <el-collapse-item title="概要" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" /> <m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 概要" name="ovwpc" v-if=" <el-collapse-item title="Seq. C: 概要" name="ovwpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
"> ">
<m-ovwpc :model="model" :codes="codes" /> <m-ovwpc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="当事人描述" name="ptyp"> <el-collapse-item title="当事人描述" name="ptyp">
<m-ptyp :model="model" :codes="codes" /> <m-ptyp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 当事人描述" name="ptypc" v-if=" <el-collapse-item title="Seq. C: 当事人描述" name="ptypc" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
"> ">
<m-ptypc :model="model" :codes="codes" /> <m-ptypc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="详细信息" name="detp"> <el-collapse-item title="详细信息" name="detp">
<m-detp :model="model" :codes="codes" /> <m-detp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 详细信息" name="detpc" v-if=" <el-collapse-item title="Seq. C: 详细信息" name="detpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
"> ">
<m-detpc :model="model" :codes="codes" /> <m-detpc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="历史信息" name="amephis"> <el-collapse-item title="历史信息" name="amephis">
<m-amephis :model="model" :codes="codes" /> <m-amephis :model="model" :codes="codes" />
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
"> ">
<m-amephisc :model="model" :codes="codes" /> <m-amephisc :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aacp" v-if=" <el-collapse-item title="Seq. C: 附加金额" name="aacp" v-if="
model.gitp.swiftflg == 'Y' && model.gitp.swiftflg == 'Y' &&
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
model.trnmod.swiadd.purposame == 'ICCA') && model.trnmod.swiadd.purposame == 'ICCA') &&
model.trnmod.swiadd.addamtflgc == 'X' model.trnmod.swiadd.addamtflgc == 'X'
"> ">
<m-aacp :model="model" :codes="codes" /> <m-aacp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aamp20" v-if=" <el-collapse-item title="Seq. C: 附加金额" name="aamp20" v-if="
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
model.trnmod.swiadd.addamtflg == 'X' && model.trnmod.swiadd.addamtflg == 'X' &&
model.gidgrp.rec.purpos != 'ISSU' model.gidgrp.rec.purpos != 'ISSU'
"> ">
<m-aamp20 :model="model" :codes="codes" /> <m-aamp20 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<!-- 表外记账 --> <!-- 表外记账 -->
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan"> <el-tab-pane label="会计分录" name="glepan">
<c-content> <c-content>
<m-glentry :model="model" :codes="codes" /> <m-glentry :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
......
...@@ -101,7 +101,6 @@ import Engp from "~/components/business/engp/views"; ...@@ -101,7 +101,6 @@ import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Ccvpan from "~/components/business/ccvpan/views"; import Ccvpan from "~/components/business/ccvpan/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Setpan from "~/components/business/setmod/views";
import Setmod from "~/components/business/setmod/views"; import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views"; import Glentry from "~/components/business/glentry/views";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px;">
<el-form-item label="银行指令" prop="instxt"> <el-form-item label="银行指令" prop="instxt">
<c-input type="textarea" v-model="model.instxt" maxlength="65" <c-input type="textarea" v-model="model.instxt" maxlength="65"
:rows="8" :rows="8"
show-word-limit placeholder="请输入银行指令" ></c-input> show-word-limit placeholder="请输入银行指令" >
</el-form-item> </c-input>
</c-col> </el-form-item>
</c-col>
</div> </div>
</template> </template>
<script> <script>
...@@ -14,16 +15,16 @@ import Api from "~/service/Api" ...@@ -14,16 +15,16 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import event from '../event' import event from '../event'
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [event], mixins: [event],
data(){ data(){
return { return {
}
},
methods:{},
created:function(){
} }
},
methods:{},
created:function(){
}
} }
</script> </script>
<style> <style>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="拒付详情" name="gitsetp1"> <el-collapse-item title="拒付详情" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" /> <m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="银行指令" name="gitbin"> <el-collapse-item title="银行指令" name="gitbin">
<m-gitbin :model="model" :codes="codes" /> <m-gitbin :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
...@@ -22,8 +21,8 @@ ...@@ -22,8 +21,8 @@
export default { export default {
components:{ components:{
"m-gitsetp1" : Gitsetp1, "m-gitsetp1" : Gitsetp1,
"m-gitbin" : Gitbin, "m-gitbin" : Gitbin,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb"> <!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes" />
</el-collapse-item--> </el-collapse-item-->
<el-collapse-item title="附言" name="coninfp"> <el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
...@@ -17,20 +17,20 @@ import Utils from "~/utils"; ...@@ -17,20 +17,20 @@ import Utils from "~/utils";
import event from '../event' import event from '../event'
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
export default { export default {
components: { components: {
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeNames: ["coninfp"], activeNames: ["coninfp"],
}; };
}, },
methods: { methods: {
}, },
created: function () { }, created: function () { },
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="索赔" name="gitsetp1"> <el-collapse-item title="索赔" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" /> <m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="详细信息" name="gitdetp"> <el-collapse-item title="详细信息" name="gitdetp">
<m-gitdetp :model="model" :codes="codes" /> <m-gitdetp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
...@@ -18,21 +18,21 @@ import Gitdetp from "./Gitdetp"; ...@@ -18,21 +18,21 @@ import Gitdetp from "./Gitdetp";
import Gitsetp1 from "./Gitsetp1"; import Gitsetp1 from "./Gitsetp1";
export default { export default {
components: { components: {
"m-gitdetp": Gitdetp, "m-gitdetp": Gitdetp,
"m-gitsetp1": Gitsetp1, "m-gitsetp1": Gitsetp1,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
data() { data() {
return { return {
activeNames: ["gitsetp1"], activeNames: ["gitsetp1"],
}; };
}, },
methods: { methods: {
}, },
created: function () { }, created: function () { },
}; };
</script> </script>
<style> <style>
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<!-- 表外记账 --> <!-- 表外记账 -->
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan"> <el-tab-pane label="会计分录" name="glepan">
<c-content> <c-content>
<m-glentry :model="model" :codes="codes" /> <m-glentry :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan"> <el-tab-pane label="费用/账务" name="setmod">
<c-content> <c-content>
<m-setmod <m-setmod
:model="model" :model="model"
......
...@@ -50,27 +50,28 @@ ...@@ -50,27 +50,28 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan"> <el-tab-pane label="表外记账" name="engp">
<c-content> <c-content>
<div class="eibs-tab"> <!-- 表外记账 -->
<el-collapse v-model="activeNames"> <m-engp :model="model" :codes="codes" />
<el-collapse-item title="表外记账" name="engp"> </c-content>
<!-- 表外记账 --> </el-tab-pane>
<m-engp :model="model" :codes="codes" />
</el-collapse-item> <!--PD000027 -->
<el-collapse-item title="结算" name="setpan"> <el-tab-pane label="费用/账务" name="setpan">
<!-- 结算 --> <c-content>
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-collapse-item> </c-content>
<el-collapse-item title="会计分录" name="glepan"> </el-tab-pane>
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" /> <!--PD000027 -->
</el-collapse-item> <el-tab-pane label="会计分录" name="glepan">
</el-collapse> <c-content>
</div> <m-glentry :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp"> <el-tab-pane label="备查/附言" name="coninfp">
...@@ -108,50 +109,34 @@ ...@@ -108,50 +109,34 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog <!-- 选择数据的表格弹框 -->
ref="etyDialog" <c-grid-ety-prompt-dialog
:promptData="promptData" ref="etyDialog"
v-on:select-ety="selectEty" :promptData="promptData"
> @select-ety="selectGridEtyPromptData"
</c-grid-ety-prompt-dialog> >
<c-grid-ety-prompt-dialog </c-grid-ety-prompt-dialog>
ref="doxpDialog"
: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-page> </c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Gitset from "~/model/Gitset"; import Gitset from "../model";
import commonProcess from "~/mixin/commonProcess"; import operationFunc from "~/mixin/operationFunc";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitset/Check";
import Default from "~/model/Gitset/Default";
import Pattern from "~/model/Gitset/Pattern";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Engp from "~/views/Public/Engp"; import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Docpan from "~/views/Public/Docpan"; import Ccvpan from "~/components/business/ccvpan/views";
import Docpan from "~/components/business/docpan/views";
import Setpan from "~/components/business/setmod/views"; import Setpan from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Setmod from "~/components/business/setmod/views";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Glepan from "~/views/Public/Glepan";
import Ccvpan from "~/views/Public/Ccvpan";
import Ovwp from "./Ovwp"; import Ovwp from "./Ovwp";
import Cnyp from "./Cnyp"; import Cnyp from "./Cnyp";
import Shisuan from "./Shisuan"; import Shisuan from "./Shisuan";
import event from '../event';
export default { export default {
name: "Gitset", name: "Gitset",
...@@ -167,94 +152,72 @@ export default { ...@@ -167,94 +152,72 @@ export default {
"m-cnyp": Cnyp, "m-cnyp": Cnyp,
"m-shisuan": Shisuan, "m-shisuan": Shisuan,
"m-limitbody": Limitbody, "m-limitbody": Limitbody,
"m-setmod":Setmod,
"m-glentry":Glentry
}, },
provide() { provide() {
return { return {
root: this, root: this,
}; };
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "gitset", trnName: "gitset",
model: new Gitset().data, model: new Gitset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
activeNames: ["engp","coninfp"], activeNames: ["engp"],
activeNames1: ["limitbody"], promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
}
}; };
}, },
watch:{
"model.setmod.doccur":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
"model.mtabut.clsflg":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
},
methods: { methods: {
myTabClick(tab) {
this.tabClick(tab);
const name = tab.name;
let rulePath;
if(name === 'basp'){
rulePath = "bopmod.dbcp.basp"
}
if(name === 'basp1'){
rulePath = "bopmod.dbfp.basp"
}
if(name === 'outp'){
rulePath = "cnybop.outp"
}
if (name === "cips") {
rulePath = "trnmod.cipmod.cips"
}
// if(name === 'det756'){
// rulePath = "setmod.setglg.setgll(2).sespay.det756"
// }
// if (name === "det202cv") {
// rulePath = "setmod.setglg.setgll(2).sespay.det202cv"
// }
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
}, },
created: async function () { mounted () {
console.log("进入gitset交易"); this.init()
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X";
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}, },
}; };
</script> </script>
......
<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="canp"> <el-collapse-item title="取消信息" name="canp">
<m-canp :model="model" :codes="codes" /> <m-canp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
...@@ -30,10 +30,7 @@ export default { ...@@ -30,10 +30,7 @@ export default {
}, },
methods: { methods: {
...Event,
handleChange(val) {
console.log(val);
},
}, },
created: function () {}, created: function () {},
}; };
......
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