Commit a54434f5 by WH

缺陷修复

parent 162e1755
......@@ -108,12 +108,12 @@ export default {
console.log(key);
},
// 获取betdcr弹框表格数据
// 获取betsnd弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.brdgrp[type.toLowerCase()].pts.extkey,
extkey: this.model.bedgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
......@@ -122,14 +122,14 @@ export default {
this.root.promptData.type = type;
}
},
// 选中betdcr弹框表格的行数据
// 选中betsnd弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data);
this.$set(this.model.bedgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
......
......@@ -28,6 +28,8 @@
:noRef="true"
:onlySearch="true"
:disabledExtkey="!avbFlag"
@keyup.enter.native="
queryGridEtyPromptDialogData('AVB', 'B')"
>
</c-ptap>
</c-col>
......@@ -116,6 +118,8 @@
:isAdrblk="false"
:haveAdrLabel="false"
:disabled="blkDftatFlag"
@keyup.enter.native="
queryGridEtyPromptDialogData('DRW', '')"
>
</c-ptap>
</c-col>
......@@ -308,8 +312,6 @@
</div>
</template>
<script>
import Api from '~/service/Api'
import CodeTable from '~/config/CodeTable'
import Ptap from '~/views/Public/Ptap'
import event from "../event"
export default {
......
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