Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
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
aa8933ef
authored
May 13, 2022
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
条码管理列表PAD端:作废成功需增加弹窗
parent
d35882fb
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
4 deletions
assets/css/font.css
pages/goods/barCode.vue
pages/home/index.vue
pages/tag/print.vue
static/iconfont.ttf
assets/css/font.css
View file @
aa8933ef
...
...
@@ -11,6 +11,14 @@
-moz-osx-font-smoothing
:
grayscale
;
}
.icon-juxing8
:before
{
content
:
"\e782"
;
}
.icon-jinggao3
:before
{
content
:
"\e783"
;
}
.icon-Chevron1
:before
{
content
:
"\e769"
;
}
...
...
pages/goods/barCode.vue
View file @
aa8933ef
...
...
@@ -65,6 +65,9 @@ export default {
this
.
getData
();
},
onShow
()
{
this
.
total
=
0
;
this
.
page
=
1
;
this
.
erpOrderSnCodeManage
=
[];
this
.
getData
();
},
methods
:
{
...
...
@@ -97,7 +100,26 @@ export default {
if
(
res
.
confirm
)
{
this
.
request
(
API
.
delErpOrderSnCodeManage
,
'POST'
,
{
erp_order_sn
:
erp_order_sn
},
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'作废操作成功'
,
cancelText
:
'重新打印'
,
confirmText
:
'关闭'
,
showCancel
:
true
,
success
:
res
=>
{
if
(
res
.
confirm
)
{
this
.
total
=
0
;
this
.
page
=
1
;
this
.
erpOrderSnCodeManage
=
[];
this
.
getData
();
}
else
if
(
res
.
cancel
)
{
console
.
log
(
'用户点击取消'
);
uni
.
navigateTo
({
url
:
'/pages/tag/print?number='
+
erp_order_sn
});
}
}
});
}
else
{
uni
.
showModal
({
title
:
'提示'
,
...
...
pages/home/index.vue
View file @
aa8933ef
...
...
@@ -103,12 +103,12 @@ export default {
},
{
name
:
'条码管理'
,
iconfont
:
'icon-
a-juxing4
'
,
iconfont
:
'icon-
juxing8
'
,
tips
:
''
},
{
name
:
'装箱复核序
蒲
'
,
iconfont
:
'icon-
a-juxing4
'
,
name
:
'装箱复核序
簿
'
,
iconfont
:
'icon-
jinggao3
'
,
tips
:
''
}
]
...
...
@@ -183,7 +183,7 @@ export default {
uni
.
navigateTo
({
url
:
'/pages/goods/barCode'
});
}
else
if
(
item
.
name
==
'装箱复核序
蒲
'
)
{
}
else
if
(
item
.
name
==
'装箱复核序
簿
'
)
{
uni
.
navigateTo
({
url
:
'/pages/goods/rePackageList'
});
...
...
pages/tag/print.vue
View file @
aa8933ef
...
...
@@ -49,6 +49,7 @@ const ToBase64 = require('../../util/base64gb2312.js');
export
default
{
data
()
{
return
{
number
:
''
,
//从条码管理列表过来的
print_number
:
0
,
serviceId
:
''
,
deviceId
:
''
,
...
...
@@ -78,6 +79,22 @@ export default {
onLoad
(
option
)
{
this
.
platform
=
getPlatform
();
//从条码管理列表过来的 赋值订单类型和入仓号
if
(
option
.
number
)
{
let
str
=
option
.
number
;
this
.
form
.
erp_order_sn_pre
=
str
.
charAt
(
0
);
this
.
form
.
erp_order_sn_number
=
str
.
substring
(
1
,
str
.
length
);
if
(
option
.
number
.
charAt
(
0
)
==
'A'
)
{
this
.
index_erp_order_sn_pre
=
0
;
}
if
(
option
.
number
.
charAt
(
0
)
==
'B'
)
{
this
.
index_erp_order_sn_pre
=
1
;
}
if
(
option
.
number
.
charAt
(
0
)
==
'D'
)
{
this
.
index_erp_order_sn_pre
=
2
;
}
}
//停止搜索,节省系统资源
uni
.
stopBluetoothDevicesDiscovery
({
success
:
res
=>
{
...
...
static/iconfont.ttf
View file @
aa8933ef
No preview for this file type
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