Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
胡宝山
template_vue
Commits
7b8054c8
Commit
7b8054c8
authored
Jul 11, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情 导出 bug
parent
c9e9aa83
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
8 deletions
+40
-8
outcomeWmsApply.js
src/api/outcomeWmsApply.js
+9
-0
outcomeWmsJbapplyTemp.js
src/api/outcomeWmsJbapplyTemp.js
+12
-3
outcomeWmsApply.vue
src/views/template/outcomeWmsApply.vue
+11
-3
outcomeWmsJbapplyTemp.vue
src/views/template/outcomeWmsJbapplyTemp.vue
+8
-2
No files found.
src/api/outcomeWmsApply.js
View file @
7b8054c8
...
...
@@ -35,6 +35,15 @@ export function findOutcomeWmsApply(businessId) {
method
:
'get'
})
}
export
function
findWmsApply
(
query
)
{
return
request
({
url
:
'/outcomewmsapply/detailNew/'
,
method
:
'get'
,
params
:
query
})
}
// 3. 新增????
export
function
addOutcomeWmsApply
(
data
)
{
data
=
Qs
.
stringify
(
data
)
...
...
src/api/outcomeWmsJbapplyTemp.js
View file @
7b8054c8
...
...
@@ -18,12 +18,21 @@ export function listOutcomeWmsJbapplyTemp(query) {
params
:
query
})
}
export
function
listOutTemp
(
businessId
)
{
// export function listOutTemp(businessId) {
// return request({
// url: '/outcomewmsjbapplytemp/detailOut/' + businessId,
// method: 'get'
// })
// }
export
function
findListOutTemp
(
query
)
{
return
request
({
url
:
'/outcomewmsjbapplytemp/detailOut/'
+
businessId
,
method
:
'get'
url
:
'/outcomewmsjbapplytemp/detailOut/'
,
method
:
'get'
,
params
:
query
})
}
export
function
getOutcomeWmsJbapplyTemp
(
businessId
)
{
return
request
({
url
:
'/outcomewmsjbapplytemp/detail/'
+
businessId
,
...
...
src/views/template/outcomeWmsApply.vue
View file @
7b8054c8
...
...
@@ -429,7 +429,7 @@ import {
getOutcomeWmsApply
,
delOutcomeWmsApply
,
addOutcomeWmsApply
,
updateOutcomeWmsApply
,
exportOutcomeWmsApply
,
addOutcomeWmsApplyPtype
,
findOutcomeWmsApply
updateOutcomeWmsApply
,
exportOutcomeWmsApply
,
addOutcomeWmsApplyPtype
,
findOutcomeWmsApply
,
findWmsApply
}
from
'@/api/outcomeWmsApply'
import
commonField
from
'@/utils/commonField'
import
{
getDicts
}
from
'@/api/system/dict/data'
...
...
@@ -597,7 +597,11 @@ export default {
qty
:
[
{
required
:
true
,
message
:
'请输入qty的值'
,
trigger
:
'blur'
},
{
pattern
:
/^
(
0|
[
1-9
]\d
*
)
$/
,
message
:
'输入值不符合格式要求,请重新输入'
,
trigger
:
'blur'
}
]
],
qty1
:
[{
pattern
:
/^
(
0|
[
1-9
]\d
*
)
$/
,
message
:
'输入值不符合格式要求,请重新输入'
,
trigger
:
'blur'
}],
qty2
:
[{
pattern
:
/^
(
0|
[
1-9
]\d
*
)
$/
,
message
:
'输入值不符合格式要求,请重新输入'
,
trigger
:
'blur'
}],
qty3
:
[{
pattern
:
/^
(
0|
[
1-9
]\d
*
)
$/
,
message
:
'输入值不符合格式要求,请重新输入'
,
trigger
:
'blur'
}],
qty4
:
[{
pattern
:
/^
(
0|
[
1-9
]\d
*
)
$/
,
message
:
'输入值不符合格式要求,请重新输入'
,
trigger
:
'blur'
}]
}
}
},
...
...
@@ -991,7 +995,11 @@ export default {
// 详情
handleDetail
(
row
)
{
const
id
=
row
.
businessId
getOutcomeWmsApply
(
id
).
then
(
response
=>
{
const
item
=
{
businessId
:
id
,
ptype
:
row
.
ptype
}
findWmsApply
(
item
).
then
(
response
=>
{
if
(
response
.
data
.
length
>
0
)
{
this
.
outTempList
=
response
.
data
this
.
singleDetails
.
createName
=
row
.
createName
...
...
src/views/template/outcomeWmsJbapplyTemp.vue
View file @
7b8054c8
...
...
@@ -543,7 +543,7 @@ import {
importJbapplyExcel
,
queryByPnAndPtypeAndLot
,
acquireOrderByCode
,
l
istOutTemp
findL
istOutTemp
}
from
'@/api/outcomeWmsJbapplyTemp'
import
commonField
from
'@/utils/commonField'
import
{
getDicts
}
from
'@/api/system/dict/data'
...
...
@@ -896,7 +896,13 @@ export default {
// 获取所选行详情信息操作
handleDetail
(
row
)
{
const
id
=
row
.
businessId
listOutTemp
(
id
).
then
(
response
=>
{
const
ptype
=
row
.
ptype
const
data
=
{
businessId
:
id
,
ptype
:
ptype
}
console
.
log
(
data
)
findListOutTemp
(
data
).
then
(
response
=>
{
if
(
response
.
data
.
length
>
0
)
{
this
.
outTempList
=
response
.
data
this
.
isShow
=
true
...
...
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