Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
陈婉清
/
scrm-micro-mall
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 97f5bf60
authored
Apr 21, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加上架时间
1 parent
7321f4ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
src/views/goodsWarehouse/index.vue
src/views/goodsWarehouse/index.vue
View file @
97f5bf6
...
@@ -48,6 +48,7 @@ import inputNumRange from '@/components/inputNumRange'
...
@@ -48,6 +48,7 @@ import inputNumRange from '@/components/inputNumRange'
import
categoryCascader
from
'@/components/categoryCascader.vue'
import
categoryCascader
from
'@/components/categoryCascader.vue'
import
setPriceDialog
from
'./setPriceDialog.vue'
import
setPriceDialog
from
'./setPriceDialog.vue'
import
{
utils
}
from
'glsx-common'
import
{
utils
}
from
'glsx-common'
import
util
from
'@/util/util'
export
default
{
export
default
{
name
:
'warehouseIndex'
,
name
:
'warehouseIndex'
,
data
()
{
data
()
{
...
@@ -129,27 +130,39 @@ export default {
...
@@ -129,27 +130,39 @@ export default {
},
},
{
{
label
:
'设置销售价'
,
label
:
'设置销售价'
,
width
:
150
,
addHtml
:
'setPriceSlot'
,
addHtml
:
'setPriceSlot'
,
prop
:
'salePrice'
,
prop
:
'salePrice'
,
sortable
:
'custom'
,
sortable
:
'custom'
,
},
},
{
{
label
:
'供货价(元)'
,
label
:
'供货价(元)'
,
prop
:
'sellPrice'
prop
:
'sellPrice'
,
width
:
150
},
},
{
{
label
:
'市场价(元)'
,
label
:
'市场价(元)'
,
width
:
150
,
prop
:
'marketPrice'
prop
:
'marketPrice'
},
},
{
{
label
:
'真实销量'
,
label
:
'真实销量'
,
width
:
150
,
prop
:
'saleAmount'
,
prop
:
'saleAmount'
,
sortable
:
'custom'
,
sortable
:
'custom'
,
},
},
{
{
label
:
'库存'
,
label
:
'库存'
,
width
:
150
,
prop
:
'goodsStock'
prop
:
'goodsStock'
},
},
{
label
:
'上架时间'
,
width
:
200
,
formatter
:
cellValue
=>
{
return
cellValue
.
saleDate
?
util
.
dateFormat
(
cellValue
.
saleDate
,
'YYYY-MM-DD HH:mm:ss'
)
:
'--'
}
}
// {
// {
// label: '销售状态',
// label: '销售状态',
// prop: 'shelvesStatus',
// prop: 'shelvesStatus',
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment