Commit 55127020 by nanrui

infdet,infbfd测试bug修改

parent f6a9abe8
...@@ -2,7 +2,7 @@ import Api from "~/service/Api" ...@@ -2,7 +2,7 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onInfbutSearow () { async onInfbutSearow() {
let rtnmsg = await this.executeRule("infbut.searow") let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async handleSearch () { async handleSearch() {
this.stmData.data = []; this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom; let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') { if (!opndatfrom || opndatfrom == '') {
...@@ -34,11 +34,26 @@ export default { ...@@ -34,11 +34,26 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async handleReset () { async handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.mylx = "";
this.model.infcon.nam = "";
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.searol = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.seasta = "";
this.model.infcon.seacur = "";
this.model.infcon.seaamtfr = "0.00";
this.model.infcon.seaamtto = "0.00";
this.model.sealcrtyp = "";
this.model.elcflg = "";
}, },
async onInfbutDsp () { async onInfbutDsp() {
let rtnmsg = await this.executeRule("infbut.dsp") let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -48,7 +63,7 @@ export default { ...@@ -48,7 +63,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfbutUserow () { async onInfbutUserow() {
let rtnmsg = await this.executeRule("infbut.userow") let rtnmsg = await this.executeRule("infbut.userow")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -58,7 +73,7 @@ export default { ...@@ -58,7 +73,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfbutClr () { async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut.clr") let rtnmsg = await this.executeRule("infbut.clr")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -68,7 +83,7 @@ export default { ...@@ -68,7 +83,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfbutButprt () { async onInfbutButprt() {
let rtnmsg = await this.executeRule("infbut.butprt") let rtnmsg = await this.executeRule("infbut.butprt")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -78,7 +93,7 @@ export default { ...@@ -78,7 +93,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfbutExi () { async onInfbutExi() {
let rtnmsg = await this.executeRule("infbut.exi") let rtnmsg = await this.executeRule("infbut.exi")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -88,7 +103,7 @@ export default { ...@@ -88,7 +103,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onRecpanButgetref () { async onRecpanButgetref() {
let rtnmsg = await this.executeRule("recpan.butgetref") let rtnmsg = await this.executeRule("recpan.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -98,7 +113,7 @@ export default { ...@@ -98,7 +113,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onBenpDet () { async onBenpDet() {
let rtnmsg = await this.executeRule("benp.det") let rtnmsg = await this.executeRule("benp.det")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -108,7 +123,7 @@ export default { ...@@ -108,7 +123,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onAplpDet () { async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det") let rtnmsg = await this.executeRule("aplp.det")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -118,7 +133,7 @@ export default { ...@@ -118,7 +133,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLcrdftatButtxmsel () { async onLcrdftatButtxmsel() {
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel") let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -128,7 +143,7 @@ export default { ...@@ -128,7 +143,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onPreperButtxmsel () { async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel") let rtnmsg = await this.executeRule("preper.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -138,7 +153,7 @@ export default { ...@@ -138,7 +153,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLcrgodButtxmsel () { async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel") let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -148,7 +163,7 @@ export default { ...@@ -148,7 +163,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onLcrdocButtxmsel () { async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel") let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -158,7 +173,7 @@ export default { ...@@ -158,7 +173,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onAdlcndButtxmsel () { async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel") let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -168,7 +183,7 @@ export default { ...@@ -168,7 +183,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInsbnkButtxmsel () { async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk.buttxmsel") let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -178,7 +193,7 @@ export default { ...@@ -178,7 +193,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfconButshw () { async onInfconButshw() {
let rtnmsg = await this.executeRule("infcon.butshw") let rtnmsg = await this.executeRule("infcon.butshw")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -188,7 +203,7 @@ export default { ...@@ -188,7 +203,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async onInfconButshword () { async onInfconButshword() {
let rtnmsg = await this.executeRule("infcon.butshword") let rtnmsg = await this.executeRule("infcon.butshword")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -3,64 +3,35 @@ ...@@ -3,64 +3,35 @@
<c-list-search @form-reset="handleReset" @form-search="handleSearch"> <c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 --> <!-- 持续展示区 -->
<template v-slot="searchSlot"> <template v-slot="searchSlot">
<el-form <el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px"
class="m-table-search-form" size="small">
ref="paramsForm"
label-position="right"
label-width="110px"
size="small"
>
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Own Reference" prop="infcon.seaownref">
label="Own Reference" <c-input v-model="model.infcon.seaownref" maxlength="16"
prop="infcon.seaownref" placeholder="请输入Own Reference"></c-input>
>
<c-input
v-model="model.infcon.seaownref"
maxlength="16"
placeholder="请输入Own Reference"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Name" prop="infcon.nam"> <el-form-item label="Name" prop="infcon.nam">
<c-input <c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name"></c-input>
v-model="model.infcon.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%">
label="Opening between" <c-col :span="11">
prop="infcon.opndatfrom" <c-date-picker type="date" v-model="model.infcon.opndatfrom" style="width: 100%"
style="width: 100%" placeholder="请选择Opening between" value-format="yyyy-MM-dd"></c-date-picker>
> </c-col>
<c-col :span="11"> <c-col :span="2" style="text-align: center">
<c-date-picker <label style="display: inline-block; width: 100%">-</label>
type="date" </c-col>
v-model="model.infcon.opndatfrom" <c-col :span="11">
style="width: 100%" <c-date-picker type="date" v-model="model.infcon.opndatto" style="width: 100%"
placeholder="请选择Opening between" placeholder="请选择Open Date to" value-format="yyyy-MM-dd"></c-date-picker>
value-format="yyyy-MM-dd" </c-col>
></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.infcon.opndatto"
style="width: 100%"
placeholder="请选择Open Date to"
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -71,61 +42,36 @@ ...@@ -71,61 +42,36 @@
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Select Single Party" prop="infcon.pty.extkey">
label="Select Single Party" <c-input v-model="model.infcon.pty.extkey" maxlength="24"
prop="infcon.pty.extkey" placeholder="请输入Select Single Party"></c-input>
>
<c-input
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入Select Single Party"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Party Name" prop="infcon.pty.nam">
label="Party Name" <c-input v-model="model.infcon.pty.nam" maxlength="40"
prop="infcon.pty.nam" placeholder="请输入Party Name"></c-input>
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入Party Name"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Party Name/BIC" prop="infcon.seapty">
label="Party Name/BIC" <c-input v-model="model.infcon.seapty" maxlength="24"
prop="infcon.seapty" placeholder="请输入Party Name/BIC"></c-input>
>
<c-input
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入Party Name/BIC"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Role" prop="infcon.searol">
label="Role" <c-select v-model="model.infcon.searol" style="width: 100%"
prop="infcon.searol" placeholder="请选择Role" :code="codes.payrol">
>
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择Role"
:code="codes.payrol"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <!--
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="Opening between" label="Opening between"
...@@ -141,27 +87,15 @@ ...@@ -141,27 +87,15 @@
</c-col> --> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Party Reference" prop="infcon.searef">
label="Party Reference" <c-input v-model="model.infcon.searef" maxlength="16"
prop="infcon.searef" placeholder="请输入Party Reference"></c-input>
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Amount to" prop="infcon.seaamtto">
label="Amount to" <c-input v-model="model.infcon.seaamtto" placeholder="请输入Amount to"></c-input>
prop="infcon.seaamtto"
>
<c-input
v-model="model.infcon.seaamtto"
placeholder="请输入Amount to"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -182,44 +116,24 @@ ...@@ -182,44 +116,24 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="User ID" prop="infcon.usr.extkey">
label="User ID" <c-input v-model="model.infcon.usr.extkey" maxlength="8"
prop="infcon.usr.extkey" placeholder="请输入User ID"></c-input>
>
<c-input
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Status" prop="infcon.seasta">
label="Status" <c-select v-model="model.infcon.seasta" style="width: 100%"
prop="infcon.seasta" placeholder="请选择Status" :code="codes.seasta">
>
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择Status"
:code="codes.seasta"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Currency" prop="infcon.seacur">
label="Currency" <c-select v-model="model.infcon.seacur" style="width: 100%"
prop="infcon.seacur" placeholder="请选择Currency" :code="codes.curtxt1">
>
<c-select
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择Currency"
:code="codes.curtxt1"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -227,56 +141,32 @@ ...@@ -227,56 +141,32 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Amount between" prop="infcon.seaamtfr">
label="Amount between" <c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between">
prop="infcon.seaamtfr" </c-input>
>
<c-input
v-model="model.infcon.seaamtfr"
placeholder="请输入Amount between"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="是否通过电证系统" prop="elcflg">
label="是否通过电证系统" <c-select v-model="model.elcflg" style="width: 100%" placeholder="请选择是否通过电证系统"
prop="elcflg" :code="codes.elcflg">
>
<c-select
v-model="model.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
:code="codes.elcflg"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="">
label="" <c-checkbox v-model="model.infcon.forflg">转卖单据</c-checkbox>
>
<c-checkbox
v-model="model.infcon.forflg"
>转卖单据</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Document Type" prop="seadoctypcod">
label="Document Type" <c-select v-model="model.seadoctypcod" style="width: 100%"
prop="seadoctypcod" placeholder="请选择Document Type" :code="codes.brdtyp">
>
<c-select
v-model="model.seadoctypcod"
style="width: 100%"
placeholder="请选择Document Type"
:code="codes.brdtyp"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -300,79 +190,44 @@ ...@@ -300,79 +190,44 @@
--> -->
<c-col :span="24"> <c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column <el-table-column fixed="right" prop="op" label="操作" width="150px">
fixed="right"
prop="op"
label="操作"
width="150px"
>
<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-button icon="el-icon-s-tools"></c-button>
<c-col :span="12" style="text-align: right" </c-col>
><c-button icon="el-icon-s-tools"></c-button
></c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-popover <el-popover placement="top-start" title="历史信息" width="800" trigger="click"
placement="top-start" :ref="'popover_' + scope.row.IDX">
title="历史信息" <div style="
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right; text-align: right;
margin-top: -30px; margin-top: -30px;
margin-right: 5px; margin-right: 5px;
font-size: 16px; font-size: 16px;
" ">
> <span class="el-icon-close" @click="
<span closeTrn('popover_' + scope.row.IDX)
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" <el-table-column prop="op" label="操作" width="0">
:columns="trnData.columns"
>
<el-table-column
prop="op"
label="操作"
width="0"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button <c-button style="margin-left: 0" size="small"
style="margin-left: 0" @click="display(scope.row['INR'])">
size="small"
@click="display(scope.row['INR'])"
>
详情 详情
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
<c-button <c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)"
style="margin-left: 0" slot="reference">
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情 详情
</c-button> </c-button>
</el-popover> </el-popover>
<c-button <c-button style="margin-left: 0" size="small" type="primary"
style="margin-left: 0" @click="getButtons(scope.row['Reference'])">
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理 处理
</c-button> </c-button>
<!-- <!--
...@@ -447,8 +302,8 @@ ...@@ -447,8 +302,8 @@
</c-col> </c-col>
</c-row> </c-row>
--> -->
<m-busbtn ref="childs" :ownref="ownref" trnCode="detsel" ownrefPath="bfdgrp" tabIndex=3 :model="detselModel" @onChoose="onChoose"></m-busbtn <m-busbtn ref="childs" :ownref="ownref" trnCode="detsel" ownrefPath="bfdgrp" tabIndex=3 :model="detselModel"
> @onChoose="onChoose"></m-busbtn>
</div> </div>
</template> </template>
...@@ -469,7 +324,7 @@ export default { ...@@ -469,7 +324,7 @@ export default {
components: { "m-busbtn": BusNavbar }, components: { "m-busbtn": BusNavbar },
data() { data() {
return { return {
detselModel:new DetselModel().data, detselModel: new DetselModel().data,
ownref: "", ownref: "",
initdialog: false, initdialog: false,
dialogTableVisible: false, dialogTableVisible: false,
...@@ -501,8 +356,8 @@ export default { ...@@ -501,8 +356,8 @@ export default {
'4 12 "Opened" 150 ', '4 12 "Opened" 150 ',
'5 13 "Closed" 150 ', '5 13 "Closed" 150 ',
'14 14 "Cur" 50 ', '14 14 "Cur" 50 ',
'16 15 "Cur" 50 ', '15 15 "Doc.Amount" 150 ',
'15 16 "Doc.Amount" 150 ', '16 16 "Cur" 50 ',
'17 17 "Open Amount" 150 ', '17 17 "Open Amount" 150 ',
], ],
data: [], data: [],
...@@ -510,7 +365,7 @@ export default { ...@@ -510,7 +365,7 @@ export default {
}; };
}, },
/* /*
computed: { computed: {
tableData() { tableData() {
// "10000449\t2000007350\t2000007350-001\tBEIJING TESTTEST,BEIJING, CHINA\t\t100080\tBEIJING, CHINA\tTEST TEST1 CO.,LTD." // "10000449\t2000007350\t2000007350-001\tBEIJING TESTTEST,BEIJING, CHINA\t\t100080\tBEIJING, CHINA\tTEST TEST1 CO.,LTD."
console.log(this.model.infbut.dspstm.rows) console.log(this.model.infbut.dspstm.rows)
...@@ -520,20 +375,20 @@ export default { ...@@ -520,20 +375,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) {
...@@ -552,6 +407,6 @@ export default { ...@@ -552,6 +407,6 @@ export default {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
}, },
created: function () {}, created: function () { },
}; };
</script> </script>
...@@ -696,8 +696,8 @@ export default { ...@@ -696,8 +696,8 @@ export default {
'5 11 "Expired" 150 ', '5 11 "Expired" 150 ',
'6 12 "Closed" 150 ', '6 12 "Closed" 150 ',
'13 13 "Cur" 150 ', '13 13 "Cur" 150 ',
'15 14 "Cur" 150 ', '15 15 "Cur" 150 ',
'14 15 "L/C Amount" 150 ', '14 14 "L/C Amount" 150 ',
'16 16 "Open Amount" 150 ', '16 16 "Open Amount" 150 ',
], ],
data: [], data: [],
......
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