Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a0d9972f
authored
Jul 04, 2025
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化代码格式,统一函数参数空格,提升可读性
parent
1255634e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
pages/immediatelyStockIn/index.vue
pages/immediatelyStockIn/index.vue
View file @
a0d9972f
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
* @param {Object} e
* @param {Object} e
* @param {Object} type 1(货品编码,sku_id) 2(入库批次号,旧标签)
* @param {Object} type 1(货品编码,sku_id) 2(入库批次号,旧标签)
*/
*/
bindPickerChange
:
function
(
e
,
type
)
{
bindPickerChange
:
function
(
e
,
type
)
{
if
(
type
==
1
)
{
if
(
type
==
1
)
{
//货品编码&自营货品ID
//货品编码&自营货品ID
this
.
index
=
e
.
detail
.
value
;
this
.
index
=
e
.
detail
.
value
;
...
@@ -188,7 +188,7 @@
...
@@ -188,7 +188,7 @@
* 单号搜索
* 单号搜索
* @param {Object} event
* @param {Object} event
*/
*/
handleInput
:
debounce
(
function
(
type
,
val
)
{
handleInput
:
debounce
(
function
(
type
,
val
)
{
if
(
val
)
{
if
(
val
)
{
if
(
type
==
1
)
{
if
(
type
==
1
)
{
this
.
input_goods_sn
=
true
;
this
.
input_goods_sn
=
true
;
...
@@ -221,7 +221,7 @@
...
@@ -221,7 +221,7 @@
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
formParams
.
warehouse_id
=
res
.
data
.
list
[
0
].
warehouse_id
;
//默认仓库
this
.
formParams
.
warehouse_id
=
res
.
data
.
list
[
0
].
warehouse_id
;
//默认仓库
//仓库集合
//仓库集合
this
.
warehouse_id_data
=
res
.
data
.
list
.
map
(
function
(
item
)
{
this
.
warehouse_id_data
=
res
.
data
.
list
.
map
(
function
(
item
)
{
return
{
return
{
name
:
item
.
warehouse_name
,
name
:
item
.
warehouse_name
,
value
:
item
.
warehouse_id
value
:
item
.
warehouse_id
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
var
position_code
=
this
.
formParams
.
position_code
;
var
position_code
=
this
.
formParams
.
position_code
;
//匹配是否正确的库位
//匹配是否正确的库位
this
.
is_submit
=
res
.
data
.
list
.
some
(
function
(
obj
)
{
this
.
is_submit
=
res
.
data
.
list
.
some
(
function
(
obj
)
{
return
obj
.
position_code
===
position_code
;
return
obj
.
position_code
===
position_code
;
});
});
}
else
{
}
else
{
...
...
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