Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinhaitao
taobao-mini-template
Commits
8df0263d
Commit
8df0263d
authored
Oct 13, 2020
by
李硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
库存校验
parent
50a9e51c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
prize-dialog.js
client/components/dialog/prize-dialog/prize-dialog.js
+1
-1
rank-dialog.axml
client/components/dialog/rank-dialog/rank-dialog.axml
+1
-1
No files found.
client/components/dialog/prize-dialog/prize-dialog.js
View file @
8df0263d
...
...
@@ -421,7 +421,7 @@ Component({
}
// 库存奖品的库存值判断
let
usePass
=
switchStock
==
1
?
+
stock
>
(
useStock
||
0
)
:
true
;
let
stockPass
=
switchStock
==
1
?
!
validateRangeNumber
(
credits
,
[
0
,
99999
])
:
true
;
let
stockPass
=
switchStock
==
1
?
validateRangeNumber
(
credits
,
[
0
,
99999
])
:
true
;
if
(
!
stockPass
||
!
usePass
)
{
this
.
showItemTips
(
"prizeNumberTips"
,
...
...
client/components/dialog/rank-dialog/rank-dialog.axml
View file @
8df0263d
...
...
@@ -19,7 +19,7 @@
<form-item class="edit-content-formItem" label="奖品编号" labelTextAlign="right" asterisk="{{false}}">
<input data-type="prize" value="{{searchInfo.prizeId}}" onChange="onInputChange" hasLimitHint="true" name="奖品编号" />
</form-item>
<form-item class="edit-content-formItem" label="用户
id
" labelTextAlign="right" asterisk="{{false}}">
<form-item class="edit-content-formItem" label="用户
昵称
" labelTextAlign="right" asterisk="{{false}}">
<input data-type="user" value="{{searchInfo.userNick}}" onChange="onInputChange" hasLimitHint="true" name="用户id" />
</form-item>
<form-item class="edit-content-formItem" label="发奖时间" labelTextAlign="right" asterisk="{{false}}">
...
...
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