Commit e7b624d7 by wangyanjiao

#228

parent d84ae767
...@@ -242,12 +242,10 @@ ...@@ -242,12 +242,10 @@
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" :model="BotselModel" ownrefPath="bodgrp" trnCode="botsel" <m-busbtn ref="childs" :ownref="ownref" :model="BotselModel" ownrefPath="bodgrp" trnCode="botsel"
@onChoose="onChoose">11</m-busbtn> @onChoose="onChoose">11</m-busbtn>
</div>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -311,37 +309,24 @@ export default { ...@@ -311,37 +309,24 @@ export default {
methods: { methods: {
...Event, ...Event,
async getButtons(ownref) { async getButtons(ownref) {
this.initdialog = true;
this.ownref = ownref this.ownref = ownref
console.log("ownref:" + ownref); this.$refs.childs.initdialog = true
setTimeout(() => { console.log("ownref:" +ownref);
this.$refs.childs.$emit("childmethods")
}, 10)
}, },
async onChoose(code) { async onChoose(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code)
this.initdialog = false; this.$refs.childs.initdialog = false
}, },
closeTrn(refId) { closeTrn(refId) {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
async getTrnInfo(idx, row) { async getTrnInfo(code) {
this.$router.history.push("/business/" + code)
this.model.infcon.objinr = row["INR"]; this.$refs.childs.initdialog = false
this.model.bodgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
console.log(rtnmsg);
console.log(this.model.infcon.chksubcon);
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
console.log(this.trnData.data);
}
}, },
async getDitSelInfo(idx, row) { async getDitSelInfo(idx, row) {
//TD中选中行触发 //TD中选中行触发
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<div style="float: right;"> <div style="float: right;">
<span class="add_del_button add_button" @click="addTableValue">+</span> <span class="add_del_button add_button" @click="addTableValue" v-if="ifShowAdd">+</span>
<span class="add_del_button" @click="deleteTable">-</span> <span class="add_del_button" @click="deleteTable" v-if="ifShowDelete">-</span>
</div> </div>
</c-col> </c-col>
</row> </row>
......
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