Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_pda_Web
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_pda_Web
Commits
9f7f990d
Commit
9f7f990d
authored
Jul 11, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除console.log
parent
3922937d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
38 deletions
+0
-38
applicationTable.vue
src/views/setup/applicationTable.vue
+0
-3
dispose.vue
src/views/setup/dispose.vue
+0
-2
warehousing.vue
src/views/setup/warehousing.vue
+0
-33
No files found.
src/views/setup/applicationTable.vue
View file @
9f7f990d
...
...
@@ -211,8 +211,6 @@ export default {
tempTypeList
.
push
(
item
.
type
)
}
})
console
.
log
(
'tempIndexList'
,
tempIndexList
)
console
.
log
(
'tempTypeList'
,
tempTypeList
)
if
(
tempIndexList
.
length
>
0
)
{
this
.
actionIndex
=
tempIndexList
[
1
]
}
...
...
@@ -247,7 +245,6 @@ export default {
businessId
:
item
.
businessId
}
validNumber
(
obj
).
then
(
res
=>
{
console
.
log
(
'res'
,
res
)
if
(
res
.
data
)
{
this
.
$router
.
push
({
path
:
'/setup/dispose'
,
...
...
src/views/setup/dispose.vue
View file @
9f7f990d
...
...
@@ -313,9 +313,7 @@ export default {
businessId
:
this
.
businessId
,
boxList
:
this
.
tableList
}
console
.
log
(
'参数'
,
obj
)
persistOut
(
obj
).
then
(
res
=>
{
console
.
log
(
'res'
,
res
)
if
(
res
.
code
===
200
)
{
this
.
$router
.
push
({
path
:
'/setup/applicationTable'
...
...
src/views/setup/warehousing.vue
View file @
9f7f990d
...
...
@@ -135,7 +135,6 @@ export default {
getWarehouseList
()
{
// 获取仓库的数据字段
getDict
(
'WAREHOUSE'
).
then
(
res
=>
{
console
.
log
(
'仓库数据字典'
,
res
)
this
.
warehouseList
=
res
.
data
const
whId
=
res
.
data
[
0
].
dictValue
this
.
form
.
whId
=
whId
...
...
@@ -176,7 +175,6 @@ export default {
if
(
!
that
.
$refs
[
'input'
+
i
])
{
return
}
console
.
log
(
'校验xx'
)
/**
* 1.判断xx是否包含,
* 2.如果包含的话判断是否根据,转成数组 取数组中的第一的数据
...
...
@@ -184,20 +182,16 @@ export default {
// var location = ''
// if (this.form.value1.includes(',')) {
// var list = this.form.value1.split(',')
// console.log(list)
// location = list[0]
// } else {
// location = this.form.value1
// console.log('location',location);
// }
var
location
=
''
if
(
this
.
form
.
value1
.
includes
(
','
)
||
this
.
form
.
value1
.
includes
(
','
))
{
var
list
=
this
.
form
.
value1
.
split
(
/,|,/
)
console
.
log
(
list
)
location
=
list
[
0
]
}
else
{
location
=
this
.
form
.
value1
console
.
log
(
'location'
,
location
)
}
if
(
location
&&
location
!==
''
)
{
findByLocation
(
location
).
then
(
res
=>
{
...
...
@@ -263,16 +257,12 @@ export default {
lot
:
values
[
1
],
pn
:
values
[
0
],
bzq
:
values
[
2
],
10
:
values
[
3
],
unit
:
values
[
4
],
cj_name
:
values
[
5
]
}
console
.
log
(
obj
.
pn
)
this
.
newPn
=
obj
.
pn
if
(
this
.
responsePn
!==
''
&&
this
.
responsePn
!==
null
)
{
if
(
customUpperCase
(
obj
.
pn
)
!==
customUpperCase
(
this
.
responsePn
))
{
console
.
log
(
'obj.pn'
,
obj
.
pn
)
console
.
log
(
this
.
responsePn
)
this
.
$message
.
error
({
message
:
'您输入的pn '
+
obj
.
pn
+
' 与返回pn '
+
this
.
responsePn
+
' 不一样'
,
duration
:
2000
...
...
@@ -284,7 +274,6 @@ export default {
lot
:
values
[
1
],
pn
:
values
[
0
],
bzq
:
values
[
2
],
ten
:
values
[
3
],
unit
:
values
[
4
],
cj_name
:
values
[
5
]
}
...
...
@@ -306,44 +295,25 @@ export default {
**/
SubmitForm
()
{
const
value
=
this
.
form
.
value2
.
replace
(
/
\s
+/g
,
''
)
console
.
log
(
'value'
,
value
)
const
values
=
value
.
split
(
','
)
const
newObj
=
{
lot
:
values
[
1
],
pn
:
values
[
0
],
bzq
:
values
[
2
],
10
:
values
[
3
],
unit
:
values
[
4
],
cj_name
:
values
[
5
]
}
console
.
log
(
'newObj'
,
newObj
)
this
.
$refs
.
from
.
validate
(
valid
=>
{
console
.
log
(
111
)
if
(
valid
)
{
console
.
log
(
222
)
if
(
!
values
[
0
]
&&
!
values
[
1
]
&&
!
values
[
2
]
&&
!
values
[
3
]
&&
!
values
[
4
])
{
console
.
log
(
333
)
this
.
$message
.
error
({
message
:
'前5个值不能为空,请检查'
,
duration
:
2000
})
this
.
form
.
value2
=
''
}
else
if
(
this
.
responsePn
&&
this
.
responsePn
!==
''
&&
this
.
responsePn
!==
undefined
)
{
console
.
log
(
444
)
if
(
customUpperCase
(
values
[
0
])
!==
customUpperCase
(
this
.
responsePn
)
&&
this
.
responsePn
===
''
)
{
console
.
log
(
'customUpperCase(this.responsePn)'
,
customUpperCase
(
this
.
responsePn
))
console
.
log
(
'2'
)
this
.
$message
.
error
({
message
:
'您输入的pn:'
+
values
[
0
]
+
'与返回pn:'
+
this
.
responsePn
+
'的不一样'
,
duration
:
2000
})
this
.
form
.
pn
=
''
this
.
form
.
value2
=
''
console
.
log
(
'this.form.value2'
,
this
.
form
.
value2
)
}
else
{
console
.
log
(
666
)
const
NewQty
=
this
.
form
.
qty
*
values
[
3
]
console
.
log
(
'NweQty1'
,
NewQty
)
const
newLot
=
values
[
1
]
const
tooPn
=
values
[
0
]
const
item
=
{
...
...
@@ -356,7 +326,6 @@ export default {
cheUnit
:
values
[
4
],
cheCjName
:
values
[
5
]
}
console
.
log
(
'item'
,
item
)
addIncomeWmsBox
(
item
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'保存成功'
)
...
...
@@ -370,7 +339,6 @@ export default {
}
}
else
{
const
NewQty
=
this
.
form
.
qty
*
values
[
3
]
console
.
log
(
'NweQty2'
,
NewQty
)
const
newLot
=
values
[
1
]
const
tooPn
=
values
[
0
]
const
item
=
{
...
...
@@ -383,7 +351,6 @@ export default {
cheCjName
:
values
[
5
],
...
this
.
form
}
console
.
log
(
'item'
,
item
)
addIncomeWmsBox
(
item
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'保存成功'
)
...
...
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