Commit 1cd8fb9f by zhengxiaokui

letopn

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