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
16c9408a
Commit
16c9408a
authored
May 20, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第二步
parent
9e05e45b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
1 deletion
+34
-1
enterbound.vue
src/views/setup/enterbound.vue
+34
-1
No files found.
src/views/setup/enterbound.vue
View file @
16c9408a
...
...
@@ -2,7 +2,7 @@
<div
class=
"enterBound"
>
<div
class=
"enterForm"
>
<div
class=
"search"
>
<el-form
@
submit
.
native
.
prevent
ref=
"queryForm"
class=
"formClass"
:model=
"queryForm"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"queryForm"
class=
"formClass"
:model=
"queryForm"
:rules=
"rules"
label-width=
"80px"
@
submit
.
native
.
prevent
>
<el-form-item
label=
"仓库:"
prop=
"whId"
>
<el-select
v-model=
"queryForm.whId"
filterable
class=
"normalSelect"
placeholder=
"请选择"
>
<el-option
...
...
@@ -13,6 +13,20 @@
/>
</el-select>
</el-form-item>
<el-form-item
label=
"cj"
prop=
"cj"
>
<el-select
v-model=
"queryForm.cj"
class=
"normalSelect"
placeholder=
"请选择厂家"
>
<el-option
v-for=
"item in manufacturer"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"XX:"
prop=
"value1"
>
<el-input
ref=
"input1"
v-model=
"queryForm.value1"
:disabled=
"enterTable.length>0"
clearable
@
keyup
.
enter
.
native=
"handelTab(1,$event)"
/>
</el-form-item>
...
...
@@ -89,6 +103,7 @@ export default {
data
()
{
return
{
queryForm
:
{
cj
:
''
,
whId
:
''
,
location
:
''
,
// 假设 location 的值为 'A1'
pn
:
''
,
// 假设 pn 的值为 'ABC'
...
...
@@ -111,6 +126,19 @@ export default {
userList
:
{
nickName
:
''
},
manufacturer
:
[{
value
:
'1'
,
label
:
'baidu'
},
{
value
:
'2'
,
label
:
'ali'
},
{
value
:
'3'
,
label
:
'taobao'
}],
// 表单校验
rules
:
{
value1
:
[
...
...
@@ -128,6 +156,7 @@ export default {
this
.
focusing
()
this
.
getOrderCode
()
this
.
getLoginUser
()
this
.
queryForm
.
cj
=
this
.
manufacturer
[
0
].
value
},
methods
:
{
/**
...
...
@@ -179,6 +208,7 @@ export default {
clearForm
(
e
)
{
this
.
queryForm
=
{
queryForm
:
{
cj
:
''
,
location
:
''
,
// 假设 location 的值为 'A1'
pn
:
''
,
// 假设 pn 的值为 'ABC'
value1
:
''
,
...
...
@@ -210,6 +240,7 @@ export default {
if
(
valid
&&
this
.
enterTable
.
length
>
0
)
{
const
obj
=
{
boxList
:
this
.
enterTable
}
batchAddIncomeWmsBox
(
obj
).
then
(
res
=>
{
console
.
log
(
'res'
,
res
)
...
...
@@ -423,6 +454,8 @@ export default {
const
obj
=
{
whId
:
this
.
queryForm
.
whId
,
lot
:
values
[
0
],
cj
:
this
.
queryForm
.
cj
,
location
:
this
.
queryForm
.
location
,
pn
:
values
[
1
],
qty
:
parseInt
(
values
[
3
]),
rank
:
values
[
2
],
...
...
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