Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
srm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
aship
srm
Commits
e7694d10
Commit
e7694d10
authored
Aug 15, 2019
by
顾俭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aship/aship#3 防伪码功能-作废重打:UI
parent
47834c37
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
query.html
src/main/resources/static/app/srm/barcode/query/query.html
+2
-2
query.js
src/main/resources/static/app/srm/barcode/query/query.js
+2
-2
No files found.
src/main/resources/static/app/srm/barcode/query/query.html
View file @
e7694d10
...
...
@@ -6,8 +6,8 @@
<div
class=
"col-md-4"
>
<div
class=
"form-group"
>
<label>
营运中心
</label>
<select
class=
"form-control select2"
ng-model=
"queryCondition.factory.factoryUid"
required
style=
"width: 100%;"
>
<option
ng-repeat=
"factory in factories"
value=
"{{factory.factoryUid}}"
>
{{factory.name}}
</option>
<select
class=
"form-control select2"
ng-model=
"queryCondition.factory.factoryUid"
required
style=
"width: 100%;"
ng-change=
"barcodeChange()"
>
<option
ng-repeat=
"
factory in factories"
value=
"{{factory.factoryUid}}"
>
{{factory.name}}
</option>
</select>
</div>
</div>
...
...
src/main/resources/static/app/srm/barcode/query/query.js
View file @
e7694d10
angular
.
module
(
'IOne'
).
controller
(
'BarcodeQueryController'
,
function
(
$scope
,
Constants
,
$interval
,
$uibModal
,
UtilService
,
BaseFactoryFileService
,
AuthService
,
BarcodeService
)
{
$scope
.
queryCondition
=
{
factory
:
{
id
:
null
},
factory
:
{
factoryU
id
:
null
},
barcode
:
null
};
...
...
@@ -81,7 +81,7 @@ angular.module('IOne').controller('BarcodeQueryController', function ($scope, Co
BaseFactoryFileService
.
getByAccount
().
then
(
function
(
response
)
{
$scope
.
factories
=
response
;
if
(
$scope
.
factories
.
length
>
0
)
{
$scope
.
queryCondition
.
factory
.
id
=
$scope
.
factories
[
0
].
id
;
$scope
.
queryCondition
.
factory
.
factoryUid
=
$scope
.
factories
[
0
].
factoryU
id
;
}
});
};
...
...
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