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
fba06273
Commit
fba06273
authored
Aug 24, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
3a9231f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
wcporder.vue
src/views/template/wcporder.vue
+15
-3
No files found.
src/views/template/wcporder.vue
View file @
fba06273
...
...
@@ -253,7 +253,7 @@
</el-table-column>
<el-table-column
label=
"pallet"
prop=
"pallet"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
pallet
||
'-'
}}
{{
buttonLable
(
scope
.
row
.
pallet
)
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"payTerms"
prop=
"payTerms"
:show-overflow-tooltip=
"true"
>
...
...
@@ -511,10 +511,12 @@ import commonField from '@/utils/commonField'
import
{
getToken
}
from
'@/utils/auth'
import
{
getDownloadTemplate
}
from
'@/api/outcomeWmsJbapplyTemp'
import
{
Loading
}
from
'element-ui'
import
{
getDicts
}
from
'@/api/system/dict/data'
export
default
{
name
:
'WcpOrder'
,
data
()
{
return
{
palletList
:
[],
dateRange
:
[],
orderSn
:
''
,
Value
:
[],
...
...
@@ -642,9 +644,19 @@ export default {
this
.
queryParams
=
{
...
param
}
}
this
.
getList
()
// 列表查询
// this.handleDetail
()
this
.
getPallet
()
},
methods
:
{
getPallet
()
{
getDicts
(
'WCP_ORDER_PALLET'
).
then
(
res
=>
{
console
.
log
(
'dict'
,
res
)
this
.
palletList
=
res
.
data
})
},
buttonLable
(
data
)
{
const
lable
=
this
.
palletList
.
find
(
item
=>
item
.
dictValue
===
data
)
return
lable
?
lable
.
dictLabel
:
''
},
/** 查询order列表 */
getList
()
{
this
.
loading
=
true
...
...
@@ -996,10 +1008,10 @@ export default {
this
.
PdList
=
response
.
data
this
.
$message
({
message
:
'开始盘点...'
,
type
:
'success'
})
this
.
dispenseOpen
=
false
loadingInstance
.
close
()
this
.
getList
()
}
})
loadingInstance
.
close
()
}).
catch
(()
=>
{
this
.
$message
({
message
:
'取消开始盘点'
,
type
:
'info'
})
})
...
...
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