Commit 75e93673 by lianyang

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents e4a2ff37 60fab286
...@@ -133,7 +133,14 @@ const CodeTable = { ...@@ -133,7 +133,14 @@ const CodeTable = {
invtyp: [ invtyp: [
{ label: "type1", value: "1" } { label: "type1", value: "1" }
], ],
trpdoctyp: [
{ label: "Ocean Bill of Lading", value: "Ocean Bill of Lading" },
{ label: "Other Transport Document", value: "Other Transport Document" },
],
tramod: [
{ label: "Multi-model transport", value: "Multi-model transport" },
{ label: "Sea", value: "Sea" },
],
stacty: [ stacty: [
{ label: "AALAND ISLAND", value: "AX" }, { label: "AALAND ISLAND", value: "AX" },
{ label: "Afghanistan", value: "AF" }, { label: "Afghanistan", value: "AF" },
......
...@@ -7,6 +7,7 @@ export default class Brtdcr{ ...@@ -7,6 +7,7 @@ export default class Brtdcr{
this.data = { this.data = {
brdgrp:{ brdgrp:{
rec:{ rec:{
advtyp:"",
ownref:"", // 单据参考号 .brdgrp.rec.ownref ownref:"", // 单据参考号 .brdgrp.rec.ownref
nam:"", // Name of Bill Contract .brdgrp.rec.nam nam:"", // Name of Bill Contract .brdgrp.rec.nam
rcvdat:"", // 到单日期 .brdgrp.rec.rcvdat rcvdat:"", // 到单日期 .brdgrp.rec.rcvdat
......
...@@ -234,7 +234,8 @@ export default class Getamc{ ...@@ -234,7 +234,8 @@ export default class Getamc{
}, },
}, },
reqdat:"", // Confir. Requested on .reqdat reqdat:"", // Confir. Requested on .reqdat
pageId: "", // ctx的key pageId:"", // ctx的key
roldsc:"",
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
......
<template> <template>
<c-page title="进口代收修改"> <c-page title="进口代收修改">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :handleStash="handleStash"
> >
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :model="model"
:rules="rules"
<!--Amendment --> ref="modelForm"
<el-tab-pane label="Amendment" name="amep"> label-width="150px"
<c-content> label-position="left"
<m-amep :model="model" :codes="codes"/> size="small"
</c-content> :validate-on-rule-change="false"
</el-tab-pane> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--Overview --> <!--Amendment -->
<el-tab-pane label="Overview" name="ovwp"> <el-tab-pane label="Amendment" name="amep">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes"/> <m-amep :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Instructions --> <!--Overview -->
<el-tab-pane label="Instructions" name="detp"> <el-tab-pane label="Overview" name="ovwp">
<m-detp :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Instructions -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Parties" name="ptyp"> <!--账务 -->
<c-content> <el-tab-pane label="Settlement" name="setpan">
<m-ptyp :model="model" :codes="codes"/> <c-content>
</c-content> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp"> <el-tab-pane label="Bookings" name="glepan">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--账务 -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan"> <!--附言 -->
<m-engp :model="model" :codes="codes"/> <el-tab-pane label="Completion" name="coninfp">
</el-tab-pane> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--附言 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--报文及面函 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--附件 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog> <!--报文及面函 -->
</div> <el-tab-pane label="Messages" name="docpan">
</c-page> <m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--附件 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</div>
</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 Bctame from "~/model/Bctame" import Bctame from "~/model/Bctame";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs" import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bctame/Check" import Check from "~/model/Bctame/Check";
import Default from "~/model/Bctame/Default" import Default from "~/model/Bctame/Default";
import Pattern from "~/model/Bctame/Pattern" import Pattern from "~/model/Bctame/Pattern";
import Amep from "./Amep" import Amep from "./Amep";
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp";
import Detp from "./Detp" import Detp from "./Detp";
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp";
//import Setpan from "./Setpan" //import Setpan from "./Setpan"
//import Coninfp from "./Coninfp" //import Coninfp from "./Coninfp"
//import Docpan from "./Docpan" //import Docpan from "./Docpan"
// import Doctre from "./Doctre" // import Doctre from "./Doctre"
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre";
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp";
import Glepan from "~/views/Public/Glepan" import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp";
export default { export default {
name:"Bctame", name: "Bctame",
components:{ components: {
"m-amep" : Amep, "m-amep": Amep,
"m-ovwp" : Ovwp, "m-ovwp": Ovwp,
"m-detp" : Detp, "m-detp": Detp,
"m-ptyp" : Ptyp, "m-ptyp": Ptyp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-engp" : Engp, "m-engp": Engp,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-glepan" : Glepan, "m-glepan": Glepan,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "amep", tabVal: "amep",
trnName: "bctame", trnName: "bctame",
model: new Bctame().data, model: new Bctame().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes:{...CodeTable}, codes: { ...CodeTable },
} };
}, },
methods:{ methods: {
tabClick(){ tabClick() {},
} },
}, created: async function () {
created:async function(){ console.log("进入bctame交易");
console.log("进入bctame交易"); let rtnmsg = await this.init({});
let rtnmsg = await this.init({}) if (rtnmsg.respCode == SUCCESS) {
if(rtnmsg.respCode == SUCCESS) //TODO 处理数据逻辑
{ //更新数据
//TODO 处理数据逻辑 this.updateModel(rtnmsg.data);
//更新数据 if (this.isInDisplay) {
this.updateModel(rtnmsg.data); this.restoreDisplay();
}
} } else {
else this.$notify.error({ title: "错误", message: "服务请求失败!" });
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<c-page title="进口代收注销"> <c-page title="进口代收注销">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :handleStash="handleStash"
> >
</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
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :model="model"
:rules="rules"
<!--Cancelation --> ref="modelForm"
<el-tab-pane label="Cancelation" name="canp"> label-width="150px"
<m-canp :model="model" :codes="codes"/> label-position="right"
</el-tab-pane> size="small"
:validate-on-rule-change="false"
<!--Liability --> >
<el-tab-pane label="Liability" name="engp"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<m-engp :model="model" :codes="codes"/> <!--Cancelation -->
</el-tab-pane> <el-tab-pane label="Cancelation" name="canp">
<m-canp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan"> <!--Liability -->
<c-content> <el-tab-pane label="Liability" name="engp">
<m-setpan :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</c-content> </el-tab-pane>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</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>
<!--Bookings --> <!--Messages -->
<el-tab-pane label="Bookings" name="glepan"> <el-tab-pane label="Messages" name="docpan">
<m-glepan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp"> <!--Attachments -->
<m-coninfp :model="model" :codes="codes"/> <el-tab-pane label="Attachments" name="doctre">
</el-tab-pane> <m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--Messages --> </c-tabs>
<el-tab-pane label="Messages" name="docpan"> </el-form>
<m-docpan :model="model" :codes="codes"/> </div>
</el-tab-pane> </c-page>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" 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 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";
import Canp from "./Canp" import Canp from "./Canp";
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan" 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 "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre";
export default { export default {
name: "Bctcan", name: "Bctcan",
components:{ components: {
"m-canp" : Canp, "m-canp": Canp,
"m-engp" : Engp, "m-engp": Engp,
"m-glepan" : Glepan, "m-glepan": Glepan,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "canp", tabVal: "canp",
trnName: "bctcan", trnName: "bctcan",
model: new Bctcan().data, model: new Bctcan().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {},
}, };
} },
}, methods: {
methods:{ tabClick() {},
tabClick(){ },
} created: async function () {
}, console.log("进入bctcan交易");
created:async function(){ let rtnmsg = await this.init({});
console.log("进入bctcan交易"); if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.init({}) //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS) //更新数据
{
//TODO 处理数据逻辑
//更新数据
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
} this.restoreDisplay();
else }
{ } else {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -148,6 +148,9 @@ export default { ...@@ -148,6 +148,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
if(this.isInDisplay){
this.restoreDisplay();
}
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
<template> <template>
<c-page title="进口代收拒付"> <c-page title="进口代收拒付">
<div class="eContainer"> <div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</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
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :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">
<!--PD000025 -->
<el-tab-pane label="Reject Documents" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000260 -->
<!--PD000025 --> <el-tab-pane label="Parties" name="ptyp">
<el-tab-pane label="Reject Documents" name="ovwp"> <c-content>
<m-ovwp :model="model" :codes="codes"/> <m-ptyp :model="model" :codes="codes" />
</el-tab-pane> </c-content>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000260 --> <el-tab-pane label="Liability" name="engp">
<el-tab-pane label="Parties" name="ptyp"> <m-engp :model="model" :codes="codes" />
<c-content> </el-tab-pane>
<m-ptyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp"> <!--PD000000 -->
<m-engp :model="model" :codes="codes"/> <el-tab-pane label="Settlement" name="setpan">
</el-tab-pane> <m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bctdor from "~/model/Bctdor"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Bctdor/Check"
import Default from "~/model/Bctdor/Default"
import Pattern from "~/model/Bctdor/Pattern"
import Ovwp from "./Ovwp"
import Detp from "./Detp"
import Ptyp from "./Ptyp"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Glepan from "~/views/Public/Glepan"
import Doctre from "~/views/Public/Doctre"
<!--PD000027 -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Bctdor from "~/model/Bctdor";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bctdor/Check";
import Default from "~/model/Bctdor/Default";
import Pattern from "~/model/Bctdor/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Glepan from "~/views/Public/Glepan";
import Doctre from "~/views/Public/Doctre";
export default { export default {
name: "Bctdor", name: "Bctdor",
components:{ components: {
"m-ovwp" : Ovwp, "m-ovwp": Ovwp,
"m-detp" : Detp, "m-detp": Detp,
"m-ptyp" : Ptyp, "m-ptyp": Ptyp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-engp" : Engp, "m-engp": Engp,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-glepan" : Glepan, "m-glepan": Glepan,
"m-doctre" :Doctre "m-doctre": Doctre,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "bctdor", trnName: "bctdor",
model: new Bctdor().data, model: new Bctdor().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable codes: { ...CodeTable },
}, };
} },
}, methods: {},
methods:{ created: async function () {
console.log("进入bctdor交易");
}, let rtnmsg = await this.init({});
created:async function(){ if (rtnmsg.respCode == SUCCESS) {
console.log("进入bctdor交易"); //TODO 处理数据逻辑
let rtnmsg = await this.init({}) this.updateModel(rtnmsg.data);
if(rtnmsg.respCode == SUCCESS) if (this.isInDisplay) {
{ this.restoreDisplay();
//TODO 处理数据逻辑 }
this.updateModel(rtnmsg.data); } else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
:rules="rules"
<!--PD000028 --> ref="modelForm"
<el-tab-pane label="Menu" name="sel"> label-width="150px"
<m-sel :model="model" :codes="codes"/> label-position="right"
</el-tab-pane> size="small"
</c-tabs> :validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000028 -->
<el-tab-pane label="Menu" name="sel">
<m-sel :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
ref="etyDialog" ref="etyDialog"
:promptData="promptData" :promptData="promptData"
v-on:select-ety="selectEty" v-on:select-ety="selectEty"
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Bctsel from "~/model/Bctsel" import Bctsel from "~/model/Bctsel";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Bctsel/Check" import Check from "~/model/Bctsel/Check";
import Default from "~/model/Bctsel/Default" import Default from "~/model/Bctsel/Default";
import Pattern from "~/model/Bctsel/Pattern" import Pattern from "~/model/Bctsel/Pattern";
import Sel from "./Sel" import Sel from "./Sel";
import Regp from "./Regp" import Regp from "./Regp";
import Syswrndisplay from "./Syswrndisplay" import Syswrndisplay from "./Syswrndisplay";
export default { export default {
name: "Bctsel", name: "Bctsel",
components:{ components: {
"m-sel" : Sel, "m-sel": Sel,
"m-regp" : Regp, "m-regp": Regp,
"m-syswrndisplay" : Syswrndisplay, "m-syswrndisplay": Syswrndisplay,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "sel", tabVal: "sel",
trnName: "bctsel", trnName: "bctsel",
model: new Bctsel().data, model: new Bctsel().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable codes: { ...CodeTable },
}, };
} },
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入bctsel交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, if (this.isInDisplay) {
created:async function(){ this.restoreDisplay();
console.log("进入bctsel交易"); }
let rtnmsg = await this.init({}) } else {
if(rtnmsg.respCode == SUCCESS) this.$notify.error({ title: "错误", message: "服务请求失败!" });
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
<!-- =================顶部====================== --> <!-- =================顶部====================== -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="20"> <c-col :span="22">
<el-form-item label="Reference" prop="bodgrp.rec.ownref" style="width: 100%"> <el-form-item label="Reference" prop="bodgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" style="width: 95%" <c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" style="width: 95%"
disabled></c-input> disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="2">
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"></c-button> <c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary" icon="el-icon-search"></c-button>
</c-col> </c-col>
</c-col> </c-col>
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="18"> <c-col :span="16">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matdat"> <el-form-item label="Tenor Specification" prop="bodgrp.rec.matdat">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -77,8 +77,8 @@ ...@@ -77,8 +77,8 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="4">
<el-form-item label="" label-width="5px"> <el-form-item label="" label-width="50px">
<c-input <c-input
disabled disabled
v-model="model.bodgrp.rec.matpercnt" v-model="model.bodgrp.rec.matpercnt"
...@@ -86,9 +86,22 @@ ...@@ -86,9 +86,22 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="1">
<el-form-item label="Days" label-width="5px"> </el-form-item> <c-col :span="4">
</c-col> <el-form-item label="" prop="bodgrp.rec.matpertyp" label-width="5px">
<c-select disabled v-model="model.bodgrp.rec.matpertyp" style="width: 100%" placeholder="">
<el-option
v-for="item in matpertyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label=" " prop="bodgrp.rec.matperbeg"> <el-form-item label=" " prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" :code="codes.matperbeg" <c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" :code="codes.matperbeg"
...@@ -258,6 +271,10 @@ export default { ...@@ -258,6 +271,10 @@ export default {
tcddoc: "", tcddoc: "",
}, },
], ],
matpertyp: [
{ label: "Days", value: "D" },
{ label: "Months", value: "M" },
],
newValue: { newValue: {
id: 0, id: 0,
cmail1: "", cmail1: "",
......
...@@ -91,11 +91,11 @@ ...@@ -91,11 +91,11 @@
:showButtonFlg="true" :showButtonFlg="true"
> >
<el-table-column fixed="right" prop="op" label="操作" width="200px"> <el-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot="header"> <!-- <template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col> <c-col :span="11" style="text-align: left"><span>操作</span></c-col> -->
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> --> <!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template> <!-- </template>-->
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
......
...@@ -19,14 +19,14 @@ ...@@ -19,14 +19,14 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="4"> <c-col :span="4">
<c-checkbox v-model="model.lendoc.actflg" <c-checkbox v-model="model.lendoc.actflg">Input Account</c-checkbox>
>Input Account</c-checkbox>
</c-col> </c-col>
<c-col :span="20"> <c-col :span="20">
<el-form-item label="ACT" prop="lendoc.account"> <el-form-item label="ACT" prop="lendoc.account">
<c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input> <c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT"
:disabled="model.lendoc.actflg==''"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
placeholder="请选择业务种类" placeholder="请选择业务种类"
> >
<el-option <el-option
v-for="item in codes.busflg" v-for="item in bustyp1"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -181,7 +181,16 @@ ...@@ -181,7 +181,16 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onCptpGetinf" @click="
showGridPromptDialog(
'attp.selbut1',
null,
null,
{ TXT: 'attp.country' },
{ TXT: false },
'doxpDialog'
)
"
> >
</c-button> </c-button>
</c-col> </c-col>
...@@ -191,12 +200,11 @@ ...@@ -191,12 +200,11 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="汇款人名称" prop="attp.orcnam"> <el-form-item label="汇款人名称" prop="attp.orcnam">
<c-input <c-input
type="textarea"
v-model="model.attp.orcnam" v-model="model.attp.orcnam"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入汇款人名称" placeholder="请输入汇款人名称"
disabled :disabled="model.attp.swftyp==''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -206,12 +214,11 @@ ...@@ -206,12 +214,11 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="汇款人地址" prop="attp.orcadr"> <el-form-item label="汇款人地址" prop="attp.orcadr">
<c-input <c-input
type="textarea"
v-model="model.attp.orcadr" v-model="model.attp.orcadr"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入汇款人地址" placeholder="请输入汇款人地址"
disabled :disabled="model.attp.swftyp==''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -221,12 +228,11 @@ ...@@ -221,12 +228,11 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收款人名称" prop="attp.pyenam"> <el-form-item label="收款人名称" prop="attp.pyenam">
<c-input <c-input
type="textarea"
v-model="model.attp.pyenam" v-model="model.attp.pyenam"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入收款人名称" placeholder="请输入收款人名称"
disabled :disabled="model.attp.swftyp==''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -236,12 +242,11 @@ ...@@ -236,12 +242,11 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收款人地址" prop="attp.pyeadr"> <el-form-item label="收款人地址" prop="attp.pyeadr">
<c-input <c-input
type="textarea"
v-model="model.attp.pyeadr" v-model="model.attp.pyeadr"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入收款人地址" placeholder="请输入收款人地址"
disabled :disabled="model.attp.swftyp==''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -281,7 +286,6 @@ ...@@ -281,7 +286,6 @@
style="margin: 0 10px 0 0; padding: 0 12px" style="margin: 0 10px 0 0; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
> >
<span <span
style="font-size: 15px; font-family: '宋体'; font-weight: bold" style="font-size: 15px; font-family: '宋体'; font-weight: bold"
...@@ -295,7 +299,6 @@ ...@@ -295,7 +299,6 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
@click="onDetpButgetref"
> >
详情 详情
</c-button> </c-button>
...@@ -479,7 +482,7 @@ ...@@ -479,7 +482,7 @@
<c-input></c-input> <c-input></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10" offset="2" style="text-align: right"> <c-col :span="10" :offset="2" style="text-align: right">
<c-checkbox v-model="model.cpdgrp.rec.tsnflg" <c-checkbox v-model="model.cpdgrp.rec.tsnflg"
>同名划转标志</c-checkbox >同名划转标志</c-checkbox
> >
...@@ -521,7 +524,6 @@ ...@@ -521,7 +524,6 @@
v-model="model.attp.sndbchnam" v-model="model.attp.sndbchnam"
maxlength="42" maxlength="42"
placeholder="请输入发报行名称" placeholder="请输入发报行名称"
disabled
@keyup.enter.native="showGridPromptDialog('attp.sndbchnam')" @keyup.enter.native="showGridPromptDialog('attp.sndbchnam')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -576,7 +578,6 @@ ...@@ -576,7 +578,6 @@
style="margin: 0 10px 0 0; padding: 0 12px" style="margin: 0 10px 0 0; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
> >
<span <span
style="font-size: 15px; font-family: '宋体'; font-weight: bold" style="font-size: 15px; font-family: '宋体'; font-weight: bold"
...@@ -591,7 +592,6 @@ ...@@ -591,7 +592,6 @@
type="primary" type="primary"
style="margin: 0 0" style="margin: 0 0"
disabled disabled
@click="onPyepDet"
> >
详情 详情
</c-button> </c-button>
...@@ -982,7 +982,18 @@ export default { ...@@ -982,7 +982,18 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
bustyp1: [
{ label: "01-支付运保费", value: "01" },
{ label: "02-代理进出口", value: "02" },
{ label: "03-与特殊经济区企业资金往来", value: "03" },
{ label: "04-同一企业不同账户资金划转", value: "04" },
{ label: "05-归还国内贷款或转贷款", value: "05" },
{ label: "06-贸易深加工结转业务", value: "06" },
{ label: "07-贸易融资业务", value: "07" },
{ label: "08-其他", value: "08" },
],
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
v-model="model.cpdgrp.ori.pts.ref" v-model="model.cpdgrp.ori.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入汇款人开户行" placeholder="请输入汇款人开户行"
:disabled="flag"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
v-model="model.attp.atd.sbkact" v-model="model.attp.atd.sbkact"
maxlength="35" maxlength="35"
placeholder="请输入收款人开户行帐号" placeholder="请输入收款人开户行帐号"
:disabled="flag"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -32,6 +34,7 @@ ...@@ -32,6 +34,7 @@
v-model="model.cpdgrp.ori.pts.extkey" v-model="model.cpdgrp.ori.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
:disabled="flag"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('attp.atd.sbkact') showGridPromptDialog('attp.atd.sbkact')
" "
...@@ -50,8 +53,7 @@ ...@@ -50,8 +53,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
@click="onSndpDet" :disabled="flag"
disabled
> >
详情 详情
</c-button> </c-button>
...@@ -60,7 +62,7 @@ ...@@ -60,7 +62,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.ori.pts.adrblk"> <el-form-item label="Address Block" prop="cpdgrp.ori.pts.adrblk" >
<c-input <c-input
type="textarea" type="textarea"
v-model="model.cpdgrp.ori.pts.adrblk" v-model="model.cpdgrp.ori.pts.adrblk"
...@@ -68,6 +70,7 @@ ...@@ -68,6 +70,7 @@
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
rows="4" rows="4"
:disabled="flag"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -82,6 +85,7 @@ ...@@ -82,6 +85,7 @@
v-model="model.cpdgrp.med.pts.extkey" v-model="model.cpdgrp.med.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
:disabled="flag1"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.med.pts.extkey') showGridPromptDialog('cpdgrp.med.pts.extkey')
" "
...@@ -100,8 +104,7 @@ ...@@ -100,8 +104,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
@click="onSndpDet" :disabled="flag1"
disabled
> >
详情 详情
</c-button> </c-button>
...@@ -118,7 +121,7 @@ ...@@ -118,7 +121,7 @@
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
rows="4" rows="4"
disabled :disabled="flag1"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -133,6 +136,7 @@ ...@@ -133,6 +136,7 @@
v-model="model.cpdgrp.rmt.pts.extkey" v-model="model.cpdgrp.rmt.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
:disabled="flag1"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.rmt.pts.extkey') showGridPromptDialog('cpdgrp.rmt.pts.extkey')
" "
...@@ -150,8 +154,7 @@ ...@@ -150,8 +154,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
@click="onSndpDet" :disabled="flag1"
disabled
> >
详情 详情
</c-button> </c-button>
...@@ -168,7 +171,7 @@ ...@@ -168,7 +171,7 @@
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
rows="4" rows="4"
disabled :disabled="flag1"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -181,6 +184,7 @@ ...@@ -181,6 +184,7 @@
v-model="model.cpdgrp.pyb.pts.ref" v-model="model.cpdgrp.pyb.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入收款人开户行" placeholder="请输入收款人开户行"
:disabled="flag"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -190,6 +194,7 @@ ...@@ -190,6 +194,7 @@
<c-input <c-input
v-model="model.attp.atd.rbkact" v-model="model.attp.atd.rbkact"
maxlength="35" maxlength="35"
:disabled="flag"
placeholder="请输入汇款人开户行帐号" placeholder="请输入汇款人开户行帐号"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -205,6 +210,7 @@ ...@@ -205,6 +210,7 @@
v-model="model.cpdgrp.pyb.pts.extkey" v-model="model.cpdgrp.pyb.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
:disabled="flag"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('cpdgrp.pyd.pts.extkey') showGridPromptDialog('cpdgrp.pyd.pts.extkey')
" "
...@@ -223,8 +229,7 @@ ...@@ -223,8 +229,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
@click="onSndpDet" :disabled="flag"
disabled
> >
详情 详情
</c-button> </c-button>
...@@ -240,7 +245,7 @@ ...@@ -240,7 +245,7 @@
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
rows="4" rows="4"
:disabled="flag"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -558,7 +563,15 @@ export default { ...@@ -558,7 +563,15 @@ export default {
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
} },
computed: {
flag() {
return this.model.attp.swftyp == "200";
},
flag1() {
return this.model.attp.swftyp == "100"||this.model.attp.swftyp == "102"||this.model.attp.swftyp == "103";
},
},
} }
</script> </script>
<style> <style>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="24">
<el-form-item label="申报类型" prop="bopmod.szflg"> <el-form-item label="申报类型" prop="bopmod.szflg">
<c-select <c-select
v-model="model.bopmod.szflg" v-model="model.bopmod.szflg"
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
v-model="model.bopmod.acttyp" v-model="model.bopmod.acttyp"
style="width: 100%" style="width: 100%"
placeholder="请选择款项来源" placeholder="请选择款项来源"
:disabled="model.bopmod.szflg==='3' || model.bopmod.szflg==='2' ||model.bopmod.szflg===''"
> >
<el-option <el-option
v-for="item in codes.acttyp" v-for="item in codes.acttyp"
...@@ -43,9 +44,10 @@ ...@@ -43,9 +44,10 @@
v-model="model.bopmod.ownextkey" v-model="model.bopmod.ownextkey"
style="width: 100%" style="width: 100%"
placeholder="请选择地区机构号" placeholder="请选择地区机构号"
:disabled="model.bopmod.szflg==='3' ||model.bopmod.szflg===''"
> >
<el-option <el-option
v-for="item in codes.ownextkey" v-for="item in codes.ownextkey1"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -55,9 +57,9 @@ ...@@ -55,9 +57,9 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox> <c-checkbox v-model="model.bopmod.basflg" :disabled="model.bopmod.szflg==='3'||model.bopmod.szflg===''">基础数据</c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
...@@ -67,19 +69,20 @@ ...@@ -67,19 +69,20 @@
label="国外银行扣费(涉外收入申报专用)" label="国外银行扣费(涉外收入申报专用)"
label-width="60%" label-width="60%"
> >
<c-select <c-input v-model="model.bopmod.outchargeccy" :disabled="true"></c-input>
<!-- <c-select
v-model="model.bopmod.outchargeccy" v-model="model.bopmod.outchargeccy"
style="width: 95%" style="width: 95%"
placeholder="请选择国外银行扣费(涉外收入申报专用)" placeholder="请选择国外银行扣费(涉外收入申报专用)"
:disabled="true" :disabled="true"
> >
<el-option <el-option
v-for="item in outchargeccy" v-for="item in codes.outchargeccy"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select> -->
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -3,19 +3,19 @@ ...@@ -3,19 +3,19 @@
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
: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> --> <!-- <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 <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -73,20 +73,6 @@ ...@@ -73,20 +73,6 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane label="外管信息" name="wg">
<c-content>
<m-wg :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane <el-tab-pane
label="境内收入申报单-基础信息" label="境内收入申报单-基础信息"
name="dbe" name="dbe"
...@@ -94,6 +80,7 @@ ...@@ -94,6 +80,7 @@
> >
<m-dbe :model="model" :codes="codes"></m-dbe> <m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
label="涉外收入申报单-基础信息" label="涉外收入申报单-基础信息"
name="dbb" name="dbb"
...@@ -102,6 +89,20 @@ ...@@ -102,6 +89,20 @@
<m-dbb :model="model" :codes="codes"></m-dbb> <m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane> </el-tab-pane>
<!--收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane label="外管信息" name="wg">
<c-content>
<m-wg :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000018 --> <!--PD000018 -->
<!-- <el-tab-pane label="PD000018" name="addinf"> <!-- <el-tab-pane label="PD000018" name="addinf">
<c-content> <c-content>
...@@ -110,7 +111,11 @@ ...@@ -110,7 +111,11 @@
</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
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</c-page> </c-page>
...@@ -135,6 +140,8 @@ import Wg from "./Wg"; ...@@ -135,6 +140,8 @@ import Wg from "./Wg";
import Dbe from "./Dbe.vue"; import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue"; import Dbb from "./Dbb.vue";
import commonFuncs from "~/mixin/commonFuncs";
export default { export default {
name: "Cptati", name: "Cptati",
components: { components: {
...@@ -155,7 +162,7 @@ export default { ...@@ -155,7 +162,7 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "opnp1", tabVal: "opnp1",
......
...@@ -12,24 +12,22 @@ ...@@ -12,24 +12,22 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<c-fullbox> <c-fullbox>
<el-form-item <el-form-item
label="Selection of User" label="Selection of User"
prop="trncorco.usfmod.flt" prop="trncorco.usfmod.flt"
style="width: 100%" style="width: 100%"
>
<c-col :span="16">
<c-input
v-model="model.trncorco.usfmod.flt"
maxlength="16"
placeholder="请输入Selection of User"
>
</c-input>
</c-col>
<c-button size="small" type="primary"
>Show_Set</c-button
> >
</el-form-item> <c-col :span="16">
<c-input
v-model="model.trncorco.usfmod.flt"
maxlength="16"
placeholder="请输入Selection of User"
>
</c-input>
</c-col>
<c-button size="small" type="primary">Show_Set</c-button>
</el-form-item>
</c-fullbox> </c-fullbox>
</c-col> </c-col>
...@@ -122,11 +120,7 @@ ...@@ -122,11 +120,7 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Amount between" prop="" style="width: 100%">
label="Amount between"
prop=""
style="width: 100%"
>
<c-col :span="11"> <c-col :span="11">
<c-input-currency <c-input-currency
v-model="model.amt1" v-model="model.amt1"
...@@ -189,16 +183,11 @@ ...@@ -189,16 +183,11 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="branch" prop="branch" style="width: 100%">
label="branch"
prop="branch"
style="width: 100%"
>
<c-input <c-input
v-model="model.branch" v-model="model.branch"
maxlength="24" maxlength="24"
placeholder="请输入Select Single Party" placeholder="请输入Select Single Party"
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -237,12 +226,50 @@ ...@@ -237,12 +226,50 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true"> <c-istream-table
<el-table-column fixed="right" prop="op" label="操作" width="140px"> :list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="150px">
<template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
<!-- <c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col> -->
</template>
<!-- <template slot-scope="scope">
<el-popover placement="top-start" title="历史信息" width="800" trigger="click" :ref="'popover_' + scope.row.IDX">
<div style="text-align: right; margin-top: -30px;margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/>
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row['INR'])" >详情</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>详情</c-button
>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>处理
</c-button>
</template> -->
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<m-busbtn ref="childs" :ownref="ownref" trnCode="cptsel" :model="CptselModel" ownrefPath="cpdgrp" @onChoose="onChoose" >11</m-busbtn>
<!-- ======================================原码=================================================== --> <!-- ======================================原码=================================================== -->
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -459,13 +486,18 @@ import Api from "~/service/Api"; ...@@ -459,13 +486,18 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptrel/Event"; import Event from "~/model/Cptrel/Event";
import BusNavbar from "~/views/Public/BusNavbar";
import CptselModel from "~/model/Cptsel"
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data() { data() {
return { return {
CptselModel: new CptselModel().data,
ownref: "",
stmData: { stmData: {
columns: [ columns: [
// '0 1 "业务编号" 110', // '0 1 "业务编号" 110',
...@@ -476,50 +508,78 @@ export default { ...@@ -476,50 +508,78 @@ export default {
// '5 6 "业务发生日期" 150 20 30 1', // '5 6 "业务发生日期" 150 20 30 1',
// '6 7 "复核状态" 120 1 0:0 1 RELSTA', // '6 7 "复核状态" 120 1 0:0 1 RELSTA',
// "10 1 \"TRN\" 50 1 0:0 3 ATPTXT", '10 1 "TRN" 100 1 0:0 3 ATPTXT',
// "11 2:1 \"Own Reference\" 186", '11 2 "Own Reference" 186',
// "17 2:2 \"Message Type\" 186", '17 3 "Message Type" 186',
// "12 3 \"Cur\" 137", '12 4 "Cur" 137',
// "13 4 \"Relevant Amount\" 80 2 8:1 2 5", '13 5 "Relevant Amount" 80 2 8:1 2 5',
// "14 5 \"Entry\" 104 20 30 1", '14 6 "Entry" 104 20 30 1',
// "9 6:1 \"Req\" 135", '9 7 "Req" 135',
// "2 6:2 \"Sig\" 135", '2 8 "Sig" 135',
// "6 8:1 \"Rq0\" 135", '6 9 "Rq0" 135',
// "3 8:2 \"Rel0\" 135", '3 10 "Rel0" 135',
// "7 9:1 \"Rq1\" 135", '7 11 "Rq1" 135',
// "4 9:2 \"Rel1\" 135", '4 12 "Rel1" 135',
// "8 10:1 \"Rq2\" 135", '8 13 "Rq2" 135',
// "5 10:2 \"Rel2\" 135", '5 14 "Rel2" 135',
// "16 11:1 \"User\" 160", '16 15 "User" 160',
// "18 11:2 \"\" 60", '18 16 "" 60',
// "0 12 \"Status\" 54 1 0:0 1 RELSTA", '0 17 "Status" 54 1 0:0 1 RELSTA',
// "15 13 \"Branch\" 142", '15 18 "Branch" 142',
"10 1 \"TRN\" 100 1 0:0 3 ATPTXT",
"11 2 \"Own Reference\" 186",
"17 3 \"Message Type\" 186",
"12 4 \"Cur\" 137",
"13 5 \"Relevant Amount\" 80 2 8:1 2 5",
"14 6 \"Entry\" 104 20 30 1",
"9 7 \"Req\" 135",
"2 8 \"Sig\" 135",
"6 9 \"Rq0\" 135",
"3 10 \"Rel0\" 135",
"7 11 \"Rq1\" 135",
"4 12 \"Rel1\" 135",
"8 13 \"Rq2\" 135",
"5 14 \"Rel2\" 135",
"16 15 \"User\" 160",
"18 16 \"\" 60",
"0 17 \"Status\" 54 1 0:0 1 RELSTA",
"15 18 \"Branch\" 142",
], ],
data: [], data: [],
}, },
searchToggle: true trnData: {
columns: [
'1 1 "编号" 200',
'2 2 "交易名称" 130',
// '3 3 "日期" 200',
{ index: 3, position: 3, width: 110, pattern: "date", label: "日期" },
// '4 4 "状态" 50',
{
index: 4,
position: 4,
width: 100,
pattern: "code",
label: "状态",
code: this.codes.relstaEN,
},
'5 5 "币种" 80',
'6 6 "金额" 100',
],
data: [],
},
searchToggle: true,
}; };
}, },
methods: { ...Event }, methods: {
...Event,
async getTrnInfo(idx, row) {
this.model.objinr = row["INR"];
this.model.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
}
},
closeTrn(refId) {
this.$refs[refId].doClose();
},
async getButtons(ownref) {
this.ownref = ownref;
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template>
<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="myTabClick">
<!--cptsel PD000125 Menu -->
<el-tab-pane :label="$t('cptsel.PD000125')" name="sel">
<m-sel :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cptsel from "~/model/Cptsel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Cptsel/Check"
import Default from "~/model/Cptsel/Default"
import Pattern from "~/model/Cptsel/Pattern"
import Sel from "./Sel"
export default {
name: "Cptsel",
components:{
"m-sel" : Sel,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "cptsel",
trnType: "",
model: new Cptsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cptsel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
disabled
> >
<span style="font-family: '宋体'; font-weight: bold">i</span> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button> </c-button>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
...@@ -46,15 +46,20 @@ ...@@ -46,15 +46,20 @@
v-model="model.gidgrp.rec.sndto" v-model="model.gidgrp.rec.sndto"
style="width: 100%" style="width: 100%"
placeholder="请选择Undertaking Send to" placeholder="请选择Undertaking Send to"
disabled :disabled="
model.gidgrp.rec.hndtyp == 'OC' ||
model.gidgrp.rec.hndtyp == 'FR' ||
model.gidgrp.rec.hndtyp == 'FG'
"
:code="sndto"
> >
<el-option <!-- <el-option
v-for="item in codes.rolall" v-for="item in codes.rolall"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
> >
</el-option> </el-option> -->
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -87,9 +92,9 @@ ...@@ -87,9 +92,9 @@
> >
<c-input <c-input
:disabled=" :disabled="
model.gidgrp.rec.delto == 'APPL' || model.gidgrp.rec.delto == 'APPL' ||
model.gidgrp.rec.delto == 'BENE' model.gidgrp.rec.delto == 'BENE'
" "
type="textarea" type="textarea"
:rows="4" :rows="4"
v-model="model.gidgrp.blk.deltoadr" v-model="model.gidgrp.blk.deltoadr"
...@@ -148,7 +153,7 @@ ...@@ -148,7 +153,7 @@
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="Additional Details to Code for Charges" label="Additional Details to Code for Charges"
...@@ -182,7 +187,7 @@ ...@@ -182,7 +187,7 @@
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Presentation Instr." prop="gidgrp.blk.preper"> <el-form-item label="Presentation Instr." prop="gidgrp.blk.preper">
<c-input <c-input
:disabled="model.gitp.prepermodflg==''" :disabled="model.gitp.prepermodflg == ''"
type="textarea" type="textarea"
:rows="5" :rows="5"
v-model="model.gidgrp.blk.preper" v-model="model.gidgrp.blk.preper"
...@@ -330,7 +335,7 @@ import Event from "~/model/Getamc/Event"; ...@@ -330,7 +335,7 @@ import Event from "~/model/Getamc/Event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model"], props: ["model", "sndto"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
name="preperp" name="preperp"
> >
<c-content> <c-content>
<m-preperp :model="model" :codes="codes" /> <m-preperp :model="model" :codes="codes" :sndto="sndto" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -161,6 +161,7 @@ export default { ...@@ -161,6 +161,7 @@ export default {
}, },
bookings: false, bookings: false,
attachments: false, attachments: false,
sndto: [],
}; };
}, },
methods: { methods: {
...@@ -173,12 +174,27 @@ export default { ...@@ -173,12 +174,27 @@ export default {
* do it yourself * do it yourself
**/ **/
}, },
buildSndto(data){
var result = [];
for(let i = 0; i < data.length; i++){
var temp = data[i].split('\t');
let newList = {
value: temp[0],
label: temp[1],
}
result.push(newList);
}
this.sndto = result;
console.log(this.sndto)
},
}, },
created: async function () { created: async function () {
console.log("进入getamc交易"); console.log("进入getamc交易");
let rtnmsg = await this.init({}); let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
console.log(rtnmsg.codeSet['gidgrp.rec.sndto'])
this.buildSndto(rtnmsg.codeSet['gidgrp.rec.sndto'] || []);
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
v-model="model.infcon.pty.extkey" v-model="model.infcon.pty.extkey"
maxlength="24" maxlength="24"
placeholder="请输入Select Single Party" placeholder="请输入Select Single Party"
:disabled=this.flag1 :disabled="this.flag1"
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
v-model="model.infcon.seapty" v-model="model.infcon.seapty"
maxlength="24" maxlength="24"
placeholder="请输入Party Name/BIC" placeholder="请输入Party Name/BIC"
:disabled=this.flag2 :disabled="this.flag2"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -193,7 +193,11 @@ ...@@ -193,7 +193,11 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Currency" prop="infcon.seacur" style="width: 100%" > <el-form-item
label="Currency"
prop="infcon.seacur"
style="width: 100%"
>
<c-select <c-select
v-model="model.infcon.seacur" v-model="model.infcon.seacur"
style="width: 100%" style="width: 100%"
...@@ -305,19 +309,43 @@ ...@@ -305,19 +309,43 @@
<!-- </c-infsearch-group> --> <!-- </c-infsearch-group> -->
<c-col style="margin-top: 10px"> <c-col style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0" <c-button
@click="toCptopn">swift汇入</c-button class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 0"
@click="toCptopn"
>swift汇入</c-button
> >
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0" <c-button
@click="toCptadv">swift汇出</c-button class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 0"
@click="toCptadv"
>swift汇出</c-button
> >
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0" <c-button
@click="toCptati">境内外币汇入</c-button class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 0"
@click="toCptati"
>境内外币汇入</c-button
> >
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0" <c-button
@click="toCptato">境内外币汇出</c-button class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 0"
@click="toCptato"
>境内外币汇出</c-button
> >
<c-button class="medium_bcs" size="medium" type="primary" style="float:right;margin-right:10px;" <c-button
class="medium_bcs"
size="medium"
type="primary"
style="float: right; margin-right: 10px"
>导Excel</c-button >导Excel</c-button
> >
<!-- <c-button size="small" type="primary" style="margin-left: 0" <!-- <c-button size="small" type="primary" style="margin-left: 0"
...@@ -329,7 +357,11 @@ ...@@ -329,7 +357,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true"> <c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="140px"> <el-table-column fixed="right" prop="op" label="操作" width="140px">
<!-- <template slot="header"> <!-- <template slot="header">
<c-col :span="11" style="text-align: left"> <c-col :span="11" style="text-align: left">
...@@ -406,8 +438,15 @@ ...@@ -406,8 +438,15 @@
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<m-busbtn ref="childs" :ownref="ownref" trnCode="cptsel" :model="cptselModel" ownrefPath="cpdgrp" @onChoose="onChoose" >11</m-busbtn> <m-busbtn
ref="childs"
:ownref="ownref"
trnCode="cptsel"
:model="cptselModel"
ownrefPath="cpdgrp"
@onChoose="onChoose"
>11</m-busbtn
>
</div> </div>
</template> </template>
<script> <script>
...@@ -416,8 +455,7 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -416,8 +455,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infcpd/Event"; import Event from "~/model/Infcpd/Event";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
import CptselModel from "~/model/Cptsel" import CptselModel from "~/model/Cptsel";
export default { export default {
inject: ["root"], inject: ["root"],
...@@ -426,22 +464,22 @@ export default { ...@@ -426,22 +464,22 @@ export default {
components: { "m-busbtn": BusNavbar }, components: { "m-busbtn": BusNavbar },
data() { data() {
return { return {
flag1:false, flag1: false,
flag2:false, flag2: false,
searol:[ searol: [
{ label: "Ordering Customer", value: "ORC" }, { label: "Ordering Customer", value: "ORC" },
{ label: "Ordering Institution", value: "ORI" }, { label: "Ordering Institution", value: "ORI" },
{ label: "Paying Bank", value: "PYB" }, { label: "Paying Bank", value: "PYB" },
{ label: "Payee", value: "PYE" }, { label: "Payee", value: "PYE" },
{ label: "Reimb. Bank Transfer", value: "RMT" }, { label: "Reimb. Bank Transfer", value: "RMT" },
], ],
swftyp:[ swftyp: [
{ label: "MT103", value: "103" }, { label: "MT103", value: "103" },
{ label: "MT202", value: "202" }, { label: "MT202", value: "202" },
{ label: "MT910", value: "910" }, { label: "MT910", value: "910" },
{ label: "CMT100", value: "CMT" }, { label: "CMT100", value: "CMT" },
{ label: "境内外币清算", value: "100" }, { label: "境内外币清算", value: "100" },
{ label: "Other", value: "OTH" }, { label: "Other", value: "OTH" },
], ],
cptselModel: new CptselModel().data, cptselModel: new CptselModel().data,
searchToggle: true, searchToggle: true,
...@@ -516,24 +554,23 @@ export default { ...@@ -516,24 +554,23 @@ export default {
}, },
}; };
}, },
watch:{ watch: {
"model.infcon.seapty": function () { "model.infcon.seapty": function () {
if (this.model.infcon.seapty == '') { if (this.model.infcon.seapty == "") {
this.flag1 = false; this.flag1 = false;
} else { } else {
this.flag1 = true; this.flag1 = true;
this.model.infcon.pty.extkey=""; this.model.infcon.pty.extkey = "";
} }
}, },
"model.infcon.pty.extkey":function(){ "model.infcon.pty.extkey": function () {
if(this.model.infcon.pty.extkey == ''){ if (this.model.infcon.pty.extkey == "") {
this.flag2 = false; this.flag2 = false;
} else { } else {
this.flag2 = true; this.flag2 = true;
this.model.infcon.seapty=""; this.model.infcon.seapty = "";
} }
},
}
}, },
methods: { methods: {
...Event, ...Event,
...@@ -547,48 +584,48 @@ export default { ...@@ -547,48 +584,48 @@ export default {
callback(); callback();
}, 1000); }, 1000);
}, */ }, */
async getButtons(ownref){ async getButtons(ownref) {
this.ownref = ownref this.ownref = ownref;
this.$refs.childs.initdialog = true this.$refs.childs.initdialog = true;
console.log("ownref:" +ownref); console.log("ownref:" + ownref);
}, },
async onChoose(code){ async onChoose(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false;
} , },
async getDitSelInfo(code){ async getDitSelInfo(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false;
}, },
async getTrnInfo(idx, row) { async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"]; this.model.infcon.objinr = row["INR"];
this.model.cpdgrp.rec.inr = row["INR"]; this.model.cpdgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X"; this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true; this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon"); let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) { if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows; this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
} }
}, },
closeTrn(refId){ closeTrn(refId) {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
toCptopn(){ toCptopn() {
this.$router.history.push("/business/cptopn") this.$router.history.push("/business/cptopn");
},
toCptadv() {
this.$router.history.push("/business/cptadv");
}, },
toCptadv(){ toCptati() {
this.$router.history.push("/business/cptadv") this.$router.history.push("/business/cptati");
}, },
toCptati(){ toCptato() {
this.$router.history.push("/business/cptati") this.$router.history.push("/business/cptato");
}, },
toCptato(){
this.$router.history.push("/business/cptato")
}
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -174,7 +174,11 @@ ...@@ -174,7 +174,11 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="是否接受此笔减额修改" prop="ameflg"> <el-form-item label="是否接受此笔减额修改" prop="ameflg">
<c-input disabled v-model="model.ameflg" ></c-input> <c-select v-model="model.ameflg" disabled>
<el-option v-for="item in codes.ameflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
......
...@@ -171,7 +171,8 @@ ...@@ -171,7 +171,8 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="担保银行" prop="guabnkval"> <el-form-item label="担保银行" prop="guabnkval">
<c-input v-model="model.guabnkval" maxlength="40" placeholder="请输入担保银行"></c-input> <c-input v-model="model.guabnkval" maxlength="40" style="width: 72%" placeholder="请输入担保银行"></c-input>
<span>(提货担保面函落款)</span>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
...@@ -285,7 +286,7 @@ ...@@ -285,7 +286,7 @@
:rows="5" :rows="5"
type="textarea" type="textarea"
v-model="model.brdgrp.prb.pts.adrblk" v-model="model.brdgrp.prb.pts.adrblk"
maxlength="35" maxlength="200"
show-word-limit show-word-limit
placeholder="请输入Address Block" placeholder="请输入Address Block"
></c-input> ></c-input>
...@@ -293,7 +294,7 @@ ...@@ -293,7 +294,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="(提货担保面函落款)发票类型" prop="brdgrp.rec.invtyp"> <el-form-item label="发票类型" prop="brdgrp.rec.invtyp">
<c-select <c-select
v-model="model.brdgrp.rec.invtyp" v-model="model.brdgrp.rec.invtyp"
style="width:100%" style="width:100%"
......
...@@ -42,7 +42,9 @@ ...@@ -42,7 +42,9 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Transport Doc. Type" prop="brdgrp.rec.trpdoctyp"> <el-form-item label="Transport Doc. Type" prop="brdgrp.rec.trpdoctyp">
<c-select v-model="model.brdgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择Transport Doc. Type"> <c-select v-model="model.brdgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择Transport Doc. Type">
</c-select> <el-option v-for="item in codes.trpdoctyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -61,7 +63,9 @@ ...@@ -61,7 +63,9 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Mode of Transport" prop="brdgrp.rec.tramod"> <el-form-item label="Mode of Transport" prop="brdgrp.rec.tramod">
<c-select v-model="model.brdgrp.rec.tramod" style="width:100%" placeholder="请选择Mode of Transport"> <c-select v-model="model.brdgrp.rec.tramod" style="width:100%" placeholder="请选择Mode of Transport">
</c-select> <el-option v-for="item in codes.tramod" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -126,10 +130,8 @@ ...@@ -126,10 +130,8 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.rtoaplflg" <c-checkbox v-model="model.brdgrp.rec.rtoaplflg" style="margin-left:140px;padding: 0 10px;">To Applicant</c-checkbox>
style="margin-left:140px;padding: 0 10px;" </c-col>
>Release Goods to Applicant </c-checkbox>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Release to Address" prop="brdgrp.blk.relstoadr"> <el-form-item label="Release to Address" prop="brdgrp.blk.relstoadr">
......
<template>
<ReviewWrapper>
<Bctacc></Bctacc>
</ReviewWrapper>
</template>
<script>
import Bctacc from "~/views/Business/Bctacc";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctacc",
components: { ReviewWrapper, Bctacc },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctame></Bctame>
</ReviewWrapper>
</template>
<script>
import Bctame from "~/views/Business/Bctame";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctame",
components: { ReviewWrapper, Bctame },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctcan></Bctcan>
</ReviewWrapper>
</template>
<script>
import Bctcan from "~/views/Business/Bctcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctcan",
components: { ReviewWrapper, Bctcan },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctdav></Bctdav>
</ReviewWrapper>
</template>
<script>
import Bctdav from "~/views/Business/Bctdav";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctdav",
components: { ReviewWrapper, Bctdav },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctdor></Bctdor>
</ReviewWrapper>
</template>
<script>
import Bctdor from "~/views/Business/Bctdor";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctdor",
components: { ReviewWrapper, Bctdor },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctrad></Bctrad>
</ReviewWrapper>
</template>
<script>
import Bctrad from "~/views/Business/Bctrad";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctrad",
components: { ReviewWrapper, Bctrad },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctsel></Bctsel>
</ReviewWrapper>
</template>
<script>
import Bctsel from "~/views/Business/Bctsel";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctsel",
components: { ReviewWrapper, Bctsel },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bctset></Bctset>
</ReviewWrapper>
</template>
<script>
import Bctset from "~/views/Business/Bctset";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBctset",
components: { ReviewWrapper, Bctset },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
...@@ -52,7 +52,14 @@ import ReviewDitdav from "./Business/ReviewDitdav.vue"; ...@@ -52,7 +52,14 @@ import ReviewDitdav from "./Business/ReviewDitdav.vue";
import ReviewDitdla from "./Business/ReviewDitdla.vue"; import ReviewDitdla from "./Business/ReviewDitdla.vue";
import ReviewBdtcan from "./Business/ReviewBdtcan.vue"; import ReviewBdtcan from "./Business/ReviewBdtcan.vue";
import ReviewBftacc from "./Business/ReviewBftacc.vue"; import ReviewBftacc from "./Business/ReviewBftacc.vue";
import ReviewBctacc from "./Business/ReviewBctacc.vue";
import ReviewBctame from "./Business/ReviewBctame.vue";
import ReviewBctcan from "./Business/ReviewBctcan.vue";
import ReviewBctdav from "./Business/ReviewBctdav.vue";
import ReviewBctdor from "./Business/ReviewBctdor.vue";
import ReviewBctrad from "./Business/ReviewBctrad.vue";
import ReviewBctsel from "./Business/ReviewBctsel.vue";
import ReviewBctset from "./Business/ReviewBctset.vue";
const ReviewRouter = [ const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } }, { path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
...@@ -123,7 +130,14 @@ const ReviewRouter = [ ...@@ -123,7 +130,14 @@ const ReviewRouter = [
{ path: "ditdla", component: ReviewDitdla, name: "ReviewDitdla", meta: { title: "复核-Ditdla" } }, { path: "ditdla", component: ReviewDitdla, name: "ReviewDitdla", meta: { title: "复核-Ditdla" } },
{ path: "bdtcan", component: ReviewBdtcan, name: "ReviewBdtcan", meta: { title: "复核-Bdtcan" } }, { path: "bdtcan", component: ReviewBdtcan, name: "ReviewBdtcan", meta: { title: "复核-Bdtcan" } },
{ path: "bftacc", component: ReviewBftacc, name: "ReviewBftacc", meta: { title: "复核-Bftacc" } }, { path: "bftacc", component: ReviewBftacc, name: "ReviewBftacc", meta: { title: "复核-Bftacc" } },
{ path: "bctacc", component: ReviewBctacc, name: "ReviewBctacc", meta: { title: "复核-Bctacc" } },
{ path: "bctame", component: ReviewBctame, name: "ReviewBctame", meta: { title: "复核-Bctame" } },
{ path: "bctcan", component: ReviewBctcan, name: "ReviewBctcan", meta: { title: "复核-Bctcan" } },
{ path: "bctdav", component: ReviewBctdav, name: "ReviewBctdav", meta: { title: "复核-Bctdav" } },
{ path: "bctdor", component: ReviewBctdor, name: "ReviewBctdor", meta: { title: "复核-Bctdor" } },
{ path: "bctrad", component: ReviewBctrad, name: "ReviewBctrad", meta: { title: "复核-Bctrad" } },
{ path: "bctsel", component: ReviewBctsel, name: "ReviewBctsel", meta: { title: "复核-Bctsel" } },
{ path: "bctset", component: ReviewBctset, name: "ReviewBctset", meta: { title: "复核-Bctset" } },
]; ];
export default ReviewRouter; export default ReviewRouter;
\ No newline at end of file
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