Commit 04a2dfd3 by nanrui

cfasel新增交易的路由跳转修改、cur静态交易标签汉化以及eafxxx“变动信息”面板的暂时注释。

parent 7162d6a0
...@@ -263,52 +263,17 @@ export default { ...@@ -263,52 +263,17 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async getTrnInfo(idx, row) {
// this.model.infcon.objinr = row["INR"];
// this.model.bodgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
// console.log(row);
// console.log(row.申报类型);
// let url = row.申报类型.toLowerCase() + "inf";
// this.$router.history.push("/business/" + url);
console.log(row);
let business = row.申报类型.toLowerCase() + "inf";
let viewurl = "/business/" + business;
const selIds = [idx + 1];
const selDst = "eblstm" //列表对应后台模型中的stream
let params = { selDst, selIds };
console.log(params);
this.executeRule("dtlbut", params).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {}, params: { prePageId: this.model.pageId } });
} else {
const h = this.$createElement;
const msg = res.respMsg || '请求执行失败!'
this.$notify.error({ title: '错误', message: h('p', { style: 'word-break:break-all;' }, msg) })
}
});
// let rtnmsg = await this.executeDefault("dtlbut");
// // if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// console.log(this.trnData.data);
// }
},
toEadadd() { toEadadd() {
this.$router.history.push("/business/eadadd"); this.$router.history.push({ name: "Eadadd", params: { prePageId: this.model.pageId }});
}, },
toEafadd() { toEafadd() {
this.$router.history.push("/business/eafadd"); this.$router.history.push({ name: "Eafadd", params: { prePageId: this.model.pageId }});
}, },
toEbaadd() { toEbaadd() {
this.$router.history.push("/business/ebaadd"); this.$router.history.push({ name: "Ebaadd", params: { prePageId: this.model.pageId }});
}, },
toEcaadd() { toEcaadd() {
this.$router.history.push("/business/ecaadd"); this.$router.history.push({ name: "Ecaadd", params: { prePageId: this.model.pageId }});
}, },
async getInfo(idx, row) { async getInfo(idx, row) {
console.log(row); console.log(row);
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息 --> <!--外债远期信用证(含即期单证相符)-变动信息 -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp"> <!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) --> <!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp"> <!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
......
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) --> <!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp"> <!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) --> <!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp"> <!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
......
...@@ -71,8 +71,8 @@ export default { ...@@ -71,8 +71,8 @@ export default {
return { return {
curData: [], curData: [],
curColumns: [ curColumns: [
{ label: 'Currency', prop: 'cod', width: '200' }, { label: '货币', prop: 'cod', width: '200' },
{ label: 'Description', prop: 'seanam', width: '636' }, { label: '描述', prop: 'seanam', width: '636' },
], ],
}; };
}, },
......
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