Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
logistics-center
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
前端
logistics-center
Commits
b117b54f
Commit
b117b54f
authored
Jun 18, 2021
by
zhangdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物流配置
parent
f040f186
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
240 additions
and
1 deletion
+240
-1
index.js
src/router/index.js
+2
-1
index.js
src/router/logisticsConfiguration/index.js
+12
-0
companyChannels.vue
src/views/logisticsConfiguration/companyChannels.vue
+217
-0
index.js
src/vuex/global/index.js
+9
-0
No files found.
src/router/index.js
View file @
b117b54f
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
// import VueRouter from 'vue-router'
// import VueRouter from 'vue-router'
// import 'vueConfig'
// import 'vueConfig'
import
warehouseConfiguration
from
'./warehouseConfiguration'
import
warehouseConfiguration
from
'./warehouseConfiguration'
import
logisticsConfiguration
from
'./logisticsConfiguration'
const
login
=
resolve
=>
require
([
'@/views/Login'
],
resolve
);
const
login
=
resolve
=>
require
([
'@/views/Login'
],
resolve
);
import
index
from
'./index/index'
import
index
from
'./index/index'
// const parent = resolve => require(['@/components/parent'], resolve);//子页面
// const parent = resolve => require(['@/components/parent'], resolve);//子页面
...
@@ -25,7 +26,7 @@ const routes = [{ // 404
...
@@ -25,7 +26,7 @@ const routes = [{ // 404
// redirect: '/',
// redirect: '/',
name
:
'home'
,
name
:
'home'
,
component
:
Home
,
component
:
Home
,
children
:
[].
concat
(
index
,
warehouseConfiguration
)
children
:
[].
concat
(
index
,
warehouseConfiguration
,
logisticsConfiguration
)
},
},
].
reverse
();
].
reverse
();
export
const
router
=
new
VueRouter
({
export
const
router
=
new
VueRouter
({
...
...
src/router/logisticsConfiguration/index.js
0 → 100644
View file @
b117b54f
const
companyChannels
=
resolve
=>
require
([
'@/views/logisticsConfiguration/companyChannels'
],
resolve
);
export
default
[
{
path
:
'/logisticsConfiguration/companyChannels'
,
name
:
'companyChannels'
,
component
:
companyChannels
,
meta
:
{
title
:
'公司物流渠道'
}
}
]
src/views/logisticsConfiguration/companyChannels.vue
0 → 100644
View file @
b117b54f
<
template
>
<el-col
:span=
"24"
class=
"mw"
>
<div
class=
"content-include"
>
<div
class=
"content-title"
>
发货仓库配置>发货仓库
</div>
<div
class=
"df"
>
<div
class=
"pct50"
>
<div
class=
"search-input"
>
<el-form
:inline=
"true"
:model=
"queryParams"
class=
"demo-form-inline"
>
<el-form-item
label=
"仓库编码:"
>
<el-input
v-model=
"queryParams.batchCode"
clearable
size=
"mini"
placeholder=
"批次编码"
@
change=
"searchClick"
@
keyup
.
enter
.
native=
"getPage"
/>
</el-form-item>
<el-form-item
label=
"仓库名字:"
>
<el-input
v-model=
"queryParams.importAccount"
clearable
size=
"mini"
placeholder=
"导入账号"
@
change=
"searchClick"
@
keyup
.
enter
.
native=
"getPage"
/>
</el-form-item>
<el-button
type=
"primary"
size=
"mini"
@
click=
"getPage"
class=
"mt7 mr15 r mb10"
>
查询
</el-button>
</el-form>
</div>
<div
class=
"pl15 mt10"
>
<el-button
type=
"primary"
size=
"mini"
class=
"mb10"
@
click=
"importPlatformBill"
>
+ 新建
</el-button>
</div>
<el-table
ref=
"multipleTable"
:data=
"importTableData"
class=
"pl15 mb47"
@
selection-change=
"importTableDataSelectionChange"
:height=
"tableMaxHeight"
>
<el-table-column
type=
"selection"
align=
"center"
/>
<el-table-column
prop=
"createAccount"
label=
"仓库名称"
/>
<el-table-column
prop=
"createDate"
label=
"仓库地址信息"
/>
<el-table-column
prop=
"batchCode"
label=
"状态"
sortable
/>
<el-table-column
label=
"操作"
>
<template
slot-scope=
"scope"
>
<span
class=
"poi textButton"
@
click=
"searchDetail(scope.row)"
>
编辑
</span>
<span
class=
"poi textColor"
@
click=
"fileDownload(scope.row.fileUrl, scope.row.fileName)"
>
删除成功
</span>
<span
class=
"poi textColor"
@
click=
"delFile(scope.row.id, scope.row.importStatus)"
>
应用
</span>
</
template
>
</el-table-column>
</el-table>
</div>
<div
class=
"pct50"
>
<div
class=
"search-input"
>
<el-form
:inline=
"true"
:model=
"queryParams"
class=
"demo-form-inline"
>
<el-form-item
label=
"仓库编码:"
>
<el-input
v-model=
"queryParams.batchCode"
clearable
size=
"mini"
placeholder=
"批次编码"
@
change=
"searchClick"
@
keyup
.
enter
.
native=
"getPage"
/>
</el-form-item>
<el-form-item
label=
"仓库名字:"
>
<el-input
v-model=
"queryParams.importAccount"
clearable
size=
"mini"
placeholder=
"导入账号"
@
change=
"searchClick"
@
keyup
.
enter
.
native=
"getPage"
/>
</el-form-item>
<el-button
type=
"primary"
size=
"mini"
@
click=
"getPage"
class=
"mt7 mr15 r mb10"
>
查询
</el-button>
</el-form>
</div>
<div
class=
"pl15 mt10"
>
<el-button
type=
"primary"
size=
"mini"
class=
"mb10"
@
click=
"importPlatformBill"
>
+ 新建
</el-button>
</div>
<el-table
ref=
"multipleTable2"
:data=
"importTableData"
class=
"pl15 mb47"
@
selection-change=
"importTableDataSelectionChange"
:height=
"tableMaxHeight"
>
<el-table-column
type=
"selection"
align=
"center"
/>
<el-table-column
prop=
"createAccount"
label=
"仓库名称"
/>
<el-table-column
prop=
"createDate"
label=
"仓库地址信息"
/>
<el-table-column
prop=
"timeCode"
label=
"仓库编码"
/>
<el-table-column
prop=
"batchCode"
label=
"状态"
sortable
/>
<el-table-column
prop=
"agentCode"
label=
"更新时间"
sortable
/>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<span
class=
"poi textButton"
@
click=
"searchDetail(scope.row)"
>
编辑
</span>
<span
class=
"poi textColor"
@
click=
"fileDownload(scope.row.fileUrl, scope.row.fileName)"
>
删除成功
</span>
<span
class=
"poi textColor"
@
click=
"delFile(scope.row.id, scope.row.importStatus)"
>
应用
</span>
</
template
>
</el-table-column>
</el-table>
</div>
</div>
</div>
<el-col
:span=
"24"
>
<div
class=
"ceiling-pagination"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"queryParams.currentPage"
:page-sizes=
"[30, 50, 100]"
:page-size=
"queryParams.pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"queryParams.total"
style=
"float:right;display:inline-block"
/>
</div>
</el-col>
</el-col>
</template>
<
script
>
export
default
{
data
()
{
return
{
table
:
true
,
queryParams
:
{
batchCode
:
''
,
importAccount
:
''
,
timeCode
:
''
,
authCode
:
''
,
feeType
:
''
,
feeTypeList
:
[],
fileName
:
''
,
importStatus
:
''
,
importStatusList
:
[],
syncStatus
:
''
,
syncStatusList
:
[],
orderId
:
''
,
sourceId
:
''
,
currentPage
:
1
,
pageSize
:
30
,
total
:
0
,
isPage
:
true
},
total
:
0
,
tableData
:
[],
importTableData
:
[],
importRecordData
:
[],
importTableDataSelectionLength
:
0
,
tableMaxHeight
:
window
.
innerHeight
-
263
,
}
},
methods
:
{
},
mounted
()
{
window
.
onresize
=
()
=>
{
return
(()
=>
{
that
.
tableMaxHeight
=
window
.
innerHeight
-
263
})();
}
},
activated
()
{
this
.
tableMaxHeight
=
window
.
innerHeight
-
263
;
},
}
</
script
>
<
style
scoped
lang=
"less"
>
.el-drawer__body {
.el-pagination {
margin-right: 0px
}
}
.textButton {
color: #4E74FC;
}
.textColor {
color: #555555;
}
.el-table th.gutter {
display: table-cell !important;
}
.test {
margin-top: 14px;
}
.f13 {
font-size: 13px;
font-weight: normal;
}
.el-table th > .cell {
display: inline-block;
-webkit-box-sizing: border-box;
box-sizing: border-box;
position: relative;
vertical-align: middle;
padding-right: 10px;
width: 100%;
}
.show-overflow {
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
}
.errorRow {
color: #F56C6C;
}
.very-long-font {
font-size: 12px;
display: -webkit-box;
text-overflow: ellipsis;
overflow: hidden;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
.pl0 {
padding-left: 0;
}
.pt0 {
padding-top: 0;
}
.has-choose{
height: 25px;
border: 1px solid #4E74FC;
background:rgb(224, 244, 255);
border-radius: 4px;
line-height: 25px;
}
</
style
>
src/vuex/global/index.js
View file @
b117b54f
...
@@ -32,6 +32,15 @@ const state = {
...
@@ -32,6 +32,15 @@ const state = {
{
path
:
'/warehouseConfiguration/shipperInformation'
,
name
:
'发件人信息'
},
{
path
:
'/warehouseConfiguration/shipperInformation'
,
name
:
'发件人信息'
},
]
]
},
},
{
path
:
'/'
,
name
:
'物流配置'
,
iconCls
:
'el-icon-notebook-1'
,
leaf
:
false
,
children
:
[
{
path
:
'/logisticsConfiguration/companyChannels'
,
name
:
'公司物流渠道'
},
]
},
]
]
};
};
const
getters
=
{
const
getters
=
{
...
...
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