Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tianjin
Project
Project
Details
Activity
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
徐来柯
tianjin
Commits
9e6da03f
Commit
9e6da03f
authored
Jan 22, 2021
by
徐来柯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
467a4f73
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
16 deletions
+52
-16
MaterialDelivery.vue
src/views/education/MaterialDelivery.vue
+13
-4
MaterialWarehousingMoudle.vue
src/views/education/MaterialWarehousingMoudle.vue
+17
-8
ProductDelivery.vue
src/views/education/ProductDelivery.vue
+11
-2
ProductStorage.vue
src/views/education/ProductStorage.vue
+11
-2
No files found.
src/views/education/MaterialDelivery.vue
View file @
9e6da03f
...
...
@@ -2,7 +2,7 @@
<div
class=
"box-container"
>
<div
class=
"wrap"
>
<h1
class=
"page-title"
>
物料出库管理
</h1>
<search-form
:formList=
"[1,2,3]"
:searchList=
"searchList"
:btnList=
"[1,2]"
:formData=
"formData"
@
scanGunCode=
"scanGunCode"
@
searchData=
"searchData"
@
openDialog=
"openDialog"
@
delData=
"delData"
/>
<search-form
ref=
"form"
:formList=
"[1,2,3]"
:searchList=
"searchList"
:btnList=
"[1,2]"
:formData=
"formData"
@
scanGunCode=
"scanGunCode"
@
searchData=
"searchData"
@
openDialog=
"openDialog"
@
delData=
"delData"
/>
<el-table
border
:height=
"$store.getters.someHeight"
...
...
@@ -187,9 +187,18 @@ export default {
method
:
"post"
,
url
:
`/api/MaterialDelivery/MaterialDelivery_ScanCodeAdd?ScanCode=
${
value
}
`
,
}).
then
((
res
)
=>
{
console
.
log
(
'扫码成功。。。'
)
var
postData
=
this
.
resetData
()
this
.
searchData
(
this
.
postData
)
if
(
res
.
data
.
code
!==
-
1
)
{
console
.
log
(
'扫码成功。。。'
)
this
.
$refs
.
form
.
formData
.
scanValue
=
''
var
postData
=
this
.
resetData
()
this
.
searchData
(
postData
)
}
else
{
console
.
log
(
'扫码失败。。。'
)
this
.
typeV
=
'5'
this
.
deleteShow
=
true
this
.
deletetext
=
res
.
data
.
msg
this
.
$refs
.
form
.
$refs
.
codeInput
.
blur
()
}
}).
catch
(()
=>
{
console
.
log
(
'扫码失败。。。'
)
})
...
...
src/views/education/MaterialWarehousingMoudle.vue
View file @
9e6da03f
...
...
@@ -2,7 +2,7 @@
<div
class=
"box-container"
>
<div
class=
"wrap"
>
<h1
class=
"page-title"
>
物料入库管理
</h1>
<search-form
:formList=
"[1,2,3]"
:btnList=
"[1,2]"
:searchList=
"searchList"
:formData=
"formData"
@
scanGunCode=
"scanGunCode"
@
searchData=
"searchData"
@
openDialog=
"openDialog"
@
delData=
"delData"
/>
<search-form
ref=
"form"
:formList=
"[1,2,3]"
:btnList=
"[1,2]"
:searchList=
"searchList"
:formData=
"formData"
@
scanGunCode=
"scanGunCode"
@
searchData=
"searchData"
@
openDialog=
"openDialog"
@
delData=
"delData"
/>
<el-table
border
:height=
"$store.getters.someHeight"
...
...
@@ -204,15 +204,24 @@ export default {
url
:
`/api/MaterialWarehousing/MWarehousing_ScanCodeAdd?ScanCode=
${
value
}
`
,
}).
then
((
res
)
=>
{
console
.
log
(
'扫码成功。。。'
)
var
postData
=
{
argKeyWord
:
this
.
formData
.
argKeyWord
,
argWhere
:
this
.
formData
.
argWhere
,
Stime
:
this
.
formData
.
dateValue
?
this
.
$moment
(
this
.
formData
.
dateValue
[
0
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
Etime
:
this
.
formData
.
dateValue
?
this
.
$moment
(
this
.
formData
.
dateValue
[
1
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
if
(
res
.
data
.
code
!==
-
1
)
{
var
postData
=
{
argKeyWord
:
this
.
formData
.
argKeyWord
,
argWhere
:
this
.
formData
.
argWhere
,
Stime
:
this
.
formData
.
dateValue
?
this
.
$moment
(
this
.
formData
.
dateValue
[
0
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
Etime
:
this
.
formData
.
dateValue
?
this
.
$moment
(
this
.
formData
.
dateValue
[
1
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
}
this
.
$refs
.
form
.
formData
.
scanValue
=
''
this
.
searchData
(
postData
)
}
else
{
console
.
log
(
'扫码失败。。。'
)
this
.
typeV
=
'5'
this
.
deleteShow
=
true
this
.
deletetext
=
res
.
data
.
msg
this
.
$refs
.
form
.
$refs
.
codeInput
.
blur
()
}
this
.
searchData
(
this
.
postData
)
}).
catch
(()
=>
{
console
.
log
(
'扫
码失败
。。。'
)
console
.
log
(
'扫
描错误
。。。'
)
})
},
resetData
()
{
...
...
src/views/education/ProductDelivery.vue
View file @
9e6da03f
...
...
@@ -2,7 +2,7 @@
<div
class=
"box-container"
>
<div
class=
"wrap"
>
<h1
class=
"page-title"
>
产品出库管理
</h1>
<search-form
:formList=
"[1,2,3]"
:btnList=
"[1,2]"
:searchList=
"searchList"
:formData=
"formData"
@
scanGunCode=
"scanGunCode"
@
searchData=
"searchData"
@
openDialog=
"openDialog"
@
delData=
"delData"
/>
<search-form
ref=
"form"
:formList=
"[1,2,3]"
:btnList=
"[1,2]"
:searchList=
"searchList"
:formData=
"formData"
@
scanGunCode=
"scanGunCode"
@
searchData=
"searchData"
@
openDialog=
"openDialog"
@
delData=
"delData"
/>
<el-table
border
:height=
"$store.getters.someHeight"
...
...
@@ -198,9 +198,18 @@ export default {
method
:
"post"
,
url
:
`/api/ProductDelivery/ProductDelivery_ScanCodeAdd?ScanCode=
${
value
}
`
,
}).
then
((
res
)
=>
{
if
(
res
.
data
.
code
!==
-
1
)
{
console
.
log
(
'扫码成功。。。'
)
this
.
$refs
.
form
.
formData
.
scanValue
=
''
var
postData
=
this
.
resetData
()
this
.
searchData
(
this
.
postData
)
this
.
searchData
(
postData
)
}
else
{
console
.
log
(
'扫码失败。。。'
)
this
.
typeV
=
'5'
this
.
deleteShow
=
true
this
.
deletetext
=
res
.
data
.
msg
this
.
$refs
.
form
.
$refs
.
codeInput
.
blur
()
}
}).
catch
(()
=>
{
console
.
log
(
'扫码失败。。。'
)
})
...
...
src/views/education/ProductStorage.vue
View file @
9e6da03f
...
...
@@ -2,7 +2,7 @@
<div
class=
"box-container"
>
<div
class=
"wrap"
>
<h1
class=
"page-title"
>
产品入库管理
</h1>
<search-form
:formList=
"[1,2,3]"
:btnList=
"[1,2]"
:searchList=
"searchList"
:formData=
"formData"
@
scanGunCode=
"scanGunCode"
@
searchData=
"searchData"
@
openDialog=
"openDialog"
@
delData=
"delData"
/>
<search-form
ref=
"form"
:formList=
"[1,2,3]"
:btnList=
"[1,2]"
:searchList=
"searchList"
:formData=
"formData"
@
scanGunCode=
"scanGunCode"
@
searchData=
"searchData"
@
openDialog=
"openDialog"
@
delData=
"delData"
/>
<el-table
border
ref=
"multipleTable"
...
...
@@ -198,14 +198,23 @@ export default {
method
:
"post"
,
url
:
`/api/ProductStorage/ProductStorage_ScanCodeAdd?ScanCode=
${
value
}
`
,
}).
then
((
res
)
=>
{
if
(
res
.
data
.
code
!==
-
1
)
{
console
.
log
(
'扫码成功。。。'
)
this
.
$refs
.
form
.
formData
.
scanValue
=
''
var
postData
=
{
argKeyWord
:
this
.
formData
.
argKeyWord
,
argWhere
:
this
.
formData
.
argWhere
,
Stime
:
this
.
formData
.
dateValue
?
this
.
$moment
(
this
.
formData
.
dateValue
[
0
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
,
Etime
:
this
.
formData
.
dateValue
?
this
.
$moment
(
this
.
formData
.
dateValue
[
1
]).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
' '
}
this
.
searchData
(
this
.
postData
)
this
.
searchData
(
postData
)
}
else
{
console
.
log
(
'扫码失败。。。'
)
this
.
typeV
=
'5'
this
.
deleteShow
=
true
this
.
deletetext
=
res
.
data
.
msg
this
.
$refs
.
form
.
$refs
.
codeInput
.
blur
()
}
}).
catch
(()
=>
{
console
.
log
(
'扫码失败。。。'
)
})
...
...
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