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
fa14b8a7
Commit
fa14b8a7
authored
Aug 19, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
9b20b79c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
15 deletions
+5
-15
wcporder.vue
src/views/template/wcporder.vue
+5
-15
No files found.
src/views/template/wcporder.vue
View file @
fa14b8a7
...
@@ -251,11 +251,6 @@
...
@@ -251,11 +251,6 @@
<span>
{{
scope
.
row
.
pdCode
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
pdCode
||
'-'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"orderListId"
prop=
"orderListId"
width=
"100"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderListId
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"payTerms"
prop=
"payTerms"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"payTerms"
prop=
"payTerms"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
payTerms
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
payTerms
||
'-'
}}
</span>
...
@@ -619,15 +614,6 @@ export default {
...
@@ -619,15 +614,6 @@ export default {
return
commonField
return
commonField
}
}
},
},
watch
:
{
// 'openDetails': function(newValue, oldValue) {
// this.queryParamsNew = {
// page: 1,
// rows: 10,
// TempList: []
// }
// }
},
/** 路由离开前存储筛选条件*/
/** 路由离开前存储筛选条件*/
beforeRouteLeave
(
to
,
from
,
next
)
{
beforeRouteLeave
(
to
,
from
,
next
)
{
this
.
$store
.
dispatch
(
'searchSave/searchParamsSet'
,
{
this
.
$store
.
dispatch
(
'searchSave/searchParamsSet'
,
{
...
@@ -932,14 +918,16 @@ export default {
...
@@ -932,14 +918,16 @@ export default {
}))
}))
if
(
row
.
status
!==
'0'
)
{
if
(
row
.
status
!==
'0'
)
{
this
.
dispensePd
.
valuePd
=
this
.
dispensePd
.
listPd
[
0
].
value
this
.
dispensePd
.
valuePd
=
this
.
dispensePd
.
listPd
[
0
].
value
console
.
log
(
'this.dispensePd.listPd[0].value'
,
this
.
dispensePd
.
listPd
)
}
}
})
})
const
queryParams
=
{
const
queryParams
=
{
userId
:
this
.
dispensePd
.
valuePd
,
userId
:
this
.
dispensePd
.
listPd
[
0
].
value
,
businessId
:
this
.
PdId
,
businessId
:
this
.
PdId
,
page
:
this
.
queryPd
.
page
,
page
:
this
.
queryPd
.
page
,
rows
:
this
.
queryPd
.
rows
rows
:
this
.
queryPd
.
rows
}
}
console
.
log
(
'queryParams'
,
queryParams
)
listWcpOrderPd
(
queryParams
).
then
(
response
=>
{
listWcpOrderPd
(
queryParams
).
then
(
response
=>
{
this
.
queryPd
.
PdList
=
response
.
data
.
records
this
.
queryPd
.
PdList
=
response
.
data
.
records
this
.
Pdtotal
=
response
.
data
.
total
this
.
Pdtotal
=
response
.
data
.
total
...
@@ -1005,6 +993,7 @@ export default {
...
@@ -1005,6 +993,7 @@ export default {
},
},
handleEnd
()
{
handleEnd
()
{
const
id
=
this
.
businessId
const
id
=
this
.
businessId
console
.
log
(
'id'
,
id
)
this
.
$confirm
(
'确认要重新盘点吗?,<span style="color: red;">会删除盘点中的数据</span>'
,
'提示'
,
{
this
.
$confirm
(
'确认要重新盘点吗?,<span style="color: red;">会删除盘点中的数据</span>'
,
'提示'
,
{
dangerouslyUseHTMLString
:
true
,
dangerouslyUseHTMLString
:
true
,
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
@@ -1047,6 +1036,7 @@ export default {
...
@@ -1047,6 +1036,7 @@ export default {
rows
:
this
.
queryParamsNew
.
rows
,
rows
:
this
.
queryParamsNew
.
rows
,
businessId
:
this
.
PdId
businessId
:
this
.
PdId
}
}
console
.
log
(
'queryParams'
,
queryParams
)
listWcpOrderPd
(
queryParams
).
then
(
response
=>
{
listWcpOrderPd
(
queryParams
).
then
(
response
=>
{
this
.
queryPd
.
PdList
=
response
.
data
.
records
this
.
queryPd
.
PdList
=
response
.
data
.
records
this
.
Pdtotal
=
response
.
data
.
total
this
.
Pdtotal
=
response
.
data
.
total
...
...
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