manage-client 3.3.221 → 3.3.222
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
:header="$parent.$parent.other"
|
|
53
53
|
:footer="$parent.$parent.footer"
|
|
54
54
|
sqlurl="api/af-revenue/logic/openapi/exportfile"
|
|
55
|
-
sql-name="
|
|
55
|
+
:sql-name="$parent.$parent.sqlName"
|
|
56
56
|
template-name='营收汇总报表'
|
|
57
57
|
:choose-col="true"></export-excel>
|
|
58
58
|
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
|
|
@@ -357,6 +357,7 @@ export default {
|
|
|
357
357
|
}),
|
|
358
358
|
gasproperties: [],
|
|
359
359
|
show: false,
|
|
360
|
+
sqlName: 'manage_chargeSummary',
|
|
360
361
|
rowdata: {},
|
|
361
362
|
areaList: [],
|
|
362
363
|
modelval: [],
|
|
@@ -470,12 +471,14 @@ export default {
|
|
|
470
471
|
if(this.f_is_area){
|
|
471
472
|
if (this.f_is_area == '是') {
|
|
472
473
|
this.isCompanyShow = true
|
|
474
|
+
this.sqlName = 'manage_chargeSummaryByArea'
|
|
473
475
|
this.model = new PagedList('api/af-revenue/sql/manage_chargeSummaryByArea', 20, {
|
|
474
476
|
startDate: 'this.model.startDate',
|
|
475
477
|
endDate: 'this.model.endDate',
|
|
476
478
|
condition2: 'this.model.condition2'
|
|
477
479
|
}, {f_collection: 0, f_gas: 0, f_money: 0,f_card_money:0,f_sell_num:0,f_table_num:0})
|
|
478
480
|
} else {
|
|
481
|
+
this.sqlName = 'manage_chargeSummary'
|
|
479
482
|
this.isCompanyShow = false
|
|
480
483
|
this.model = new PagedList('api/af-revenue/sql/manage_chargeSummary', 20, {
|
|
481
484
|
startDate: 'this.model.startDate',
|
|
@@ -487,6 +490,7 @@ export default {
|
|
|
487
490
|
isCompanyChange () {
|
|
488
491
|
if (this.f_is_company) {
|
|
489
492
|
if (this.f_is_company == '是') {
|
|
493
|
+
this.sqlName = 'manage_chargeSummaryByCompany'
|
|
490
494
|
this.isAreaShow = true
|
|
491
495
|
this.model = new PagedList('api/af-revenue/sql/manage_chargeSummaryByCompany', 20, {
|
|
492
496
|
startDate: 'this.model.startDate',
|
|
@@ -494,6 +498,7 @@ export default {
|
|
|
494
498
|
condition2: 'this.model.condition2'
|
|
495
499
|
}, {f_collection: 0, f_gas: 0, f_money: 0,f_card_money:0,f_sell_num:0,f_table_num:0})
|
|
496
500
|
} else {
|
|
501
|
+
this.sqlName = 'manage_chargeSummary'
|
|
497
502
|
this.isAreaShow = false
|
|
498
503
|
this.model = new PagedList('api/af-revenue/sql/manage_chargeSummary', 20, {
|
|
499
504
|
startDate: 'this.model.startDate',
|