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
eeab8c22
Commit
eeab8c22
authored
Jun 16, 2023
by
xionglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
litdck多笔到单单据问题
parent
72ba0cef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
2 deletions
+55
-2
index.js
src/business/inflid/event/index.js
+28
-1
Infsea.vue
src/business/inflid/views/Infsea.vue
+18
-0
index.js
src/business/litdck/event/index.js
+9
-1
No files found.
src/business/inflid/event/index.js
View file @
eeab8c22
...
...
@@ -126,10 +126,28 @@ export default {
}
}
},
handleClick
(
btn
)
{
async
handleClick
(
btn
)
{
if
(
btn
.
value
===
'N'
)
{
return
}
if
(
btn
.
label
==
'到单'
)
{
const
inr
=
this
.
currentHandleRow
.
inr
const
res
=
await
Api
.
post
(
`/service/litdck/findLitdck?inr=
${
inr
}
`
);
this
.
dckData
=
res
.
data
;
if
(
res
.
data
.
length
>
1
)
{
this
.
$confirm
(
'该笔信用证有多笔通知到单单据,是否选择其中一条?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
litdckdialog
=
true
}).
catch
(()
=>
{
this
.
litdckdialog
=
false
});
return
}
}
let
filterRoute
=
this
.
btnRouteMap
.
filter
((
item
)
=>
{
return
item
.
label
===
btn
.
label
})
...
...
@@ -156,6 +174,15 @@ export default {
window
.
open
(
viewurl
,
'newwindow'
,
'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'
);
}
});
},
checkData
(
row
){
this
.
$router
.
history
.
push
({
path
:
'/business-new/litdck'
,
query
:
{
inr
:
this
.
currentHandleRow
.
inr
,
brdinr
:
row
.
inr
}
});
}
},
};
src/business/inflid/views/Infsea.vue
View file @
eeab8c22
...
...
@@ -239,6 +239,17 @@
</div>
</div>
</el-dialog>
<el-dialog
:visible
.
sync=
"litdckdialog"
>
<el-table
:data=
"dckData"
:columns=
"dckColumns"
style=
"width:100%"
@
row-dblclick=
"checkData"
>
<el-table-column
v-for=
"(item, key) in dckColumns"
:key=
"key"
:label=
"item.label"
:prop=
"item.prop"
>
</el-table-column>
</el-table>
</el-dialog>
<!-- <m-busbtn ref="childs" :ownref="ownref" trnCode="litsel" :model="litselModel" ownrefPath="lidget.lid.ownref">
</m-busbtn> -->
...
...
@@ -256,6 +267,13 @@ export default {
return
{
ownref
:
""
,
isGuarantee
:
""
,
litdckdialog
:
false
,
dckData
:[],
dckColumns
:
[
{
label
:
'inr'
,
prop
:
'inr'
,
width
:
'120'
},
{
label
:
'单据申请号'
,
prop
:
'ownref'
,
width
:
'120'
},
{
label
:
'Nam'
,
prop
:
'nam'
,
width
:
'120'
}
],
// 表格相关
stmData
:
{
columns
:
[
...
...
src/business/litdck/event/index.js
View file @
eeab8c22
...
...
@@ -22,7 +22,15 @@ export default {
...
doctre
,
async
init
()
{
const
params
=
{
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
))
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
brdgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
brdinr
}
}
}
if
(
typeof
(
this
.
$route
.
query
.
brdinr
)
==
'undefined'
)
{
params
.
brdgrp
.
rec
.
inr
=
null
}
const
res
=
await
Api
.
post
(
'/service/litdck/init'
,
{
...
params
,
...
...
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