Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
Warehouse
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
9490f49b
authored
May 12, 2020
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
11
parent
bb8e2ce1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletions
pages/cardBoard/cardBoard.js
pages/mountingPlate/mountingPlate.js
pages/receivinggoods/receivinggoods.js
pages/receivinggoods/receivinggoods.wxml
pages/cardBoard/cardBoard.js
View file @
9490f49b
...
...
@@ -434,6 +434,11 @@ for (let i = 0, j = 0, length = buffer.byteLength; i < length; i += maxChunk, j+
})
}
else
{
//型号
wx
.
showToast
({
title
:
'数据格式不准确'
,
icon
:
'none'
,
duration
:
2000
});
}
},
...
...
pages/mountingPlate/mountingPlate.js
View file @
9490f49b
...
...
@@ -435,6 +435,11 @@ for (let i = 0, j = 0, length = buffer.byteLength; i < length; i += maxChunk, j+
})
}
else
{
//型号
wx
.
showToast
({
title
:
'数据格式不准确'
,
icon
:
'none'
,
duration
:
2000
});
}
},
...
...
pages/receivinggoods/receivinggoods.js
View file @
9490f49b
...
...
@@ -673,6 +673,10 @@ onUnload:function(){
let
formData
=
this
.
data
.
formData
;
let
reg
=
/^
(
XB|KB
)\d{11}
$/
;
let
newVal
=
value
;
if
(
newVal
==
'confirm_receipt'
){
this
.
fbFun
();
return
}
if
(
!
formData
.
xh
){
//型号未扫描
if
(
!
reg
.
test
(
value
)){
...
...
pages/receivinggoods/receivinggoods.wxml
View file @
9490f49b
...
...
@@ -112,7 +112,7 @@
</view>
</view>
<view class="form-bottom-right-bottom Bflex aic">
<image class="ewm" src="../../res/img/
login-img
.png"></image>
<image class="ewm" src="../../res/img/
confirm
.png"></image>
<text>收货确认二维码</text>
</view>
</view>
...
...
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