Commit 0237085c by liaoxing

获取单据编号

parent cb988311
......@@ -122,6 +122,20 @@ export default {
this.model.gidgrp.rec.ownref = res.data;
}
},
// 业务信息=》基本信息=》单据编号-----获取单据编号
async getBedgrpOwnRef() {
let params = {
ledgrp:{
rec: this.model.bedgrp.rec,
}
};
const loading = this.loading();
let res = await Api.post('/service/letdav/getBedgrpOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.bedgrp.rec.ownref = res.data;
}
},
// 获取letdrv弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
......
......@@ -231,6 +231,8 @@
style="margin: 0 0"
size="small"
type="primary"
@click="getBedgrpOwnRef"
:disabled="model.bedgrp.rec.ownref !== ''"
>
获取
</c-button>
......
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