|
|
@@ -29,30 +29,29 @@
|
|
|
import { ref, reactive } from 'vue';
|
|
|
import CommonTable from '@/components/CommonPage/CommonTable.vue';
|
|
|
import pageSearch from './components/page-search.vue';
|
|
|
- import { useDictData } from '@/utils/use-dict-data';
|
|
|
|
|
|
defineOptions({ name: 'recycleOrder' });
|
|
|
|
|
|
/** 表格列配置 */
|
|
|
const columns = ref([
|
|
|
- { type: 'index', label: '#', align: 'center',width:80 },
|
|
|
- { label: '日期', prop: 'createTime', align: 'center' },
|
|
|
+ { type: 'index', label: '#', align: 'center', width: 80 },
|
|
|
+ { label: '日期', prop: 'statisticDate', align: 'center' },
|
|
|
{ label: '仓库', prop: 'godownName', align: 'center' },
|
|
|
{ label: '回收订单数', prop: 'orderNum', align: 'center' },
|
|
|
{ label: '回收本数', prop: 'bookNum', align: 'center' },
|
|
|
- { label: '回收平均价格', prop: 'price', align: 'center' },
|
|
|
+ { label: '回收平均价格', prop: 'recycleAveragePrice', align: 'center' },
|
|
|
{ label: '审核订单数', prop: 'auditNum', align: 'center' },
|
|
|
- { label: '审核金额', prop: 'amount', align: 'center' }
|
|
|
+ { label: '审核金额', prop: 'auditMoney', align: 'center' }
|
|
|
]);
|
|
|
|
|
|
/** 页面组件实例 */
|
|
|
const pageRef = ref(null);
|
|
|
|
|
|
const pageConfig = reactive({
|
|
|
- pageUrl: '/baseinfo/godown/pagelist',
|
|
|
- exportUrl: '/baseinfo/godown/export',
|
|
|
+ pageUrl: '/order/recycleOrderStatistic/pagelist',
|
|
|
+ exportUrl: '/order/recycleOrderStatistic/export',
|
|
|
fileName: '回收订单统计',
|
|
|
- cacheKey: 'recycleOrderTable'
|
|
|
+ cacheKey: 'recycleOrderStatisticTable'
|
|
|
});
|
|
|
|
|
|
//刷新表格
|
|
|
@@ -62,6 +61,6 @@
|
|
|
|
|
|
//导出excel
|
|
|
function handleExportExcel() {
|
|
|
- pageRef.value?.exportData('回收订单统计');
|
|
|
+ pageRef.value?.exportData('GET');
|
|
|
}
|
|
|
</script>
|