Commit 1cd8fb9f by zhengxiaokui

letopn

parent e5d81b5f
...@@ -5,15 +5,18 @@ export default { ...@@ -5,15 +5,18 @@ export default {
async onLetpButgetref() { async onLetpButgetref() {
let rtnmsg = await this.executeRule("letp.butgetref") let rtnmsg = await this.executeRule("letp.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 this.model.ledgrp.rec.ownref = rtnmsg.data.ledgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
} }
else { else {
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("letp.benp.det")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-row>
<c-col :span="10"> <c-col :span="9">
<el-form-item label="业务编号" prop="ledgrp.rec.ownref"> <el-form-item label="业务编号" prop="ledgrp.rec.ownref">
<c-input <c-input
v-model="model.ledgrp.rec.ownref" v-model="model.ledgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Reference" placeholder="请输入Reference"
:disabled="model.ledgrp.ben.pts.extkey ? false : true" :disabled="true"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2"> <c-col :span="3">
<c-button size="small" type="primary" @click="onLetpButgetref"> <c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button
>
<c-button
size="small"
type="primary"
:disabled="model.ledgrp.ben.pts.extkey ? false : true"
@click="onLetpButgetref"
>
获取 获取
</c-button> </c-button>
</c-col> </c-col>
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`) showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
" "
@change="valueChange"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -49,11 +50,12 @@ ...@@ -49,11 +50,12 @@
> >
<c-input <c-input
type="textarea" type="textarea"
:rows="3" :rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk" v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入名称地址" placeholder="请输入名称地址"
:disabled="disabled"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -146,7 +148,15 @@ export default { ...@@ -146,7 +148,15 @@ export default {
onAplpDet() { onAplpDet() {
this.$emit("onAplpDet"); this.$emit("onAplpDet");
}, },
valueChange(val) {
if (this.onlySearch) return;
this.showGridPromptDialog(
`${this.argadr.grp}.${this.argadr.rol}.pts.extkey`
);
},
}, },
created: function () {}, created: function () {},
}; };
</script> </script>
......
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