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
cebaee74
authored
Jul 24, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
拣货、复核扫描,默认批量扫描模式及操作优化
parent
79a04d13
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
102 additions
and
98 deletions
manifest.json
pages/picking/sort.vue
pages/putaway/index.vue
pages/stockRecheck/index.vue
pages/stockRecheck/sort.vue
manifest.json
View file @
cebaee74
{
{
"name"
:
"wms"
,
"name"
:
"wms"
,
"appid"
:
"__UNI__655E80D"
,
"appid"
:
"__UNI__655E80D"
,
"description"
:
""
,
"description"
:
""
,
"versionName"
:
"1.0.1"
,
"versionName"
:
"1.0.1"
,
"versionCode"
:
"100"
,
"versionCode"
:
"100"
,
"transformPx"
:
false
,
"transformPx"
:
false
,
/*
5
+App特有相关
*/
/*
5
+App特有相关
*/
"app-plus"
:
{
"app-plus"
:
{
"usingComponents"
:
true
,
"usingComponents"
:
true
,
"nvueStyleCompiler"
:
"uni-app"
,
"nvueStyleCompiler"
:
"uni-app"
,
"compilerVersion"
:
3
,
"compilerVersion"
:
3
,
"splashscreen"
:
{
"splashscreen"
:
{
"alwaysShowBeforeRender"
:
true
,
"alwaysShowBeforeRender"
:
true
,
"waiting"
:
true
,
"waiting"
:
true
,
"autoclose"
:
true
,
"autoclose"
:
true
,
"delay"
:
0
"delay"
:
0
},
},
/*
模块配置
*/
/*
模块配置
*/
"modules"
:
{
"modules"
:
{
"Camera"
:
{},
"Camera"
:
{},
"Barcode"
:
{},
"Barcode"
:
{},
"Bluetooth"
:
{}
"Bluetooth"
:
{}
},
},
/*
应用发布信息
*/
/*
应用发布信息
*/
"distribute"
:
{
"distribute"
:
{
/*
android打包配置
*/
/*
android打包配置
*/
"android"
:
{
"android"
:
{
"permissions"
:
[
"permissions"
:
[
"<uses-permission android:name=
\"
android.permission.CHANGE_NETWORK_STATE
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.CHANGE_NETWORK_STATE
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.MOUNT_UNMOUNT_FILESYSTEMS
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.MOUNT_UNMOUNT_FILESYSTEMS
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.VIBRATE
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.VIBRATE
\"
/>"
,
...
@@ -45,86 +45,86 @@
...
@@ -45,86 +45,86 @@
]
]
},
},
/*
ios打包配置
*/
/*
ios打包配置
*/
"ios"
:
{
"ios"
:
{
"dSYMs"
:
false
"dSYMs"
:
false
},
},
/*
SDK配置
*/
/*
SDK配置
*/
"sdkConfigs"
:
{
"sdkConfigs"
:
{
"ad"
:
{}
"ad"
:
{}
},
},
"icons"
:
{
"icons"
:
{
"android"
:
{
"android"
:
{
"hdpi"
:
"unpackage/res/icons/72x72.png"
,
"hdpi"
:
"unpackage/res/icons/72x72.png"
,
"xhdpi"
:
"unpackage/res/icons/96x96.png"
,
"xhdpi"
:
"unpackage/res/icons/96x96.png"
,
"xxhdpi"
:
"unpackage/res/icons/144x144.png"
,
"xxhdpi"
:
"unpackage/res/icons/144x144.png"
,
"xxxhdpi"
:
"unpackage/res/icons/192x192.png"
"xxxhdpi"
:
"unpackage/res/icons/192x192.png"
},
},
"ios"
:
{
"ios"
:
{
"appstore"
:
"unpackage/res/icons/1024x1024.png"
,
"appstore"
:
"unpackage/res/icons/1024x1024.png"
,
"ipad"
:
{
"ipad"
:
{
"app"
:
"unpackage/res/icons/76x76.png"
,
"app"
:
"unpackage/res/icons/76x76.png"
,
"app@2x"
:
"unpackage/res/icons/152x152.png"
,
"app@2x"
:
"unpackage/res/icons/152x152.png"
,
"notification"
:
"unpackage/res/icons/20x20.png"
,
"notification"
:
"unpackage/res/icons/20x20.png"
,
"notification@2x"
:
"unpackage/res/icons/40x40.png"
,
"notification@2x"
:
"unpackage/res/icons/40x40.png"
,
"proapp@2x"
:
"unpackage/res/icons/167x167.png"
,
"proapp@2x"
:
"unpackage/res/icons/167x167.png"
,
"settings"
:
"unpackage/res/icons/29x29.png"
,
"settings"
:
"unpackage/res/icons/29x29.png"
,
"settings@2x"
:
"unpackage/res/icons/58x58.png"
,
"settings@2x"
:
"unpackage/res/icons/58x58.png"
,
"spotlight"
:
"unpackage/res/icons/40x40.png"
,
"spotlight"
:
"unpackage/res/icons/40x40.png"
,
"spotlight@2x"
:
"unpackage/res/icons/80x80.png"
"spotlight@2x"
:
"unpackage/res/icons/80x80.png"
},
},
"iphone"
:
{
"iphone"
:
{
"app@2x"
:
"unpackage/res/icons/120x120.png"
,
"app@2x"
:
"unpackage/res/icons/120x120.png"
,
"app@3x"
:
"unpackage/res/icons/180x180.png"
,
"app@3x"
:
"unpackage/res/icons/180x180.png"
,
"notification@2x"
:
"unpackage/res/icons/40x40.png"
,
"notification@2x"
:
"unpackage/res/icons/40x40.png"
,
"notification@3x"
:
"unpackage/res/icons/60x60.png"
,
"notification@3x"
:
"unpackage/res/icons/60x60.png"
,
"settings@2x"
:
"unpackage/res/icons/58x58.png"
,
"settings@2x"
:
"unpackage/res/icons/58x58.png"
,
"settings@3x"
:
"unpackage/res/icons/87x87.png"
,
"settings@3x"
:
"unpackage/res/icons/87x87.png"
,
"spotlight@2x"
:
"unpackage/res/icons/80x80.png"
,
"spotlight@2x"
:
"unpackage/res/icons/80x80.png"
,
"spotlight@3x"
:
"unpackage/res/icons/120x120.png"
"spotlight@3x"
:
"unpackage/res/icons/120x120.png"
}
}
}
}
}
}
},
},
"nvueLaunchMode"
:
""
"nvueLaunchMode"
:
""
},
},
/*
快应用特有相关
*/
/*
快应用特有相关
*/
"quickapp"
:
{},
"quickapp"
:
{},
/*
小程序特有相关
*/
/*
小程序特有相关
*/
"mp-weixin"
:
{
"mp-weixin"
:
{
"appid"
:
"wx060bcd34e30d0db2"
,
"appid"
:
"wx060bcd34e30d0db2"
,
"setting"
:
{
"setting"
:
{
"urlCheck"
:
false
,
"urlCheck"
:
false
,
"postcss"
:
true
,
"postcss"
:
true
,
"es6"
:
false
,
"es6"
:
false
,
"minified"
:
true
"minified"
:
true
},
},
"usingComponents"
:
true
"usingComponents"
:
true
},
},
"mp-alipay"
:
{
"mp-alipay"
:
{
"usingComponents"
:
true
"usingComponents"
:
true
},
},
"mp-baidu"
:
{
"mp-baidu"
:
{
"usingComponents"
:
true
"usingComponents"
:
true
},
},
"mp-toutiao"
:
{
"mp-toutiao"
:
{
"usingComponents"
:
true
"usingComponents"
:
true
},
},
"uniStatistics"
:
{
"uniStatistics"
:
{
"enable"
:
false
"enable"
:
false
},
},
"vueVersion"
:
"2"
,
"vueVersion"
:
"2"
,
"quickapp-webview"
:
{
"quickapp-webview"
:
{
"icon"
:
"wms"
,
"icon"
:
"wms"
,
"package"
:
"com.liexin.wms"
,
"package"
:
"com.liexin.wms"
,
"versionName"
:
"1.0"
,
"versionName"
:
"1.0"
,
"minPlatformVersion"
:
"1.0"
"minPlatformVersion"
:
"1.0"
},
},
"fallbackLocale"
:
"zh-Hans"
,
"fallbackLocale"
:
"zh-Hans"
,
"softinput"
:
{
"softinput"
:
{
//可选,JSON对象,软键盘相关配置
//可选,JSON对象,软键盘相关配置
"navBar"
:
"auto"
,
//可选,字符串类型,iOS平台软键盘上导航条的显示模式,可取值auto、none
"navBar"
:
"auto"
,
//可选,字符串类型,iOS平台软键盘上导航条的显示模式,可取值auto、none
"auxiliary"
:
true
,
//可选,Boolean类型,是否开启辅助输入功能
"auxiliary"
:
true
,
//可选,Boolean类型,是否开启辅助输入功能
"mode"
:
"adjustPan"
//可选,字符串类型,弹出系统软键盘模式,可取值adjustResize、adjustPan
"mode"
:
"adjustPan"
//可选,字符串类型,弹出系统软键盘模式,可取值adjustResize、adjustPan
},
},
"locale"
:
"zh-Hans"
"locale"
:
"zh-Hans"
}
}
\ No newline at end of file
pages/picking/sort.vue
View file @
cebaee74
...
@@ -457,7 +457,7 @@ export default {
...
@@ -457,7 +457,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
isFocus
:
false
,
isFocus
:
false
,
is_batch
:
fals
e
,
//是否开启批量
is_batch
:
tru
e
,
//是否开启批量
is_batch_active
:
false
,
//是否开启批量激活s
is_batch_active
:
false
,
//是否开启批量激活s
history_id
:
[],
//批量记录id
history_id
:
[],
//批量记录id
search_keyword
:
''
,
//批量搜索值
search_keyword
:
''
,
//批量搜索值
...
@@ -605,19 +605,19 @@ export default {
...
@@ -605,19 +605,19 @@ export default {
this
.
input_flag_stock_in_batch_sn
=
true
;
this
.
input_flag_stock_in_batch_sn
=
true
;
this
.
getData
();
this
.
getData
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
if
(
this
.
searchParams
.
stock_in_batch_sn
.
length
==
15
&&
this
.
list
.
length
==
1
)
{
if
(
this
.
searchParams
.
stock_in_batch_sn
.
length
==
15
)
{
this
.
showDrawer
(
1
,
this
.
list
[
0
]);
this
.
showDrawer
(
1
,
this
.
list
[
0
]);
}
}
},
10
00
);
},
8
00
);
}
}
}
else
if
(
type
==
3
)
{
}
else
if
(
type
==
3
)
{
this
.
input_flag_container_sn
=
true
;
this
.
input_flag_container_sn
=
true
;
this
.
getData
();
this
.
getData
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
if
(
this
.
searchParams
.
container_sn
!=
''
&&
this
.
list
.
length
==
1
)
{
if
(
this
.
searchParams
.
container_sn
!=
''
)
{
this
.
showDrawer
(
2
,
this
.
list
[
0
]);
this
.
showDrawer
(
2
,
this
.
list
[
0
]);
}
}
},
10
00
);
},
8
00
);
}
}
}
else
{
}
else
{
if
(
type
==
1
)
{
if
(
type
==
1
)
{
...
...
pages/putaway/index.vue
View file @
cebaee74
...
@@ -388,11 +388,9 @@ export default {
...
@@ -388,11 +388,9 @@ export default {
this
.
searchParams
.
search_keyword
=
val
;
this
.
searchParams
.
search_keyword
=
val
;
this
.
getData
();
this
.
getData
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
if
(
this
.
list
.
length
==
1
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/putaway/single?stock_in_batch_sn='
+
this
.
list
[
0
].
stock_in_batch_sn
+
'&tally_id='
+
this
.
list
[
0
].
tally_id
url
:
'/pages/putaway/single?stock_in_batch_sn='
+
this
.
list
[
0
].
stock_in_batch_sn
+
'&tally_id='
+
this
.
list
[
0
].
tally_id
});
});
}
},
1000
);
},
1000
);
}
}
}
else
if
(
type
==
2
)
{
}
else
if
(
type
==
2
)
{
...
...
pages/stockRecheck/index.vue
View file @
cebaee74
...
@@ -131,6 +131,13 @@ export default {
...
@@ -131,6 +131,13 @@ export default {
var
val
=
event
.
target
.
value
;
var
val
=
event
.
target
.
value
;
if
(
val
)
{
if
(
val
)
{
this
.
input_flag
=
true
;
this
.
input_flag
=
true
;
setTimeout
(()
=>
{
if
(
this
.
list
.
length
==
1
)
{
uni
.
navigateTo
({
url
:
'/pages/stockRecheck/sort?stock_out_id='
+
this
.
list
[
0
].
stock_out_id
+
'&stock_out_sn='
+
this
.
searchParams
.
stock_out_sn
});
}
},
800
);
}
else
{
}
else
{
this
.
input_flag
=
false
;
this
.
input_flag
=
false
;
}
}
...
...
pages/stockRecheck/sort.vue
View file @
cebaee74
...
@@ -561,7 +561,7 @@ export default {
...
@@ -561,7 +561,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
isFocus
:
true
,
isFocus
:
true
,
is_batch
:
fals
e
,
//是否开启批量
is_batch
:
tru
e
,
//是否开启批量
history_id
:
[],
//批量记录id
history_id
:
[],
//批量记录id
search_keyword
:
''
,
//批量搜索值
search_keyword
:
''
,
//批量搜索值
noexebshowFalg
:
true
,
//控制是否会触发生命周期
noexebshowFalg
:
true
,
//控制是否会触发生命周期
...
@@ -948,10 +948,10 @@ export default {
...
@@ -948,10 +948,10 @@ export default {
this
.
input_flag_stock_in_batch_sn
=
true
;
this
.
input_flag_stock_in_batch_sn
=
true
;
this
.
getData
();
this
.
getData
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
if
(
this
.
searchParams
.
stock_in_batch_sn
.
length
==
15
&&
this
.
list
.
length
==
1
)
{
if
(
this
.
searchParams
.
stock_in_batch_sn
.
length
==
15
)
{
this
.
showDrawer
(
1
,
this
.
list
[
0
]);
this
.
showDrawer
(
1
,
this
.
list
[
0
]);
}
}
},
10
00
);
},
8
00
);
}
}
}
else
if
(
type
==
3
)
{
}
else
if
(
type
==
3
)
{
//容器
//容器
...
...
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