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
ce824b74
Commit
ce824b74
authored
May 21, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.阻止表单的默认上传行为
parent
7590df7e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
6 deletions
+37
-6
jsonData.js
src/data/jsonData.js
+15
-0
changeLabel.vue
src/views/setup/changeLabel.vue
+2
-0
checkTheApplicationForExit.vue
src/views/setup/checkTheApplicationForExit.vue
+18
-5
enterbound.vue
src/views/setup/enterbound.vue
+2
-1
No files found.
src/data/jsonData.js
0 → 100644
View file @
ce824b74
const
manufacturer
=
[
{
value
:
'1'
,
label
:
'baidu'
},
{
value
:
'2'
,
label
:
'ali'
},
{
value
:
'3'
,
label
:
'taobao'
}
]
export
default
manufacturer
src/views/setup/changeLabel.vue
View file @
ce824b74
...
...
@@ -137,6 +137,7 @@ export default {
})
this
.
queryFormDate
.
qty
=
''
}
else
{
this
.
queryFormDate
.
YY
=
this
.
queryForm
.
value
changeLabel
(
this
.
queryFormDate
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$message
.
success
(
'提交成功'
)
...
...
@@ -146,6 +147,7 @@ export default {
this
.
queryFormDate
.
lot
=
null
this
.
queryFormDate
.
qty
=
null
this
.
queryFormDate
.
rank
=
null
this
.
queryForm
.
value
=
null
this
.
focusing
()
}
})
...
...
src/views/setup/checkTheApplicationForExit.vue
View file @
ce824b74
...
...
@@ -16,14 +16,19 @@
<el-form-item
label=
"pn:"
>
<span>
{{
form
.
pn
||
'-'
}}
</span>
</el-form-item>
<el-form-item
label=
"lot:"
>
<span>
{{
form
.
lot
||
'-'
}}
</span>
</el-form-item>
<div
class=
"searchDiv"
>
<el-form-item
label=
"lot:"
>
<span>
{{
form
.
lot
||
'-'
}}
</span>
</el-form-item>
<el-form-item
v-if=
"form.cj && form.cj !== null"
label=
"cj:"
>
<span>
{{
getLabelByCj
(
form
.
cj
)
||
'-'
}}
</span>
</el-form-item>
</div>
<div
class=
"searchDiv"
>
<el-form-item
label=
"qty:"
>
<span>
{{
form
.
qty
||
'-'
}}
</span>
</el-form-item>
<el-form-item
label=
"rank:"
>
<el-form-item
label=
"rank:"
>
<span>
{{
form
.
rank
||
'-'
}}
</span>
</el-form-item>
</div>
...
...
@@ -72,6 +77,7 @@
</template>
<
script
>
import
manufacturer
from
"@/data/jsonData"
;
import
{
handleOutWarehouse
,
persistOut
}
from
'@/api/outcomeWmsJbapplyTemp'
import
{
getDict
}
from
'@/api/system/dict/data'
import
{
playAudio
,
successAudio
}
from
'@/utils/common'
...
...
@@ -80,6 +86,7 @@ export default {
name
:
'Dispose'
,
data
()
{
return
{
manufacturer
,
typeList
:
[],
// 本地储存
/**
...
...
@@ -101,8 +108,10 @@ export default {
pn
:
null
,
lot
:
null
,
qty
:
null
,
rank
:
null
rank
:
null
,
cj
:
null
,
},
rules
:
{
search
:
[
{
pattern
:
/^.*,.*/
|
/^.*$/
,
message
:
'输入值不符合格式要求,请重新输入'
,
trigger
:
'blur'
}
...
...
@@ -128,6 +137,10 @@ export default {
this
.
getDetail
()
},
methods
:
{
getLabelByCj
(
value
)
{
const
obj
=
manufacturer
.
find
(
item
=>
item
.
value
===
value
)
return
obj
?
obj
.
label
:
null
},
/**
* @description: 一开始将焦点聚焦到第一个输入框下
* @author: gaoyu
...
...
src/views/setup/enterbound.vue
View file @
ce824b74
...
...
@@ -90,7 +90,8 @@
</template>
<
script
>
import
manufacturer
,
{
import
manufacturer
from
"@/data/jsonData"
;
import
{
batchAddIncomeWmsBox
,
checkIsZero
,
getJcCode
,
queryPass
}
from
'@/api/incomeWmsBox'
import
{
findByLocation
,
updateIncomeWmsLabel
}
from
'@/api/incomeWmsLabel'
...
...
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