Commit 165d8b82 by “yanyuxin”

查询页面code改为中文

parent b632760c
...@@ -83,12 +83,14 @@ ...@@ -83,12 +83,14 @@
<c-select <c-select
v-model="model.infcon.relflg" v-model="model.infcon.relflg"
style="width: 100%" style="width: 100%"
placeholder="请选择Release Status"> placeholder="请选择Release Status"
>
<el-option <el-option
v-for="item in codes.relflg" v-for="item in codes.relflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value"> :value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -147,12 +149,14 @@ ...@@ -147,12 +149,14 @@
<c-select <c-select
v-model="model.infcon.searol" v-model="model.infcon.searol"
style="width: 100%" style="width: 100%"
placeholder="请选择Role"> placeholder="请选择Role"
>
<el-option <el-option
v-for="item in codes.searol" v-for="item in codes.searol"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value"> :value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -203,7 +207,8 @@ ...@@ -203,7 +207,8 @@
v-for="item in codes.seasta" v-for="item in codes.seasta"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value"> :value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -255,8 +260,17 @@ ...@@ -255,8 +260,17 @@
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Good's Code " prop="trdgrp.rec.stagod"> <el-form-item label="Good's Code " prop="trdgrp.rec.stagod">
<c-select v-model="model.trdgrp.rec.stagod" style="width:100%" placeholder="请选择Good's Code "> <c-select
<el-option v-for="item in codes.godcod" :key="item.value" :label="item.label" :value="item.value"> v-model="model.trdgrp.rec.stagod"
style="width: 100%"
placeholder="请选择Good's Code "
>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -293,12 +307,14 @@ ...@@ -293,12 +307,14 @@
<c-select <c-select
v-model="model.infcon.cxmflg" v-model="model.infcon.cxmflg"
style="width: 100%" style="width: 100%"
placeholder="请选择是否显示查询码"> placeholder="请选择是否显示查询码"
>
<el-option <el-option
v-for="item in codes.cxmflg" v-for="item in codes.cxmflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value"> :value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -356,8 +372,14 @@ ...@@ -356,8 +372,14 @@
</template> </template>
</c-list-search> </c-list-search>
<c-col style="margin-top: 10px"> <c-col style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0" <c-button
@click="toTrtopn">进口融资开立</c-button> class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 0"
@click="toTrtopn"
>进口融资开立</c-button
>
</c-col> </c-col>
<!-- <c-col :span="24" style="margin-top: 10px"> <!-- <c-col :span="24" style="margin-top: 10px">
<c-button <c-button
...@@ -372,12 +394,14 @@ ...@@ -372,12 +394,14 @@
<!-- <el-row> --> <!-- <el-row> -->
<c-col :span="24"> <c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true"> <c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="140px"> <el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align: left" <c-col :span="11" style="text-align: left"><span>操作</span></c-col>
><span>操作</span></c-col
>
<!-- <c-col :span="12" style="text-align: right" <!-- <c-col :span="12" style="text-align: right"
><c-button icon="el-icon-s-tools"></c-button ><c-button icon="el-icon-s-tools"></c-button
></c-col> --> ></c-col> -->
...@@ -390,13 +414,20 @@ ...@@ -390,13 +414,20 @@
trigger="click" trigger="click"
:ref="'popover_' + scope.row.IDX" :ref="'popover_' + scope.row.IDX"
> >
<div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;"> <div
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/> style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
@click="closeTrn('popover_' + scope.row.IDX)"
/>
</div> </div>
<c-istream-table <c-istream-table :list="trnData.data" :columns="trnData.columns">
:list="trnData.data"
:columns="trnData.columns"
>
<el-table-column prop="op" label="操作" width="0"> <el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope"> <template slot-scope="scope">
<c-button <c-button
...@@ -437,7 +468,8 @@ ...@@ -437,7 +468,8 @@
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
@click="getButtons(scope.row['Reference'])"> @click="getButtons(scope.row['Reference'])"
>
处理 处理
</c-button> </c-button>
...@@ -454,7 +486,15 @@ ...@@ -454,7 +486,15 @@
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<m-busbtn ref="childs" :ownref="ownref" :model="TrtselModel" ownrefPath="trdgrp" trnCode="trtsel" @onChoose="onChoose">11</m-busbtn> <m-busbtn
ref="childs"
:ownref="ownref"
:model="TrtselModel"
ownrefPath="trdgrp"
trnCode="trtsel"
@onChoose="onChoose"
>11</m-busbtn
>
</div> </div>
</template> </template>
<script> <script>
...@@ -465,7 +505,7 @@ import CodeTable from "~/config/CodeTable"; ...@@ -465,7 +505,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbpd/Event"; import Event from "~/model/Infbpd/Event";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
import TrtselModel from "~/model/Trtsel" import TrtselModel from "~/model/Trtsel";
export default { export default {
inject: ["root"], inject: ["root"],
...@@ -481,32 +521,72 @@ export default { ...@@ -481,32 +521,72 @@ export default {
initdialog: false, initdialog: false,
stmData: { stmData: {
columns: [ columns: [
'1 1 \"Reference\" 200', '1 1 "进口融资编号" 200',
'2 2 \"Resp. User\" 110', '2 2 "客户经理" 110',
"13 3 \"Finance Type\" 130 1 0 1 TRD:FINTYP", // '13 3 "Finance Type" 130 1 0 1 TRD:FINTYP',
"14 4 \"Goods Code\" 120 1 0 1 GODCOD", {
"3 5 \"Parent Contract\" 150", index: 13,
"4 6 \"执行利率\" 110 2", position: 3,
"15 7 \"Pta .No\" 110", width: 120,
"16 8 \"Party Number\" 205", pattern: "code",
"17 9 \"Financed party\" 300", label: "融资品种",
"18 10 \"Financed CN\" 205", code: "fintyp1",
"5 11 \"融资状态\" 100 1 0 1 TRD:OVDFLG", },
"6 12 \"融资账号\" 100", // '14 4 "Goods Code" 120 1 0 1 GODCOD',
"24 13 \"组织机构代码\" 130", {
"7 14 \"Opened\" 200 4 7", index: 14,
"8 15 \"Expired\" 200 4 7", position: 4,
"19 16 \"Pty .No\" 110", width: 120,
"9 17 \"Closed\" 100 4 7", pattern: "code",
"20 18 \"Cur\" 100", label: "货物类型",
"22 19 \"Cur\" 100", code: "godcod",
"21 20 \"Amount\" 110 2 8 1 20", },
"23 21 \"Open Amount\" 200 2 8 1 22", '3 5 "Parent Contract" 150',
"25 22 \"海外代付行\" 150", '4 6 "执行利率" 110 2',
"26 23 \"海外代付行\" 150", '15 7 "Pta .No" 110',
"10 24 \"融资天数\" 100 2", '16 8 "Party Number" 205',
"11 25 \"海外代付天数\" 205 0", '17 9 "Financed party" 300',
"12 26 \"支行名称\" 205", '18 10 "Financed CN" 205',
// '5 11 "融资状态" 100 1 0 1 TRD:OVDFLG',
{
index: 5,
position: 11,
width: 100,
pattern: "code",
label: "融资状态",
code: "ovdflg",
},
'6 12 "融资账号" 100',
'24 13 "组织机构代码" 130',
'7 14 "开户日期" 200 4 7',
'8 15 "Expired" 200 4 7',
'19 16 "Pty .No" 110',
'9 17 "Closed" 100 4 7',
// '20 18 "Cur" 100',
{
index: 20,
position: 18,
width: 100,
pattern: "code",
label: "币种",
code: "curtxt1",
},
// '22 19 "Cur" 100',
{
index: 22,
position: 19,
width: 100,
pattern: "code",
label: "币种",
code: "curtxt1",
},
'21 20 "Amount" 110 2 8 1 20',
'23 21 "Open Amount" 200 2 8 1 22',
'25 22 "海外代付行" 150',
'26 23 "海外代付行" 150',
'10 24 "融资天数" 100 2',
'11 25 "海外代付天数" 205 0',
'12 26 "支行名称" 205',
], ],
data: [], data: [],
}, },
...@@ -535,20 +615,20 @@ export default { ...@@ -535,20 +615,20 @@ export default {
methods: { methods: {
...Event, ...Event,
async getButtons(ownref){ async getButtons(ownref) {
this.ownref = ownref this.ownref = ownref;
this.$refs.childs.initdialog = true this.$refs.childs.initdialog = true;
console.log("ownref:" +ownref); console.log("ownref:" + ownref);
}, },
async onChoose(code){ async onChoose(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false;
} , },
async getDitSelInfo(code){ async getDitSelInfo(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false;
}, },
async getTrnInfo(idx, row) { async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"]; this.model.infcon.objinr = row["INR"];
...@@ -575,10 +655,8 @@ export default { ...@@ -575,10 +655,8 @@ export default {
created: function () {}, created: function () {},
}; };
</script> </script>
<style> <style>
.el-dialog__body { .el-dialog__body {
padding: 10px 5px 50px; padding: 10px 5px 50px;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment