Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
luqiao-app
Overview
Overview
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
杨子
luqiao-app
Commits
a7dbdd7a
Commit
a7dbdd7a
authored
Jun 05, 2019
by
niuxiaolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加address
parent
c6274866
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
check-add.component.ts
...ts/assets-used/checkPlan/check-add/check-add.component.ts
+3
-1
No files found.
src/app/routes/assets/assets-used/checkPlan/check-add/check-add.component.ts
View file @
a7dbdd7a
...
...
@@ -45,9 +45,11 @@ export class CheckAddComponent implements OnInit {
.
getCurrentPosition
()
.
then
((
res
:
PositionOptions
)
=>
{
console
.
log
(
res
);
// res.address 为位置信息
this
.
address
=
res
.
address
;
})
.
catch
(
error
=>
console
.
error
(
error
));
}
address
:
string
;
registerForm
:
FormGroup
;
submit
:
any
=
{
checkPlanAssetList
:
[]
};
inventoryType
=
[
"资产明细盘点"
,
"资产范围盘点"
];
...
...
@@ -209,7 +211,7 @@ export class CheckAddComponent implements OnInit {
// result.checkPlanAssetList = [this.detail];
console
.
log
(
this
.
registerForm
.
value
);
var
result
=
{
id
:
this
.
registerForm
.
value
.
id
,
remarks
:
this
.
registerForm
.
value
.
remarks
,
checkSta
:
this
.
registerForm
.
value
.
checkSta
,
checkAnnex
:
""
}
var
result
=
{
address
:
this
.
address
,
id
:
this
.
registerForm
.
value
.
id
,
remarks
:
this
.
registerForm
.
value
.
remarks
,
checkSta
:
this
.
registerForm
.
value
.
checkSta
,
checkAnnex
:
""
}
result
.
checkAnnex
=
this
.
fileStrs
.
join
(
','
);
this
.
api
.
addCheckPlan
(
result
).
subscribe
(
data
=>
{
if
(
!
data
.
success
)
{
...
...
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