Commit ec2dd6ec by jianglong

修改BDTDCK交易

parent 7e1cada9
...@@ -13,7 +13,6 @@ let checkObj = { ...@@ -13,7 +13,6 @@ let checkObj = {
"bddgrp.skh.pts.jigomc" :null, "bddgrp.skh.pts.jigomc" :null,
"trnmod.swiadd.orimsgid" :null, "trnmod.swiadd.orimsgid" :null,
"bdtp.oth.namelc" :null, "bdtp.oth.namelc" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"bddgrp.rec.docflg" :null, "bddgrp.rec.docflg" :null,
"trnmod.swiadd.orimsgtyp" :null, "trnmod.swiadd.orimsgtyp" :null,
"bdtp.furide" :null, "bdtp.furide" :null,
...@@ -32,18 +31,14 @@ let checkObj = { ...@@ -32,18 +31,14 @@ let checkObj = {
"bddgrp.blk.comcon" :null, "bddgrp.blk.comcon" :null,
"bddgrp.prb.pts.dizhii" :null, "bddgrp.prb.pts.dizhii" :null,
"bddgrp.prb.pts.bankno" :null, "bddgrp.prb.pts.bankno" :null,
"bdtp.othp.ptsget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"bdtp.recget.sdamod.dadsnd" :null,
"bddgrp.skh.pts.bankno" :null, "bddgrp.skh.pts.bankno" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"bddgrp.rec.matdat" :null, "bddgrp.rec.matdat" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"bdtp.oth.pts.adrblk" :null, "bdtp.oth.pts.adrblk" :null,
"trnmod.swiadd.oriinstgagt" :null, "trnmod.swiadd.oriinstgagt" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"tzdat" :null, "tzdat" :null,
"bdtp.didget.sdamod.dadsnd" :null,
"bddgrp.prb.pts.jigomc" :null, "bddgrp.prb.pts.jigomc" :null,
} }
......
...@@ -125,5 +125,14 @@ export default { ...@@ -125,5 +125,14 @@ export default {
onSeainf(){ onSeainf(){
}, },
onBenpDet(){
},
onAplpDet(){
},
onSndpDet(){
},
} }
\ No newline at end of file
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.didgrp.rec.expdat" v-model="model.didgrp.rec.expdat"
value-format="yyyy-MM-dd"
style="width: 100%" style="width: 100%"
placeholder="请选择Date of Expiry" placeholder="请选择Date of Expiry"
disabled disabled
...@@ -309,7 +309,7 @@ ...@@ -309,7 +309,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交易类别" prop="mhtyp"> <el-form-item label="交易类别" prop="mhtyp">
<c-select v-model="model.mhtyp" style="width:100%" placeholder="请选择交易类别"> <c-select v-model="model.mhtyp" style="width:100%" placeholder="请选择交易类别" :code="codes.mhtyp">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -420,7 +420,7 @@ ...@@ -420,7 +420,7 @@
:disabled="true" :disabled="true"
:isAdrblk="false" :isAdrblk="false"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onAplpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,7 @@
title: '交单行', title: '交单行',
grp: 'bddgrp', grp: 'bddgrp',
rol: 'prb', rol: 'prb',
}" :noRef="true" :onlySearch="false" @onAplpDet="onSndpDet"> }" :noRef="true" :onlySearch="false">
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -483,7 +483,7 @@ ...@@ -483,7 +483,7 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入联行名称 电证用" placeholder="请输入联行名称 电证用"
:disabled="this.jigomcFlag" :disabled="false"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -549,7 +549,7 @@ ...@@ -549,7 +549,7 @@
class="detailsButton" class="detailsButton"
size="small" size="small"
type="primary" type="primary"
@click="onAplpDet"
> >
详情 详情
</c-button> </c-button>
...@@ -581,7 +581,7 @@ ...@@ -581,7 +581,7 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入名称地址" placeholder="请输入名称地址"
:disabled="disabled"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -596,7 +596,7 @@ ...@@ -596,7 +596,7 @@
type="textarea" type="textarea"
v-model="model.bdtp.oth.namelc" v-model="model.bdtp.oth.namelc"
:placeholder="'请输入付款人名称'" :placeholder="'请输入付款人名称'"
:disabled="disabled"
:rows="2" :rows="2"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
......
<template> <template>
<c-page title="买方信用证单据二次到单"> <c-page title="买方信用证单据二次到单">
<div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
...@@ -13,10 +14,17 @@ ...@@ -13,10 +14,17 @@
<!-- <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>
<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="tabClick">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000046 --> <!--PD000046 -->
<el-tab-pane label="单据概况" name="brtdckp"> <el-tab-pane label="单据概况" name="brtdckp">
<c-content> <c-content>
...@@ -29,76 +37,84 @@ ...@@ -29,76 +37,84 @@
</el-tab-pane> </el-tab-pane>
<!--PD000062 --> <!--PD000062 -->
<el-tab-pane label="单据详情" name="docpre"> <!--v-if="isShowDocpre"--> <el-tab-pane label="单据详情" name="docpre">
<m-docpre :model="model" :codes="codes"/> <!--v-if="isShowDocpre"-->
<m-docpre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="或有" name="engp"> <el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/> <c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div> </div>
</c-page> </c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import Utils from "~/utils/index"; import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bdtdck from "~/model/Bdtdck" import Bdtdck from "~/model/Bdtdck";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bdtdck/Check" import Check from "~/model/Bdtdck/Check";
import Default from "~/model/Bdtdck/Default" import Default from "~/model/Bdtdck/Default";
import Pattern from "~/model/Bdtdck/Pattern" import Pattern from "~/model/Bdtdck/Pattern";
import Brtdckp from "./Brtdckp" import Brtdckp from "./Brtdckp";
import Docpre from "./Docpre" import Docpre from "./Docpre";
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp";
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 Limitbody from "~/views/Public/Limitbody" import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Bdtdck", name: "Bdtdck",
components:{ components: {
"m-brtdckp" : Brtdckp, "m-brtdckp": Brtdckp,
"m-docpre" : Docpre, "m-docpre": Docpre,
"m-engp" : Engp, "m-engp": Engp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
isShowDocpre: false, isShowDocpre: false,
tabVal: "brtdckp", tabVal: "brtdckp",
...@@ -111,18 +127,18 @@ export default { ...@@ -111,18 +127,18 @@ export default {
codes: { codes: {
...CodeTable ...CodeTable
}, },
} };
}, },
methods:{ methods: {
changeShowDocpre(val) { changeShowDocpre(val) {
this.isShowDocpre = val; this.isShowDocpre = val;
}, },
tabClick() {},
}, },
created:async function(){ created: async function () {
console.log("进入bdtdck交易"); console.log("进入bdtdck交易");
let rtnmsg = await this.init(this.$route.query) let rtnmsg = await this.init();
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
console.log(rtnmsg); console.log(rtnmsg);
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
...@@ -130,16 +146,14 @@ export default { ...@@ -130,16 +146,14 @@ export default {
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
} }
} }
if (this.model.bddgrp.rec.dscinsflg == "X") { if (this.model.bddgrp.rec.dscinsflg == "X") {
this.isShowDocpre = true; this.isShowDocpre = true;
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); 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