Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9372b053
authored
Aug 20, 2026
by
renyizhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表单去掉销量
parent
f1a15c83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
12 deletions
+1
-12
src/views/compute/resourcespu/form/index.vue
+1
-12
No files found.
src/views/compute/resourcespu/form/index.vue
View file @
9372b053
...
@@ -125,17 +125,7 @@
...
@@ -125,17 +125,7 @@
</el-form-item>
</el-form-item>
</div>
</div>
<!-- 9. 商品销量 -->
<!-- 9. 商品销量:创建时默认为 0,由订单支付回调自动累加,不在表单中维护 -->
<div
style=
"display: flex; margin-bottom: 24px"
>
<el-form-item
label=
"商品销量"
prop=
"sales"
style=
"margin-bottom: 0"
>
<el-input
v-model=
"formData.sales"
placeholder=
"请输入商品销量"
style=
"width: 150px"
:disabled=
"isDetailMode"
/>
</el-form-item>
</div>
<!-- 10. 商品简介 -->
<!-- 10. 商品简介 -->
<el-form-item
label=
"商品简介"
prop=
"intro"
>
<el-form-item
label=
"商品简介"
prop=
"intro"
>
...
@@ -267,7 +257,6 @@ const formRules = reactive({
...
@@ -267,7 +257,6 @@ const formRules = reactive({
name
:
[{
required
:
true
,
message
:
'算力资源名称不能为空'
,
trigger
:
'blur'
}],
name
:
[{
required
:
true
,
message
:
'算力资源名称不能为空'
,
trigger
:
'blur'
}],
categoryId
:
[{
required
:
true
,
message
:
'算力资源分类编号不能为空'
,
trigger
:
'blur'
}],
categoryId
:
[{
required
:
true
,
message
:
'算力资源分类编号不能为空'
,
trigger
:
'blur'
}],
picUrl
:
[{
required
:
true
,
message
:
'商品封面图不能为空'
,
trigger
:
'blur'
}],
picUrl
:
[{
required
:
true
,
message
:
'商品封面图不能为空'
,
trigger
:
'blur'
}],
sales
:
[{
required
:
true
,
message
:
'商品销量不能为空'
,
trigger
:
'blur'
}],
status
:
[{
required
:
true
,
message
:
'状态不能为空'
,
trigger
:
'blur'
}]
status
:
[{
required
:
true
,
message
:
'状态不能为空'
,
trigger
:
'blur'
}]
})
})
...
...
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