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
0c1a3d25
Commit
0c1a3d25
authored
Jul 11, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除console.log
parent
4ffa20cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
enterboundTwo.vue
src/views/template/enterboundTwo.vue
+0
-7
outcomeWmsApply.vue
src/views/template/outcomeWmsApply.vue
+0
-10
No files found.
src/views/template/enterboundTwo.vue
View file @
0c1a3d25
...
@@ -544,7 +544,6 @@ export default {
...
@@ -544,7 +544,6 @@ export default {
next
()
next
()
},
},
created
()
{
created
()
{
console
.
log
(
'manufacturer'
,
manufacturer
)
this
.
manufacturer
=
manufacturer
this
.
manufacturer
=
manufacturer
if
(
this
.
$store
.
getters
.
searchParams
[
this
.
$route
.
path
])
{
if
(
this
.
$store
.
getters
.
searchParams
[
this
.
$route
.
path
])
{
const
{
searchParams
}
=
this
.
$store
.
getters
const
{
searchParams
}
=
this
.
$store
.
getters
...
@@ -558,7 +557,6 @@ export default {
...
@@ -558,7 +557,6 @@ export default {
},
},
methods
:
{
methods
:
{
handleChange
()
{
handleChange
()
{
console
.
log
(
'dateRange'
,
this
.
dateRange
)
if
(
this
.
dateRange
!==
null
)
{
if
(
this
.
dateRange
!==
null
)
{
this
.
queryParams
.
beginTime
=
this
.
dateRange
[
0
]
+
' 00:00:00'
this
.
queryParams
.
beginTime
=
this
.
dateRange
[
0
]
+
' 00:00:00'
this
.
queryParams
.
endTime
=
this
.
dateRange
[
1
]
+
' 23:59:59'
this
.
queryParams
.
endTime
=
this
.
dateRange
[
1
]
+
' 23:59:59'
...
@@ -566,7 +564,6 @@ export default {
...
@@ -566,7 +564,6 @@ export default {
this
.
queryParams
.
beginTime
=
''
this
.
queryParams
.
beginTime
=
''
this
.
queryParams
.
endTime
=
''
this
.
queryParams
.
endTime
=
''
}
}
console
.
log
(
'queryParams'
,
this
.
queryParams
)
},
},
/** 跟据ID获取label*/
/** 跟据ID获取label*/
getDataDictLabel
(
whId
)
{
getDataDictLabel
(
whId
)
{
...
@@ -582,7 +579,6 @@ export default {
...
@@ -582,7 +579,6 @@ export default {
this
.
loading
=
true
this
.
loading
=
true
listIncomeInoutWmsLog
(
this
.
queryParams
).
then
(
listIncomeInoutWmsLog
(
this
.
queryParams
).
then
(
response
=>
{
response
=>
{
console
.
log
(
response
)
this
.
incomeInoutWmsLogList
=
response
.
rows
this
.
incomeInoutWmsLogList
=
response
.
rows
this
.
total
=
response
.
total
this
.
total
=
response
.
total
this
.
loading
=
false
this
.
loading
=
false
...
@@ -598,9 +594,7 @@ export default {
...
@@ -598,9 +594,7 @@ export default {
this
.
isShow
=
false
this
.
isShow
=
false
}
}
})
})
console
.
log
(
row
)
this
.
singleDetails
=
row
this
.
singleDetails
=
row
console
.
log
(
this
.
singleDetails
)
this
.
title
=
'详情信息'
this
.
title
=
'详情信息'
this
.
isShow
=
true
this
.
isShow
=
true
this
.
openDetails
=
!
this
.
openDetails
this
.
openDetails
=
!
this
.
openDetails
...
@@ -633,7 +627,6 @@ export default {
...
@@ -633,7 +627,6 @@ export default {
},
},
getwareHouse
()
{
getwareHouse
()
{
getDicts
(
'WAREHOUSE'
).
then
(
res
=>
{
getDicts
(
'WAREHOUSE'
).
then
(
res
=>
{
console
.
log
(
'仓库数据字典'
,
res
)
this
.
warehouseList
=
res
.
data
this
.
warehouseList
=
res
.
data
const
whId
=
res
.
data
[
0
].
dictValue
const
whId
=
res
.
data
[
0
].
dictValue
this
.
form
.
whId
=
whId
this
.
form
.
whId
=
whId
...
...
src/views/template/outcomeWmsApply.vue
View file @
0c1a3d25
...
@@ -643,7 +643,6 @@ export default {
...
@@ -643,7 +643,6 @@ export default {
},
},
methods
:
{
methods
:
{
handleChange
()
{
handleChange
()
{
console
.
log
(
'dateRange'
,
this
.
dateRange
)
if
(
this
.
dateRange
!==
null
)
{
if
(
this
.
dateRange
!==
null
)
{
this
.
queryParams
.
beginTime
=
this
.
dateRange
[
0
]
+
' 00:00:00'
this
.
queryParams
.
beginTime
=
this
.
dateRange
[
0
]
+
' 00:00:00'
this
.
queryParams
.
endTime
=
this
.
dateRange
[
1
]
+
' 23:59:59'
this
.
queryParams
.
endTime
=
this
.
dateRange
[
1
]
+
' 23:59:59'
...
@@ -651,7 +650,6 @@ export default {
...
@@ -651,7 +650,6 @@ export default {
this
.
queryParams
.
beginTime
=
''
this
.
queryParams
.
beginTime
=
''
this
.
queryParams
.
endTime
=
''
this
.
queryParams
.
endTime
=
''
}
}
console
.
log
(
'queryParams'
,
this
.
queryParams
)
},
},
/* 获取数据字典中的值*/
/* 获取数据字典中的值*/
getDataDictLabel
(
whId
)
{
getDataDictLabel
(
whId
)
{
...
@@ -722,7 +720,6 @@ export default {
...
@@ -722,7 +720,6 @@ export default {
},
},
getwareHouse
()
{
getwareHouse
()
{
getDicts
(
'WAREHOUSE'
).
then
(
res
=>
{
getDicts
(
'WAREHOUSE'
).
then
(
res
=>
{
console
.
log
(
'仓库数据字典'
,
res
)
this
.
warehouseList
=
res
.
data
this
.
warehouseList
=
res
.
data
const
whId
=
res
.
data
[
0
].
dictValue
const
whId
=
res
.
data
[
0
].
dictValue
this
.
form
.
whId
=
whId
this
.
form
.
whId
=
whId
...
@@ -769,7 +766,6 @@ export default {
...
@@ -769,7 +766,6 @@ export default {
this
.
formPn
=
response
.
data
this
.
formPn
=
response
.
data
this
.
formPn
.
whId
=
response
.
data
.
whId
this
.
formPn
.
whId
=
response
.
data
.
whId
this
.
$set
(
this
.
formPn
,
'qty1'
,
response
.
data
.
qty
/
10
)
this
.
$set
(
this
.
formPn
,
'qty1'
,
response
.
data
.
qty
/
10
)
console
.
log
(
this
.
formPn
.
qty1
)
this
.
openGain
=
true
this
.
openGain
=
true
this
.
title
=
'修改领用申请'
this
.
title
=
'修改领用申请'
}
else
if
(
response
.
data
.
pn
===
'NB-Y'
)
{
}
else
if
(
response
.
data
.
pn
===
'NB-Y'
)
{
...
@@ -836,7 +832,6 @@ export default {
...
@@ -836,7 +832,6 @@ export default {
this
.
getList
()
this
.
getList
()
})
})
}
else
{
}
else
{
console
.
log
(
'this.form:'
,
this
.
form
)
addOutcomeWmsApply
(
this
.
form
).
then
(
response
=>
{
addOutcomeWmsApply
(
this
.
form
).
then
(
response
=>
{
this
.
msgSuccess
(
'新增成功'
)
this
.
msgSuccess
(
'新增成功'
)
this
.
open
=
false
this
.
open
=
false
...
@@ -851,7 +846,6 @@ export default {
...
@@ -851,7 +846,6 @@ export default {
submitFormPn
:
function
()
{
submitFormPn
:
function
()
{
this
.
$refs
[
'formPn'
].
validate
(
valid
=>
{
this
.
$refs
[
'formPn'
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
console
.
log
(
'this.formPn'
,
this
.
formPn
)
if
(
this
.
formPn
.
businessId
!==
undefined
&&
this
.
formPn
.
businessId
)
{
if
(
this
.
formPn
.
businessId
!==
undefined
&&
this
.
formPn
.
businessId
)
{
const
qtyList
=
[
const
qtyList
=
[
{
qty1
:
this
.
formPn
.
qty1
},
{
qty1
:
this
.
formPn
.
qty1
},
...
@@ -877,14 +871,12 @@ export default {
...
@@ -877,14 +871,12 @@ export default {
const
qtyValue
=
item
.
qty1
||
item
.
qty2
||
item
.
qty3
||
item
.
qty4
const
qtyValue
=
item
.
qty1
||
item
.
qty2
||
item
.
qty3
||
item
.
qty4
return
qtyValue
*
multiplier
// 返回乘以乘数后的值
return
qtyValue
*
multiplier
// 返回乘以乘数后的值
})
})
console
.
log
(
Qty
)
const
newQty
=
Qty
[
0
]
const
newQty
=
Qty
[
0
]
const
obj
=
{
const
obj
=
{
qty
:
newQty
,
qty
:
newQty
,
whId
:
this
.
formPn
.
whId
,
whId
:
this
.
formPn
.
whId
,
businessId
:
this
.
formPn
.
businessId
businessId
:
this
.
formPn
.
businessId
}
}
console
.
log
(
obj
)
updateOutcomeWmsApply
(
obj
).
then
(
response
=>
{
updateOutcomeWmsApply
(
obj
).
then
(
response
=>
{
this
.
msgSuccess
(
'修改成功'
)
this
.
msgSuccess
(
'修改成功'
)
this
.
openGain
=
false
this
.
openGain
=
false
...
@@ -934,7 +926,6 @@ export default {
...
@@ -934,7 +926,6 @@ export default {
const
obj
=
{
const
obj
=
{
boxList
:
itemQty
boxList
:
itemQty
}
}
console
.
log
(
'this.boxList:'
,
obj
)
addOutcomeWmsApplyPtype
(
obj
).
then
(
response
=>
{
addOutcomeWmsApplyPtype
(
obj
).
then
(
response
=>
{
this
.
msgSuccess
(
'新增成功'
)
this
.
msgSuccess
(
'新增成功'
)
this
.
open
=
false
this
.
open
=
false
...
@@ -1005,7 +996,6 @@ export default {
...
@@ -1005,7 +996,6 @@ export default {
}
}
})
})
this
.
singleDetails
=
row
this
.
singleDetails
=
row
console
.
log
(
'row'
,
row
)
this
.
title
=
'详情信息'
this
.
title
=
'详情信息'
this
.
openDetails
=
!
this
.
openDetails
this
.
openDetails
=
!
this
.
openDetails
this
.
isShow
=
!
this
.
isShow
this
.
isShow
=
!
this
.
isShow
...
...
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