Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
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 a6535ae6
authored
Apr 23, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui修改
1 parent
bf6123f8
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
36 additions
and
23 deletions
src/assets/css/public.scss
src/components/categoryCascader.vue/index.vue
src/views/goodsOrder/index.vue
src/views/goodsWarehouse/detail.vue
src/views/goodsWarehouse/index.vue
src/views/goodsWarehouse/setPriceDialog.vue
src/views/goodsWarehouse/warehouse.vue
src/views/saleOrder/index.vue
src/views/selectionStore/index.vue
src/assets/css/public.scss
View file @
a6535ae
...
@@ -375,6 +375,10 @@
...
@@ -375,6 +375,10 @@
}
}
.operate-btn
{
.operate-btn
{
.el-button
{
margin-left
:
8px
;
}
.export-btn
{
.export-btn
{
margin-left
:
8px
;
margin-left
:
8px
;
}
}
...
...
src/components/categoryCascader.vue/index.vue
View file @
a6535ae
<
template
>
<
template
>
<el-cascader
:props=
"categoryProps"
v-model=
"categoryCode[key]"
:options=
"categoryList"
></el-cascader>
<el-cascader
placeholder=
"全部"
clearable
:props=
"categoryProps"
v-model=
"categoryCode[key]"
:options=
"categoryList"
></el-cascader>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -19,6 +19,7 @@ export default {
...
@@ -19,6 +19,7 @@ export default {
return
{
return
{
categoryProps
:
{
categoryProps
:
{
lazy
:
true
,
lazy
:
true
,
checkStrictly
:
true
,
label
:
'categoryName'
,
label
:
'categoryName'
,
value
:
'categoryCode'
,
value
:
'categoryCode'
,
lazyLoad
:
this
.
getCategoryList
lazyLoad
:
this
.
getCategoryList
...
...
src/views/goodsOrder/index.vue
View file @
a6535ae
...
@@ -133,7 +133,7 @@ export default {
...
@@ -133,7 +133,7 @@ export default {
},
},
{
{
label
:
'单价 (元)'
,
label
:
'单价 (元)'
,
prop
:
's
ell
Price'
prop
:
's
ale
Price'
},
},
{
{
label
:
'数量'
,
label
:
'数量'
,
...
@@ -142,7 +142,7 @@ export default {
...
@@ -142,7 +142,7 @@ export default {
{
{
label
:
'实收金额 (元)'
,
label
:
'实收金额 (元)'
,
width
:
130
,
width
:
130
,
prop
:
'
orderAmount
'
prop
:
'
payPrice
'
},
},
{
{
label
:
'用户信息'
,
label
:
'用户信息'
,
...
...
src/views/goodsWarehouse/detail.vue
View file @
a6535ae
...
@@ -358,7 +358,7 @@ export default {
...
@@ -358,7 +358,7 @@ export default {
background
:
#F4F6FC
;
background
:
#F4F6FC
;
}
}
.value
{
.value
{
width
:
328px
;
width
:
100%
;
}
}
}
}
}
}
...
...
src/views/goodsWarehouse/index.vue
View file @
a6535ae
...
@@ -9,11 +9,11 @@
...
@@ -9,11 +9,11 @@
<inputNumRange
:formData=
"goodsFormObj"
:keyObj=
"
{from: 'startPrice', to:'endPrice'}">
</inputNumRange>
<inputNumRange
:formData=
"goodsFormObj"
:keyObj=
"
{from: 'startPrice', to:'endPrice'}">
</inputNumRange>
</div>
</div>
<div
slot=
"spreadPriceSlot"
>
<div
slot=
"spreadPriceSlot"
>
<inputNumRange
:formData=
"goodsFormObj"
:keyObj=
"
{from: 'start
Price', to:'end
Price'}">
</inputNumRange>
<inputNumRange
:formData=
"goodsFormObj"
:keyObj=
"
{from: 'start
DiffPrice', to:'endDiff
Price'}">
</inputNumRange>
</div>
</div>
</GLCombiForm>
</GLCombiForm>
<div
class=
"operate-wrap"
>
<div
class=
"operate-wrap"
>
<span
class=
"table-title"
>
销售中
商品列表
</span>
<span
class=
"table-title"
>
商品列表
</span>
<div
class=
"operate-btn"
>
<div
class=
"operate-btn"
>
<el-button
:size=
"size"
type=
"primary"
plain
@
click=
"handleShelf(
{}, true)">批量下架
</el-button>
<el-button
:size=
"size"
type=
"primary"
plain
@
click=
"handleShelf(
{}, true)">批量下架
</el-button>
<el-button
:size=
"size"
type=
"primary"
plain
@
click=
"batchPriceChange"
>
批量改价
</el-button>
<el-button
:size=
"size"
type=
"primary"
plain
@
click=
"batchPriceChange"
>
批量改价
</el-button>
...
@@ -130,19 +130,19 @@ export default {
...
@@ -130,19 +130,19 @@ export default {
}
}
},
},
{
{
label
:
'设置销售价'
,
label
:
'设置销售价
(元)
'
,
width
:
1
5
0
,
width
:
1
8
0
,
addHtml
:
'setPriceSlot'
,
addHtml
:
'setPriceSlot'
,
prop
:
'salePrice'
,
prop
:
'salePrice'
,
sortable
:
'custom'
,
sortable
:
'custom'
,
},
},
{
{
label
:
'供货价
(元)
'
,
label
:
'供货价
(元)
'
,
prop
:
'sellPrice'
,
prop
:
'sellPrice'
,
width
:
150
width
:
150
},
},
{
{
label
:
'市场价
(元)
'
,
label
:
'市场价
(元)
'
,
width
:
150
,
width
:
150
,
prop
:
'marketPrice'
prop
:
'marketPrice'
},
},
...
...
src/views/goodsWarehouse/setPriceDialog.vue
View file @
a6535ae
...
@@ -53,7 +53,10 @@ export default {
...
@@ -53,7 +53,10 @@ export default {
}
}
.el-input-group__append
{
.el-input-group__append
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
20px
;
padding
:
0
11px
;
span{
margin
:
0
;
}
}
}
}
}
}
}
...
...
src/views/goodsWarehouse/warehouse.vue
View file @
a6535ae
...
@@ -92,7 +92,7 @@ export default {
...
@@ -92,7 +92,7 @@ export default {
label
:
'可上架'
label
:
'可上架'
},{
},{
id
:
'1002'
,
id
:
'1002'
,
label
:
'
可
下架'
label
:
'
已
下架'
}],
}],
optionId
:
'id'
,
optionId
:
'id'
,
optionLabel
:
'label'
,
optionLabel
:
'label'
,
...
@@ -130,15 +130,16 @@ export default {
...
@@ -130,15 +130,16 @@ export default {
}
}
},
},
{
{
label
:
'设置销售价'
,
label
:
'设置销售价(元)'
,
width
:
150
,
addHtml
:
'setPriceSlot'
addHtml
:
'setPriceSlot'
},
},
{
{
label
:
'供货价
(元)
'
,
label
:
'供货价
(元)
'
,
prop
:
'sellPrice'
prop
:
'sellPrice'
},
},
{
{
label
:
'市场价
(元)
'
,
label
:
'市场价
(元)
'
,
prop
:
'marketPrice'
prop
:
'marketPrice'
},
},
{
{
...
@@ -149,10 +150,7 @@ export default {
...
@@ -149,10 +150,7 @@ export default {
{
{
label
:
'商品状态'
,
label
:
'商品状态'
,
prop
:
'shelvesStatus'
,
prop
:
'shelvesStatus'
,
addHtml
:
'shelvesStatusSlot'
,
addHtml
:
'shelvesStatusSlot'
formatter
:
cellValue
=>
{
return
cellValue
.
shelvesStatus
==
1001
?
'可上架'
:
'可下架'
}
}
}
]
]
},
},
...
...
src/views/saleOrder/index.vue
View file @
a6535ae
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
</el-tooltip>
</el-tooltip>
</div>
</div>
<div
slot=
"userInfoSlot"
class=
"userInfoSlot"
slot-scope=
"scope"
>
<div
slot=
"userInfoSlot"
class=
"userInfoSlot"
slot-scope=
"scope"
>
<p
class=
"name"
>
{{
scope
.
scope
.
receive
Name
||
'--'
}}
</p>
<p
class=
"name"
>
{{
scope
.
scope
.
account
Name
||
'--'
}}
</p>
<p
class=
"phone"
>
{{
scope
.
scope
.
receiveMobil
e
}}
</p>
<p
class=
"phone"
>
{{
scope
.
scope
.
customerPhon
e
}}
</p>
</div>
</div>
<div
slot=
"orderStatusSlot"
slot-scope=
"scope"
>
<div
slot=
"orderStatusSlot"
slot-scope=
"scope"
>
<span
class=
"circle"
:style=
"
{backgroundColor: scope.scope.refundStatus==1006 ? '#2CCA74': '#5850FF'}">
</span>
<span
class=
"circle"
:style=
"
{backgroundColor: scope.scope.refundStatus==1006 ? '#2CCA74': '#5850FF'}">
</span>
...
...
src/views/selectionStore/index.vue
View file @
a6535ae
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
<div
class=
"search-wrap"
>
<div
class=
"search-wrap"
>
<GLCombiForm
ref=
"goodsRef"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
:formObj=
"goodsFormObj"
:formData=
"goodsFormData"
>
<GLCombiForm
ref=
"goodsRef"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
:formObj=
"goodsFormObj"
:formData=
"goodsFormData"
>
<div
slot=
"categorySlot"
>
<div
slot=
"categorySlot"
>
<el-cascader
:props=
"categoryProps"
v-model=
"goodsFormObj.categoryCode"
:options=
"categoryList"
></el-cascader>
<!--
<el-cascader
:props=
"categoryProps"
v-model=
"goodsFormObj.categoryCode"
:options=
"categoryList"
></el-cascader>
-->
<categoryCascader
:categoryCode
.
sync=
"goodsFormObj"
></categoryCascader>
</div>
</div>
<div
slot=
"supplyPriceSlot"
>
<div
slot=
"supplyPriceSlot"
>
<inputNumRange
:formData=
"goodsFormObj"
:keyObj=
"
{from: 'startSellPrice', to:'endSellPrice'}">
</inputNumRange>
<inputNumRange
:formData=
"goodsFormObj"
:keyObj=
"
{from: 'startSellPrice', to:'endSellPrice'}">
</inputNumRange>
...
@@ -68,6 +69,7 @@
...
@@ -68,6 +69,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
categoryCascader
from
'@/components/categoryCascader.vue'
import
inputNumRange
from
'@/components/inputNumRange'
import
inputNumRange
from
'@/components/inputNumRange'
export
default
{
export
default
{
name
:
'index'
,
name
:
'index'
,
...
@@ -143,7 +145,8 @@ export default {
...
@@ -143,7 +145,8 @@ export default {
},
},
components
:
{
components
:
{
inputNumRange
inputNumRange
,
categoryCascader
},
},
created
(){
created
(){
this
.
getGoodsList
()
this
.
getGoodsList
()
...
@@ -298,6 +301,10 @@ export default {
...
@@ -298,6 +301,10 @@ export default {
top
:
50%
;
top
:
50%
;
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
&:hover{
background
:
#8A85FF
;
border-color
:
#8A85FF
;
}
}
}
}
}
.status-label
{
.status-label
{
...
...
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