Commit 7785df36 by zhoutian

电子大厅临时提交

parent 232cf12b
......@@ -116,6 +116,55 @@ const CodeTable = {
{ label: "Three", value: "3" },
{ label: "One", value: "1" },
],
invtyp:[
{label:"type1",value:"1"}
],
stacty:[
{label:"AALAND ISLAND",value:"AX"},
{label:"Afghanistan",value:"AF"},
{label:"Albania",value:"AL"},
{label:"Algeria",value:"DZ"},
{label:"American Oceania",value:"UM"},
{label:"American Samoa",value:"AS"},
{label:"Andorra",value:"AD"},
{label:"Angola",value:"AO"},
{label:"Alnguila",value:"AL"},
{label:"Antarctica",value:"AQ"},
{label:"Antigua and Barbuda",value:"AG"},
{label:"Argentina",value:"AR"},
{label:"Armenia",value:"AM"},
{label:"Aruba",value:"AW"},
{label:"Australia",value:"AU"},
{label:"Austria",value:"AT"},
{label:"Azerbaijan",value:"AZ"},
{label:"Bahamas",value:"BS"},
{label:"Bahrain",value:"BH"},
{label:"Bangladesh",value:"BD"},
],
djutyp:[
{label:"提单",value:"A"},
{label:"空单",value:"B"},
{label:"仓单",value:"C"},
{label:"不适用",value:"D"},
],
matperbeg:[
{label:"After date of bill of exchange",value:"BE"},
{label:"After customer clearance of goods",value:"CC"},
{label:"After goods pass Food and Drugs Adm",value:"FD"},
{label:"After first of presentation",value:"FP"},
{label:"After arrival of goods",value:"GA"},
{label:"After invoice date",value:"ID"},
{label:"After sight",value:"ST"},
{label:"After date of transport documents",value:"TD"},
{label:"See field 72 for specification",value:"XX"},
],
adrsta: [
{ label: "Temporary", value: "T" },
{ label: "Downloaded", value: "" },
......@@ -1463,6 +1512,19 @@ const CodeTable = {
{ label: `Beneficiary Customer`, value: `BEN` },
{ label: `Ordering Customer`, value: `OUR` },
],
waicolcod:[
{label:"Do not waive",value:"D"},
{label:"Waive if refused",value:"W"},
],
wairmtcod:[
{label:"Do not waive",value:"D"},
{label:"Waive if refused",value:"W"}
],
othins:[
{label:"Defer payment till goods arrival",value:"DF2"},
{label:"Defer payment till vessel arrival",value:"DF1"},
],
chgcurflg: [
{ label: "no", value: "" },
{ label: "yes", value: "X" },
......
......@@ -7,6 +7,12 @@ let checkObj = {
"offtyp":null, //要约类型
"settyp":null,//结息方式
"credat":null,//资产发布日期
"edit.assposref":null,//资产发布编号
"edit.assregref":null,//资产登记编号
"edit.offtyp":null, //要约类型
"edit.settyp":null,//结息方式
"edit.credat":null,//资产发布日期
}
for (const key in checkObj) {
......
......@@ -9,6 +9,13 @@ export default {
"offtyp" :Utils.defaultFunction, //要约类型
"settyp" :Utils.defaultFunction, //结息方式
"credat" :Utils.defaultFunction, //资产发布日期
"edit.assposref" :Utils.defaultFunction,
"edit.assregref" :Utils.defaultFunction, //资产登记编号
"edit.offtyp" :Utils.defaultFunction, //要约类型
"edit.settyp" :Utils.defaultFunction, //结息方式
"edit.credat" :Utils.defaultFunction, //资产发布日期
}
//你可以添加自动default处理
......@@ -10,7 +10,13 @@ export default class AssetPub{
settyp:"",//结息方式
credat:"",//资产发布日期
edit:{
assposref:"",//资产发布编号
assregref:"",//资产登记编号
offtyp:"", //要约类型
settyp:"",//结息方式
credat:"",//资产发布日期
},
......
import Utils from "~/utils"
let checkObj = {
"fudref":null,//资金发布编号
"buysel":null,//买卖标识
"ownbch":null, //归属机构
"ownref":null,//业务编号
"usrbch":null,//经办机构
"credat":null,//创建日期
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"fudref" :Utils.defaultFunction,
"buysel" :Utils.defaultFunction, //
"ownbch" :Utils.defaultFunction, //
"ownref" :Utils.defaultFunction, //
"usrbch" :Utils.defaultFunction, //
"credat":Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onFund(){
const that = this.root;
let rtnmsg = await that.executeRule("fudref")
if(rtnmsg.respCode == "AAAAAA")
{
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
this.$message({
type: 'success',
message: '查询成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onfundbuy(){
let rtnmsg = await this.executeRule("buysel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onFunddat(){
let rtnmsg = await this.executeRule("credat")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"fudref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"buysel":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ownbch":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ownref":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"usrbch":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"credat":[
{type: "date", required: true, message: "必输项"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Fund{
constructor () {
this.data = {
fudref:"",//资金发布编号
buysel:"",//买卖标识
ownbch:"", //归属机构
ownref:"",//业务编号
usrbch:"",//经办机构
credat:"",//创建日期
fromdate:"",
todate:"",
edit:{
fudref:"",//资金发布编号
buysel:"",//买卖标识
ownbch:"", //归属机构
ownref:"",//业务编号
usrbch:"",//经办机构
credat:"",//创建日期
}
}
}
}
\ No newline at end of file
......@@ -17,9 +17,22 @@ export function assInfo(data) {
export function assPubInfo(data) {
return Api.post("/elec/hall/assPubInfo", data)
}
export function fundInfo(data) {
return Api.post("/elec/hall/fundInfo", data)
}
export function assQueryId(data) {
return Api.post("/elec/hall/assQueryId",data)
}
export function assPubQuery(data) {
return Api.post("/elec/hall/assPubQuery",data)
}
export function fundQuery(data) {
return Api.post("/elec/hall/fundQuery",data)
}
......@@ -14,23 +14,29 @@
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="资产发布编号" prop="assposref" >
<c-input v-model="model.assposref" maxlength="50" placeholder="请输入资产发布编号" ></c-input>
<el-form-item label="资产发布编号" prop="assposref" style="width:100%">
<c-input v-model="model.assposref" maxlength="50" placeholder="请输入资产发布编号" style="width:330px"></c-input>
</el-form-item>
</c-col>
<c-col :span="8" >
<el-form-item label="起始日期" >
<c-date-picker type="date" v-model="model.fromdate" placeholder="请选择Opening between" style="width:43%"></c-date-picker>
-
<c-date-picker type="date" v-model="model.todate" placeholder="请选择Open Date to" style="width:43%"></c-date-picker>
<el-form-item label="起始日期" style="width:100%">
<c-col :span="11" >
<c-date-picker type="date" v-model="model.fromdate" placeholder="请选择Opening between" style="width:100%"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11" >
<c-date-picker type="date" v-model="model.todate" placeholder="请选择Open Date to" style="width:100%"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="资产业务类型" prop="assbustyp" >
<el-form-item label="资产业务类型" prop="assbustyp" style="width:100%">
<c-select
v-model="model.assbustyp"
style="width: 100%"
style="width:100%"
placeholder="请选择业务类型"
>
<el-option
......@@ -68,11 +74,11 @@
<!-- <c-istream-table :list="itemList"> -->
<el-table :data="itemList.slice((currentPage-1)*PageSize,currentPage*PageSize)" :border="true" style="width:80%,text-align:center" :header-cell-style="{background:'rgb(235, 235, 235)',color:'#000'}">
<el-table-column label="资产发布编号" width="200px" prop="assposref"></el-table-column>
<el-table-column label="承付金额" width="200px" prop="accamt" ></el-table-column>
<el-table-column label="资产发布编号" width="240px" prop="assposref"></el-table-column>'center'
<el-table-column label="承付金额" width="200px" prop="accamt" align="right"></el-table-column>
<el-table-column label="承付日期" width="200px" prop="accdat"></el-table-column>
<el-table-column label="资产业务类型" width="200px" prop="assbustyp"></el-table-column>
<el-table-column label="资产登记编号" width="200px" prop="assregref"></el-table-column>
<el-table-column label="资产登记编号" width="240px" prop="assregref"></el-table-column>
<el-table-column label="资产登记类型" width="200px" prop="assregtyp"></el-table-column>
<el-table-column label="资产状态" width="200px" prop="asssta"></el-table-column>
<el-table-column label="资产交易状态" width="200px" prop="asstrasta"></el-table-column>
......@@ -82,14 +88,13 @@
<el-table-column label="业务经办机构" width="200px" prop="usrbch"></el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot-scope="scope">
<c-button
<el-button
style="margin-left: 0"
size="small"
type="primary"
size="small"
@click="Detail(scope)"
>
详情
</c-button>
</el-button>
<c-button
style="margin-left: 0"
......@@ -97,7 +102,7 @@
type="primary"
@click="Edit(scope)"
>
编辑
处理
</c-button>
<c-button
style="margin-left: 0"
......@@ -372,7 +377,7 @@ export default {
}
.el-table .cell {
line-height: 15px;
line-height: 18px;
}
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<m-infsea :model="model" :codes="codes" ref="infsea"/>
<!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="资产信息查询" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</c-tabs> -->
</el-form>
</div>
</template>
......
......@@ -14,20 +14,26 @@
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="资产发布编号" prop="assposref" >
<c-input v-model="model.assposref" maxlength="50" placeholder="请输入资产发布编号" ></c-input>
<el-form-item label="资产发布编号" prop="assposref" style="width:100%">
<c-input v-model="model.assposref" maxlength="50" placeholder="请输入资产发布编号" style="width:330px"></c-input>
</el-form-item>
</c-col>
<c-col :span="8" >
<el-form-item label="起始日期" >
<c-date-picker type="date" v-model="model.fromdate" placeholder="请选择Opening between" style="width:43%"></c-date-picker>
-
<c-date-picker type="date" v-model="model.todate" placeholder="请选择Open Date to" style="width:43%"></c-date-picker>
<el-form-item label="起始日期" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.fromdate" placeholder="请选择Opening between" style="width:160px"></c-date-picker>
</c-col>
<c-col :span="2" style="padding:0 0 0 20px">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11" >
<c-date-picker type="date" v-model="model.todate" placeholder="请选择Open Date to" style="width:160px"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="邀约类型" prop="offtyp" >
<el-form-item label="邀约类型" prop="offtyp" style="width: 100%">
<c-select
v-model="model.offtyp"
style="width: 100%"
......@@ -68,8 +74,8 @@
<!-- <c-istream-table :list="itemList"> -->
<el-table :data="itemList.slice((currentPage-1)*PageSize,currentPage*PageSize)" :border="true" style="width:80%,text-align:center" :header-cell-style="{background:'rgb(235, 235, 235)',color:'#000'}">
<el-table-column label="资产发布编号" width="200px" prop="assposref"></el-table-column>
<el-table-column label="资产登记编号" width="200px" prop="assregref"></el-table-column>
<el-table-column label="资产发布编号" width="240px" prop="assposref"></el-table-column>
<el-table-column label="资产登记编号" width="240px" prop="assregref"></el-table-column>
<el-table-column label="要约类型" width="200px" prop="offtyp"></el-table-column>
<el-table-column label="结息方式" width="200px" prop="settyp"></el-table-column>
<el-table-column label="资产发布日期" width="200px" prop="credat"></el-table-column>
......@@ -78,7 +84,7 @@
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="Detail(scope)"
>
详情
......@@ -90,7 +96,7 @@
type="primary"
@click="Edit(scope)"
>
编辑
处理
</c-button>
<c-button
style="margin-left: 0"
......@@ -128,9 +134,9 @@
<c-row>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="资产发布编号" prop="assposref" style="width: 100%" >
<el-form-item label="资产发布编号" prop="edit.assposref" style="width: 100%" >
<c-input
v-model="model.assposref"
v-model="model.edit.assposref"
placeholder="请输入assposref"
type="textarea"
:rows="4"
......@@ -142,10 +148,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-input v-if="showIndex" style="visibility: hidden" v-model="model.assregref" ></c-input>
<el-form-item label="资产登记编号" prop="assregref" style="width: 100%">
<c-input v-if="showIndex" style="visibility: hidden" v-model="model.edit.assregref" ></c-input>
<el-form-item label="资产登记编号" prop="edit.assregref" style="width: 100%">
<c-input
v-model="model.assregref"
v-model="model.edit.assregref"
placeholder="请输入assregref"
type="textarea"
:rows="4"
......@@ -168,9 +174,9 @@
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="要约类型" prop="offtyp" style="width: 100%">
<el-form-item label="要约类型" prop="edit.offtyp" style="width: 100%">
<c-input
v-model="model.offtyp"
v-model="model.edit.offtyp"
placeholder="请输入offtyp"
type="textarea"
:rows="4"
......@@ -182,9 +188,9 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结息方式 " prop="settyp" style="width: 100%">
<el-form-item label="结息方式 " prop="edit.settyp" style="width: 100%">
<c-input
v-model="model.settyp"
v-model="model.edit.settyp"
placeholder="请输入settyp"
type="textarea"
:rows="4"
......@@ -195,7 +201,18 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="资产发布日期" prop="edit.credat" style="width: 100%">
<c-date-picker
type="date"
v-model="model.edit.credat"
style="width: 95%"
placeholder="请选择"
:disabled="isDetail"
></c-date-picker>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="资产发布日期" prop="credat" style="width: 100%">
<c-input
v-model="model.credat"
......@@ -208,7 +225,7 @@
style="width: 95%"
></c-input>
</el-form-item>
</c-col>
</c-col> -->
</c-col>
<c-col :span="24" style="text-align: center; height: 36.8px">
<el-button
......@@ -238,6 +255,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/AssetInfo/Event"
// import BusNavbar from "~/views/Business//BusNavbar"
import {assPubInfo} from "~/service/elec"
import {assPubQuery} from "~/service/elec"
export default {
......@@ -294,21 +312,29 @@ export default {
methods:{...Event,
handleReset: function () {
handleReset() {
this.model.assposref='';
this.model.fromdate='';
this.model.todate='';
this.model.offtyp='';
},
handleSearch(){
assPubQuery({
"assposref":this.model.assposref,
"fromdate":this.model.fromdate,
"todate":this.model.todate,
"offtyp":this.model.offtyp
}).then(res=>{
this.itemList=res;
})
},
Detail(scope){
this.model.assposref = scope.row.assposref;
this.model.edit.assposref = scope.row.assposref;
this.isDetail = true;
this.opttitle = "资产发布信息详情";
this.optType = false;
......@@ -317,7 +343,7 @@ export default {
Edit(scope){
this.model.assposref = scope.row.assposref;
this.model.edit.assposref = scope.row.assposref;
this.isDetail = false;
this.opttitle = "资产发布信息修改";
this.optType = true;
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<m-infsea :model="model" :codes="codes" ref="infsea"/>
<!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="资产发布信息查询" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</c-tabs> -->
</el-form>
</div>
</template>
......
......@@ -132,6 +132,9 @@ import Expben from "./Expben"
import AssetInfo from "./AssetInfo"
import AssetPub from "./AssetPub"
import Fund from "./Fund"
import Brtdck from "./Brtdck"
/**
* 带有name的才会被添加进顶部的标签页里
*/
......@@ -227,6 +230,7 @@ const BusRouter = [
{ path: 'inflid', component: Inflid, name: 'Inflid', meta: { title: '进口信用证查询' } },
{ path: 'inftrd', component: Inftrd, name: 'Inftrd', meta: { title: '进口押汇查询' } },
{ path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } },
{ path: 'brtdck', component: Brtdck, name: 'Brtdck', meta: { title: '进口信用证单据改单/二次到单' } },
{ path: 'inftxm', component: Inftxm, name: 'Inftxm', meta: { title: '条式语句查询' } },
// { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } },
......@@ -279,6 +283,7 @@ const BusRouter = [
{ path: 'assetinfo', component: AssetInfo, name: 'AssetInfo', meta: { title: '资产信息管理' } },
{ path: 'assetpub', component: AssetPub, name: 'AssetPub', meta: { title: '资产发布信息管理' } },
{ path: 'fund', component: Fund, name: 'Fund', meta: { title: '资金信息管理' } },
]
......
<template>
<c-content>
<div class="eibs-tab">
<template >
<el-form
class="m-table-search-form"
ref="paramsForm"
:inline="true"
label-position="left"
label-width="110px"
size="small"
>
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="资金发布编号" prop="fudref" style="width:100%">
<c-input v-model="model.fudref" maxlength="50" placeholder="请输入资金发布编号" style="width:330px"></c-input>
</el-form-item>
</c-col>
<c-col :span="8" >
<el-form-item label="起始日期" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.fromdate" placeholder="请选择Opening between" style="width:160px"></c-date-picker>
</c-col>
<c-col :span="2" style="padding:0 0 0 20px">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11" >
<c-date-picker type="date" v-model="model.todate" placeholder="请选择Open Date to" style="width:160px"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="买卖标识" prop="buysel" style="width: 100%">
<c-select
v-model="model.buysel"
style="width: 100%"
placeholder="买卖标识"
>
<el-option
v-for="item in type"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<c-col :span="24" style="text-align: right; height: 36.8px">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="handleSearch()"
>查询</el-button >
</c-col>
</el-form>
<c-col :span="24">
<div style="border-bottom: 10px solid rgb(232, 232, 232)"></div>
</c-col>
</template>
<c-col :span="24">
<div class="table">
<!-- <c-istream-table :list="itemList"> -->
<el-table :data="itemList.slice((currentPage-1)*PageSize,currentPage*PageSize)" :border="true" style="width:80%,text-align:center" :header-cell-style="{background:'rgb(235, 235, 235)',color:'#000'}">
<el-table-column label="资金发布编号" width="240px" prop="fudref"></el-table-column>
<el-table-column label="买卖标识" width="200px" prop="buysel"></el-table-column>
<el-table-column label="归属机构" width="200px" prop="ownbch"></el-table-column>
<el-table-column label="业务编号" width="200px" prop="ownref"></el-table-column>
<el-table-column label="经办机构" width="200px" prop="usrbch"></el-table-column>
<el-table-column label="创建日期" width="200px" prop="credat"></el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="Detail(scope)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="Edit(scope)"
>
处理
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="Del(scope.$index)"
>
删除
</c-button>
</template>
</el-table-column>
</el-table>
<!-- </c-istream-table> -->
<div class="tabListPage">
<el-pagination @size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="currentPage"
:page-sizes="pageSizes"
:page-size="PageSize" layout="total, sizes, prev, pager, next, jumper"
:total="itemList.length">
</el-pagination>
</div>
</div>
</c-col>
<el-dialog :visible.sync="showPanel" :title="opttitle" append-to-body :before-close="cancel">
<el-form
class="m-table-search-form"
ref="paramsForm"
:inline="true"
label-position="right"
label-width="110px"
size="small"
>
<c-row>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="资金发布编号" prop="edit.fudref" style="width: 100%" >
<c-input
v-model="model.edit.fudref"
placeholder="请输入fudref"
type="textarea"
:rows="4"
maxlength="200"
show-word-limit
:disabled="isDetail"
style="width: 95%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-input v-if="showIndex" style="visibility: hidden" v-model="model.edit.ownbch" ></c-input>
<el-form-item label="归属机构" prop="ownbch" style="width: 100%">
<c-input
v-model="model.edit.ownbch"
placeholder="请输入ownbch"
type="textarea"
:rows="4"
maxlength="200"
show-word-limit
:disabled="isDetail"
style="width: 95%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="资金发布有效期" prop="edit.valday" style="width: 100%">
<c-date-picker
type="date"
v-model="model.edit.valday"
style="width: 95%"
placeholder="请选择"
:disabled="isDetail"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务编号" prop="edit.ownref" style="width: 100%">
<c-input
v-model="model.edit.ownref"
placeholder="请输入ownref"
type="textarea"
:rows="4"
maxlength="200"
show-word-limit
:disabled="isDetail"
style="width: 95%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="经办机构 " prop="edit.usrbch" style="width: 100%">
<c-input
v-model="model.edit.usrbch"
placeholder="请输入usrbch"
type="textarea"
:rows="4"
maxlength="200"
show-word-limit
:disabled="isDetail"
style="width: 95%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="买卖标识" prop="edit.buysel" style="width: 100%">
<c-input
v-model="model.edit.buysel"
placeholder="请输入buysel"
type="textarea"
:rows="4"
maxlength="200"
show-word-limit
:disabled="isDetail"
style="width: 95%"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="text-align: center; height: 36.8px">
<el-button
type="primary"
size="small"
@click="submitData"
v-if="optType"
>提交</el-button
>
<el-button style="margin-left: 0" size="small" @click="cancel">
返回
</el-button>
</c-col>
</c-row>
</el-form>
</el-dialog>
</div>
</c-content>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Fund/Event"
// import BusNavbar from "~/views/Business//BusNavbar"
import {fundInfo} from "~/service/elec"
import {fundQuery} from "~/service/elec"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
showPanel: false,
opttitle:"",
isDetail:true,
optType:true,
showIndex:false,
type:[
{label:"买入",value:"BUY"},
{label:"卖出",value:"SEL"},
],
// 总数据
itemList:[],
// 默认显示第几页
currentPage:1,
// 总条数,根据接口获取数据长度(注意:这里不能为空)
total:0,
// 个数选择器(可修改)
pageSizes:[5,10,15,20,25],
// 默认每页显示的条数(可修改)
PageSize:5,
}
},
created(){
fundInfo().then(res=>{
this.itemList=res;
})
},
methods:{...Event,
handleReset: function () {
this.model.fudref='';
this.model.fromdate='';
this.model.todate='';
this.model.buysel='';
},
handleSearch(){
fundQuery({
"fudref":this.model.fudref,
"fromdate":this.model.fromdate,
"todate":this.model.todate,
"buysel":this.model.buysel
}).then(res=>{
this.itemList=res;
})
},
Detail(scope){
this.model.edit.fudref = scope.row.fudref;
this.isDetail = true;
this.opttitle = "资金信息详情";
this.optType = false;
this.showPanel = true;
},
Edit(scope){
this.model.edit.fudref = scope.row.fudref;
this.isDetail = false;
this.opttitle = "资金信息修改";
this.optType = true;
this.showPanel = true;
},
cancel(){
this.showPanel=false;
},
submitData(){},
// 每页显示的条数
handleSizeChange(size) {
// 改变每页显示的条数
this.PageSize=size;
// 注意:在改变每页显示的条数时,要将页码显示到第一页
this.currentPage=1;
},
// 显示第几页
handleCurrentChange(currentPage) {
// 改变默认的页数
this.currentPage=currentPage;
},
}
}
</script>
<style>
.table {
margin-top: 20px;
}
.el-table .cell {
line-height: 15px;
}
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<m-infsea :model="model" :codes="codes" ref="infsea"/>
<!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="资产发布信息查询" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs> -->
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Fund/Check"
import Default from "~/model/Fund/Default"
import Pattern from "~/model/Fund/Pattern"
import Infsea from "./Infsea"
import Fund from "~/model/Fund"
import Ccvpan from "~/views/Public/Ccvpan"
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
//import Doctre from "~/views/Public/Doctre"
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
export default {
components:{
"m-infsea" : Infsea,
 "m-ccvpan" : Ccvpan,
"m-setpan" : Setpan,
"m-glepan" : Glepan,
"m-engp":Engp,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infsea",
trnName: "fund",
model: new Fund().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes:{},
}
},
methods:{
tabClick(){
}
},
created:async function(){
// console.log("进入fund交易");
// let rtnmsg = await this.init({})
// if(rtnmsg.respCode == SUCCESS)
// {
// //TODO 处理数据逻辑
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
}
}
</script>
<style>
</style>
......@@ -40,7 +40,7 @@
<div class="first-word3">
</div>
<div class="dz-title">资金信息</div>
<div class="dz-title" @click="openfund">资金信息</div>
</div>
<div class="display3">
<div class="type-count" v-for="(item, idx) in fund" :key="idx">
......@@ -103,6 +103,9 @@ export default {
},
openassInfoPub(){
window.location.href="#/business/AssetPub"
},
openfund(){
window.location.href="#/business/Fund"
}
},
......
......@@ -62,7 +62,7 @@ module.exports = {
}
},
'/gjjs/elec/': {
target: 'http://127.0.0.1:8083',
target: 'http://127.0.0.1:8084',
changeOrigin: true,
pathRewrite: {
'^/gjjs/elec': '/gjjs/elec'
......
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