|
|
<template>
|
|
|
<layout-body>
|
|
|
<layout-filter ref="filter" :model="query">
|
|
|
<filter-item label="结算单ID">
|
|
|
<Input v-model.trim="query.settlementId"></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 label="结算单名称">
|
|
|
<Input v-model.trim="query.settlementName"></Input>
|
|
|
</filter-item>
|
|
|
<filter-item label="商品名称">
|
|
|
<Input v-model.trim="query.prodName"></Input>
|
|
|
<filter-item label="支付时间">
|
|
|
<Input v-model.trim="query.payDate"></Input>
|
|
|
</filter-item>
|
|
|
<filter-item label="商品条码">
|
|
|
<Input v-model.trim="query.prodBarCode"></Input>
|
|
|
<filter-item label="结算单状态">
|
|
|
<Select v-model="query.settlementStatus" clearable>
|
|
|
<Option value="1">未到票</Option>
|
|
|
<Option value="2">待支付</Option>
|
|
|
<Option value="3">已支付</Option>
|
|
|
</Select>
|
|
|
</filter-item>
|
|
|
<filter-item>
|
|
|
<Button type="primary" @click="search">筛选</Button>
|
...
|
...
|
@@ -28,19 +35,16 @@ |
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import {Demo} from './components';
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
query: {
|
|
|
settlementId: '',
|
|
|
sknCode: '',
|
|
|
prodCode: '',
|
|
|
prodName: '',
|
|
|
prodBarCode: '',
|
|
|
category: [],
|
|
|
brand: 0,
|
|
|
saleStatus: 0,
|
|
|
stockStatus: 0
|
|
|
settlementName: '',
|
|
|
payDate: 0,
|
|
|
settlementStatus: 0
|
|
|
},
|
|
|
pageData: {
|
|
|
total: 0,
|
...
|
...
|
@@ -57,18 +61,38 @@ export default { |
|
|
col2: '6'
|
|
|
}],
|
|
|
tableCols: [{
|
|
|
title: '列1',
|
|
|
title: '结算单ID',
|
|
|
key: 'col1'
|
|
|
}, {
|
|
|
title: '开始时间',
|
|
|
key: 'col1'
|
|
|
}, {
|
|
|
title: '结束时间',
|
|
|
key: 'col1'
|
|
|
}, {
|
|
|
title: '应付金额',
|
|
|
key: 'col1'
|
|
|
}, {
|
|
|
title: '到票金额',
|
|
|
key: 'col1'
|
|
|
}, {
|
|
|
title: '实付金额',
|
|
|
key: 'col1'
|
|
|
}, {
|
|
|
title: '状态',
|
|
|
key: 'col1'
|
|
|
}, {
|
|
|
title: '列2',
|
|
|
title: '支付时间',
|
|
|
key: 'col1'
|
|
|
}, {
|
|
|
title: '备注',
|
|
|
key: 'col2'
|
|
|
}, {
|
|
|
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,10 +112,17 @@ export default { |
|
|
pageChange() {
|
|
|
this.search();
|
|
|
},
|
|
|
edit() {},
|
|
|
edit() {
|
|
|
this.$router.push({
|
|
|
name: 'kol.settlement.detail',
|
|
|
params: {
|
|
|
id: 1
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
del() {}
|
|
|
},
|
|
|
components: {Demo}
|
|
|
components: {}
|
|
|
};
|
|
|
</script>
|
|
|
|
...
|
...
|
|