Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
linshenxs-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈超
linshenxs-shop
Commits
ddb69e67
Commit
ddb69e67
authored
Jul 15, 2022
by
cpa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
规格表价格多了一个 已解决
parent
37a5f53e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
src/views/businessGoods/goodsEdit/goods_edit.vue
+2
-13
No files found.
src/views/businessGoods/goodsEdit/goods_edit.vue
View file @
ddb69e67
...
@@ -35,20 +35,13 @@
...
@@ -35,20 +35,13 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"
商家
价格"
width=
"160"
>
<el-table-column
label=
"价格"
width=
"160"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input-number
v-model=
"scope.row.merchantPrice"
:precision=
"2"
:step=
"1"
:min=
"0"
>
<el-input-number
v-model=
"scope.row.merchantPrice"
:precision=
"2"
:step=
"1"
:min=
"0"
>
</el-input-number>
</el-input-number>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"售卖价格"
width=
"160"
>
<
template
slot-scope=
"scope"
>
<el-input-number
v-model=
"scope.row.sellPrice"
:precision=
"2"
:step=
"1"
:min=
"0"
>
</el-input-number>
</
template
>
</el-table-column>
<el-table-column
label=
"图片"
width=
"120"
>
<el-table-column
label=
"图片"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<uploader
:size=
"
{width: '60px', height: '60px'}" :urls="scope.row.goodsImage" @change="(list) => { scope.row.goodsImage = list.join(',') }" />
<uploader
:size=
"
{width: '60px', height: '60px'}" :urls="scope.row.goodsImage" @change="(list) => { scope.row.goodsImage = list.join(',') }" />
...
@@ -348,11 +341,7 @@
...
@@ -348,11 +341,7 @@
callback
(
new
Error
(
"第"
+
(
i
+
1
)
+
"个规格商品商家价格不正确"
))
callback
(
new
Error
(
"第"
+
(
i
+
1
)
+
"个规格商品商家价格不正确"
))
return
return
}
}
let
sellPrice
=
parseFloat
(
sku
.
sellPrice
)
if
(
isNaN
(
sellPrice
))
{
callback
(
new
Error
(
"第"
+
(
i
+
1
)
+
"个规格商品售卖价格不正确"
))
return
}
let
goodsImage
=
sku
.
goodsImage
let
goodsImage
=
sku
.
goodsImage
if
(
goodsImage
==
undefined
||
goodsImage
.
length
==
0
)
{
if
(
goodsImage
==
undefined
||
goodsImage
.
length
==
0
)
{
callback
(
new
Error
(
"第"
+
(
i
+
1
)
+
"个规格商品图片未上传"
))
callback
(
new
Error
(
"第"
+
(
i
+
1
)
+
"个规格商品图片未上传"
))
...
...
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