Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
fa08df65
Commit
fa08df65
authored
Jul 25, 2023
by
闫泽浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letdrw获取单据编号
parent
b64312d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
4 deletions
+24
-4
index.js
src/business/letdrw/event/index.js
+14
-0
Drv.vue
src/business/letdrw/views/Drv.vue
+10
-4
No files found.
src/business/letdrw/event/index.js
View file @
fa08df65
...
...
@@ -139,6 +139,20 @@ export default {
this
.
model
.
ledgrp
.
rec
.
ownref
=
res
.
data
;
}
},
//获取单据编号
async
getBedgrpOwnref
()
{
let
params
=
{
ptainr
:
this
.
model
.
ledgrp
.
ben
.
pts
.
ptainr
,
businessType
:
'BP'
,
tbl
:
'BP'
,
};
const
loading
=
this
.
loading
();
let
res
=
await
Api
.
post
(
'/service/letdrw/getOwnRef'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
loading
.
close
();
this
.
model
.
Bedgrp
.
rec
.
ownref
=
res
.
data
;
}
},
// 获取gitopn弹框表格数据
async
queryGridEtyPromptDialogData
(
type
,
ptytyp
)
{
let
params
=
{
...
...
src/business/letdrw/views/Drv.vue
View file @
fa08df65
...
...
@@ -193,10 +193,16 @@
disabled
></c-input>
<template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
:disabled=
"model.bedgrp.rec.ownref!=''||model.ledgrp.rec.ownref==''"
>
Get Ref
</c-button>
<c-button
style=
"margin: 0 0"
size=
"small"
type=
"primary"
:disabled=
"
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref? false: true"
@
click=
"getBedgrpOwnref"
>
获取
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment