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
dbbb44f2
Commit
dbbb44f2
authored
Aug 20, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
9c9bf48e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
21 deletions
+22
-21
wcporder.vue
src/views/template/wcporder.vue
+22
-21
No files found.
src/views/template/wcporder.vue
View file @
dbbb44f2
...
...
@@ -441,7 +441,7 @@
</div>
</el-dialog>
<!-- 分配-->
<el-dialog
class=
"dispenseDialog"
v-loading=
"loadingPd
"
:title=
"title"
:visible
.
sync=
"dispenseOpen"
width=
"500px"
append-to-body
:close-on-click-modal=
"false"
>
<el-dialog
v-loading=
"loadingPd"
class=
"dispenseDialog
"
:title=
"title"
:visible
.
sync=
"dispenseOpen"
width=
"500px"
append-to-body
:close-on-click-modal=
"false"
>
<el-form
ref=
"formDetails"
:model=
"dispense"
size=
"small"
label-width=
"90px"
>
<el-form-item
label=
"ordersn:"
prop=
"orderSn"
>
{{ dispense.orderSn }}
...
...
@@ -505,6 +505,7 @@ import {
import
commonField
from
'@/utils/commonField'
import
{
getToken
}
from
'@/utils/auth'
import
{
getDownloadTemplate
}
from
'@/api/outcomeWmsJbapplyTemp'
import
{
Loading
}
from
'element-ui'
export
default
{
name
:
'WcpOrder'
,
data
()
{
...
...
@@ -925,23 +926,23 @@ export default {
this
.
dispensePd
.
valuePd
=
this
.
dispensePd
.
listPd
[
0
].
value
console
.
log
(
'this.dispensePd.listPd[0].value'
,
this
.
dispensePd
.
listPd
)
}
const
queryParams
=
{
userId
:
this
.
dispensePd
.
listPd
[
0
].
value
,
businessId
:
this
.
PdId
,
page
:
this
.
queryPd
.
page
,
rows
:
this
.
queryPd
.
rows
}
console
.
log
(
'queryParams'
,
queryParams
)
listWcpOrderPd
(
queryParams
).
then
(
response
=>
{
this
.
queryPd
.
PdList
=
response
.
data
.
records
this
.
Pdtotal
=
response
.
data
.
total
this
.
title
=
'盘点'
this
.
open
=
true
})
if
(
this
.
open
===
false
)
{
this
.
queryPd
.
page
=
1
}
})
const
queryParams
=
{
userId
:
this
.
dispensePd
.
listPd
[
0
].
value
,
businessId
:
this
.
PdId
,
page
:
this
.
queryPd
.
page
,
rows
:
this
.
queryPd
.
rows
}
console
.
log
(
'queryParams'
,
queryParams
)
listWcpOrderPd
(
queryParams
).
then
(
response
=>
{
this
.
queryPd
.
PdList
=
response
.
data
.
records
this
.
Pdtotal
=
response
.
data
.
total
this
.
title
=
'盘点'
this
.
open
=
true
})
if
(
this
.
open
===
false
)
{
this
.
queryPd
.
page
=
1
}
},
handleDispense
(
row
)
{
this
.
dispense
.
Value
=
''
...
...
@@ -975,22 +976,22 @@ export default {
// }
// const listValues = new Set(this.list)
// const newList = this.dispense.Value.filter(value => !listValues.has(value))
const
values
=
[...
new
Set
(
this
.
dispense
.
Value
)]
console
.
log
(
'values'
,
values
)
const
data
=
{
businessId
:
this
.
businessId
,
// Value: this.dispense.Value
.filter(value => !listValues.has(value))
Value
:
this
.
dispense
.
Value
// Value: this.dispense.Value
Value
:
values
}
this
.
$confirm
(
'确认要开始盘点吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
loadingPd
=
true
wcpOrderPd
(
data
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
PdList
=
response
.
data
this
.
$message
({
message
:
'开始盘点...'
,
type
:
'success'
})
this
.
loadingPd
=
false
this
.
dispenseOpen
=
false
this
.
getList
()
}
...
...
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