Commit c969847c by hanying

Merge branch 'develop' of http://114.115.138.98:8900/isc-v3.1/isc-web-vue into develop

parents 59dbddc0 ef9d1a4e
...@@ -31,6 +31,9 @@ export default class Pts { ...@@ -31,6 +31,9 @@ export default class Pts {
cnadr: '', //中文地址 cnadr: '', //中文地址
ennam: '', //英文名称 ennam: '', //英文名称
enadr: '', //英文地址 enadr: '', //英文地址
cipsid: '', //
leino: '', //
eid: '', //
}; };
} }
} }
...@@ -96,51 +96,77 @@ export default class Cpdgrp { ...@@ -96,51 +96,77 @@ export default class Cpdgrp {
}, },
}, },
orc: { orc: {
ptytyp:'', ptytyp: '',
pts: new Pts().data,
},
ooa: {
ptytyp: '',
pts: new Pts().data,
},
oob: {
ptytyp: '',
pts: new Pts().data, pts: new Pts().data,
}, },
ori: { ori: {
ptytyp:'', ptytyp: '',
pts: new Pts().data, pts: new Pts().data,
}, },
pyb: { pyb: {
ptytyp:'', ptytyp: '',
pts: new Pts().data, pts: new Pts().data,
}, },
pye: { pye: {
ptytyp:'', ptytyp: '',
pts: new Pts().data, pts: new Pts().data,
}, },
med: { med: {
ptytyp:'', ptytyp: '',
pts: new Pts().data, pts: new Pts().data,
}, },
rmt: { rmt: {
ptytyp:'', ptytyp: '',
pts: new Pts().data, pts: new Pts().data,
}, },
snd: { snd: {
ptytyp:'', ptytyp: '',
pts: new Pts().data, pts: new Pts().data,
}, },
int: { int: {
ptytyp:'', ptytyp: '',
pts: new Pts().data, pts: new Pts().data,
}, },
awi: { awi: {
ptytyp:'', ptytyp: '',
pts: new Pts().data, pts: new Pts().data,
}, },
res: { res: {
ptytyp:'', ptytyp: '',
pts: new Pts().data, pts: new Pts().data,
}, },
pyebchkey:'', pyebchkey: '',
pyebchnam:'', pyebchnam: '',
msgtyp:'', msgtyp: '',
acc54:'', acc54: '',
bic54:'', bic54: '',
adr54:'', adr54: '',
cpdret: {
inr: "", // 主键
chownref: "", // 新汇出汇款业务编号
objtyp: "",
objinr: "",
bfth: "", // 部分退汇
rejcod: "", // 原因代码
remark: "", // 原因详情
clsm: "", // 处理说明 标准收发器专用
smhinr: "",
objref: "",
iniref: "", // 前端业务编号
credat: "",
rightunit: "", // 正确清分机构
iniusr: "",
inifrm: ""
},
} }
} }
} }
\ No newline at end of file
...@@ -4,9 +4,11 @@ ...@@ -4,9 +4,11 @@
<el-collapse-item title="清算来报" name="ovwp"> <el-collapse-item title="清算来报" name="ovwp">
<m-ovwp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<!--
<el-collapse-item title="云平台/E结算来报" name="recode"> <el-collapse-item title="云平台/E结算来报" name="recode">
<m-recode :model="model" :codes="codes" /> <m-recode :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
-->
</c-collapse> </c-collapse>
</div> </div>
......
...@@ -1233,6 +1233,18 @@ const DisplayRouter = [ ...@@ -1233,6 +1233,18 @@ const DisplayRouter = [
meta: {keepAlive: true, title: "交易快照-汇出汇款", module: 'Remittance'} meta: {keepAlive: true, title: "交易快照-汇出汇款", module: 'Remittance'}
}, },
{ {
name: "DisplayCptrej",
path: "cptrej",
component: () => import("./Remittance/DisplayCptrej.vue"),
meta: {keepAlive: true, title: "交易快照-止付申请", module: 'Remittance'}
},
{
name: "DisplayCptdcr",
path: "cptdcr",
component: () => import("./Remittance/DisplayCptdcr.vue"),
meta: {keepAlive: true, title: "交易快照-退汇处理", module: 'Remittance'}
},
{
name: "DisplayCptadv", name: "DisplayCptadv",
path: "cptadv", path: "cptadv",
component: () => import("./Remittance/DisplayCptadv.vue"), component: () => import("./Remittance/DisplayCptadv.vue"),
......
<template>
<Cptdcr></Cptdcr>
</template>
<script>
import Cptdcr from "~/page/Remittance/Cptdcr/views";
export default {
name: "display-cptdcr",
components: {Cptdcr},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
<template>
<Cptrej></Cptrej>
</template>
<script>
import Cptrej from "~/page/Remittance/Cptrej/views";
export default {
name: "display-cptrej",
components: {Cptrej},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
const Business = [ const Business = [
// { path: 'wgbsel', component: () => import('./Wgbsel/views'), name: 'Wgbsel', meta: { keepAlive: true, title: '出口应收账款融资', module: 'Financing' } }, // { path: 'wgbsel', component: () => import('./Wgbsel/views'), name: 'Wgbsel', meta: { keepAlive: true, title: '出口应收账款融资', module: 'Financing' } },
// { path: 'trtopn', component: () => import('./Trtopn/views'), name: 'Trtopn', meta: { keepAlive: true, title: '进口融资开立', module: 'Financing' } }, { path: 'trtopn', component: () => import('./Trtopn/views'), name: 'Trtopn', meta: { keepAlive: true, title: '进口融资开立', module: 'Financing' } },
// { path: 'trtset', component: () => import('./Trtset/views'), name: 'Trtset', meta: { keepAlive: true, title: '进口融资还款', module: 'Financing' } }, // { path: 'trtset', component: () => import('./Trtset/views'), name: 'Trtset', meta: { keepAlive: true, title: '进口融资还款', module: 'Financing' } },
// { path: 'trtcan', component: () => import('./Trtcan/views'), name: 'Trtcan', meta: { keepAlive: true, title: '进口融资注销', module: 'Financing' } }, // { path: 'trtcan', component: () => import('./Trtcan/views'), name: 'Trtcan', meta: { keepAlive: true, title: '进口融资注销', module: 'Financing' } },
// { path: 'trtfee', component: () => import('./Trtfee/views'), name: 'Trtfee', meta: { keepAlive: true, title: '进口融资收费', module: 'Financing' } }, // { path: 'trtfee', component: () => import('./Trtfee/views'), name: 'Trtfee', meta: { keepAlive: true, title: '进口融资收费', module: 'Financing' } },
...@@ -20,15 +20,15 @@ const Business = [ ...@@ -20,15 +20,15 @@ const Business = [
// { path: 'zxbsel', component: () => import('./Zxbsel/views'), name: 'Zxbsel', meta: { keepAlive: true, title: '出口信保保单融资查询', module: 'Financing' } }, // { path: 'zxbsel', component: () => import('./Zxbsel/views'), name: 'Zxbsel', meta: { keepAlive: true, title: '出口信保保单融资查询', module: 'Financing' } },
// { path: 'infssr', component: () => import('./Infssr/views'), name: 'Infssr', meta: { keepAlive: true, title: '信保信息查询', module: 'Financing' } }, // { path: 'infssr', component: () => import('./Infssr/views'), name: 'Infssr', meta: { keepAlive: true, title: '信保信息查询', module: 'Financing' } },
// { path: 'bptopn', component: () => import('./Bptopn/views'), name: 'Bptopn', meta: { keepAlive: true, title: '出口融资放款', module: 'Financing' } }, { path: 'bptopn', component: () => import('./Bptopn/views'), name: 'Bptopn', meta: { keepAlive: true, title: '出口融资放款', module: 'Financing' } },
// { path: 'bptset', component: () => import('./Bptset/views'), name: 'Bptset', meta: { keepAlive: true, title: '出口融资还款', module: 'Financing' } }, // { path: 'bptset', component: () => import('./Bptset/views'), name: 'Bptset', meta: { keepAlive: true, title: '出口融资还款', module: 'Financing' } },
// { path: 'bptinv', component: () => import('./Bptinv/views'), name: 'Bptinv', meta: { keepAlive: true, title: '发票修改', module: 'Financing' } }, // { path: 'bptinv', component: () => import('./Bptinv/views'), name: 'Bptinv', meta: { keepAlive: true, title: '发票修改', module: 'Financing' } },
// { path: 'bptcan', component: () => import('./Bptcan/views'), name: 'Bptcan', meta: { keepAlive: true, title: '出口融资注销', module: 'Financing' } }, // { path: 'bptcan', component: () => import('./Bptcan/views'), name: 'Bptcan', meta: { keepAlive: true, title: '出口融资注销', module: 'Financing' } },
// { path: 'bptfee', component: () => import('./Bptfee/views'), name: 'Bptfee', meta: { keepAlive: true, title: '出口融资收费', module: 'Financing' } }, // { path: 'bptfee', component: () => import('./Bptfee/views'), name: 'Bptfee', meta: { keepAlive: true, title: '出口融资收费', module: 'Financing' } },
// { path: 'cicsel', component: () => import('./Cicsel/views'), name: 'Cicsel', meta: { keepAlive: true, title: '企业跨境信用信息授权查证', module: 'Financing' } }, // { path: 'cicsel', component: () => import('./Cicsel/views'), name: 'Cicsel', meta: { keepAlive: true, title: '企业跨境信用信息授权查证', module: 'Financing' } },
// { path: 'entatr', component: () => import('./Entatr/views'), name: 'Entatr', meta: { keepAlive: true, title: '企业授权情况查询', module: 'Financing' } }, // { path: 'entatr', component: () => import('./Entatr/views'), name: 'Entatr', meta: { keepAlive: true, title: '企业授权情况查询', module: 'Financing' } },
// { path: 'trtsel', component: () => import('./Trtsel/views'), name: 'Trtsel', meta: { keepAlive: true, title: '进口融资&管理', module: 'Financing' } }, { path: 'trtsel', component: () => import('./Trtsel/views'), name: 'Trtsel', meta: { keepAlive: true, title: '进口融资&管理', module: 'Financing' } },
// { path: 'bptsel', component: () => import('./Bptsel/views'), name: 'Bptsel', meta: { keepAlive: true, title: '出口融资&管理', module: 'Financing' } }, { path: 'bptsel', component: () => import('./Bptsel/views'), name: 'Bptsel', meta: { keepAlive: true, title: '出口融资&管理', module: 'Financing' } },
// { path: 'bpdsel', component: () => import('./Bpdsel/views'), name: 'Bpdsel', meta: { keepAlive: true, title: '二级福费廷市场&管理', module: 'Financing' } }, // { path: 'bpdsel', component: () => import('./Bpdsel/views'), name: 'Bpdsel', meta: { keepAlive: true, title: '二级福费廷市场&管理', module: 'Financing' } },
// { path: 'dftsel', component: () => import('./Dftsel/views'), name: 'Dftsel', meta: { keepAlive: true, title: '委托方代付&管理', module: 'Financing' } }, // { path: 'dftsel', component: () => import('./Dftsel/views'), name: 'Dftsel', meta: { keepAlive: true, title: '委托方代付&管理', module: 'Financing' } },
// { path: 'trtfre', component: () => import('./Trtfre/views'), name: 'Trtfre', meta: { keepAlive: true, title: '进口融资自由格式报文', module: 'Financing' } }, // { path: 'trtfre', component: () => import('./Trtfre/views'), name: 'Trtfre', meta: { keepAlive: true, title: '进口融资自由格式报文', module: 'Financing' } },
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
const BusRouter = [ const BusRouter = [
{ path: 'batchg', component: ()=>import("./Batchg/views"), name: 'Batchg', meta: { title: 'Batchg' } ,module:'frontend'}, { path: 'batchg', component: ()=>import("./Batchg/views"), name: 'Batchg', meta: { title: 'Batchg' } ,module:'frontend'},
{ path: 'cpsmsg', component: ()=>import("./Cpsmsg/views"), name: 'Cpsmsg', meta: { title: 'Cpsmsg' } ,module:'frontend'}, { path: 'cpsmsg', component: ()=>import("./Cpsmsg/views"), name: 'Cpsmsg', meta: { title: 'Cpsmsg' } ,module:'frontend'},
{ path: 'cpssxf', component: ()=>import("./Cpssxf/views"), name: 'Cpssxf', meta: { title: 'Cpssxf' } ,module:'frontend'}, { path: 'cpssxf', component: ()=>import("./Cpssxf/views"), name: 'Cpssxf', meta: { title: '手续费管理' } ,module:'frontend'},
{ path: 'cpysel', component: ()=>import("./Cpysel/views"), name: 'Cpysel', meta: { title: 'Cpysel' } ,module:'frontend'}, { path: 'cpysel', component: ()=>import("./Cpysel/views"), name: 'Cpysel', meta: { title: 'Cpysel' } ,module:'frontend'},
{ path: 'cpzsel', component: ()=>import("./Cpzsel/views"), name: 'Cpzsel', meta: { title: 'Cpzsel' } ,module:'frontend'}, { path: 'cpzsel', component: ()=>import("./Cpzsel/views"), name: 'Cpzsel', meta: { title: 'Cpzsel' } ,module:'frontend'},
{ path: 'ctmsel', component: ()=>import("./Ctmsel/views"), name: 'Ctmsel', meta: { title: 'Ctmsel' } ,module:'frontend'}, { path: 'ctmsel', component: ()=>import("./Ctmsel/views"), name: 'Ctmsel', meta: { title: 'Ctmsel' } ,module:'frontend'},
......
...@@ -152,7 +152,7 @@ export default { ...@@ -152,7 +152,7 @@ export default {
{ {
label: "被封装20域编号", label: "被封装20域编号",
prop: "bfzybh", prop: "bfzybh",
width: "120px" width: "160px"
}, },
{ {
label: "处理状态", label: "处理状态",
......
...@@ -68,6 +68,9 @@ export default class Fxtsss { ...@@ -68,6 +68,9 @@ export default class Fxtsss {
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan, docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia, trndia: new Pub().data.Trndia,
doctre: new Pub().data.Doctre,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
} }
} }
} }
\ No newline at end of file
...@@ -68,6 +68,9 @@ export default class Crtcri { ...@@ -68,6 +68,9 @@ export default class Crtcri {
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan, docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia, trndia: new Pub().data.Trndia,
doctre: new Pub().data.Doctre,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
} }
} }
} }
\ No newline at end of file
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp"> <el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%"> <c-select dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('crtp.客户类型')" prop="crdgrp.rec.custyp"> <el-form-item :label="$t('crtp.客户类型')" prop="crdgrp.rec.custyp">
<c-select v-model="model.crdgrp.rec.custyp" style="width:100%" dbCode="custyp"> <c-select dbCode="SZPTY" v-model="model.crdgrp.rec.custyp" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -17,6 +17,16 @@ ...@@ -17,6 +17,16 @@
<m-docpan :codes="codes" :model="model" /> <m-docpan :codes="codes" :model="model" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn <c-function-btn
...@@ -36,6 +46,8 @@ import Crtcri from "../model" ...@@ -36,6 +46,8 @@ import Crtcri from "../model"
import Clip from "./Clip" import Clip from "./Clip"
import Setpan from "~/components/business/setmod/views"; import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Coninfp from "~/components/business/coninfp/views";
import operationFunc from "~/mixin/operationFunc"; import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend"; import commonDepend from "~/mixin/commonDepend";
...@@ -48,6 +60,8 @@ export default { ...@@ -48,6 +60,8 @@ export default {
"m-clip": Clip, "m-clip": Clip,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp
}, },
provide() { provide() {
return { return {
......
...@@ -63,6 +63,9 @@ export default class Crtcri { ...@@ -63,6 +63,9 @@ export default class Crtcri {
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan, docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia, trndia: new Pub().data.Trndia,
doctre: new Pub().data.Doctre,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
} }
} }
} }
\ No newline at end of file
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur"> <el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select v-model="model.crdgrp.cbs.max.cur" style="width:100%"> <c-select v-model="model.crdgrp.cbs.max.cur" style="width:100%" dbCode="curtxt">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp"> <el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%"> <c-select dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -18,6 +18,16 @@ ...@@ -18,6 +18,16 @@
<m-docpan :codes="codes" :model="model" /> <m-docpan :codes="codes" :model="model" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn <c-function-btn
...@@ -37,6 +47,8 @@ import Crtcro from "../model" ...@@ -37,6 +47,8 @@ import Crtcro from "../model"
import Clop from "./Clop" import Clop from "./Clop"
import Setpan from "~/components/business/setmod/views"; import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Coninfp from "~/components/business/coninfp/views";
import operationFunc from "~/mixin/operationFunc"; import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend"; import commonDepend from "~/mixin/commonDepend";
...@@ -49,6 +61,8 @@ export default { ...@@ -49,6 +61,8 @@ export default {
"m-clop": Clop, "m-clop": Clop,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp
}, },
provide() { provide() {
return { return {
......
...@@ -72,6 +72,9 @@ export default class Fxtsss { ...@@ -72,6 +72,9 @@ export default class Fxtsss {
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan, docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia, trndia: new Pub().data.Trndia,
doctre: new Pub().data.Doctre,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
} }
} }
} }
\ No newline at end of file
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn>
</c-page> </c-page>
</div> </div>
</template> </template>
......
...@@ -33,6 +33,8 @@ const BusRouter = [ ...@@ -33,6 +33,8 @@ const BusRouter = [
}, },
{ path: 'fxtssb', component: () => import("./Fxtssb/views"), name: 'Fxtssb', meta: { title: '即期结汇交易' }, module: 'Funds' }, { path: 'fxtssb', component: () => import("./Fxtssb/views"), name: 'Fxtssb', meta: { title: '即期结汇交易' }, module: 'Funds' },
{ path: 'fxtsss', component: () => import("./Fxtsss/views"), name: 'Fxtsss', meta: { title: '即期售汇交易' }, module: 'Funds' }, { path: 'fxtsss', component: () => import("./Fxtsss/views"), name: 'Fxtsss', meta: { title: '即期售汇交易' }, module: 'Funds' },
{ path: 'crtcri', component: () => import("./Crtcri/views"), name: 'Crtcri', meta: { title: '汇入清算' }, module: 'Funds' },
{ path: 'crtcro', component: () => import("./Crtcro/views"), name: 'Crtcro', meta: { title: '汇出清算' }, module: 'Funds' },
{ path: 'fxtsqo', component: () => import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: '结售汇报价' }, module: 'Funds' }, { path: 'fxtsqo', component: () => import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: '结售汇报价' }, module: 'Funds' },
{ path: 'crtcbk', component: () => import("./Crtcbk/views"), name: 'Crtcbk', meta: { title: '退汇清算' }, module: 'Funds' }, { path: 'crtcbk', component: () => import("./Crtcbk/views"), name: 'Crtcbk', meta: { title: '退汇清算' }, module: 'Funds' },
{ path: 'crtctf', component: () => import("./Crtctf/views"), name: 'Crtctf', meta: { title: '转汇清算' }, module: 'Funds' }, { path: 'crtctf', component: () => import("./Crtctf/views"), name: 'Crtctf', meta: { title: '转汇清算' }, module: 'Funds' },
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<!-- 平盘类型 --> <!-- 平盘类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="$t('fxtlcm.平盘类型')" prop="fxdgrp.rec.fxtyp"> <el-form-item :label="$t('fxtlcm.平盘类型')" prop="fxdgrp.rec.fxtyp">
<c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%" > <c-select v-model="model.fxdgrp.rec.fxtyp" :code="codes.fxt_fxtyp" style="width:100%" >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('fxtsqo.卖出金额')" prop="fxdgrp.cbs.max.cur"> <el-form-item :label="$t('fxtsqo.卖出金额')" prop="fxdgrp.cbs.max.cur">
<c-select v-model="model.fxdgrp.cbs.max.cur" style="width:100%"> <c-select v-model="model.fxdgrp.cbs.max.cur" :code="codes.bopcur" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('fxtsqo.买入金额')" prop="fxdgrp.cbs.nom1.cur"> <el-form-item :label="$t('fxtsqo.买入金额')" prop="fxdgrp.cbs.nom1.cur">
<c-select v-model="model.fxdgrp.cbs.nom1.cur" style="width:100%"> <c-select v-model="model.fxdgrp.cbs.nom1.cur" :code="codes.bopcur" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -175,7 +175,6 @@ ...@@ -175,7 +175,6 @@
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
export default { export default {
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="结售汇平盘确认">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fxtlcm PD000001 Confirmation --> <!--fxtlcm PD000001 Confirmation -->
...@@ -27,6 +28,7 @@ ...@@ -27,6 +28,7 @@
@handleSureWarning="handleSureWarning" @handleSureWarning="handleSureWarning"
ref="commonBtn"> ref="commonBtn">
</c-function-btn> </c-function-btn>
</c-page>
</div> </div>
</template> </template>
<script> <script>
...@@ -61,11 +63,15 @@ export default { ...@@ -61,11 +63,15 @@ export default {
trnName: "fxtlcm", trnName: "fxtlcm",
trnType: "", trnType: "",
model: new Fxtlcm().data, model: new Fxtlcm().data,
codes: {}, codes: { ...CodeTable },
rules: {}, rules: {},
} }
}, },
methods:{}, methods:{
myTabClick(tab) {
this.tabClick(tab);
},
},
created:async function(){}, created:async function(){},
mounted() { mounted() {
console.log("fxtlcm"); console.log("fxtlcm");
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
<c-input <c-input
v-model="model.fxdgrp.rec.ownusr" v-model="model.fxdgrp.rec.ownusr"
placeholder="请输入业务负责人" placeholder="请输入业务负责人"
disabled
/> />
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -42,7 +41,7 @@ ...@@ -42,7 +41,7 @@
v-model="model.fxdgrp.rec.fxtyp" v-model="model.fxdgrp.rec.fxtyp"
style="width: 100%" style="width: 100%"
placeholder="请输入平盘类型" placeholder="请输入平盘类型"
dbCode="" :code="codes.fxt_fxtyp"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -53,7 +52,7 @@ ...@@ -53,7 +52,7 @@
<c-select-cur <c-select-cur
v-model="model.fxdgrp.cbs.max.cur" v-model="model.fxdgrp.cbs.max.cur"
style="width: 100%" style="width: 100%"
dbCode="curtxt" :code="codes.bopcur"
> >
</c-select-cur> </c-select-cur>
</el-form-item> </el-form-item>
...@@ -73,7 +72,8 @@ ...@@ -73,7 +72,8 @@
<c-select-cur <c-select-cur
v-model="model.fxdgrp.cbs.nom1.cur" v-model="model.fxdgrp.cbs.nom1.cur"
style="width: 100%" style="width: 100%"
dbCode="curtxt" :code="codes.bopcur"
disabled
> >
</c-select-cur> </c-select-cur>
</el-form-item> </el-form-item>
...@@ -94,7 +94,6 @@ ...@@ -94,7 +94,6 @@
v-model="model.fxdgrp.rec.rat" v-model="model.fxdgrp.rec.rat"
style="width: 100%" style="width: 100%"
:precision="6" :precision="6"
disabled
placeholder="请输入平盘牌价" placeholder="请输入平盘牌价"
> >
</c-input-currency> </c-input-currency>
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="结售汇平盘确认">
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -28,6 +29,14 @@ ...@@ -28,6 +29,14 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn">
</c-function-btn>
</c-page>
</div> </div>
</template> </template>
<script> <script>
...@@ -61,28 +70,28 @@ export default { ...@@ -61,28 +70,28 @@ export default {
trnName: "fxtlop", trnName: "fxtlop",
trnType: "", trnType: "",
model: new Fxtlop().data, model: new Fxtlop().data,
codes: {}, codes: {...CodeTable},
rules: {}, rules: {},
}; };
}, },
methods: { methods: {
myTabClick(tab) { myTabClick(tab) {
this.tabClick(tab); this.tabClick(tab);
/**
* do it yourself
**/
}, },
}, },
created() { created() {},
console.log("进入fxtlop交易"); mounted() {
let rtnmsg = this.init({}); console.log("fxtlop");
if (rtnmsg.respCode == SUCCESS) { let params = {
this.updateModel(rtnmsg.data); transName: this.trnName,
//TODO 处理数据逻辑 fxdgrp: {
} else { rec: {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); inr: this.$route.query.inr || "",
} },
}, },
};
this.init(params)
}
}; };
</script> </script>
<style></style> <style></style>
...@@ -25,11 +25,6 @@ ...@@ -25,11 +25,6 @@
<!-- <el-tab-pane :label="$t('fxtsqo.外汇买卖水单/客户回单')" name="fxtapll2"> <!-- <el-tab-pane :label="$t('fxtsqo.外汇买卖水单/客户回单')" name="fxtapll2">
<m-fxtapll2 :model="model" :codes="codes"/> <m-fxtapll2 :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane> -->
<el-tab-pane :label="$t('commonModels.保证金')" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes"></m-ccvpan>
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn <c-function-btn
...@@ -42,16 +37,15 @@ ...@@ -42,16 +37,15 @@
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Fxtsqo from "../model"; import Fxtsqo from "../model";
import commonProcess from "~/mixin/commonProcess";
import commonDepend from "~/mixin/commonDepend"; import commonDepend from "~/mixin/commonDepend";
import operationFunc from "~/mixin/operationFunc"; import operationFunc from "~/mixin/operationFunc";
import Quop from "./Quop"; import Quop from "./Quop";
import Fxtapll1 from "./Fxtapll1"; import Fxtapll1 from "./Fxtapll1";
import Setmod from "~/components/business/setmod/views"; import Setmod from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Ccvpan from "~/components/business/ccvpan/views";
import event from "../event"; import event from "../event";
import buildFn from "../event/buildCommons.js"; import buildFn from "../event/buildCommons.js";
...@@ -62,28 +56,25 @@ export default { ...@@ -62,28 +56,25 @@ export default {
"m-fxtapll1" : Fxtapll1, "m-fxtapll1" : Fxtapll1,
"m-setmod": Setmod, "m-setmod": Setmod,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-ccvpan": Ccvpan,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess,event,buildFn,commonDepend,operationFunc], // 里面包含了Default、Check等的公共处理 mixins: [event,buildFn,commonDepend,operationFunc], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "quop", tabVal: "quop",
trnName: "fxtsqo", trnName: "fxtsqo",
trnType: "", trnType: "",
model: new Fxtsqo().data, model: new Fxtsqo().data,
rules: null, rules: {},
codes: { codes: {...CodeTable}
},
} }
}, },
methods:{}, methods:{},
created:async function(){ created:async function(){},
},
mounted() { mounted() {
console.log("进入fxtsqo交易"); console.log("进入fxtsqo交易");
let params = { let params = {
......
...@@ -148,6 +148,13 @@ export default { ...@@ -148,6 +148,13 @@ export default {
return return
} }
let params = {} let params = {}
let type;
if ("挂账退汇"===btn.label.toUpperCase()){
type = "GZTH"
} else if ("解付后退汇"===btn.label.toUpperCase()) {
type = "JFTH"
}
if(btn.code.toLowerCase() == 'jstopn'){ if(btn.code.toLowerCase() == 'jstopn'){
params = { params = {
path: "/business/" + btn.code.toLowerCase(), path: "/business/" + btn.code.toLowerCase(),
...@@ -155,7 +162,7 @@ export default { ...@@ -155,7 +162,7 @@ export default {
}else{ }else{
params = { params = {
path: "/business/" + btn.code.toLowerCase(), path: "/business/" + btn.code.toLowerCase(),
query: { inr: row.inr,pntinr: row.pntinr,accmod: 'G' } query: { inr: row.inr,pntinr: row.pntinr,accmod: 'G',type: type}
} }
} }
this.routerPush(params); this.routerPush(params);
......
...@@ -80,6 +80,8 @@ export default { ...@@ -80,6 +80,8 @@ export default {
ehtyp: model.cpdgrp.rec.ehtyp, ehtyp: model.cpdgrp.rec.ehtyp,
commet: model.attp.commet, commet: model.attp.commet,
com102: model.attp.com102, com102: model.attp.com102,
type: model.type,
operation:this.$route.query.type,
cpdSwiftBizInfo: { cpdSwiftBizInfo: {
m09issbic: model.swiadd.m09issbic, m09issbic: model.swiadd.m09issbic,
m10issadrblk: model.swiadd.m10issadrblk, m10issadrblk: model.swiadd.m10issadrblk,
...@@ -136,6 +138,7 @@ export default { ...@@ -136,6 +138,7 @@ export default {
ptsList: ptsptaList, ptsList: ptsptaList,
transName: trnName, transName: trnName,
}; };
console.log(model);
return dataObj return dataObj
}, },
buildRobbop(model, trnName) { buildRobbop(model, trnName) {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<!-- 处理方式 --> <!-- 处理方式 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="处理方式" prop="cpdgrp.rec.accmod"> <el-form-item label="处理方式" prop="cpdgrp.rec.accmod">
<c-select :disabled="this.model.cpdgrp.rec.accmod=='G'" v-model="model.cpdgrp.rec.accmod" style="width:100%" placeholder="请输入处理方式" :code="codes.cptmod" :filterKey="this.model.cpdgrp.rec.accmod=='G'?['G']:['0','2']"> <c-select :disabled="this.model.cpdgrp.rec.accmod=='G'" v-model="model.cpdgrp.rec.accmod" style="width:100%" placeholder="请输入处理方式" :code="codes.cptmod" :filterKey="this.model.cpdgrp.rec.accmod=='G'?['G']:['0','2','3']">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
import Utils from "~/utils"
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
nam: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts
};
return ptspta;
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.cpdgrp, this.buildPtspta);
let dataObj = {
rec: {
objtyp: 'CPD',
objinr: model.cpdgrp.rec.objinr,
ownref: model.cpdgrp.rec.ownref,
nam: model.cpdgrp.rec.nam,
ownextkey: model.cpdgrp.rec.ownextkey,
chato: model.cpdgrp.rec.chato,
opndat: model.cpdgrp.rec.opndat,
expdat: model.cpdgrp.rec.expdat,
fremsgPaytyp: model.cpdgrp.rec.fremsgPaytyp,
paytyp: model.cpdgrp.rec.paytyp,
custyp: model.cpdgrp.rec.clityp,
accmod: model.cpdgrp.rec.accmod,
trninr: model.cpdgrp.rec.trninr,
traclicty: model.cpdgrp.rec.traclicty,
cur: model.cpdgrp.cbs.max.cur,
amt: model.cpdgrp.cbs.max.amt,
oricur: model.cpdgrp.rec.oricur,
bentyp: model.cpdgrp.rec.bentyp,
oriamt: model.cpdgrp.rec.oriamt,
// bopmodTyp: model.cpdgrp.rec.bopmodTyp,
pyerdtflg: model.cpdgrp.rec.pyerdtflg,
orcrdtflg: model.cpdgrp.rec.orcrdtflg,
cur33b: model.cpdgrp.blk.cur33b,
amt33b: model.cpdgrp.blk.amt33b,
orcstacty: model.cpdgrp.rec.orcstacty,
contag70: model.cpdgrp.blk.contag70,
blk72: model.cpdgrp.blk.blk72,
tmptyp: model.cpdgrp.rec.tmptyp,
orctyp: model.cpdgrp.rec.orctyp,
route: model.cpdgrp.rec.route,
cfxprotry: model.cpdgrp.rec.cfxprotry,
swftyp: model.cpdgrp.rec.swftyp,
detchgcod: model.cpdgrp.rec.detchgcod,
szflg: model.bopgat.szflg,
cptrou: model.cpdgrp.rec.cptrou,
},
cbsMap: {
MAX: model.cpdgrp.cbs.max,
NOM1: model.cpdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : '742549'
};
return dataObj
}
}
}
\ No newline at end of file
import Api from '~/service/Api';
import buildFn from '../event/buildCommons.js';
import commonFunctions from '~/mixin/commonFunctions.js';
export default {
mixins: [commonFunctions, buildFn],
methods: {
queryOwnref() {
let params = this.model.cpdgrp.rec;
let ptainr = ""
const loading = this.loading();
let trnName = this.root.trnName.toUpperCase();
Api.post(`/webapi/remit/ref/cpt?ptaInr=${ptainr}&trnName=${trnName}`, params).then(res => {
loading.close();
if (res.respCode === SUCCESS) {
this.model.cpdgrp.rec.regref = res.data;
}
}).catch(() => {
loading.close();
});
},
requireNewOwnref() {
},
},
};
\ No newline at end of file
// import Check2122 from '~/components/business/Rmbbop/model/check2122';
import CfagitCheck from '~/components/business/Cfagit/model/check.js';
export default {
data() {
return {
rules: {
"cpdgrp.rec.dispsemth": [
// 处理方式
{ type: "string", required: true, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.flwextkey": [
// 下一处理机构
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.chownref": [
// 新汇款参号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 16, message: this.$t('components.长度不能超过') + 16 }
],
"cpdgrp.rec.reason": [
// 退汇原因
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.bfth": [
// 部分退汇
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.dfhgj": [
// 待分行跟进
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.oricur": [
// 退汇币种
{ type: "string", required: true, message: this.$t('remit.必输项') }
],
"cpdgrp.rec.oriamt": [
// 退汇金额
{ required: true, message: this.$t('remit.必输项') }, {
validator: (rule, value, callback) => {
if (parseFloat(value) > parseFloat(this.model.cpdgrp.rec.amt)) {
callback(new Error(`必须小于` + this.$t('remit.原始汇出金额')))
}
callback()
},
trigger: ['blur', 'change']
}
],
"cpdgrp.rec.recseq": [
// 销账序号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 10, message: this.$t('components.长度不能超过') + 10 }
],
detflg: [
// 删除原申报
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 1, message: this.$t('components.长度不能超过') + 1 }
],
"cpdgrp.orc.pts.ref": [
// 汇款人参号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 16, message: this.$t('components.长度不能超过') + 16 }
],
"cpdgrp.orc.pts.extact": [
// 汇款人(行)账号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 35, message: this.$t('components.长度不能超过') + 35 }
],
"cpdgrp.orc.pts.extkey": [
// 汇款人(行)客户号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 35, message: this.$t('components.长度不能超过') + 35 }
],
"cpdgrp.rec.custyp": [
// 汇款人(行)类型
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.orcrdtflg": [
// 汇款人(行)居民标志
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.orcstacty": [
// 汇款人常驻国家代码
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 3, message: this.$t('components.长度不能超过') + 3 }
],
"cpdgrp.pye.pts.extact": [
// 收款人(行)账号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 35, message: this.$t('components.长度不能超过') + 35 }
],
"cpdgrp.pye.pts.extkey": [
// 收款人(行)客户号
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 35, message: this.$t('components.长度不能超过') + 35 }
],
"cpdgrp.rec.bentyp": [
// 收款人(行)类型
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 16, message: this.$t('components.长度不能超过') + 16 }
],
"cpdgrp.rec.pyerdtflg": [
// 收款人(行)居民标志
{ type: "string", required: false, message: this.$t('remit.必输项') }
// { max: 1, message: this.$t('components.长度不能超过')+1 }
],
"cpdgrp.rec.pyestacty": [
// 收款人常驻国家(地区)代码
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 3, message: this.$t('components.长度不能超过') + 3 }
],
// ...new Check2122(this).check,
...new CfagitCheck(this).check,
}
};
},
};
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
export default {
mixins: [commonFunctions],
methods: {
defaultFunc() {
if (this.model.cpdgrp.rec.oricur == '') {
this.model.cpdgrp.rec.oricur = this.model.cpdgrp.rec.cur
this.model.cpdgrp.rec.oriamt = this.model.cpdgrp.rec.amt
}
this.model.changeAmtFlag = "X"
},
// 获取地区机构号
async getOwnExtkeyCondition1() {
const loading = this.loading();
let params = {ownExtKey: ""};
let res = await Api.post(`/${this.moduleRouter()}/bch/getBranchListByownExtKey`, params);
loading.close();
if (res.respCode === SUCCESS) {
console.log('this.codes', this.codes)
this.$set(this.codes, 'ownExtkeyList', res.data)
}
},
async loadBopCtyList() {
const loading = this.loading();
let res = await Api.post(`/${this.moduleRouter()}/bopcty/loadBopCtyList`);
loading.close();
if (res.respCode === SUCCESS) {
this.$set(this.codes, 'bopCtyList', res.data)
}
},
},
};
import Pub from '~/components/business/commonModel/index.js';
import Cpdgrp from '~/components/business/commonModel/cpdgrp/index.js';
export default class Cptdcr {
constructor() {
this.data = {
isSptLoad: false,
inifrm: "CPTDCR", //交易代码
cpdgrp: new Cpdgrp().data,
setmod: new Pub().data.Setmod,
rmbbop: new Pub().data.Rmbbop,
docpan: new Pub().data.Docpan,
liaall: new Pub().data.Liaall,
trndia: new Pub().data.Trndia,
oldcpdgrp: new Cpdgrp().data,
changeAmtFlag: "",
quadrangle: {
cn: "",
code: ""
},
savFlag: "",
sysmod: {
usr: {
ownbchcod: "",
extkey: ""
},
spt: {
sta: ""
}
},
warnmod: {
wanlst: []
},
flwswf: "", // 原报转发 .flwswf
fedihu: "", // 非电汇 。fedihu
detflg: "", // 删除原申报 .detflg
dettxt: "", // 退汇原因 .dettxt
bopgat: new Pub().data.Bopgat,
};
}
}
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<el-collapse-item :title="$t('remit.基本信息')" name="1">
<m-preInput :model="model" :codes="codes"/>
</el-collapse-item>
<el-collapse-item :title="$t('remit.原收、汇款人的信息')" name="2">
<m-ptyp :model="model" :codes="codes"/>
</el-collapse-item>
</c-collapse>
</div>
</template>
<script>
import event from "../event";
import PreInput from "./PreInput";
import Ptyp from "./Ptyp";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
components: {
"m-preInput": PreInput,
"m-ptyp": Ptyp,
},
data() {
return {
activeNames: ["1", "2"],
};
},
watch: {},
methods: {},
computed: {},
created() {
}
};
</script>
<style>
/* .fullbox_checkbox {
margin-left: 4px !important;
margin-top: 6px !important;
} */
</style>
<template>
<span>
<div v-if="isAme">
<c-button
style="margin: 0 0 10px 178px;"
size="small"
v-if="show1"
type="primary"
class="ml10"
@click="goUrlRoute('cusinf')"
>{{$t('remit.我行客户信息管理')}}</c-button>
<c-button
size="small"
v-if="show2"
type="primary"
class="ml10"
@click="goUrlRoute('coupty')"
>{{$t('remit.交易对手信息管理')}}</c-button>
<c-button type="primary" :disabled="updBtn" @click="updateCoupty">{{$t('remit.更新交易对手信息')}}</c-button>
</div>
<div v-else>
<c-col :span="12" class="containner" style="padding-right: 20px;">
<el-form-item class="item" v-if="root.trnName != 'cptdav'">
<c-button
size="small"
v-if="show1"
type="primary"
class="ml10"
@click="goUrlRoute('cusinf')"
>{{$t('remit.我行客户信息管理')}}</c-button>
</el-form-item>
<el-form-item class="item" v-else>
<c-button
size="small"
v-if="show2"
type="primary"
class="ml10"
@click="goUrlRoute('coupty')"
>{{$t('remit.交易对手信息管理')}}</c-button>
<c-button type="primary" :disabled="updBtn" @click="updateCoupty">{{$t('remit.更新交易对手信息')}}</c-button>
</el-form-item>
</c-col>
<c-col :span="12" class="containner" style="padding-left: 20px;">
<el-form-item class="item" v-if="root.trnName != 'cptdav'">
<c-button
size="small"
v-if="show2"
type="primary"
class="ml10"
@click="goUrlRoute('coupty')"
>{{$t('remit.交易对手信息管理')}}</c-button>
<c-button type="primary" :disabled="updBtn" @click="updateCoupty">{{$t('remit.更新交易对手信息')}}</c-button>
</el-form-item>
<el-form-item class="item" v-else>
<c-button
size="small"
v-if="show1"
type="primary"
class="ml10"
@click="goUrlRoute('cusinf')"
>{{$t('remit.我行客户信息管理')}}</c-button>
</el-form-item>
</c-col>
</div>
</span>
</template>
<script>
export default {
inject: ["root"],
computed: {},
watch: {},
created() {
this.add = true;
},
data: function () {
return {
updBtn: true,
editSta: "A",
add: true,
update: false,
};
},
props: {
model: {
type: Object,
default: function () {
return {};
}
},
show1: {
type: Boolean,
default: true
},
show2: {
type: Boolean,
default: true
},
// 是否一行展示
isAme: {
type: Boolean,
default: false
}
},
methods: {
goUrlRoute(url) {
//pye收款人 orc汇款人
if (url == "cusinf") {
if (
this.root.trnName != "cptdav" &&
this.root.trnName != "inbdav"
) {
sessionStorage.setItem("orcextkey", this.model.cpdgrp.orc.pts.extkey);
sessionStorage.setItem("orckhmc", this.model.cpdgrp.orc.pts.namblk);
// sessionStorage.setItem("orckhzh", this.model.cpdgrp.rec.orcact);
} else {
sessionStorage.setItem("orcextkey", this.model.cpdgrp.pye.pts.extkey);
sessionStorage.setItem("orckhmc", this.model.cpdgrp.pye.pts.namblk);
// sessionStorage.setItem("orckhzh", this.model.cpdgrp.rec.pyeact);
}
} else {
if (
this.root.trnName != "cptdav" &&
this.root.trnName != "inbdav"
) {
//交易对手编号
sessionStorage.setItem("pyeextkey", this.model.cpdgrp.pye.pts.extkey);
//本行核心客户号
sessionStorage.setItem("pyhxkhh", this.model.cpdgrp.orc.pts.extkey);
//交易对手名称
sessionStorage.setItem("pyejydsmc", this.model.cpdgrp.pye.pts.namblk);
//交易对手账号
sessionStorage.setItem("pyejydszh", this.model.cpdgrp.rec.pyeact);
} else {
//交易对手编号
sessionStorage.setItem("pyeextkey", this.model.cpdgrp.orc.pts.extkey);
//本行核心客户号
sessionStorage.setItem("pyhxkhh", this.model.cpdgrp.pye.pts.extkey);
//交易对手名称
sessionStorage.setItem("pyejydsmc", this.model.cpdgrp.orc.pts.namblk);
//交易对手账号
sessionStorage.setItem("pyejydszh", this.model.cpdgrp.rec.orcact);
}
}
let params = {
path: `/business/${url}`
};
this.$router.push(params);
},
updateCoupty() {
this.$confirm("是否更新已存交易对手信息", "提示", {
confirmButtonText: this.$t('remit.确认'),
cancelButtonText: this.$t('remit.取消'),
type: "info",
}).then((res) => {
this.update = true;
this.add = false;
this.editSta = "E"; //更新标识
}).catch(() => {
})
},
},
destroyed() {
}
};
</script>
<style scoped>
.item {
margin-left: 175px;
}
.containner {
margin-bottom: 10px;
}
</style>
<template>
<div class="eContainer">
<c-page :title="$t('remit.退汇处理')">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane :label="$t('remit.业务概况')" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('remit.费用/账务')" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('remit.报文/面函')" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import operationFunc from '~/mixin/operationFunc';
import Cptdcr from "../model";
import Default from "../model/default";
import commonDepend from "~/mixin/commonDepend";
import check from '../model/check'
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Ovwp from "./Ovwp";
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
export default {
name: "Cptdcr",
components: {
"m-ovwp": Ovwp,
"m-setpan": Setpan,
"m-docpan": Docpan,
},
provide() {
return {
root: this,
};
},
mixins: [operationFunc, event, buildFn, check, commonDepend, Default],
computed: {},
data() {
return {
tabVal: "ovwp",
trnName: "cptdcr",
model: new Cptdcr().data,
codes: {
...CodeTable,
listyj: [
{label: "需至柜面办理", value: "01"},
{label: "填报信息需修改", value: "02"},
{label: "资金来源不合规", value: "03"},
{label: "需补充上传资料", value: "04"},
{label: "需电话沟通", value: "05"},
{label: "业务信息不完整", value: "06"},
{label: "其他", value: "07"}
],
blk_boc_lstCodes: [
{label: "CRED", value: "CRED"},
{label: "CRTS", value: "CRTS"},
{label: "SPAY", value: "SPAY"},
{label: "SPRI", value: "SPRI"},
{label: "SSTD", value: "SSTD"}
],
cfxbustyp_cips: [
{label: "货物贸易(GODX)", value: "01"},
{label: "服务贸易(STRX)", value: "02"},
{label: "资本项下(CTFX)", value: "03"},
{label: "个人汇款(RMTX)", value: "04"},
{label: "金融机构头寸调拨(FTFX)", value: "05"},
{label: "货物贸易退汇(RGOD)", value: "06"},
{label: "服务贸易退汇(RSTR)", value: "07"},
{label: "资本项下退汇(RCTF)", value: "08"},
{label: "个人汇款退汇(RRMT)", value: "09"},
{label: "北向通(WMCN)", value: "16"},
{label: "南向通(WMCS)", value: "17"},
{label: "其他(OCAX)", value: "99"}
],
cpspnumb12: [
{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"},
{label: "同步交收业务(PVP)02804", value: "02804"},
{label: "外币资金拆借业务 02805", value: "02805"},
{label: "券款对付业务(DVP)02806", value: "02806"},
{label: "轧差净额 02807", value: "02807"},
{label: "退汇 02108", value: "02108"},
{label: "支付运保费 09101", value: "09101"},
{label: "代理进出口 09102", value: "09102"},
{label: "与特殊经济区企业资金往来 09103", value: "09103"},
{label: "同一企业不同账户资金划转 09104", value: "09104"},
{label: "归还国内外贷款或转贷款 09105", value: "09105"},
{label: "贸易深加工结转业务 09106", value: "09106"},
{label: "贸易融资业务 09107", value: "09107"},
{label: "贷记汇入业务 09108", value: "09108"},
{label: "贷记汇出业务 09109", value: "09109"},
{label: "行间资金汇划 09110", value: "09110"},
{label: "信息类业务 06001", value: "06001"},
{label: "其他 09001", value: "09001"}
],
listsb: [],
paycodlst: {
columns: [
{
title: "Instruction",
width: "120px",
dataIndex: "cod",
show: "input",
isDisable: true,
scopedSlots: {customRender: "cod"},
maxLength: 4
},
{
title: "additional information",
width: "240px",
dataIndex: "codtxt",
show: "input",
isDisable: false,
maxLength: 30,
scopedSlots: {customRender: "codtxt"}
}
],
rowNum: 1
},
},
};
},
methods: {},
created() {
console.log("进入cptdcr交易");
let params = {
transName: this.trnName,
cpdgrp: {
rec: {
inr: this.$route.query.inr || ''
}
}
};
this.init(params);
},
mounted() {
},
};
</script>
<style></style>
import Utils from "~/utils"
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
nam: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts
};
return ptspta;
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.cpdgrp, this.buildPtspta);
let dataObj = {
rec: {
objtyp: 'CPD',
objinr: model.cpdgrp.rec.objinr,
ownref: model.cpdgrp.rec.ownref,
nam: model.cpdgrp.rec.nam,
ownextkey: model.cpdgrp.rec.ownextkey,
chato: model.cpdgrp.rec.chato,
opndat: model.cpdgrp.rec.opndat,
expdat: model.cpdgrp.rec.expdat,
fremsgPaytyp: model.cpdgrp.rec.fremsgPaytyp,
paytyp: model.cpdgrp.rec.paytyp,
custyp: model.cpdgrp.rec.clityp,
accmod: model.cpdgrp.rec.accmod,
trninr: model.cpdgrp.rec.trninr,
traclicty: model.cpdgrp.rec.traclicty,
cur: model.cpdgrp.cbs.max.cur,
amt: model.cpdgrp.cbs.max.amt,
oricur: model.cpdgrp.rec.oricur,
bentyp: model.cpdgrp.rec.bentyp,
oriamt: model.cpdgrp.rec.oriamt,
// bopmodTyp: model.cpdgrp.rec.bopmodTyp,
pyerdtflg: model.cpdgrp.rec.pyerdtflg,
orcrdtflg: model.cpdgrp.rec.orcrdtflg,
cur33b: model.cpdgrp.blk.cur33b,
amt33b: model.cpdgrp.blk.amt33b,
orcstacty: model.cpdgrp.rec.orcstacty,
contag70: model.cpdgrp.blk.contag70,
blk72: model.cpdgrp.blk.blk72,
tmptyp: model.cpdgrp.rec.tmptyp,
orctyp: model.cpdgrp.rec.orctyp,
cptrou: model.cpdgrp.rec.cptrou,
bacflg: model.cpdgrp.rec.bacflg
},
cbsMap: {
MAX: model.cpdgrp.cbs.max,
NOM1: model.cpdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : '742549'
};
return dataObj
}
}
}
\ No newline at end of file
import Api from '~/service/Api';
import buildFn from '../event/buildCommons.js';
import commonFunctions from '~/mixin/commonFunctions.js';
export default {
mixins: [commonFunctions, buildFn],
methods: {
queryOwnref() {
let params = this.model.cpdgrp.rec;
let ptainr = ""
const loading = this.loading();
let trnName = this.root.trnName.toUpperCase();
Api.post(`/webapi/remit/ref/cpt?ptaInr=${ptainr}&trnName=${trnName}`, params).then(res => {
loading.close();
if (res.respCode === SUCCESS) {
this.model.cpdgrp.rec.regref = res.data;
}
}).catch(() => {
loading.close();
});
},
},
};
\ No newline at end of file
// import Check2122 from "~/components/business/rmb/rmb2122/model/check.js"
import CfagitCheck from '~/components/business/Cfagit/model/check.js';
export default {
data() {
return {
rules: {
// 关联类型
"fremsg.erxmod.ersp.mantyp": [
{ type: "string", required: true, message: this.$t('remit.必输项') }
// { max: 4, message: this.$t('components.长度不能超过')+4 }
],
// 事务类型
"fremsg.erxmod.ersp.dontyp": [
{ type: "string", required: true, message: this.$t('remit.必输项') }
// { max: 4, message: this.$t('components.长度不能超过')+4 }
],
"fremsg.erxmod.ersp.bwbsh": [
// 原报文标识号
{ type: "string", required: true, message: this.$t('remit.必输项') },
{ max: 35, message: this.$t('components.长度不能超过')+35 }
],
// 止付原因
"cpdgrp.cpdret.rejcod": [
{ type: "string", required: true, message: this.$t('remit.必输项') },
{ max: 4, message: this.$t('components.长度不能超过')+4 }
],
// 原行内关联编号
"fremsg.erxmod.ersp.yhnglbh": [
{ type: "string", required: true, message: this.$t('remit.必输项') }
// { max: 4, message: this.$t('components.长度不能超过')+4 }
],
// 收报行行号
"cpdgrp.ooa.pts.extkey": [
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 11, message: this.$t('components.长度不能超过')+11 }
],
// 收报行名称
"cpdgrp.ooa.pts.namforall": [
{ type: "string", required: false, message: this.$t('remit.必输项') },
{ max: 140, message: this.$t('components.长度不能超过')+140 }
],
// ...new Check2122(this).check,
...new CfagitCheck(this).check,
}
};
},
};
import Api from '~/service/Api';
import Utils from '~/utils/index';
import commonFunctions from '~/mixin/commonFunctions.js';
export default {
mixins: [commonFunctions],
methods: {
// 获取地区机构号
async getOwnExtkeyCondition1() {
const loading = this.loading();
let params = { ownExtKey: "" };
let res = await Api.post(`/${this.moduleRouter()}/bch/getBranchListByownExtKey`, params);
loading.close();
if (res.respCode === SUCCESS) {
console.log('this.codes', this.codes)
this.$set(this.codes, 'ownExtkeyList', res.data)
}
},
async loadBopCtyList() {
const loading = this.loading();
let res = await Api.post(`/${this.moduleRouter()}/bopcty/loadBopCtyList`);
loading.close();
if (res.respCode === SUCCESS) {
this.$set(this.codes, 'bopCtyList', res.data)
}
},
},
};
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
import Cpdgrp from '~/components/business/commonModel/cpdgrp/index.js';
export default class Cptrej {
constructor() {
this.data = {
isSptLoad: false,
inifrm: "CPTREJ", //交易代码
cpdgrp: new Cpdgrp().data,
setmod: new Pub().data.Setmod,
rmbbop: new Pub().data.Rmbbop,
docpan: new Pub().data.Docpan,
liaall: new Pub().data.Liaall,
trndia: new Pub().data.Trndia,
sysmod: {
usr: {
ownbchcod: "",
extkey: ""
}
},
reason: "",
cptp: {
yhnglbh: "", // 原行内关联编号
benoptflg: "", // Use Option F for Beneficiary .cptp.benoptflg
gryflg: "", // 可疑名单 .cptp.gryflg
sjzslst: "",
},
fremsg: {
sndmt: "", // Message Type .fremsg.sndmt
fulmt: "", // MT to Send .fremsg.fulmt
reldat: "", // Date of Message .fremsg.reldat
strinf: "", // Narrative .fremsg.strinf
msgrol: "", // 发送给 .fremsg.msgrol
fmo: {
pts: new Pts().data
},
ccrol: "", // 抄送至 .fremsg.ccrol
fmc: {
pts: new Pts().data
},
reldir: "", // relevant message sent/received .fremsg.reldir
relmt: "", // Related MT .fremsg.relmt
relref: "", // Related Reference(21) .fremsg.relref
paytyp: "", // 查询渠道 .fremsg.paytyp
erxmod: {
ersp: {
mantyp: "", // 关联类型 .fremsg.erxmod.ersp.mantyp
dontyp: "", // 事务类型 .fremsg.erxmod.ersp.dontyp
reutyp: "", // 退汇应答状态 .fremsg.erxmod.ersp.reutyp
contxt: "", // 事务附言 .fremsg.erxmod.ersp.contxt
sermsg: "", // 查询对象 .fremsg.erxmod.ersp.sermsg
yhnglbh: "", // 原行内关联编号 .fremsg.erxmod.ersp.yhnglbh
bwbsh: "", // 原报文标识号 .fremsg.erxmod.ersp.bwbsh
hnglbh: "", // 行内关联编号 .fremsg.erxmod.ersp.hnglbh
qsfsqd: "", // 发送渠道 .fremsg.erxmod.ersp.qsfsqd
contxtn95: "", // 事务附言 .fremsg.erxmod.ersp.contxtn95
contxtn99: "", // 事务附言 .fremsg.erxmod.ersp.contxtn99
reason: "", // 止付原因 .fremsg.erxmod.ersp.reason
rejdue: "", // 理由 .fremsg.erxmod.ersp.rejdue
sbhdm: "", // 原收/发报行 .fremsg.erxmod.ersp.sbhdm
reasontxt: "" // 止付原因代码指令 .fremsg.erxmod.ersp.reasontxt
}
},
det: "", // Query/ Answer .fremsg.det
tag77a: "", // Narrative (77A) .fremsg.tag77a
tag22d: "", // Form of Undertaking .fremsg.tag22d
tag23: "", // Undertaking Number .fremsg.tag23
issrol: "", // Issuer Role .fremsg.issrol
iss: {
pts: new Pts().data
},
tag23h: "", // Function .fremsg.tag23h
tag45d: "", // Narrative for MT 759 .fremsg.tag45d
tag23x: "", // Tag23X .fremsg.tag23x
tag23xtxt: "" // Tag23X details .fremsg.tag23xtxt
},
cptfrel1blk: "", // XMLPanel cptfrel1的内置block .cptfrel1blk
cptfrel2blk: "", // XMLPanel cptfrel2的内置block .cptfrel2blk
bifp: {
lab6: "", // 其他交易关联银行 .bifp.lab6
lab7: "", // 其他交易关联方国别/地区 .bifp.lab7
lab8: "", // 其他交易关联方 .bifp.lab8
lab9: "", // IMO NO. .bifp.lab9
bif: {
bennam: "", // 交易对手名称 .bifp.bif.bennam
traclicty: "", // 交易对手国别 .bifp.bif.traclicty
trabnknum: "", // 交易对手银行号 .bifp.bif.trabnknum
trabnknam: "", // 交易对手银行名 .bifp.bif.trabnknam
stacty: "", // 起运国 .bifp.bif.stacty
endcty: "", // 目的国 .bifp.bif.endcty
goddes: "", // 货描 .bifp.bif.goddes
convey: "", // 运输工具名称 .bifp.bif.convey
godnum: "", // �'�物数量 .bifp.bif.godnum
godamt: "", // �'�物单价 .bifp.bif.godamt
tramod: "", // 运输方式 .bifp.bif.tramod
sender: "", // 发�'�人 .bifp.bif.sender
recver: "", // 收�'�人 .bifp.bif.recver
tracom: "", // 运输公司 .bifp.bif.tracom
payway: "", // 付款方式 .bifp.bif.payway
trbtyp: "" // �'�物�'�易 .bifp.bif.trbtyp
},
recgrp: {
rec: {
harbor: "", // 港口 .bifp.recgrp.rec.harbor
warflg: "", // 是否预警 .bifp.recgrp.rec.warflg
selref: "", // 金融制裁筛查编号 .bifp.recgrp.rec.selref
matchd: "", // 匹配度 .bifp.recgrp.rec.matchd
warrea: "", // 预警原因 .bifp.recgrp.rec.warrea
sta: "", // 状态 .bifp.recgrp.rec.sta
dattim: "" // 预警匹配度 .bifp.recgrp.rec.dattim
}
},
warnumber: "", // 中预警次数 .bifp.warnumber
stacty: "", // Country Code Risk Country .bifp.stacty
banflg: "", // 无行号标志 .bifp.banflg
bnklst: [], // .bifp.bnklst
ptylst: [], // .bifp.ptylst
gblst: [], // .bifp.gblst
lab1: "", // 报关单标签 .bifp.lab1
lab3: "", // 合同标签 .bifp.lab3
lab4: "", // 发票标签 .bifp.lab4
lab2: "", // �'�物品类标签 .bifp.lab2
lab5: "", // 运输单据信息 .bifp.lab5
bghlst: [], // .bifp.bghlst
hwplst: [], // .bifp.hwplst
hthlst: [], // .bifp.hthlst
fphlst: [], // .bifp.fphlst
ydhlst: [] // .bifp.ydhlst
},
pageId: "" // ctx的key
};
}
}
<template>
<span>
<div v-if="isAme">
<c-button
style="margin: 0 0 10px 178px;"
size="small"
v-if="show1"
type="primary"
class="ml10"
@click="goUrlRoute('cusinf')"
>{{ $t('remit.我行客户信息管理') }}</c-button>
<c-button
size="small"
v-if="show2"
type="primary"
class="ml10"
@click="goUrlRoute('coupty')"
>{{ $t('remit.交易对手信息管理') }}</c-button>
<c-button type="primary" :disabled="updBtn" @click="updateCoupty">{{ $t('remit.更新交易对手信息') }}</c-button>
</div>
<div v-else>
<c-col :span="12" class="containner" style="padding-right: 20px;">
<el-form-item class="item" v-if="root.trnName != 'cptdav'">
<c-button
size="small"
v-if="show1"
type="primary"
class="ml10"
@click="goUrlRoute('cusinf')"
>{{ $t('remit.我行客户信息管理') }}</c-button>
</el-form-item>
<el-form-item class="item" v-else>
<c-button
size="small"
v-if="show2"
type="primary"
class="ml10"
@click="goUrlRoute('coupty')"
>{{ $t('remit.交易对手信息管理') }}</c-button>
<c-button type="primary" :disabled="updBtn" @click="updateCoupty">{{ $t('remit.更新交易对手信息') }}</c-button>
</el-form-item>
</c-col>
<c-col :span="12" class="containner" style="padding-left: 20px;">
<el-form-item class="item" v-if="root.trnName != 'cptdav'">
<c-button
size="small"
v-if="show2"
type="primary"
class="ml10"
@click="goUrlRoute('coupty')"
>{{ $t('remit.交易对手信息管理') }}</c-button>
<c-button type="primary" :disabled="updBtn" @click="updateCoupty">{{ $t('remit.更新交易对手信息') }}</c-button>
</el-form-item>
<el-form-item class="item" v-else>
<c-button
size="small"
v-if="show1"
type="primary"
class="ml10"
@click="goUrlRoute('cusinf')"
>{{ $t('remit.我行客户信息管理') }}</c-button>
</el-form-item>
</c-col>
</div>
</span>
</template>
<script>
export default {
inject: ["root"],
computed: {},
watch: {},
created() {
this.add = true;
},
data: function() {
return {
updBtn: true,
editSta: "A",
add: true,
update: false,
};
},
props: {
model: {
type: Object,
default: function() {
return {};
}
},
show1: {
type: Boolean,
default: true
},
show2: {
type: Boolean,
default: true
},
// 是否一行展示
isAme: {
type: Boolean,
default: false
}
},
methods: {
goUrlRoute(url) {
//pye收款人 orc汇款人
if (url == "cusinf") {
if (
this.root.trnName != "cptdav" &&
this.root.trnName != "inbdav"
) {
sessionStorage.setItem("orcextkey", this.model.cpdgrp.orc.pts.extkey);
sessionStorage.setItem("orckhmc", this.model.cpdgrp.orc.pts.namblk);
// sessionStorage.setItem("orckhzh", this.model.cpdgrp.rec.orcact);
} else {
sessionStorage.setItem("orcextkey", this.model.cpdgrp.pye.pts.extkey);
sessionStorage.setItem("orckhmc", this.model.cpdgrp.pye.pts.namblk);
// sessionStorage.setItem("orckhzh", this.model.cpdgrp.rec.pyeact);
}
} else {
if (
this.root.trnName != "cptdav" &&
this.root.trnName != "inbdav"
) {
//交易对手编号
sessionStorage.setItem("pyeextkey", this.model.cpdgrp.pye.pts.extkey);
//本行核心客户号
sessionStorage.setItem("pyhxkhh", this.model.cpdgrp.orc.pts.extkey);
//交易对手名称
sessionStorage.setItem("pyejydsmc", this.model.cpdgrp.pye.pts.namblk);
//交易对手账号
sessionStorage.setItem("pyejydszh", this.model.cpdgrp.rec.pyeact);
} else {
//交易对手编号
sessionStorage.setItem("pyeextkey", this.model.cpdgrp.orc.pts.extkey);
//本行核心客户号
sessionStorage.setItem("pyhxkhh", this.model.cpdgrp.pye.pts.extkey);
//交易对手名称
sessionStorage.setItem("pyejydsmc", this.model.cpdgrp.orc.pts.namblk);
//交易对手账号
sessionStorage.setItem("pyejydszh", this.model.cpdgrp.rec.orcact);
}
}
let params = {
path: `/business/${url}`
};
this.$router.push(params);
},
updateCoupty() {
this.$confirm(this.$t('remit.是否更新已存交易对手信息'), this.$t('remit.提示'), {
confirmButtonText: this.$t('remit.确认'),
cancelButtonText: this.$t('remit.取消'),
type: "info",
}).then((res) => {
this.update = true;
this.add = false;
this.editSta = "E"; //更新标识
}).catch(() => {
})
},
},
destroyed() {}
};
</script>
<style scoped>
.item {
margin-left: 175px;
}
.containner {
margin-bottom: 10px;
}
</style>
<template>
<div class="eContainer">
<c-page :title="$t('remit.止付申请')">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane :label="$t('remit.业务概况')" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('remit.费用/账务')" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('remit.报文/面函')" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn>
</c-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import operationFunc from '~/mixin/operationFunc';
import Cptrej from "../model";
import Default from "../model/default";
import commonDepend from "~/mixin/commonDepend";
import check from '../model/check'
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Ovwp from "./Ovwp";
import Setpan from "~/components/business/setmod/views";
// import Rmbbop from "~/components/business/rmb/rmbbop/views";
import Docpan from "~/components/business/docpan/views";
export default {
name: "Cptrej",
components: {
"m-ovwp": Ovwp,
"m-setpan": Setpan,
// "m-rmbbop": Rmbbop,
"m-docpan": Docpan,
},
provide() {
return {
root: this,
};
},
mixins: [operationFunc, event, buildFn, check, commonDepend, Default],
computed: {},
data() {
return {
tabVal: "ovwp",
trnName: "cptrej",
model: new Cptrej().data,
codes: {
...CodeTable,
listyj: [
{label: "需至柜面办理", value: "01"},
{label: "填报信息需修改", value: "02"},
{label: "资金来源不合规", value: "03"},
{label: "需补充上传资料", value: "04"},
{label: "需电话沟通", value: "05"},
{label: "业务信息不完整", value: "06"},
{label: "其他", value: "07"}
],
blk_boc_lstCodes: [
{label: "CRED", value: "CRED"},
{label: "CRTS", value: "CRTS"},
{label: "SPAY", value: "SPAY"},
{label: "SPRI", value: "SPRI"},
{label: "SSTD", value: "SSTD"}
],
cfxbustyp_cips: [
{label: "货物贸易(GODX)", value: "01"},
{label: "服务贸易(STRX)", value: "02"},
{label: "资本项下(CTFX)", value: "03"},
{label: "个人汇款(RMTX)", value: "04"},
{label: "金融机构头寸调拨(FTFX)", value: "05"},
{label: "货物贸易退汇(RGOD)", value: "06"},
{label: "服务贸易退汇(RSTR)", value: "07"},
{label: "资本项下退汇(RCTF)", value: "08"},
{label: "个人汇款退汇(RRMT)", value: "09"},
{label: "北向通(WMCN)", value: "16"},
{label: "南向通(WMCS)", value: "17"},
{label: "其他(OCAX)", value: "99"}
],
cpspnumb12: [
{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"},
{label: "同步交收业务(PVP)02804", value: "02804"},
{label: "外币资金拆借业务 02805", value: "02805"},
{label: "券款对付业务(DVP)02806", value: "02806"},
{label: "轧差净额 02807", value: "02807"},
{label: "退汇 02108", value: "02108"},
{label: "支付运保费 09101", value: "09101"},
{label: "代理进出口 09102", value: "09102"},
{label: "与特殊经济区企业资金往来 09103", value: "09103"},
{label: "同一企业不同账户资金划转 09104", value: "09104"},
{label: "归还国内外贷款或转贷款 09105", value: "09105"},
{label: "贸易深加工结转业务 09106", value: "09106"},
{label: "贸易融资业务 09107", value: "09107"},
{label: "贷记汇入业务 09108", value: "09108"},
{label: "贷记汇出业务 09109", value: "09109"},
{label: "行间资金汇划 09110", value: "09110"},
{label: "信息类业务 06001", value: "06001"},
{label: "其他 09001", value: "09001"}
],
listsb: [],
paycodlst: {
columns: [
{
title: "Instruction",
width: "120px",
dataIndex: "cod",
show: "input",
isDisable: true,
scopedSlots: {customRender: "cod"},
maxLength: 4
},
{
title: "additional information",
width: "240px",
dataIndex: "codtxt",
show: "input",
isDisable: false,
maxLength: 30,
scopedSlots: {customRender: "codtxt"}
}
],
rowNum: 1
},
},
};
},
methods: {},
created() {
console.log("进入cptrej交易");
let params = {
transName: this.trnName,
cpdgrp: {
rec: {
inr: this.$route.query.inr || ''
}
}
};
this.init(params);
},
mounted() {
},
};
</script>
<style></style>
...@@ -32,6 +32,9 @@ const RemittanceRouter = [ ...@@ -32,6 +32,9 @@ const RemittanceRouter = [
{ path: 'cpdsel', component: () => import('./Cpdsel/views'), name: 'Cpdsel', meta: { keepAlive: true, title: '汇入汇款',module: 'Remittance' } }, { path: 'cpdsel', component: () => import('./Cpdsel/views'), name: 'Cpdsel', meta: { keepAlive: true, title: '汇入汇款',module: 'Remittance' } },
{ path: 'infcpd', component: () => import('./Infcpd/views'), name: 'Infcpd', meta: { keepAlive: true, title: '汇款登记簿',module: 'Remittance' } }, { path: 'infcpd', component: () => import('./Infcpd/views'), name: 'Infcpd', meta: { keepAlive: true, title: '汇款登记簿',module: 'Remittance' } },
{ path: 'infeco', component: () => import('./Infeco/views'), name: 'Infeco', meta: { keepAlive: true, title: '电商汇出汇款查询',module: 'Remittance' } }, { path: 'infeco', component: () => import('./Infeco/views'), name: 'Infeco', meta: { keepAlive: true, title: '电商汇出汇款查询',module: 'Remittance' } },
{ path: 'cptrej', component: () => import('./Cptrej/views'), name: 'Cptrej', meta: { keepAlive: true, title: '止付申请',module: 'Remittance' } },
{ path: 'cptdcr', component: () => import('./Cptdcr/views'), name: 'Cptdcr', meta: { keepAlive: true, title: '退汇处理',module: 'Remittance' } },
// 复核夹待办夹 // 复核夹待办夹
{ path: 'aulsig', component: () => import('./Autsig/Aulsig/views'), name: 'Aulsig', meta: { keepAlive: true, title: '自动化签约管理',module: 'Remittance' } }, { path: 'aulsig', component: () => import('./Autsig/Aulsig/views'), name: 'Aulsig', meta: { keepAlive: true, title: '自动化签约管理',module: 'Remittance' } },
{ path: 'auasig', component: () => import('./Autsig/Auasig/views'), name: 'Auasig', meta: { keepAlive: true, title: '自动化签约信息新增',module: 'Remittance' } }, { path: 'auasig', component: () => import('./Autsig/Auasig/views'), name: 'Auasig', meta: { keepAlive: true, title: '自动化签约信息新增',module: 'Remittance' } },
......
<!-- <template> <template>
<ReviewWrapper> <ReviewWrapper>
<Cptdcr></Cptdcr> <Cptdcr></Cptdcr>
</ReviewWrapper> </ReviewWrapper>
</template> </template>
<script> <script>
import Cptdcr from "~/page/Remittance/Cptdcr/views"; import Cptdcr from "~/page/Remittance/Cptdcr/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue"; import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
export default { export default {
name: "review-cptdcr", name: "review-cptdcr",
components: { ReviewWrapper, Cptdcr }, components: {ReviewWrapper, Cptdcr},
created() { }, created() {
mounted() { } },
}; mounted() {
}
};
</script> </script>
<style></style> --> <style></style>
\ No newline at end of file
<!-- <template> <template>
<ReviewWrapper> <ReviewWrapper>
<Cptrej></Cptrej> <Cptrej></Cptrej>
</ReviewWrapper> </ReviewWrapper>
</template> </template>
<script> <script>
import Cptrej from "~/page/Remittance/Cptrej/views"; import Cptrej from "~/page/Remittance/Cptrej/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue"; import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
export default { export default {
name: "review-cptrej", name: "review-cptrej",
components: { ReviewWrapper, Cptrej }, components: {ReviewWrapper, Cptrej},
created() { }, created() {
mounted() { } },
}; mounted() {
}
};
</script> </script>
<style></style> --> <style></style>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<c-fullbox> <c-fullbox>
<c-input :disabled="operate === 'edit'" v-model="act.extkey" placeholder="请输入账号"> </c-input> <c-input :disabled="operate === 'edit'" v-model="act.extkey" placeholder="请输入账号"> </c-input>
<!--template slot="footer" v-if="operate === 'add'"> <template slot="footer" v-if="operate === 'add'">
<c-button <c-button
style="margin: 0 0 0 10px; padding: 0 12px" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
...@@ -45,8 +45,9 @@ ...@@ -45,8 +45,9 @@
> >
获取 获取
</c-button> </c-button>
</template--> </template>
<!--
<template slot="footer" > <template slot="footer" >
<c-button <c-button
style="margin: 0 0 0 10px; padding: 0 12px" style="margin: 0 0 0 10px; padding: 0 12px"
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
> >
获取 获取
</c-button> </c-button>
</template> </template>-->
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
...@@ -69,7 +70,7 @@ ...@@ -69,7 +70,7 @@
<c-col :span="24" v-if="operate != 'details'"> <c-col :span="24" v-if="operate != 'details'">
<el-form-item label="核心业务代号" prop="acccore" v-if="operate !== 'details'"> <el-form-item label="核心业务代号" prop="acccore" v-if="operate !== 'details'">
<c-input v-model="act.acccore" placeholder="请输入核心业务代号" :disabled=true> </c-input> <c-input v-model="act.acccore" placeholder="请输入核心业务代号" :disabled=false> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -126,7 +127,9 @@ ...@@ -126,7 +127,9 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="币种" prop="cur" > <el-form-item label="币种" prop="cur" >
<c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable :disabled="!(act.extkey.startsWith('FT') || act.extkey.startsWith('EF'))"> </c-select> <!-- <c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable :disabled="!(act.extkey.startsWith('FT') || act.extkey.startsWith('EF'))"> </c-select> -->
<c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable
:disabled=false> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -48,6 +48,8 @@ ...@@ -48,6 +48,8 @@
> >
<span>详情</span> <span>详情</span>
</button> </button>
<!--
<c-button <c-button
style="margin-left: 5px" style="margin-left: 5px"
size="small" size="small"
...@@ -66,6 +68,27 @@ ...@@ -66,6 +68,27 @@
> >
删除 删除
</c-button> </c-button>
// 先放开修改删除按钮-2024-10-06
-->
<c-button
style="margin-left: 5px"
size="small"
type="primary"
:disabled="!(type === 'edit')"
@click="actEdit(scope.$index, scope.row)"
>
修改
</c-button>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
:disabled="!(type === 'edit')"
@click="actDelete(scope.$index, scope.row)"
>
删除
</c-button>
</template> </template>
</c-table-column> </c-table-column>
</c-paging-table> </c-paging-table>
...@@ -555,10 +578,10 @@ export default { ...@@ -555,10 +578,10 @@ export default {
flag = false; flag = false;
} }
} }
if(flag) { // if(flag) {
this.$notify.error("请保持Term Typ与核心业务代号一致") // this.$notify.error("请保持Term Typ与核心业务代号一致")
return true; // return true;
} // }
} }
return false; return false;
}, },
......
...@@ -25,8 +25,8 @@ export default class Act { ...@@ -25,8 +25,8 @@ export default class Act {
ptyinr: "", ptyinr: "",
cvrflg: "", cvrflg: "",
startnum:"", startnum: "",
selectnum:"" selectnum: ""
} }
} }
} }
...@@ -56,7 +56,7 @@ export const Pattern = { ...@@ -56,7 +56,7 @@ export const Pattern = {
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" } { "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
], ],
"acccore": [ "acccore": [
{ "required": true, "message": "需获取到核心业务代号", "type": "string", "trigger": "blur" }, // { "required": true, "message": "需获取到核心业务代号", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" } { "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
], ],
"trmtyp": [ "trmtyp": [
......
...@@ -164,13 +164,14 @@ export default { ...@@ -164,13 +164,14 @@ export default {
return 0 return 0
} }
if (zhFlg!="Y" && !(this.model.ptytyp=="C" && this.model.idtype=="2" && this.model.akkcom=="10313") ){ //暂时放开权限控制
this.$notify.warning({ // if (zhFlg!="Y" && !(this.model.ptytyp=="C" && this.model.idtype=="2" && this.model.akkcom=="10313") ){
title: '提示', // this.$notify.warning({
message: '分行无权限维护非财务公司信息!' // title: '提示',
}); // message: '分行无权限维护非财务公司信息!'
return 0 // });
} // return 0
// }
console.log("--",this.$refs.pty.bchAuthMod) console.log("--",this.$refs.pty.bchAuthMod)
let bchAuthMod=this.$refs.pty.bchAuthMod let bchAuthMod=this.$refs.pty.bchAuthMod
......
...@@ -109,7 +109,8 @@ ...@@ -109,7 +109,8 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="币种" prop="cur"> <el-form-item label="币种" prop="cur">
<c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable :disabled="!(act.extkey.startsWith('FT') || act.extkey.startsWith('EF'))"> </c-select> <!--<c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable :disabled="!(act.extkey.startsWith('FT') || act.extkey.startsWith('EF'))"> </c-select>-->
<c-select v-model="act.cur" ref="cur" @change="curChange" placeholder="请输入币种" dbCode="CURTXT" :isCache="false" :isShowKeyAndLabel="true" filterable :disabled="false"> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -180,9 +180,11 @@ export default { ...@@ -180,9 +180,11 @@ export default {
if (this.type=="info") { if (this.type=="info") {
return true return true
}else if (this.type=="edit"){ }else if (this.type=="edit"){
if ((this.$route.query.zhFlg=="Y" && this.$route.query.cwFlg=="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg!="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg=="Y" && this.$route.query.zFlg!="Y")){ //先放开权限控制2024-10-06
return true // if ((this.$route.query.zhFlg=="Y" && this.$route.query.cwFlg=="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg!="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg=="Y" && this.$route.query.zFlg!="Y")){
} // return true
// }
return false
}else if (this.type=="add"){ }else if (this.type=="add"){
return false return false
} }
...@@ -249,7 +251,11 @@ export default { ...@@ -249,7 +251,11 @@ export default {
this.actConditon.ptyinr = this.$route.query.inr this.actConditon.ptyinr = this.$route.query.inr
queryActList(this.actConditon).then((res) => { queryActList(this.actConditon).then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
this.$set(this, "actList", res.data) console.log("==========")
console.log(this)
console.log("==========")
console.log(res.data)
this.$set(this, "actList", res.data.resultList)
this.actList.forEach((item, index) => { this.actList.forEach((item, index) => {
item.ptyextkey = this.model.extkey item.ptyextkey = this.model.extkey
item.ptynam = this.model.nam item.ptynam = this.model.nam
......
...@@ -165,10 +165,12 @@ export default { ...@@ -165,10 +165,12 @@ export default {
if (this.type=="info") { if (this.type=="info") {
return true return true
}else if (this.type=="edit"){ }else if (this.type=="edit"){
if (this.$route.query.maaFlg != "Y" && this.$route.query.zFlg != "Y"){ // if (this.$route.query.maaFlg != "Y" && this.$route.query.zFlg != "Y"){
console.log("$route----",this.$route) // console.log("$route----",this.$route)
return true // return true
} // }
//暂时屏蔽权限控制
return false
}else if (this.type=="add"){ }else if (this.type=="add"){
return false return false
} }
...@@ -177,9 +179,11 @@ export default { ...@@ -177,9 +179,11 @@ export default {
if (this.type=="info") { if (this.type=="info") {
return true return true
}else if (this.type=="edit"){ }else if (this.type=="edit"){
if ((this.$route.query.zhFlg=="Y" && this.$route.query.cwFlg=="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg!="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg=="Y" && this.$route.query.zFlg!="Y")){ // if ((this.$route.query.zhFlg=="Y" && this.$route.query.cwFlg=="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg!="Y")||(this.$route.query.zhFlg!="Y" && this.$route.query.cwFlg=="Y" && this.$route.query.zFlg!="Y")){
return true // return true
} // }
//暂时屏蔽权限控制
return false
}else if (this.type=="add"){ }else if (this.type=="add"){
return false return false
} }
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
<!-- 操作按钮 --> <!-- 操作按钮 -->
<c-col :span="24"> <c-col :span="24">
<span style="float: left"> <span style="float: left">
<el-button type="primary" size="small" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowAddBtn" ref="ptmNInsertBtn" @click="ptmAdd">新增</el-button> <!--<el-button type="primary" size="small" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowAddBtn" ref="ptmNInsertBtn" @click="ptmAdd">新增</el-button> -->
<el-button type="primary" size="small" :disabled="isPageDisabled" v-if="isShowAddBtn" ref="ptmNInsertBtn" @click="ptmAdd">新增</el-button>
</span> </span>
<span style="float: right"> <span style="float: right">
<el-button size="small" @click="handleReset">重置</el-button> <el-button size="small" @click="handleReset">重置</el-button>
...@@ -32,8 +33,11 @@ ...@@ -32,8 +33,11 @@
<c-table-column fixed="right" prop="op" label="操作" width="240px"> <c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }"> <template slot-scope="{ scope }">
<c-button style="margin-left: 5px" size="small" type="" ref="ptmNDisplayBtn" @click="ptmDisplay(scope.row)">详情</c-button> <c-button style="margin-left: 5px" size="small" type="" ref="ptmNDisplayBtn" @click="ptmDisplay(scope.row)">详情</c-button>
<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowUpdBtn" ref="ptmNUpdateBtn" @click="ptmEdit(scope.row)">修改</c-button> <!--<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowUpdBtn" ref="ptmNUpdateBtn" @click="ptmEdit(scope.row)">修改</c-button> -->
<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowDelBtn" ref="ptmNDeleteBtn" @click="ptmDelete(scope.row)">删除</c-button> <!--<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled || $store.state.UserContext.currentOrg.level != 0" v-if="isShowDelBtn" ref="ptmNDeleteBtn" @click="ptmDelete(scope.row)">删除</c-button> -->
<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled " v-if="isShowUpdBtn" ref="ptmNUpdateBtn" @click="ptmEdit(scope.row)">修改</c-button>
<c-button style="margin-left: 5px" size="small" type="primary" :disabled="isPageDisabled " v-if="isShowDelBtn" ref="ptmNDeleteBtn" @click="ptmDelete(scope.row)">删除</c-button>
</template> </template>
</c-table-column> </c-table-column>
</c-paging-table> </c-paging-table>
...@@ -133,9 +137,11 @@ export default { ...@@ -133,9 +137,11 @@ export default {
if (this.type=="info") { if (this.type=="info") {
return true return true
}else if (this.type=="edit"){ }else if (this.type=="edit"){
if (this.$store.state.UserContext.currentOrg.level != 0){ // if (this.$store.state.UserContext.currentOrg.level != 0){
return true // return true
} // }
//暂时放开权限控制
return false
}else if (this.type=="add"){ }else if (this.type=="add"){
return false return false
} }
......
...@@ -142,10 +142,10 @@ export default { ...@@ -142,10 +142,10 @@ export default {
console.log("commitAdd-----提交按钮,弹出主地址窗口--",this.root) console.log("commitAdd-----提交按钮,弹出主地址窗口--",this.root)
console.log("commitAdd-----提交按钮,弹出主地址窗口2--",this.model) console.log("commitAdd-----提交按钮,弹出主地址窗口2--",this.model)
if (!this.model.getflg){ // if (!this.model.getflg){
this.$notify.warning({title: '提示:',message: "请先点击“获取”按钮获取客户ECIF信息!",dangerouslyUseHTMLString: true }); // this.$notify.warning({title: '提示:',message: "请先点击“获取”按钮获取客户ECIF信息!",dangerouslyUseHTMLString: true });
return 0; // return 0;
} // }
this.$refs.modelForm.validate((validated) => { this.$refs.modelForm.validate((validated) => {
if (validated) { if (validated) {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
style="margin: 0 0 0 10px; padding: 0 12px" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
:disabled="!model.extkey || type == 'info'" :disabled="type == 'info'"
@click="clickHuoqu(model.extkey)" @click="clickHuoqu(model.extkey)"
> >
获取 获取
...@@ -21,17 +21,23 @@ ...@@ -21,17 +21,23 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="客户类型" prop="idtype"> <el-form-item label="客户类型" prop="idtype">
<c-select v-model="model.idtype" style="width: 100%" :disabled=true placeholder="请选择客户类型" dbCode="IDTYPE" :isShowKeyAndLabel="true" filterable :filterKey="['D','F','1','2']"> </c-select> <c-select v-model="model.idtype" style="width: 100%"
:disabled="isPageDisabled || opertype == 'edit' "
placeholder="请选择客户类型" dbCode="IDTYPE" :isShowKeyAndLabel="true" filterable :filterKey="['D','F','1','2']"> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="组织机构代码" prop="juscod"> <el-form-item label="组织机构代码" prop="juscod">
<c-input v-model="model.juscod" placeholder="请输入组织机构代码" :disabled=true> </c-input> <c-input v-model="model.juscod" placeholder="请输入组织机构代码"
:disabled="isPageDisabled || opertype == 'edit' "
> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="金融机构类型" prop="akkcom"> <el-form-item label="金融机构类型" prop="akkcom">
<c-select dbCode="FINORG" :isShowKeyAndLabel="true" filterable clearable v-model="model.akkcom" placeholder="请输入金融机构类型" :disabled=true> </c-select> <c-select dbCode="FINORG" :isShowKeyAndLabel="true" filterable clearable v-model="model.akkcom" placeholder="请输入金融机构类型"
:disabled="isPageDisabled || opertype == 'edit' "
> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -84,22 +90,30 @@ ...@@ -84,22 +90,30 @@
<c-col :span="12" class="col-right"> <c-col :span="12" class="col-right">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="客户英文名称" prop="nam"> <el-form-item label="客户英文名称" prop="nam">
<c-input v-model="model.nam" placeholder="请于主地址输入英文名称" :disabled=true > </c-input> <c-input v-model="model.nam" placeholder="请于主地址输入英文名称"
:disabled="isPageDisabled || opertype == 'edit' "
> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="客户中文名称" prop="nam1"> <el-form-item label="客户中文名称" prop="nam1">
<c-input v-model="model.nam1" placeholder="请输入客户中文名称" :disabled=true> </c-input> <c-input v-model="model.nam1" placeholder="请输入客户中文名称"
:disabled="isPageDisabled || opertype == 'edit' "
> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="统一社会信用代码" prop="idcode"> <el-form-item label="统一社会信用代码" prop="idcode">
<c-input v-model="model.idcode" placeholder="请输入统一社会信用代码" :disabled=true> </c-input> <c-input v-model="model.idcode" placeholder="请输入统一社会信用代码"
:disabled="isPageDisabled || opertype == 'edit' "
> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="企业规模(国标)" prop="qygmgb"> <el-form-item label="企业规模(国标)" prop="qygmgb">
<c-select v-model="model.qygmgb" style="width: 100%" placeholder="请选择企业规模(国标)" dbCode="SIZTXT" :disabled=true :isShowKeyAndLabel="true" filterable> </c-select> <c-select v-model="model.qygmgb" style="width: 100%" placeholder="请选择企业规模(国标)" dbCode="SIZTXT"
:disabled="isPageDisabled || opertype == 'edit' "
:isShowKeyAndLabel="true" filterable> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
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