Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vipSupplier
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
王淑敏
vipSupplier
Commits
be00ed9c
Commit
be00ed9c
authored
Dec 21, 2023
by
honghong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返利明细-表格添加空白区域
parent
6b843fed
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
8 deletions
+42
-8
.env.development
+2
-2
src/main.js
+1
-0
src/router/index.js
+1
-1
src/views/vab/profitDetailsQuery/index.vue
+38
-5
No files found.
.env.development
View file @
be00ed9c
...
...
@@ -8,8 +8,8 @@ ENV = 'production'
VUE_APP_BASE_API = ''
# 网址
#VUE_APP_BASE_URL = 'http://192.168.0.150
:8955/'
VUE_APP_BASE_URL = 'http://ebcgxw.natappfree.cc'
VUE_APP_BASE_URL = 'http://192.168.0.129
:8955/'
#
VUE_APP_BASE_URL = 'http://ebcgxw.natappfree.cc'
# 路由懒加载
...
...
src/main.js
View file @
be00ed9c
...
...
@@ -4,6 +4,7 @@ import store from './store'
import
router
from
'./router'
import
'./plugins'
import
'@/layouts/export'
/**
* @author https://vue-admin-beautiful.com (不想保留author可删除)
* @description 生产环境默认都使用mock,如果正式用于生产环境时,记得去掉
...
...
src/router/index.js
View file @
be00ed9c
...
...
@@ -455,7 +455,7 @@ export const asyncRoutes = [
alwaysShow
:
true
,
meta
:
{
title
:
'供应商对账'
,
icon
:
'
box-ope
n'
,
icon
:
'
yen-sig
n'
,
},
children
:
[
{
...
...
src/views/vab/profitDetailsQuery/index.vue
View file @
be00ed9c
...
...
@@ -190,13 +190,27 @@
</div>
<el-table
v-loading=
"loading"
:class=
"table.length ? 'table-padding-bottom' : ''"
:data=
"table"
border
:header-cell-style=
"headerStyle"
:cell-style=
"rowStyle"
height=
"52vh"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
></el-table-column>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
:index=
"indexMethod"
>
<template
scope=
"scope"
>
<span>
{{
(
queryForm
.
pageNum
-
1
)
*
queryForm
.
pageSize
+
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"supplierNo"
label=
"供应商编号"
></el-table-column>
<el-table-column
prop=
"supplierName"
...
...
@@ -457,11 +471,18 @@
console
.
log
(
h
-
this
.
fixedHeight
,
'大什么呢'
)
this
.
tableHeight
=
h
-
this
.
fixedHeight
},
// mounted() {
// this.getList()
// },
methods
:
{
getData
()
{
let
arr
=
[]
this
.
total
=
50
for
(
let
i
=
0
;
i
<
10
;
i
++
)
{
console
.
log
(
i
,
'i'
)
arr
.
push
({
supplierName
:
'22'
,
})
}
this
.
table
=
arr
},
//获取表格列表
getList
()
{
this
.
loading
=
true
...
...
@@ -474,6 +495,15 @@
this
.
loading
=
false
})
},
indexMethod
(
index
)
{
console
.
log
(
(
this
.
queryForm
.
pageNum
-
1
)
*
this
.
queryForm
.
pageSize
+
index
+
1
,
'小标'
)
return
(
(
this
.
queryForm
.
pageNum
-
1
)
*
this
.
queryForm
.
pageSize
+
index
+
1
)
},
headerStyle
()
{
return
'background:#409eff;text-align:center;color:#fff;'
},
...
...
@@ -540,6 +570,9 @@
</
script
>
<
style
lang=
"scss"
scoped
>
::v-deep
.table-padding-bottom
.el-table__body
{
padding-bottom
:
600px
!important
;
}
.el-form
::v-deep
{
width
:
100%
;
display
:
flex
;
...
...
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