Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
周健威
rs-cloud-platform-ui
Commits
c5f191de
Commit
c5f191de
authored
Jan 04, 2021
by
rencs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
行业价格,验证样式,价格精度
parent
6d92871a
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
214 additions
and
151 deletions
+214
-151
index.vue
...views/archiveDataManagement/satelliteManagement/index.vue
+8
-2
index.vue
...nt/industryApplication/applicationList/addUpApp/index.vue
+18
-0
index.vue
...ent/industryApplication/applicationList/appList/index.vue
+188
-149
No files found.
src/views/archiveDataManagement/satelliteManagement/index.vue
View file @
c5f191de
...
@@ -93,8 +93,8 @@
...
@@ -93,8 +93,8 @@
<el-form-item
label=
"价格"
prop=
"price"
>
<el-form-item
label=
"价格"
prop=
"price"
>
<el-input-number
<el-input-number
:min=
"0"
:min=
"0"
:step=
"1"
:step=
"
0.0
1"
:precision=
"
0
"
:precision=
"
2
"
v-model=
"form.price"
v-model=
"form.price"
></el-input-number>
></el-input-number>
</el-form-item>
</el-form-item>
...
@@ -178,11 +178,17 @@ export default {
...
@@ -178,11 +178,17 @@ export default {
price
:
0
,
price
:
0
,
status
:
0
,
status
:
0
,
};
};
this
.
$nextTick
(()
=>
{
this
.
$refs
[
"form"
].
clearValidate
();
});
},
},
edit
(
row
)
{
edit
(
row
)
{
this
.
showAddOrUpd
=
true
;
this
.
showAddOrUpd
=
true
;
this
.
titleText
=
"修改卫星传感器"
;
this
.
titleText
=
"修改卫星传感器"
;
this
.
form
=
row
;
this
.
form
=
row
;
this
.
$nextTick
(()
=>
{
this
.
$refs
[
"form"
].
clearValidate
();
});
},
},
changeSate
(
row
,
state
)
{
changeSate
(
row
,
state
)
{
let
data
=
{
let
data
=
{
...
...
src/views/webSiteManagement/industryApplication/applicationList/addUpApp/index.vue
View file @
c5f191de
...
@@ -117,6 +117,17 @@
...
@@ -117,6 +117,17 @@
></el-input>
></el-input>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
label=
"价格"
prop=
"price"
>
<el-col
:span=
"12"
>
<el-input-number
v-model=
"form.price"
:min=
"0"
:step=
"0.01"
:precision=
"2"
placeholder=
"请输入价格"
></el-input-number>
</el-col>
</el-form-item>
<el-form-item
label=
"是否提供样例"
prop=
"isSample"
>
<el-form-item
label=
"是否提供样例"
prop=
"isSample"
>
<el-radio-group
v-model=
"form.isSample"
>
<el-radio-group
v-model=
"form.isSample"
>
<el-radio-button
label=
"是"
></el-radio-button>
<el-radio-button
label=
"是"
></el-radio-button>
...
@@ -204,6 +215,7 @@ export default {
...
@@ -204,6 +215,7 @@ export default {
detailImg
:
[
detailImg
:
[
{
required
:
true
,
message
:
"请上传详情图"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请上传详情图"
,
trigger
:
"blur"
},
],
],
price
:
[{
required
:
true
,
message
:
"请输入价格"
,
trigger
:
"blur"
}],
industry
:
[{
required
:
true
,
message
:
"请输入行业"
,
trigger
:
"blur"
}],
industry
:
[{
required
:
true
,
message
:
"请输入行业"
,
trigger
:
"blur"
}],
region
:
[{
required
:
true
,
message
:
"请输入地区"
,
trigger
:
"blur"
}],
region
:
[{
required
:
true
,
message
:
"请输入地区"
,
trigger
:
"blur"
}],
collectTime
:
[
collectTime
:
[
...
@@ -230,6 +242,7 @@ export default {
...
@@ -230,6 +242,7 @@ export default {
],
],
},
},
form
:
{
form
:
{
price
:
0
,
//价格
title
:
""
,
// 应用名称
title
:
""
,
// 应用名称
coverImg
:
""
,
// 封面图
coverImg
:
""
,
// 封面图
detailImg
:
""
,
// 详情图
detailImg
:
""
,
// 详情图
...
@@ -272,6 +285,9 @@ export default {
...
@@ -272,6 +285,9 @@ export default {
this
.
form
.
title
=
info
.
title
;
this
.
form
.
title
=
info
.
title
;
this
.
form
.
coverImg
=
info
.
coverImg
;
this
.
form
.
coverImg
=
info
.
coverImg
;
this
.
form
.
detailImg
=
info
.
icon
.
url
;
this
.
form
.
detailImg
=
info
.
icon
.
url
;
console
.
log
(
info
);
this
.
form
.
price
=
info
.
price
;
this
.
form
.
industry
=
attribute
.
industry
;
this
.
form
.
industry
=
attribute
.
industry
;
this
.
form
.
region
=
attribute
.
area
;
this
.
form
.
region
=
attribute
.
area
;
this
.
form
.
collectTime
=
attribute
.
date
;
this
.
form
.
collectTime
=
attribute
.
date
;
...
@@ -443,6 +459,7 @@ export default {
...
@@ -443,6 +459,7 @@ export default {
title
:
this
.
form
.
title
,
title
:
this
.
form
.
title
,
coverImg
:
this
.
form
.
coverImg
,
coverImg
:
this
.
form
.
coverImg
,
detailImg
:
this
.
form
.
detailImg
,
detailImg
:
this
.
form
.
detailImg
,
price
:
this
.
form
.
price
,
introduction
:
this
.
form
.
introduction
,
introduction
:
this
.
form
.
introduction
,
attribute
:
JSON
.
stringify
({
attribute
:
JSON
.
stringify
({
industry
:
this
.
form
.
industry
,
industry
:
this
.
form
.
industry
,
...
@@ -478,6 +495,7 @@ export default {
...
@@ -478,6 +495,7 @@ export default {
coverImg
:
this
.
form
.
coverImg
,
coverImg
:
this
.
form
.
coverImg
,
detailImg
:
this
.
form
.
detailImg
,
detailImg
:
this
.
form
.
detailImg
,
introduction
:
this
.
form
.
introduction
,
introduction
:
this
.
form
.
introduction
,
price
:
this
.
form
.
price
,
attribute
:
JSON
.
stringify
({
attribute
:
JSON
.
stringify
({
industry
:
this
.
form
.
industry
,
industry
:
this
.
form
.
industry
,
area
:
this
.
form
.
region
,
area
:
this
.
form
.
region
,
...
...
src/views/webSiteManagement/industryApplication/applicationList/appList/index.vue
View file @
c5f191de
This diff is collapsed.
Click to expand it.
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