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 9a3d9274
authored
Apr 28, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式bug修复
1 parent
13134eea
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
42 additions
and
8 deletions
src/views/goodsOrder/detail.vue
src/views/goodsOrder/index.vue
src/views/goodsWarehouse/detail.vue
src/views/goodsWarehouse/index.vue
src/views/goodsWarehouse/wDetail.vue
src/views/goodsWarehouse/warehouse.vue
src/views/saleOrder/detail.vue
src/views/saleOrder/index.vue
src/views/selectionStore/index.vue
src/views/goodsOrder/detail.vue
View file @
9a3d927
...
@@ -38,6 +38,9 @@
...
@@ -38,6 +38,9 @@
</GLTable>
</GLTable>
</div>
</div>
</div>
</div>
<GLFooter>
<el-button
style=
"margin-top: 16px;"
@
click=
"$router.back()"
size=
"medium"
>
取消
</el-button>
</GLFooter>
</div>
</div>
</
template
>
</
template
>
...
@@ -108,14 +111,14 @@ export default {
...
@@ -108,14 +111,14 @@ export default {
{
{
label
:
'小计 (元)'
,
label
:
'小计 (元)'
,
formatter
:
cell
=>
{
formatter
:
cell
=>
{
return
cell
.
salePrice
*
cell
.
sellQty
return
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
}
}
},
},
{
{
label
:
'实收金额 (元)'
,
label
:
'实收金额 (元)'
,
prop
:
'orderAmount'
,
prop
:
'orderAmount'
,
formatter
:
cell
=>
{
formatter
:
cell
=>
{
return
cell
.
salePrice
*
cell
.
sellQty
return
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
}
}
}
}
]
]
...
...
src/views/goodsOrder/index.vue
View file @
9a3d927
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<span
v-for=
"item in titleList"
:key=
"item.id"
:class=
"['title',
{'curTitleCla': orderFormObj.requestType==item.id}]" @click="changeTable(item.id)">
{{
item
.
name
}}
</span>
<span
v-for=
"item in titleList"
:key=
"item.id"
:class=
"['title',
{'curTitleCla': orderFormObj.requestType==item.id}]" @click="changeTable(item.id)">
{{
item
.
name
}}
</span>
</div>
</div>
<div
class=
"table-wrap"
>
<div
class=
"table-wrap"
>
<GLTable
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
@
setTableFinishFun=
"setTableFinishFun"
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<img
:src=
"scope.scope.goodsImageUrl"
alt=
""
>
<img
:src=
"scope.scope.goodsImageUrl"
alt=
""
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')"
placement=
"top"
>
...
@@ -144,7 +144,7 @@ export default {
...
@@ -144,7 +144,7 @@ export default {
label
:
'实收金额 (元)'
,
label
:
'实收金额 (元)'
,
width
:
130
,
width
:
130
,
formatter
:
cell
=>
{
formatter
:
cell
=>
{
return
cell
.
salePrice
*
cell
.
sellQty
return
(
cell
.
salePrice
*
cell
.
sellQty
).
toFixed
(
2
)
}
}
},
},
{
{
...
@@ -182,6 +182,10 @@ export default {
...
@@ -182,6 +182,10 @@ export default {
methods
:
{
methods
:
{
transfStatus
:
util
.
transfStatus
,
transfStatus
:
util
.
transfStatus
,
setTableFinishFun
()
{
//接收到的数据为空
this
.
$refs
.
tableRef
.
data
.
length
?
(
this
.
$refs
.
tableRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
tableRef
.
setTableHeightFun
()
},
changeTable
(
id
){
changeTable
(
id
){
this
.
orderFormObj
.
requestType
=
id
this
.
orderFormObj
.
requestType
=
id
this
.
handleSearch
()
this
.
handleSearch
()
...
...
src/views/goodsWarehouse/detail.vue
View file @
9a3d927
...
@@ -65,6 +65,9 @@
...
@@ -65,6 +65,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<GLFooter>
<el-button
style=
"margin-top: 16px;"
@
click=
"$router.back()"
size=
"medium"
>
取消
</el-button>
</GLFooter>
</div>
</div>
</template>
</template>
...
...
src/views/goodsWarehouse/index.vue
View file @
9a3d927
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<el-button
:size=
"size"
type=
"primary"
plain
@
click=
"batchPriceChange"
>
批量改价
</el-button>
<el-button
:size=
"size"
type=
"primary"
plain
@
click=
"batchPriceChange"
>
批量改价
</el-button>
</div>
</div>
</div>
</div>
<GLTable
ref=
"tableRef"
:pageConf=
"pageConf"
@
sortChange=
"sortChange"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
@
setTableFinishFun=
"setTableFinishFun"
ref=
"tableRef"
:pageConf=
"pageConf"
@
sortChange=
"sortChange"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<img
:src=
"scope.scope.goodsImgUrl"
alt=
""
>
<img
:src=
"scope.scope.goodsImgUrl"
alt=
""
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')"
placement=
"top"
>
...
@@ -217,6 +217,11 @@ export default {
...
@@ -217,6 +217,11 @@ export default {
},
},
methods
:
{
methods
:
{
setTableFinishFun
()
{
//接收到的数据为空
this
.
$refs
.
tableRef
.
data
.
length
?
(
this
.
$refs
.
tableRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
tableRef
.
setTableHeightFun
()
},
sortChange
(
e
){
sortChange
(
e
){
const
{
order
,
prop
}
=
e
const
{
order
,
prop
}
=
e
if
(
prop
==
'saleAmount'
){
if
(
prop
==
'saleAmount'
){
...
...
src/views/goodsWarehouse/wDetail.vue
View file @
9a3d927
...
@@ -65,6 +65,9 @@
...
@@ -65,6 +65,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<GLFooter>
<el-button
style=
"margin-top: 16px;"
@
click=
"$router.back()"
size=
"medium"
>
取消
</el-button>
</GLFooter>
</div>
</div>
</template>
</template>
...
...
src/views/goodsWarehouse/warehouse.vue
View file @
9a3d927
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<el-button
:size=
"size"
@
click=
"batchRemove(
{}, 1)">批量移出
</el-button>
<el-button
:size=
"size"
@
click=
"batchRemove(
{}, 1)">批量移出
</el-button>
</div>
</div>
</div>
</div>
<GLTable
ref=
"tableRef"
@
sortChange=
"sortChange"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
@
setTableFinishFun=
"setTableFinishFun"
ref=
"tableRef"
@
sortChange=
"sortChange"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<img
:src=
"scope.scope.goodsImgUrl"
alt=
""
>
<img
:src=
"scope.scope.goodsImgUrl"
alt=
""
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')"
placement=
"top"
>
...
@@ -206,6 +206,10 @@ export default {
...
@@ -206,6 +206,10 @@ export default {
},
},
methods
:
{
methods
:
{
setTableFinishFun
()
{
//接收到的数据为空
this
.
$refs
.
tableRef
.
data
.
length
?
(
this
.
$refs
.
tableRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
tableRef
.
setTableHeightFun
()
},
sortChange
(
e
){
sortChange
(
e
){
const
{
order
,
prop
}
=
e
const
{
order
,
prop
}
=
e
if
(
prop
==
'goodsStock'
){
if
(
prop
==
'goodsStock'
){
...
...
src/views/saleOrder/detail.vue
View file @
9a3d927
...
@@ -38,6 +38,9 @@
...
@@ -38,6 +38,9 @@
</GLTable>
</GLTable>
</div>
</div>
</div>
</div>
<GLFooter>
<el-button
style=
"margin-top: 16px;"
@
click=
"$router.back()"
size=
"medium"
>
取消
</el-button>
</GLFooter>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/saleOrder/index.vue
View file @
9a3d927
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<span
v-for=
"item in titleList"
:key=
"item.id"
:class=
"['title',
{'curTitleCla': orderFormObj.requestType==item.id}]" @click="changeTable(item.id)">
{{
item
.
name
}}
</span>
<span
v-for=
"item in titleList"
:key=
"item.id"
:class=
"['title',
{'curTitleCla': orderFormObj.requestType==item.id}]" @click="changeTable(item.id)">
{{
item
.
name
}}
</span>
</div>
</div>
<div
class=
"table-wrap"
>
<div
class=
"table-wrap"
>
<GLTable
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
@
setTableFinishFun=
"setTableFinishFun"
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<img
:src=
"scope.scope.goodsImageUrl"
alt=
""
>
<img
:src=
"scope.scope.goodsImageUrl"
alt=
""
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"(scope.scope.brandName || '') + (scope.scope.goodsSkuName || '')"
placement=
"top"
>
...
@@ -198,6 +198,10 @@ export default {
...
@@ -198,6 +198,10 @@ export default {
},
},
methods
:
{
methods
:
{
setTableFinishFun
()
{
//接收到的数据为空
this
.
$refs
.
tableRef
.
data
.
length
?
(
this
.
$refs
.
tableRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
tableRef
.
setTableHeightFun
()
},
changeTable
(
id
){
changeTable
(
id
){
this
.
orderFormObj
.
requestType
=
id
this
.
orderFormObj
.
requestType
=
id
this
.
handleSearch
()
this
.
handleSearch
()
...
...
src/views/selectionStore/index.vue
View file @
9a3d927
...
@@ -263,7 +263,12 @@ export default {
...
@@ -263,7 +263,12 @@ export default {
padding
:
20px
;
padding
:
20px
;
.noData{
.noData{
margin
:
auto
;
height
:
calc
(
100vh
-
310px
);
min-height
:
300px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
flex-direction
:
column
;
text-align
:
center
;
text-align
:
center
;
color
:
#666
;
color
:
#666
;
img{
img{
...
...
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