Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-shop-manage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
7 years ago
Commit
6d2179cd7ce38a047c4c2885b85a8224cf47b6c3
1 parent
f200502f
fix
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
73 additions
and
20 deletions
.npmrc
app/pages/kol/reconciliation-list/index.js
app/pages/kol/reconciliation-list/list.vue
app/pages/kol/settlement-detail/index.js
app/pages/kol/settlement-list/index.js
.npmrc
View file @
6d2179c
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
\ No newline at end of file
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
registry=http://npm.yohops.com
...
...
app/pages/kol/reconciliation-list/index.js
View file @
6d2179c
...
...
@@ -3,6 +3,6 @@ export default {
name
:
'list'
,
component
:
()
=>
import
(
/* webpackChunkName: "kol.reconciliation" */
'./list'
),
meta
:
{
pageName
:
'
新建页面
'
pageName
:
'
对帐单管理
'
}
};
...
...
app/pages/kol/reconciliation-list/list.vue
View file @
6d2179c
<template>
<layout-body>
<layout-filter ref="filter" :model="query">
<filter-item label="对帐单号">
<Input v-model.trim="query.reconciliationId" :maxlength="9"></Input>
</filter-item>
<filter-item label="SKN编码">
<Input v-model.trim="query.sknCode" :maxlength="9"></Input>
</filter-item>
<filter-item label="商家编码">
<Input v-model.trim="query.prodCode"></Input>
</filter-item>
<filter-item label="商品名称">
<Input v-model.trim="query.prodName"></Input>
</filter-item>
<filter-item label="商品条码">
<Input v-model.trim="query.prodBarCode"></Input>
<filter-item label="品牌">
<select-brand v-model="query.brand"></select-brand>
</filter-item>
<filter-item label="订单号">
<Input v-model.trim="query.orderId"></Input>
</filter-item>
<filter-item label="业务类型">
<Select v-model="query.reconciliationType" clearable>
<Option value="1">销售出库</Option>
<Option value="2">退货入库</Option>
</Select>
</filter-item>
<filter-item label="对帐单状态">
<Select v-model="query.reconciliationStatus" clearable>
<Option value="1">未对帐</Option>
<Option value="2">待结算</Option>
<Option value="3">已结算</Option>
</Select>
</filter-item>
<filter-item>
<Button type="primary" @click="search">筛选</Button>
...
...
@@ -33,14 +49,13 @@ export default {
data() {
return {
query: {
reconciliationId: '',
sknCode: '',
prodCode: '',
prodName: '',
prodBarCode: '',
category: [],
brand: 0,
saleStatus: 0,
stockStatus: 0
brand: null,
orderId: null,
reconciliationType: null,
reconciliationStatus: null,
},
pageData: {
total: 0,
...
...
@@ -57,18 +72,53 @@ export default {
col2: '6'
}],
tableCols: [{
title: '
列1
',
title: '
订单号
',
key: 'col1'
}, {
title: '列2',
title: '帐单生成时间',
key: 'col2'
}, {
title: '对帐单号',
key: 'col2'
}, {
title: '对帐时间',
key: 'col2'
}, {
title: 'SKU',
key: 'col2'
}, {
title: '商品名称',
key: 'col2'
}, {
title: '品牌',
key: 'col2'
}, {
title: '吊牌价',
key: 'col2'
}, {
title: '支付金额',
key: 'col2'
}, {
title: '结算比例',
key: 'col2'
}, {
title: '业务类型',
key: 'col2'
}, {
title: '数量',
key: 'col2'
}, {
title: '佣金',
key: 'col2'
}, {
title: '状态',
key: 'col21'
}, {
title: '操作',
render: (h, params) => {
return (
<action-group>
<i-button type="primary" size="small" onClick={() => this.edit(params.row)}>编辑</i-button>
<i-button type="error" size="small" onClick={() => this.del(params.row)}>删除</i-button>
<i-button type="primary" size="small" onClick={() => this.edit(params.row)}>对帐</i-button>
</action-group>
);
}
...
...
@@ -88,7 +138,8 @@ export default {
pageChange() {
this.search();
},
edit() {},
edit() {
},
del() {}
},
components: {Demo}
...
...
app/pages/kol/settlement-detail/index.js
View file @
6d2179c
...
...
@@ -3,6 +3,6 @@ export default {
name
:
'detail'
,
component
:
()
=>
import
(
/* webpackChunkName: "kol.settlement-detail" */
'./settlement-detail'
),
meta
:
{
pageName
:
'
新建页面
'
pageName
:
'
结算单详情
'
}
};
...
...
app/pages/kol/settlement-list/index.js
View file @
6d2179c
...
...
@@ -3,6 +3,6 @@ export default {
name
:
'list'
,
component
:
()
=>
import
(
/* webpackChunkName: "kol.Settlement-list" */
'./settlement-list'
),
meta
:
{
pageName
:
'
新建页面
'
pageName
:
'
结算单管理
'
}
};
...
...
Please
register
or
login
to post a comment