Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lumastoreapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
lumastoreapp
Commits
a3af34d5
Commit
a3af34d5
authored
Mar 06, 2021
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复商家助手扫码入库~
parent
f6983307
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
manifest.json
manifest.json
+2
-2
pages/addEditEleProduct/addEditEleProduct.vue
pages/addEditEleProduct/addEditEleProduct.vue
+1
-0
pages/login/login.vue
pages/login/login.vue
+7
-2
No files found.
manifest.json
View file @
a3af34d5
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
"name"
:
"鹿马商家助手"
,
"name"
:
"鹿马商家助手"
,
"appid"
:
"__UNI__1EA80F1"
,
//这个是
web
的
"appid"
:
"__UNI__1EA80F1"
,
//这个是
web
的
"description"
:
"商家"
,
"description"
:
"商家"
,
"versionName"
:
"1.11
7
"
,
"versionName"
:
"1.11
8
"
,
"versionCode"
:
111
7
,
"versionCode"
:
111
8
,
"transformPx"
:
false
,
"transformPx"
:
false
,
"compatible"
:
{
"compatible"
:
{
"ignoreVersion"
:
true
//
true
表示忽略版本检查提示框,HBuilderX
1.9
.
0
及以上版本支持
"ignoreVersion"
:
true
//
true
表示忽略版本检查提示框,HBuilderX
1.9
.
0
及以上版本支持
...
...
pages/addEditEleProduct/addEditEleProduct.vue
View file @
a3af34d5
...
@@ -522,6 +522,7 @@
...
@@ -522,6 +522,7 @@
}
else
{
}
else
{
if
(
JSON
.
parse
(
opdata
.
results
).
data
.
code
==
1
){
if
(
JSON
.
parse
(
opdata
.
results
).
data
.
code
==
1
){
let
results
=
JSON
.
parse
(
opdata
.
results
);
//扫描得到得商品信息
let
results
=
JSON
.
parse
(
opdata
.
results
);
//扫描得到得商品信息
this
.
form
.
code
=
results
.
data
.
data
.
barcode
;
this
.
findEleProduct
(
results
);
this
.
findEleProduct
(
results
);
}
else
{
}
else
{
let
results
=
JSON
.
parse
(
opdata
.
results
);
let
results
=
JSON
.
parse
(
opdata
.
results
);
...
...
pages/login/login.vue
View file @
a3af34d5
...
@@ -218,10 +218,15 @@
...
@@ -218,10 +218,15 @@
this
.
$api
.
msg
(
"
您需要先同意用户协议和隐私策略
"
);
this
.
$api
.
msg
(
"
您需要先同意用户协议和隐私策略
"
);
return
false
;
return
false
;
}
}
let
cID
=
''
let
cID
=
{}
// #ifdef APP-PLUS
// #ifdef APP-PLUS
cID
=
plus
.
push
.
getClientInfo
();
cID
=
plus
.
push
.
getClientInfo
();
// #endif
// #endif
console
.
log
(
cID
,
"
cID
"
);
if
(
cID
==
null
){
cID
=
{};
}
if
(
this
.
username
==
""
){
if
(
this
.
username
==
""
){
this
.
$api
.
msg
(
"
用户名不能为空
"
);
this
.
$api
.
msg
(
"
用户名不能为空
"
);
...
...
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