|
@@ -79,11 +79,11 @@
|
|
|
<!-- table -->
|
|
|
<a-card :bordered="false" style="marginTop:10px;">
|
|
|
<a-table
|
|
|
- v-if="extStadata"
|
|
|
+ v-if="data"
|
|
|
bordered
|
|
|
rowKey="index"
|
|
|
- :columns="extStaColumns"
|
|
|
- :data-source="extStadata"
|
|
|
+ :columns="columns"
|
|
|
+ :data-source="data"
|
|
|
:loading="loading"
|
|
|
:pagination="pagination"
|
|
|
@change="handleTableChange"
|
|
@@ -104,15 +104,15 @@ import customerChart from '@views/reportForms/order-statistics/chart/external/cu
|
|
|
import { externalList } from '@api/reportForms/order-statistics.js'
|
|
|
|
|
|
export default {
|
|
|
- name: 'ExternalStatistics', // 订单外部统计表
|
|
|
+ name: 'ExternalStatistics', // 订单内部统计表
|
|
|
mixins: [JeecgListMixin],
|
|
|
components: { JEllipsis, moment, departmentChart, customerChart },
|
|
|
|
|
|
data() {
|
|
|
// let ellipsis = (v, l = 20) => <j-ellipsis value={v} length={l} /> // 省略
|
|
|
return {
|
|
|
- description: '订单外部统计表',
|
|
|
- extStaColumns: [
|
|
|
+ description: '订单内部统计表',
|
|
|
+ columns: [
|
|
|
{
|
|
|
title: '序号',
|
|
|
width: 90,
|
|
@@ -171,7 +171,7 @@ export default {
|
|
|
},
|
|
|
{ title: '本币金额', width: 150, dataIndex: 'inatMoney', className: 'replacecolor' }
|
|
|
],
|
|
|
- extStadata: [],
|
|
|
+ data: [],
|
|
|
loading: false, // 表格加载
|
|
|
|
|
|
// 查询条件
|
|
@@ -215,11 +215,11 @@ export default {
|
|
|
// 查询订单统计
|
|
|
getExternalData() {
|
|
|
this.$nextTick(() => {
|
|
|
- this.queryParam.vendorType = '内部'
|
|
|
+ // this.queryParam.vendorType = '内部'
|
|
|
externalList(this.queryParam).then(res => {
|
|
|
if (res.success) {
|
|
|
- this.extStadata = res.result.records
|
|
|
- console.log('订单内部列表', this.extStadata)
|
|
|
+ this.data = res.result.records
|
|
|
+ console.log('订单内部列表', this.data)
|
|
|
|
|
|
this.pagination = {
|
|
|
total: res.result.total,
|