Commit 04a2dfd3 by nanrui

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

parent 7162d6a0
......@@ -263,52 +263,17 @@ export default {
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() {
this.$router.history.push("/business/eadadd");
this.$router.history.push({ name: "Eadadd", params: { prePageId: this.model.pageId }});
},
toEafadd() {
this.$router.history.push("/business/eafadd");
this.$router.history.push({ name: "Eafadd", params: { prePageId: this.model.pageId }});
},
toEbaadd() {
this.$router.history.push("/business/ebaadd");
this.$router.history.push({ name: "Ebaadd", params: { prePageId: this.model.pageId }});
},
toEcaadd() {
this.$router.history.push("/business/ecaadd");
this.$router.history.push({ name: "Ecaadd", params: { prePageId: this.model.pageId }});
},
async getInfo(idx, row) {
console.log(row);
......
......@@ -16,11 +16,11 @@
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息 -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp">
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......
......@@ -16,11 +16,11 @@
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......
......@@ -17,11 +17,11 @@
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......
......@@ -16,11 +16,11 @@
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......
......@@ -9,13 +9,13 @@
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="cod" prop="cod">
<el-form-item label="货币种类" prop="cod">
<!-- <c-select v-model="model.cod" style="width: 100%" placeholder="请输入cod">
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select> -->
<c-input v-model="model.cod" style="width: 100%" placeholder="请输入cod">
<c-input v-model="model.cod" style="width: 100%" placeholder="请输入货币种类">
</c-input>
<!-- <c-select v-model="model.cod" placeholder="请输入cod" code="codes.currencycode"
style="width: 100%;">
......@@ -23,39 +23,39 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="rndunt" prop="rndunt">
<c-input-currency-min v-model="model.rndunt" placeholder="请输入rndunt">
<el-form-item label="舍入货币单位" prop="rndunt">
<c-input-currency-min v-model="model.rndunt" placeholder="请输入舍入货币单位">
</c-input-currency-min>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bas" prop="bas">
<c-input v-model="model.bas" placeholder="请输入bas">
<el-form-item label="基础汇率" prop="bas">
<c-input v-model="model.bas" placeholder="请输入基础汇率">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="acc1" prop="acc1">
<c-input v-model="model.acc1" placeholder="请输入acc1">
<el-form-item label="账户兑换币种" prop="acc1">
<c-input v-model="model.acc1" placeholder="请输入账户兑换币种">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="acc2" prop="acc2">
<c-input v-model="model.acc2" placeholder="请输入acc2">
<el-form-item label="柜台账户兑换币种" prop="acc2">
<c-input v-model="model.acc2" placeholder="请输入柜台账户兑换币种">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="seq" prop="seq" style="width: 100%">
<c-input v-model="model.seq" placeholder="请输入seq" style="width: 100%">
<el-form-item label="利率录入操作列表" prop="seq" style="width: 100%">
<c-input v-model="model.seq" placeholder="请输入利率录入操作列表" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="newcur" prop="newcur" style="width: 100%">
<c-select v-model="model.newcur" placeholder="请输入newcur" style="width: 100%">
<el-form-item label="自定义的货币种类" prop="newcur" style="width: 100%">
<c-select v-model="model.newcur" placeholder="请输入自定义的货币种类" style="width: 100%">
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -65,36 +65,36 @@
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="begdat" prop="begdat" style="width: 100%">
<c-date-picker type="date" v-model="model.begdat" placeholder="请输入begdat"
<el-form-item label="开始时间" prop="begdat" style="width: 100%">
<c-date-picker type="date" v-model="model.begdat" placeholder="请输入开始时间"
style="width: 100%">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="enddat" prop="enddat" style="width: 100%">
<c-date-picker type="date" v-model="model.enddat" placeholder="请输入enddat"
<el-form-item label="结束时间" prop="enddat" style="width: 100%">
<c-date-picker type="date" v-model="model.enddat" placeholder="请输入结束时间"
style="width: 100%">
</c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="dbtday" prop="dbtday">
<c-input v-model="model.dbtday" placeholder="请输入dbtday">
<el-form-item label="借贷起息日" prop="dbtday">
<c-input v-model="model.dbtday" placeholder="请输入借贷起息日">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="cdtday" prop="cdtday">
<c-input v-model="model.cdtday" placeholder="请输入cdtday">
<el-form-item label="信贷起息日" prop="cdtday">
<c-input v-model="model.cdtday" placeholder="请输入信贷起息日">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="maxcur" prop="maxcur" style="width: 100%">
<c-select v-model="model.maxcur" placeholder="请输入maxcur" style="width: 100%">
<el-form-item label="币种" prop="maxcur" style="width: 100%">
<c-select v-model="model.maxcur" placeholder="请输入币种" style="width: 100%">
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -102,8 +102,8 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="maxamt" prop="maxamt">
<c-input-currency v-model="model.maxamt" placeholder="请输入maxamt">
<el-form-item label="最大金额" prop="maxamt">
<c-input-currency v-model="model.maxamt" placeholder="请输入最大金额">
</c-input-currency>
</el-form-item>
</c-col>
......@@ -112,44 +112,44 @@
<!-- 右边 -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="altcod" prop="altcod">
<c-input v-model="model.altcod" placeholder="请输入altcod">
<el-form-item label="可替换币种" prop="altcod">
<c-input v-model="model.altcod" placeholder="请输入可替换币种">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dec" prop="dec">
<c-input v-model="model.dec" placeholder="请输入dec">
<el-form-item label="货币小数位" prop="dec">
<c-input v-model="model.dec" placeholder="请输入货币小数位">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dif" prop="dif">
<c-input v-model="model.dif" placeholder="请输入dif">
<el-form-item label="汇率最大浮动值" prop="dif">
<c-input v-model="model.dif" placeholder="请输入汇率最大浮动值">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="glbrat" prop="glbrat">
<c-input-currency v-model="model.glbrat" placeholder="请输入glbrat">
<el-form-item label="账户平均汇率" prop="glbrat">
<c-input-currency v-model="model.glbrat" placeholder="请输入账户平均汇率">
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bsrmar" prop="bsrmar">
<c-input-currency v-model="model.bsrmar" placeholder="请输入bsrmar">
<el-form-item label="与中间价的差数" prop="bsrmar">
<c-input-currency v-model="model.bsrmar" placeholder="请输入与中间价的差数">
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="sqrmar" prop="sqrmar">
<c-input-currency v-model="model.sqrmar" placeholder="请输入sqrmar">
<el-form-item label="与调整价的差数" prop="sqrmar">
<c-input-currency v-model="model.sqrmar" placeholder="请输入与调整价的差数">
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="odrintday" prop="odrintday">
<c-input v-model="model.odrintday" placeholder="请输入odrintday">
<el-form-item label="汇率插入日期" prop="odrintday">
<c-input v-model="model.odrintday" placeholder="汇率插入日期">
</c-input>
</el-form-item>
</c-col>
......
......@@ -9,51 +9,53 @@
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="cod" prop="cod">
<c-select v-model="model.cod" style="width: 100%" placeholder="请输入cod" disabled>
<el-form-item label="货币种类" prop="cod">
<!-- <c-select v-model="model.cod" style="width: 100%" placeholder="请输入cod">
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</c-select> -->
<c-input v-model="model.cod" style="width: 100%" placeholder="请输入货币种类" disabled>
</c-input>
<!-- <c-select v-model="model.cod" placeholder="请输入cod" code="codes.currencycode"
style="width: 100%;">
</c-select> -->
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="rndunt" prop="rndunt">
<c-input-currency-min v-model="model.rndunt" placeholder="请输入rndunt" disabled>
<el-form-item label="舍入货币单位" prop="rndunt">
<c-input-currency-min v-model="model.rndunt" placeholder="请输入舍入货币单位" disabled>
</c-input-currency-min>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bas" prop="bas">
<c-input v-model="model.bas" placeholder="请输入bas" disabled>
<el-form-item label="基础汇率" prop="bas">
<c-input v-model="model.bas" placeholder="请输入基础汇率" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="acc1" prop="acc1">
<c-input v-model="model.acc1" placeholder="请输入acc1" disabled>
<el-form-item label="账户兑换币种" prop="acc1">
<c-input v-model="model.acc1" placeholder="请输入账户兑换币种" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="acc2" prop="acc2">
<c-input v-model="model.acc2" placeholder="请输入acc2" disabled>
<el-form-item label="柜台账户兑换币种" prop="acc2">
<c-input v-model="model.acc2" placeholder="请输入柜台账户兑换币种" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="seq" prop="seq" style="width: 100%">
<c-input v-model="model.seq" placeholder="请输入seq" style="width: 100%" disabled>
<el-form-item label="利率录入操作列表" prop="seq" style="width: 100%">
<c-input v-model="model.seq" placeholder="请输入利率录入操作列表" style="width: 100%" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="newcur" prop="newcur" style="width: 100%">
<c-select v-model="model.newcur" placeholder="请输入newcur" style="width: 100%" disabled>
<el-form-item label="自定义的货币种类" prop="newcur" style="width: 100%">
<c-select v-model="model.newcur" placeholder="请输入自定义的货币种类" style="width: 100%" disabled>
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -63,36 +65,36 @@
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="begdat" prop="begdat" style="width: 100%">
<c-date-picker type="date" v-model="model.begdat" placeholder="请输入begdat"
<el-form-item label="开始时间" prop="begdat" style="width: 100%">
<c-date-picker type="date" v-model="model.begdat" placeholder="请输入开始时间"
style="width: 100%" disabled>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="enddat" prop="enddat" style="width: 100%">
<c-date-picker type="date" v-model="model.enddat" placeholder="请输入enddat"
<el-form-item label="结束时间" prop="enddat" style="width: 100%">
<c-date-picker type="date" v-model="model.enddat" placeholder="请输入结束时间"
style="width: 100%" disabled>
</c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="dbtday" prop="dbtday">
<c-input v-model="model.dbtday" placeholder="请输入dbtday" disabled>
<el-form-item label="借贷起息日" prop="dbtday">
<c-input v-model="model.dbtday" placeholder="请输入借贷起息日" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="cdtday" prop="cdtday">
<c-input v-model="model.cdtday" placeholder="请输入cdtday" disabled>
<el-form-item label="信贷起息日" prop="cdtday">
<c-input v-model="model.cdtday" placeholder="请输入信贷起息日" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="maxcur" prop="maxcur" style="width: 100%">
<c-select v-model="model.maxcur" placeholder="请输入maxcur" style="width: 100%" disabled>
<el-form-item label="币种" prop="maxcur" style="width: 100%">
<c-select v-model="model.maxcur" placeholder="请输入币种" style="width: 100%" disabled>
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -100,8 +102,8 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="maxamt" prop="maxamt">
<c-input-currency v-model="model.maxamt" placeholder="请输入maxamt" disabled>
<el-form-item label="最大金额" prop="maxamt">
<c-input-currency v-model="model.maxamt" placeholder="请输入最大金额" disabled>
</c-input-currency>
</el-form-item>
</c-col>
......@@ -110,52 +112,52 @@
<!-- 右边 -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="altcod" prop="altcod">
<c-input v-model="model.altcod" placeholder="请输入altcod" disabled>
<el-form-item label="可替换币种" prop="altcod">
<c-input v-model="model.altcod" placeholder="请输入可替换币种" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dec" prop="dec">
<c-input v-model="model.dec" placeholder="请输入dec" disabled>
<el-form-item label="货币小数位" prop="dec">
<c-input v-model="model.dec" placeholder="请输入货币小数位" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dif" prop="dif">
<c-input v-model="model.dif" placeholder="请输入dif" disabled>
<el-form-item label="汇率最大浮动值" prop="dif">
<c-input v-model="model.dif" placeholder="请输入汇率最大浮动值" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="glbrat" prop="glbrat">
<c-input-currency v-model="model.glbrat" placeholder="请输入glbrat" disabled>
<el-form-item label="账户平均汇率" prop="glbrat">
<c-input-currency v-model="model.glbrat" placeholder="请输入账户平均汇率" disabled>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bsrmar" prop="bsrmar">
<c-input-currency v-model="model.bsrmar" placeholder="请输入bsrmar" disabled>
<el-form-item label="与中间价的差数" prop="bsrmar">
<c-input-currency v-model="model.bsrmar" placeholder="请输入与中间价的差数" disabled>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="sqrmar" prop="sqrmar" disabled>
<c-input-currency v-model="model.sqrmar" placeholder="请输入sqrmar" disabled>
<el-form-item label="与调整价的差数" prop="sqrmar">
<c-input-currency v-model="model.sqrmar" placeholder="请输入与调整价的差数" disabled>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="odrintday" prop="odrintday">
<c-input v-model="model.odrintday" placeholder="请输入odrintday" disabled>
<el-form-item label="汇率插入日期" prop="odrintday" disabled>
<c-input v-model="model.odrintday" placeholder="汇率插入日期" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24" style="padding-left: 120px">
<el-table :data="stmData.data" border>
<el-table-column prop="uilcod" label="Language" sortable width="220">
<el-table-column prop="uilcod" label="语言" sortable width="220">
</el-table-column>
<el-table-column prop="nam" label="Description" sortable width="300">
<el-table-column prop="nam" label="描述" sortable width="300">
</el-table-column>
</el-table>
</c-col>
......
......@@ -71,8 +71,8 @@ export default {
return {
curData: [],
curColumns: [
{ label: 'Currency', prop: 'cod', width: '200' },
{ label: 'Description', prop: 'seanam', width: '636' },
{ label: '货币', prop: 'cod', width: '200' },
{ 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