Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
fc05e127
Commit
fc05e127
authored
May 08, 2019
by
dahai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
d89297fd
5d461a68
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
22 deletions
+28
-22
filmManagement.html
...resources/static/views/filmManagement/filmManagement.html
+4
-2
filmManagement.js
...n/resources/static/views/filmManagement/filmManagement.js
+13
-9
materialManagement.js
...ces/static/views/materialManagement/materialManagement.js
+11
-11
No files found.
src/main/resources/static/views/filmManagement/filmManagement.html
View file @
fc05e127
...
...
@@ -37,7 +37,7 @@
<tr>
<td>
数量:
</td>
<td>
<input
type=
"
text"
class=
"form-control
"
ng-model=
"totalCount"
placeholder=
"数量"
required
>
<input
type=
"
number
"
ng-model=
"totalCount"
placeholder=
"数量"
required
>
</td>
<td>
操作:
</td>
<td>
...
...
@@ -102,7 +102,9 @@
<td
ng-if=
"item.plasticFilmType==2"
>
入库
</td>
<td>
{{item.note}}
</td>
<td>
{{item.name}}
</td>
<td
ng-show=
"item.state==0"
><a
ng-click=
"updateFilmState(item)"
>
确认审核
</a></td>
<td
ng-show=
"item.state==0"
>
<button
class=
"btn btn-info"
ng-click=
"updateFilmState(item)"
>
确认审核
</button>
</td>
<td
ng-show=
"item.state==1"
>
已确认
</td>
</tr>
</tbody>
...
...
src/main/resources/static/views/filmManagement/filmManagement.js
View file @
fc05e127
...
...
@@ -30,15 +30,19 @@ angular.module('AvatarCheck.filmManagement', ['ngRoute', 'AvatarCheck.http'])
plasticFilmType
=
"1"
;
}
console
.
log
(
totalCount
,
plasticFilmType
,
note
,
name
)
HttpService
.
insertFilm
(
totalCount
,
plasticFilmType
,
note
,
name
,
1
,
function
(
data
)
{
$scope
.
totalCount
=
""
;
$scope
.
note
=
""
if
(
data
==
false
){
MessageService
.
showAlert
(
"添加失败"
)
}
else
{
MessageService
.
showAlert
(
"添加成功"
)
}
})
if
(
!
totalCount
){
MessageService
.
showAlert
(
"输入耗材数量格式不正确"
)
}
else
{
HttpService
.
insertFilm
(
totalCount
,
plasticFilmType
,
note
,
name
,
1
,
function
(
data
)
{
$scope
.
totalCount
=
""
;
$scope
.
note
=
""
if
(
data
==
false
){
MessageService
.
showAlert
(
"添加失败"
)
}
else
{
MessageService
.
showAlert
(
"添加成功"
)
}
})
}
}
$scope
.
selectFilmManagement
=
function
(){
...
...
src/main/resources/static/views/materialManagement/materialManagement.js
View file @
fc05e127
...
...
@@ -33,18 +33,18 @@ angular.module('AvatarCheck.materialManagement', ['ngRoute', 'AvatarCheck.http']
cardType
=
"1"
;
}
console
.
log
(
totalCount
,
note
,
cardType
,
cardBodyType
,
name
,
"---"
,
totalCount
>=
1
,
"---"
);
if
(
totalCount
>=
1
){
HttpService
.
insertCardBody
(
cardType
,
totalCount
,
note
,
cardBodyType
,
name
,
1
,
function
(
data
)
{
$scope
.
totalCount
=
""
;
$scope
.
note
=
""
if
(
data
==
false
){
MessageService
.
showAlert
(
"添加失败"
)
}
else
{
MessageService
.
showAlert
(
"添加成功"
)
}
})
}
else
{
if
(
!
totalCount
){
MessageService
.
showAlert
(
"输入耗材数量格式不正确"
)
}
else
{
HttpService
.
insertCardBody
(
cardType
,
totalCount
,
note
,
cardBodyType
,
name
,
1
,
function
(
data
)
{
$scope
.
totalCount
=
""
;
$scope
.
note
=
""
if
(
data
==
false
){
MessageService
.
showAlert
(
"添加失败"
)
}
else
{
MessageService
.
showAlert
(
"添加成功"
)
}
})
}
}
...
...
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