Commit 44ddc25f by LJM

寄售管理

parent 17d177bc
html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%
}
html * {
outline: 0;
-webkit-text-size-adjust: none !important;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important
outline: 0;
-webkit-text-size-adjust: none !important;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important
}
html, body {
font-family: PingFangSC-Regular, PingFang SC, 'Microsoft Yahei', sans-serif;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 14px;
color: #646B78
font-family: PingFangSC-Regular, PingFang SC, "Microsoft Yahei", sans-serif;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 14px;
color: #646B78
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section {
margin: 0;
padding: 0
margin: 0;
padding: 0
}
button, input, select, textarea {
font-size: 100%;
border: none;
-webkit-appearance: none
font-size: 100%;
border: none;
-webkit-appearance: none
}
input[type=button], input[type=file], input[type=submit] {
cursor: pointer
cursor: pointer
}
table {
border-collapse: collapse;
border-spacing: 0
border-collapse: collapse;
border-spacing: 0
}
ol, ul, dl {
list-style: none
list-style: none
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
font-weight: 500
font-size: 100%;
font-weight: 500
}
em, b, i {
font-style: normal
font-style: normal
}
a {
text-decoration: none
text-decoration: none
}
img {
border: none
border: none
}
.clr {
*zoom: 1;
clear: both
*zoom: 1;
clear: both
}
.clr:after {
content: ".";
clear: both;
height: 0;
visibility: hidden;
display: block
content: ".";
clear: both;
height: 0;
visibility: hidden;
display: block
}
.fl {
float: left;
_display: inline
float: left;
_display: inline
}
.fr {
float: right;
_display: inline
float: right;
_display: inline
}
.va-t {
vertical-align: top
vertical-align: top
}
.va-m {
vertical-align: middle
vertical-align: middle
}
.va-b {
vertical-align: bottom
vertical-align: bottom
}
.lineBlock {
display: inline-block;
*display: inline;
zoom: 1;
letter-spacing: normal;
word-spacing: normal
display: inline-block;
*display: inline;
zoom: 1;
letter-spacing: normal;
word-spacing: normal
}
.lbBox {
font-size: 0 !important;
*word-spacing: -1px !important
font-size: 0 !important;
*word-spacing: -1px !important
}
.emptys {
margin-left: -1px;
width: 1px;
height: 100%;
font-size: 0;
vertical-align: middle
margin-left: -1px;
width: 1px;
height: 100%;
font-size: 0;
vertical-align: middle
}
.boxsiz {
-webkit-box-sizing: border-box;
box-sizing: border-box
-webkit-box-sizing: border-box;
box-sizing: border-box
}
.column {
display: flex;
flex-direction: column
display: flex;
flex-direction: column
}
.row {
display: flex;
flex-direction: row
display: flex;
flex-direction: row
}
.bothSide {
justify-content: space-between
justify-content: space-between
}
.avarage {
justify-content: space-around
justify-content: space-around
}
.rowCenter {
justify-content: center
justify-content: center
}
.verCenter {
align-items: center
align-items: center
}
.boxFlex {
-webkit-box-flex: 1;
-moz-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1
-webkit-box-flex: 1;
-moz-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1
}
html, body {
width: 100%;
height: 100%;
-webkit-overflow-scrolling: touch
width: 100%;
height: 100%;
-webkit-overflow-scrolling: touch
}
body {
overflow-x: hidden;
background: #F1F4FA
overflow-x: hidden;
background: #F1F4FA
}
.f-blue {
color: #1969F9
color: #1969F9
}
.f-green {
color: #3FBE1B
color: #3FBE1B
}
.f-yellow1 {
color: #CC8200
color: #CC8200
}
.f-red1 {
color: #FC1F00
color: #FC1F00
}
.el-pagination {
text-align: right;
margin-top: 20px
text-align: right;
margin-top: 20px
}
.pagex {
padding: 20px;
min-height: 500px;
background: #FFFFFF;
padding: 20px;
min-height: 500px;
background: #FFFFFF;
}
.zdypop {
.el-form-item__label {
color: #333
}
.el-input.is-disabled {
background-color: #F1F4FA;
border-color: #F1F4FA
}
.el-input.is-disabled .el-input__inner {
background-color: #F1F4FA;
border-color: #F1F4FA
}
.el-form-item__label {
color: #333
}
.el-input.is-disabled {
background-color: #F1F4FA;
border-color: #F1F4FA
}
.el-input.is-disabled .el-input__inner {
background-color: #F1F4FA;
border-color: #F1F4FA
}
}
//弹窗公共样式
.el-dialog__body {
padding: 20px !important
padding: 20px !important
}
.el-dialog__title {
font-size: 14px;
color: #333;
font-weight: bold;
position: relative;
&::after {
content: "";
position: absolute;
width: 5px;
height: 22px;
background: #1969F9;
left: -20px;
top: 2px
}
font-size: 14px;
color: #333;
font-weight: bold;
position: relative;
&::after {
content: "";
position: absolute;
width: 5px;
height: 22px;
background: #1969F9;
left: -20px;
top: 2px
}
}
.el-icon-close {
font-size: 24px;
&:hover, &:focus {
color: #1969F9 !important
}
font-size: 24px;
&:hover, &:focus {
color: #1969F9 !important
}
}
.el-message-box__container {
}
.el-message-box__message {
display: inline-block
display: inline-block
}
.el-message-box__message p {
color: #333;
font-size: 16px
color: #333;
font-size: 16px
}
.el-message-box__status.el-icon-error {
color: #FC1F00 !important;
font-size: 25px !important
color: #FC1F00 !important;
font-size: 25px !important
}
.el-message-box__close:before {
content: "\E609"
content: "\E609"
}
.el-message-box__btns, .dialog-footer {
.el-button {
width: 76px;
height: 34px;
text-align: center;
line-height: 34px;
background: #E8ECF4;
border: 1px solid #E8ECF4;
border-radius: 2px;
color: #8391AD;
font-size: 14px;
padding: 0px;
&:hover, &:focus {
color: #8391AD;
background: #E8ECF4;
border: 1px solid #E8ECF4
}
&.el-button--primary {
border: 1px solid #1969F9;
color: #fff;
background: #1969F9;
&:hover, &:focus {
color: #fff;
background: #1969F9;
border: 1px solid #1969F9
}
.el-button {
width: 76px;
height: 34px;
text-align: center;
line-height: 34px;
background: #E8ECF4;
border: 1px solid #E8ECF4;
border-radius: 2px;
color: #8391AD;
font-size: 14px;
padding: 0px;
&:hover, &:focus {
color: #8391AD;
background: #E8ECF4;
border: 1px solid #E8ECF4
}
&.el-button--primary {
border: 1px solid #1969F9;
color: #fff;
background: #1969F9;
&:hover, &:focus {
color: #fff;
background: #1969F9;
border: 1px solid #1969F9
}
}
}
}
}
.p-text {
margin-bottom: 6px;
em {
width: 56px;
text-align: left
}
span {
width: 214px;
height: 30px;
background: #F1F4FA;
border-radius: 2px;
font-size: 14px;
color: #333333;
padding-left: 7px;
margin-left: 8px;
text-align: left
}
margin-bottom: 6px;
em {
width: 56px;
text-align: left
}
span {
width: 214px;
height: 30px;
background: #F1F4FA;
border-radius: 2px;
font-size: 14px;
color: #333333;
padding-left: 7px;
margin-left: 8px;
text-align: left
}
}
.tip-title {
padding: 8px 16px;
background-color: #ecf8ff;
border-radius: 4px;
border-left: 5px solid #50bfff;
margin: 20px 0;
p {
font-size: 14px;
color: #5e6d82;
line-height: 1.5em
}
padding: 8px 16px;
background-color: #ecf8ff;
border-radius: 4px;
border-left: 5px solid #50bfff;
margin: 20px 0;
p {
font-size: 14px;
color: #5e6d82;
line-height: 1.5em
}
}
.el-cascader-menu__list {
max-height: 500px !important;
max-height: 500px !important;
}
.yunyin-btn {
background: #409eff !important;
border-color: #409eff !important;
&:hover {
opacity: 0.85;
}
background: #409eff !important;
border-color: #409eff !important;
&:hover {
opacity: 0.85;
}
}
.el-table th {
font-weight: bold;
color: #5f5f5f;
font-weight: bold;
color: #5f5f5f;
}
.el-table th.el-table__cell {
background-color: #f1f5fa !important;
background-color: #f1f5fa !important;
}
.operation-area {
margin-bottom: 20px;
margin-bottom: 20px;
}
.text-tip {
background: #fdf5e6;
border-radius: 15px;
height: 30px;
margin-left: 10px;
padding: 0 10px;
.el-icon-warning {
font-size: 16px;
color: #ff9000;
}
span {
font-size: 12px;
color: #333333;
margin-left: 4px;
}
}
.contact-information {
p {
height: 25px;
margin-bottom: 5px;
em {
background: #fdf5e6;
border-radius: 15px;
height: 30px;
margin-left: 10px;
padding: 0 10px;
.el-icon-warning {
font-size: 16px;
color: #ff9000;
}
span {
padding: 0 5px;
width: 147px;
background: #f1f5fa;
font-size: 12px;
color: #333333;
margin-left: 4px;
}
}
.contact-information {
p {
height: 25px;
margin-bottom: 5px;
em {
}
span {
padding: 0 5px;
width: 147px;
background: #f1f5fa;
}
}
}
}
.alink {
color: #409EFF;
color: #409EFF;
}
.btn-element {
height: 20px;
color: #FFF;
background-color: #409EFF;
box-sizing: border-box;
width: 44px;
height: 20px;
color: #FFF;
background-color: #409EFF;
box-sizing: border-box;
width: 44px;
}
.dialog-layer-notice {
width: 580px;
min-height: 325px;
padding: 15px 0;
background: url("https://img.ichunt.com/images/ichunt/202302/20/134df9995b5c165202ed45fd900b4e98.png") no-repeat center !important;
background-size: cover !important;
box-sizing: border-box;
.el-dialog__header {
position: relative;
top: -26px;
margin: 0 15px;
height: 48px;
line-height: 48px;
background: #FFFFFF;
padding: 0px !important;
padding-left: 20px !important;
width: 580px;
min-height: 325px;
padding: 15px 0;
background: url("https://img.ichunt.com/images/ichunt/202302/20/134df9995b5c165202ed45fd900b4e98.png") no-repeat center !important;
background-size: cover !important;
box-sizing: border-box;
border-radius: 6px 6px 0 0;
.el-icon-close {
font-size: 20px;
margin-left: 2px;
}
.el-dialog__headerbtn {
top: -34px;
right: -8px;
z-index: 99;
&:after {
width: 24px;
height: 24px;
line-height: 24px;
text-align: center;
.el-dialog__header {
position: relative;
top: -26px;
margin: 0 15px;
height: 48px;
line-height: 48px;
background: #FFFFFF;
border-radius: 50%;
content: '';
display: block;
position: absolute;
top: -2px;
z-index: -1;
}
padding: 0px !important;
padding-left: 20px !important;
box-sizing: border-box;
border-radius: 6px 6px 0 0;
.el-icon-close {
font-size: 20px;
margin-left: 2px;
}
.el-dialog__headerbtn {
top: -34px;
right: -8px;
z-index: 99;
&:after {
width: 24px;
height: 24px;
line-height: 24px;
text-align: center;
background: #FFFFFF;
border-radius: 50%;
content: "";
display: block;
position: absolute;
top: -2px;
z-index: -1;
}
}
}
}
.el-dialog__title {
font-size: 16px;
color: #387fff;
font-weight: bold;
&:after {
display: none;
.el-dialog__title {
font-size: 16px;
color: #387fff;
font-weight: bold;
&:after {
display: none;
}
}
}
.el-dialog__body {
position: relative;
top: -26px;
margin: 0 15px;
background: #FFFFFF;
border-radius: 0 0 6px 6px;
}
.notice-content {
padding: 20px;
min-height: 221px;
max-height: 500px;
overflow-y: auto;
font-size: 14px;
color: #313131;
box-sizing: border-box;
img {
max-width: 100%;
.el-dialog__body {
position: relative;
top: -26px;
margin: 0 15px;
background: #FFFFFF;
border-radius: 0 0 6px 6px;
}
}
.enclosure {
border-top: 1px solid #E5EBF6;;
padding-left: 22px;
height: 36px;
span {
font-size: 12px;
color: #313131;
.notice-content {
padding: 20px;
min-height: 221px;
max-height: 500px;
overflow-y: auto;
font-size: 14px;
color: #313131;
box-sizing: border-box;
img {
max-width: 100%;
}
}
.down {
font-size: 12px;
color: #387FFF;
.enclosure {
border-top: 1px solid #E5EBF6;;
padding-left: 22px;
height: 36px;
span {
font-size: 12px;
color: #313131;
}
.down {
font-size: 12px;
color: #387FFF;
}
}
}
.notice-bottom {
position: absolute;
bottom: -31px;
left: 0;
right: 0;
z-index: 99;
padding: 0 24px;
span {
font-size: 12px;
color: #ffffff;
.notice-bottom {
position: absolute;
bottom: -31px;
left: 0;
right: 0;
z-index: 99;
padding: 0 24px;
span {
font-size: 12px;
color: #ffffff;
}
}
}
}
.prefix-icon-time-style {
display: none;
display: none;
}
.section-page {
background: #FFFFFF;
border-radius: 4px;
padding: 20px;
height: calc(100vh - 96px);
box-sizing: border-box;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
background: transparent
width: 6px;
height: 6px;
background: transparent
}
::-webkit-scrollbar-track {
background: white;
border-radius: 2px;
background: white;
border-radius: 2px;
}
::-webkit-scrollbar-thumb {
background: #E6E6E6;
border-radius: 2px;
background: #E6E6E6;
border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
background: #E6E6E6;
background: #E6E6E6;
}
::-webkit-scrollbar-corner {
background: #f6f6f6;
background: #f6f6f6;
}
\ No newline at end of file
......@@ -9,7 +9,7 @@ html * {
}
html,
body {
font-family: PingFangSC-Regular, PingFang SC, 'Microsoft Yahei', sans-serif;
font-family: PingFangSC-Regular, PingFang SC, "Microsoft Yahei", sans-serif;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
......@@ -412,7 +412,7 @@ body {
text-align: center;
background: #FFFFFF;
border-radius: 50%;
content: '';
content: "";
display: block;
position: absolute;
top: -2px;
......@@ -473,6 +473,13 @@ body {
.prefix-icon-time-style {
display: none;
}
.section-page {
background: #FFFFFF;
border-radius: 4px;
padding: 20px;
height: calc(100vh - 96px);
box-sizing: border-box;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
......
{"version":3,"sources":["common.less"],"names":[],"mappings":"AAAA;EACE,8BAAA;EACA,0BAAA;;AAGF,IAAK;EACH,UAAA;EACA,yCAAA;EACA,6CAAA;;AAGF;AAAM;EACJ,8CAA8C,6BAA9C;EACA,kBAAA;EACA,mCAAA;EACA,kCAAA;EACA,eAAA;EACA,cAAA;;AAGF;AAAM;AAAK;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAK;AAAM;AAAM;AAAU;AAAQ;AAAO;AAAU;AAAG;AAAY;AAAI;AAAI;AAAI;AAAQ;AAAS;AAAO;AAAS;AAAY;AAAQ;AAAQ;AAAQ;AAAM;AAAK;EACxN,SAAA;EACA,UAAA;;AAGF;AAAQ;AAAO;AAAQ;EACrB,eAAA;EACA,YAAA;EACA,wBAAA;;AAGF,KAAK;AAAe,KAAK;AAAa,KAAK;EACzC,eAAA;;AAGF;EACE,yBAAA;EACA,iBAAA;;AAGF;AAAI;AAAI;EACN,gBAAA;;AAGF;AAAI;AAAI;AAAI;AAAI;AAAI;EAClB,eAAA;EACA,gBAAA;;AAGF;AAAI;AAAG;EACL,kBAAA;;AAGF;EACE,qBAAA;;AAGF;EACE,YAA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;EACA,0BAAA;;AAlBR,oBAQI,mBAYI;EACI,eAAA;EACA,gBAAA;;AAtBZ,oBAQI,mBAiBI;EACI,UAAA;EACA,WAAA;EACA,WAAA;;AAEA,oBAtBR,mBAiBI,sBAKK;EACG,WAAA;EACA,YAAA;EACA,iBAAA;EACA,kBAAA;EACA,mBAAA;EACA,kBAAA;EACA,SAAS,EAAT;EACA,cAAA;EACA,kBAAA;EACA,SAAA;EACA,WAAA;;AAzChB,oBA8CI;EACI,eAAA;EACA,cAAA;EACA,iBAAA;;AAEA,oBALJ,kBAKK;EACG,aAAA;;AApDZ,oBAwDI;EACI,kBAAA;EACA,UAAA;EACA,cAAA;EACA,mBAAA;EACA,0BAAA;;AA7DR,oBAgEI;EACI,aAAA;EACA,iBAAA;EACA,iBAAA;EACA,gBAAA;EACA,eAAA;EACA,cAAA;EACA,sBAAA;;AAvER,oBAgEI,gBASI;EACI,eAAA;;AA1EZ,oBA8EI;EACI,6BAAA;EACA,kBAAA;EACA,YAAA;;AAjFR,oBA8EI,WAKI;EACI,eAAA;EACA,cAAA;;AArFZ,oBA8EI,WAUI;EACI,eAAA;EACA,cAAA;;AA1FZ,oBA8FI;EACI,kBAAA;EACA,aAAA;EACA,OAAA;EACA,QAAA;EACA,WAAA;EACA,eAAA;;AApGR,oBA8FI,eAQI;EACI,eAAA;EACA,cAAA;;AAKZ;EACI,aAAA;;AAGJ;EACI,mBAAA;EACA,kBAAA;EACA,aAAA;EACA,QAAQ,kBAAR;EACA,sBAAA;;AAGJ;EACI,UAAA;EACA,WAAA;EACA,uBAAA;;AAGJ;EACI,iBAAA;EACA,kBAAA;;AAGJ;EACI,mBAAA;EACA,kBAAA;;AAGJ,yBAAyB;EACrB,mBAAA;;AAGJ;EACI,mBAAA","file":"common.min.css"}
\ No newline at end of file
......@@ -31,221 +31,43 @@ const SubAccountEdit = resolve => require(['@/views/Info/subAccountEdit.vue'], r
const InquireTransform = resolve => require(['@/views/InquireTransform/index.vue'], resolve);
const ConsignmentInventory = resolve => require(['@/views/consignmentManagement/consignmentInventory.vue'], resolve);
const ConsignmentImport = resolve => require(['@/views/consignmentManagement/consignmentImport.vue'], resolve);
const ConsignmentImportDetail = resolve => require(['@/views/consignmentManagement/consignmentImportDetail.vue'], resolve);
const routes = [
//首页
{
path: '/',
name: 'Index',
meta: {
title: '概况'
},
component: Home
},
{
path: '/inquire',
name: 'Inquire',
meta: {
title: '询价管理'
},
component: Inquire
},
{
path: '/inquire/detail',
name: 'InquireDetail',
meta: {
title: '报价详情'
},
component: InquireDetail
},
{
path: '/quote',
name: 'Quote',
meta: {
title: '报价管理'
},
component: Quote
},
{
path: '/brand',
name: 'Brand',
meta: {
title: '品牌列表'
},
component: Brand
},
{
path: '/list',
name: 'List',
meta: {
title: '现货库存'
},
component: List
},
{
path: '/listDetail',
name: 'ListDetail',
meta: {
title: '导入详情'
},
component: ListDetail
},
{
path: '/enter',
name: 'Enter',
meta: {
title: '库存导入'
},
component: Enter
},
{
path: '/goodslist',
name: 'goodslist',
meta: {
title: '优势货源'
},
component: Goodslist
},
{
path: '/goodDetail',
name: 'goodDetail',
meta: {
title: '导入详情'
},
component: GoodDetail
},
{
path: '/goods',
name: 'Goods',
meta: {
title: '商品列表'
},
component: Goods
},
{
path: '/message',
name: 'Message',
meta: {
title: '基本信息'
},
component: Message
},
{
path: '/orderTrackGoods',
name: 'orderTrackGoods',
meta: {
title: '已采购订单'
},
component: OrderTrackGoods
},
{
path: '/orderTrackGoodsDetail',
name: 'orderTrackGoodsDetail',
meta: {
title: '订单明细'
},
component: orderTrackGoodsDetail
},
{
path: '/orderTrackInvoice',
name: 'orderTrackInvoice',
meta: {
title: '发货单'
},
component: OrderTrackInvoice
},
{
path: '/returnGoods',
name: 'returnGoods',
meta: {
title: '退货单'
},
component: ReturnGoods
},
{
path: '/orderTrackPurAdd',
name: 'OrderTrackPurAdd',
meta: {
title: '新增发货单'
},
component: OrderTrackPurAdd
},
{
path: '/login',
name: 'Login',
meta: {
title: '猎芯云芯商家-登录'
},
component: Login
},
{
path: '/notfound',
name: 'notfound',
meta: {
title: '猎芯网'
},
component: notfound
},
{
path: '/bindError',
name: 'BindError',
meta: {
title: '微信重新绑定'
},
component: BindError
},
{
path: '/news',
name: 'news',
meta: {
title: '消息列表'
},
component: News
},
{
path: '/notice',
name: 'notice',
meta: {
title: '系统公告'
},
component: Notice
},
{
path: '/subAccount',
name: 'subAccount',
meta: {
title: '子账号管理'
},
component: SubAccount
},
{
path: '/subAccountadd',
name: 'subAccountadd',
meta: {
title: '创建子账号'
},
component: SubAccountAdd
},
{
path: '/subAccountEdit',
name: 'subAccountEdit',
meta: {
title: '编辑子账号'
},
component: SubAccountEdit
},
{
path: '/inquireTransform',
name: 'inquireTransform',
meta: {
title: '询价转化统计'
},
component: InquireTransform
},
/**错误页面重定向到首页**/
{
path: '*',
redirect: '/',
}
{path: '/', name: 'Index', meta: {title: '概况'}, component: Home},
{path: '/inquire', name: 'Inquire', meta: {title: '询价管理'}, component: Inquire},
{path: '/inquire/detail', name: 'InquireDetail', meta: {title: '报价详情'}, component: InquireDetail},
{path: '/quote', name: 'Quote', meta: {title: '报价管理'}, component: Quote},
{path: '/brand', name: 'Brand', meta: {title: '品牌列表'}, component: Brand},
{path: '/list', name: 'List', meta: {title: '现货库存'}, component: List},
{path: '/listDetail', name: 'ListDetail', meta: {title: '导入详情'}, component: ListDetail},
{path: '/enter', name: 'Enter', meta: {title: '库存导入'}, component: Enter},
{path: '/goodslist', name: 'goodslist', meta: {title: '优势货源'}, component: Goodslist},
{path: '/goodDetail', name: 'goodDetail', meta: {title: '导入详情'}, component: GoodDetail},
{path: '/goods', name: 'Goods', meta: {title: '商品列表'}, component: Goods},
{path: '/message', name: 'Message', meta: {title: '基本信息'}, component: Message},
{path: '/orderTrackGoods', name: 'orderTrackGoods', meta: {title: '已采购订单'}, component: OrderTrackGoods},
{path: '/orderTrackGoodsDetail', name: 'orderTrackGoodsDetail', meta: {title: '订单明细'}, component: orderTrackGoodsDetail},
{path: '/orderTrackInvoice', name: 'orderTrackInvoice', meta: {title: '发货单'}, component: OrderTrackInvoice},
{path: '/returnGoods', name: 'returnGoods', meta: {title: '退货单'}, component: ReturnGoods},
{path: '/orderTrackPurAdd', name: 'OrderTrackPurAdd', meta: {title: '新增发货单'}, component: OrderTrackPurAdd},
{path: '/login', name: 'Login', meta: {title: '猎芯云芯商家-登录'}, component: Login},
{path: '/notfound', name: 'notfound', meta: {title: '猎芯网'}, component: notfound},
{path: '/bindError', name: 'BindError', meta: {title: '微信重新绑定'}, component: BindError},
{path: '/news', name: 'news', meta: {title: '消息列表'}, component: News},
{path: '/notice', name: 'notice', meta: {title: '系统公告'}, component: Notice},
{path: '/subAccount', name: 'subAccount', meta: {title: '子账号管理'}, component: SubAccount},
{path: '/subAccountadd', name: 'subAccountadd', meta: {title: '创建子账号'}, component: SubAccountAdd},
{path: '/subAccountEdit', name: 'subAccountEdit', meta: {title: '编辑子账号'}, component: SubAccountEdit},
{path: '/inquireTransform', name: 'inquireTransform', meta: {title: '询价转化统计'}, component: InquireTransform},
{path: '/consignmentInventory', name: 'consignmentInventory', meta: {title: '寄售库存'}, component: ConsignmentInventory},
{path: '/consignmentImport', name: 'consignmentImport', meta: {title: '寄售库存导入'}, component: ConsignmentImport},
{path: '/consignmentImportDetail', name: 'consignmentImportDetail', meta: {title: '寄售库存导入详情'}, component: ConsignmentImportDetail},
{path: '*', redirect: '/'}
]
const router = new VueRouter({
......
<template>
<div class="pagex">
<div class="section-page">
<!--搜索区-->
<el-form :inline="true" :model="formParam" ref="formParam" label-width="80px">
<el-form-item label="状态" prop="status">
<el-select v-model="formParam.status" placeholder="全部" clearable>
<el-option label="全部" value=""></el-option>
<el-option label="待处理" value="1"></el-option>
<el-option label="处理中" value="2"></el-option>
<el-option label="已处理" value="3"></el-option>
<el-option label="失败" value="4"></el-option>
</el-select>
</el-form-item>
<el-form-item label="创建时间" prop="create_time">
<el-date-picker :unlink-panels=true style="width:193px" prefix-icon="prefix-icon-time-style" v-model="formParam.date" value-format="yyyy-MM-dd" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSubmit">搜索</el-button>
<el-button @click="resetForm('formParam')">重置</el-button>
</el-form-item>
</el-form>
<!--操作区-->
<div class="operation-area row verCenter bothSide">
<div class="operation-button row verCenter">
<el-button type="primary">导入</el-button>
<el-button type="primary">下载模板</el-button>
</div>
</div>
<!--列表区-->
<div class="data-box">
<el-table :data="list" border max-height="600" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="40" align="center" fixed></el-table-column>
<el-table-column prop="msg_sn" label="单号" :show-overflow-tooltip="true" align="center">
<template slot-scope="scope">
<el-link type="primary" @click="$router.push('/consignmentImportDetail')">{{ scope.row.id }}</el-link>
</template>
</el-table-column>
<el-table-column prop="msg_type" label="文件名字" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="msg_type" label="状态" width="160" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="msg_type" label="导入方式" width="160" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="id" label="导入成功" width="160" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="id" label="导入失败" width="160" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="create_time" label="上传时间" width="160" :show-overflow-tooltip="true" align="center"></el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination>
</div>
</div>
<Menu></Menu>
</div>
</template>
<script>
import Vue from 'vue';
import Menu from "@/components/menu.vue";
import {Autocomplete, Button, DatePicker, Descriptions, DescriptionsItem, Dialog, Divider, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, Link, Message, MessageBox, Option, Pagination, Popover, Select, Table, TableColumn, Tag, Tooltip} from 'element-ui'
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm;
Vue.use(Button).use(Link).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Tooltip).use(Autocomplete).use(Popover).use(Tag).use(Divider);
Vue.use(DatePicker).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table).use(Pagination).use(Descriptions).use(DescriptionsItem);
export default {
name: "consignmentImport",
data() {
return {
multipleSelection: [],
total: 0,
page: 1,
limit: 10,
list: [],
formParam: {
status: '',
date: ''
}
};
},
created() {
this.getData()
},
methods: {
getData() {
var params = Object.assign({}, this.formParam,
{page: this.page, limit: this.limit},
{start_time: this.formParam.date ? this.formParam.date[0] : ''},
{end_time: this.formParam.date ? this.formParam.date[1] : ''}
);
this.$http('GET', "/api/message/getMsgList", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.total) || 0;
} else {
this.$message({
message: res.msg,
type: 'error'
});
}
})
},
/**
* 搜索
*/
onSubmit() {
this.page = 1;
this.getData();
},
/**
* 重置表单
* @param formName
*/
resetForm(formName) {
this.formParam.date = '';
this.$refs[formName].resetFields();
},
/**
* 列表分页条数筛选监听
* @param val
*/
handleSizeChange(val) {
this.limit = val;
this.getData();
},
/**
* 列表分页输入页码监听
* @param val
*/
handleCurrentChange(val) {
this.page = val;
this.getData();
},
/**
* chebox 选择监听
* @param val
*/
handleSelectionChange(val) {
this.multipleSelection = val;
}
},
components: {
Menu
}
};
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div class="pagex">
<div class="section-page">
这是管理的详情页
</div>
<Menu></Menu>
</div>
</template>
<script>
import Vue from 'vue';
import Menu from "@/components/menu.vue";
import {Autocomplete, Button, DatePicker, Descriptions, DescriptionsItem, Dialog, Divider, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, Message, MessageBox, Option, Pagination, Popover, Select, Table, TableColumn, Tag, Tooltip} from 'element-ui'
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm;
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Tooltip).use(Autocomplete).use(Popover).use(Tag).use(Divider);
Vue.use(DatePicker).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table).use(Pagination).use(Descriptions).use(DescriptionsItem);
export default {
name: "consignmentImportDetail",
data() {
return {
formParam:{}
};
},
created() {
this.getData()
},
methods: {
getData() {
var params = Object.assign({}, this.formParam);
this.$http('GET', "/api/message/getMsgList", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.total) || 0;
} else {
this.$message({
message: res.msg,
type: 'error'
});
}
})
}
},
components: {
Menu
}
};
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<section class="store pagex">
<div class="store-con">
<!--搜索区-->
<el-form :inline="true" :model="formParam" ref="formParam" label-width="80px">
<el-form-item label="消息类型" prop="msg_type">
<el-select v-model="formParam.msg_type" placeholder="全部" clearable>
<el-option label="全部" value=""></el-option>
<el-option label="已选中报价消息" value="1"></el-option>
<el-option label="已成单消息" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item label="创建时间" prop="create_time">
<el-date-picker :unlink-panels=true style="width:193px" prefix-icon="prefix-icon-time-style" v-model="formParam.date" value-format="yyyy-MM-dd" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSubmit">搜索</el-button>
<el-button @click="resetForm('formParam')">重置</el-button>
</el-form-item>
</el-form>
<!--列表区-->
<div class="data-box">
<el-table :data="list" border max-height="600">
<el-table-column prop="msg_sn" label="消息编号" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="msg_type" label="消息类型" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column prop="create_time" label="创建时间" width="160" :show-overflow-tooltip="true" align="center"></el-table-column>
<el-table-column label="操作" width="110" align="center">
<template slot-scope="scope">
<el-button type="primary" size="mini" @click="viewChange(scope.$index, scope.row)" class="yunyin-btn">查看内容</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination>
</div>
</div>
<Menu/>
<el-dialog title="消息详情" :close-on-click-modal="false" :visible.sync="dialogVisible" width="1000px">
<el-descriptions size="medium" border :column="2">
<el-descriptions-item>
<template slot="label">发件人</template>
{{ msgDetail.sender }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">收件人</template>
{{ msgDetail.recipient }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">时间</template>
{{ msgDetail.create_time }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">大小</template>
{{ msgDetail.size }}
</el-descriptions-item>
</el-descriptions>
<p style="margin-top: 20px;padding-bottom: 10px;">{{ msgDetail.content }}</p>
</el-dialog>
</section>
</template>
<script>
import Vue from 'vue';
import Menu from "@/components/menu.vue";
import {Autocomplete, Button, DatePicker, Descriptions, DescriptionsItem, Dialog, Divider, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, Message, MessageBox, Option, Pagination, Popover, Select, Table, TableColumn, Tag, Tooltip} from 'element-ui'
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm;
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Tooltip).use(Autocomplete).use(Popover).use(Tag).use(Divider);
Vue.use(DatePicker).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table).use(Pagination).use(Descriptions).use(DescriptionsItem);
export default {
name: "consignmentInventory",
data() {
return {
total: 0,
page: 1,
limit: 10,
list: [],
dialogVisible: false,
msgDetail: {},
formParam: {
msg_type: '',
date: ''
}
};
},
created() {
this.getData()
},
methods: {
getData() {
var params = Object.assign({},
{page: this.page, limit: this.limit},
this.formParam,
{start_time: this.formParam.date ? this.formParam.date[0] : ''},
{end_time: this.formParam.date ? this.formParam.date[1] : ''}
);
this.$http('GET', "/api/message/getMsgList", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.total) || 0;
} else {
this.$message({
message: res.msg,
type: 'error'
});
}
})
},
getMsgDetail(msg_id) {
this.$http('GET', "/api/message/getMsgDetail", {msg_id: msg_id}).then(res => {
if (res.code === 0) {
this.msgDetail = res.data;
this.dialogVisible = true;
} else {
this.$message({
message: res.msg,
type: 'error'
});
}
})
},
viewChange(index, row) {
this.getMsgDetail(row.id);
},
onSubmit() {
this.page = 1;
this.getData();
},
resetForm(formName) {
this.formParam.date = '';
this.$refs[formName].resetFields();
},
handleSizeChange(val) {
this.limit = val;
this.getData();
},
handleCurrentChange(val) {
this.page = val;
this.getData();
}
},
components: {
Menu
}
};
</script>
<style scoped>
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment