manage-client 3.3.45 → 3.3.46

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.
Files changed (112) hide show
  1. package/package.json +1 -1
  2. package/src/components/SellReport/AmountGas.vue +2 -2
  3. package/src/components/SellReport/ApplyFillmoney.vue +1 -1
  4. package/src/components/SellReport/BonSummary.vue +3 -3
  5. package/src/components/SellReport/BusSummaryes.vue +1 -1
  6. package/src/components/SellReport/BusinessClassify.vue +1 -1
  7. package/src/components/SellReport/BusinessMoneyReport.vue +1 -1
  8. package/src/components/SellReport/BusinessReport.vue +3 -3
  9. package/src/components/SellReport/CaiManageDayGas.vue +2 -2
  10. package/src/components/SellReport/Cardapplysgas.vue +1 -1
  11. package/src/components/SellReport/ChManageBusSummary.vue +2 -2
  12. package/src/components/SellReport/ChManageHandSellMoney.vue +2 -2
  13. package/src/components/SellReport/ChManageMonthGas.vue +2 -2
  14. package/src/components/SellReport/ChOtherfee.vue +2 -2
  15. package/src/components/SellReport/ChSellReport.vue +2 -2
  16. package/src/components/SellReport/ChargeBill.vue +3 -3
  17. package/src/components/SellReport/ChargeDayTable.vue +2 -2
  18. package/src/components/SellReport/ChargeMonthTable.vue +2 -2
  19. package/src/components/SellReport/ChargeYearTable.vue +2 -2
  20. package/src/components/SellReport/CivilGasReport.vue +3 -3
  21. package/src/components/SellReport/DepartmentPrick.vue +1 -1
  22. package/src/components/SellReport/DeptHomePage.vue +2 -2
  23. package/src/components/SellReport/ESaleMonthReport.vue +3 -3
  24. package/src/components/SellReport/FinanceSellType.vue +3 -3
  25. package/src/components/SellReport/GFReportWH.vue +3 -3
  26. package/src/components/SellReport/GYReportWH.vue +3 -3
  27. package/src/components/SellReport/GasBusinessDayMoney.vue +3 -3
  28. package/src/components/SellReport/GasMeterBrand.vue +1 -1
  29. package/src/components/SellReport/GasMoneyOtherType.vue +3 -3
  30. package/src/components/SellReport/GasMoneyPublicMoney.vue +3 -3
  31. package/src/components/SellReport/GasMoneyPublicReport.vue +3 -3
  32. package/src/components/SellReport/GasMoneyPublicReportHand.vue +3 -3
  33. package/src/components/SellReport/GasMoneyReport.vue +3 -3
  34. package/src/components/SellReport/GasPrice.vue +3 -3
  35. package/src/components/SellReport/GasPriceGroup.vue +1 -1
  36. package/src/components/SellReport/GasSummary.vue +2 -2
  37. package/src/components/SellReport/Gasc.vue +2 -2
  38. package/src/components/SellReport/HandplanBili.vue +3 -3
  39. package/src/components/SellReport/HandplanUserCount.vue +1 -1
  40. package/src/components/SellReport/JiManageBusSummary.vue +3 -3
  41. package/src/components/SellReport/ManageBusSummary.vue +3 -3
  42. package/src/components/SellReport/ManageBusSummarynopay.vue +3 -3
  43. package/src/components/SellReport/ManageBusSummarys.vue +3 -3
  44. package/src/components/SellReport/ManageGasPrice.vue +3 -3
  45. package/src/components/SellReport/ManageGasSumChange.vue +2 -2
  46. package/src/components/SellReport/ManageGasSumChangeTwo.vue +2 -2
  47. package/src/components/SellReport/ManageGasSumOtherCharge.vue +3 -3
  48. package/src/components/SellReport/ManageHandInputtor.vue +3 -3
  49. package/src/components/SellReport/ManageHandSellInputtor.vue +3 -3
  50. package/src/components/SellReport/ManageNewGasPrice.vue +3 -3
  51. package/src/components/SellReport/ManageUserCount.vue +2 -2
  52. package/src/components/SellReport/MarketMonth.vue +1 -1
  53. package/src/components/SellReport/MarketMonthMoney.vue +3 -3
  54. package/src/components/SellReport/MarketMonthgas.vue +3 -3
  55. package/src/components/SellReport/MeterGasMoney.vue +1 -1
  56. package/src/components/SellReport/MeterPrice.vue +3 -3
  57. package/src/components/SellReport/MeterReader.vue +2 -2
  58. package/src/components/SellReport/NonResidentGas.vue +3 -3
  59. package/src/components/SellReport/OperatorSellReport.vue +3 -3
  60. package/src/components/SellReport/OtherChargePublicReport.vue +3 -3
  61. package/src/components/SellReport/OutletTable.vue +3 -3
  62. package/src/components/SellReport/PaymentDistribute.vue +1 -1
  63. package/src/components/SellReport/PaymentMethod.vue +1 -1
  64. package/src/components/SellReport/PriceReportWH.vue +3 -3
  65. package/src/components/SellReport/PriceReportWHwu.vue +3 -3
  66. package/src/components/SellReport/QTXManageBusSummary.vue +3 -3
  67. package/src/components/SellReport/QibiaoShouqi.vue +3 -3
  68. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +1 -1
  69. package/src/components/SellReport/SYReportWH.vue +3 -3
  70. package/src/components/SellReport/SaleMonthReport.vue +1 -1
  71. package/src/components/SellReport/UnCivilGasReport.vue +3 -3
  72. package/src/components/SellReport/UserBalanceReport.vue +3 -3
  73. package/src/components/SellReport/UserClassify.vue +2 -2
  74. package/src/components/SellReport/UserSellingGas.vue +3 -3
  75. package/src/components/SellReport/WeiNanYuShou.vue +2 -2
  76. package/src/components/SellReport/YuShouTable.vue +1 -1
  77. package/src/components/SellReport/applyHunum.vue +3 -3
  78. package/src/components/SellReport/applysFillmoney.vue +1 -1
  79. package/src/components/SellReport/chaostyle.vue +1 -1
  80. package/src/components/SellReport/chargeSchedule.vue +2 -2
  81. package/src/components/SellReport/charge_handfee.vue +3 -3
  82. package/src/components/SellReport/charge_handmeter.vue +3 -3
  83. package/src/components/SellReport/charge_handmoney.vue +3 -3
  84. package/src/components/SellReport/chargestyle.vue +1 -1
  85. package/src/components/SellReport/feimin_style.vue +1 -1
  86. package/src/components/SellReport/jingwei/CardCharge.vue +1 -1
  87. package/src/components/SellReport/jingwei/MachineCharge.vue +2 -2
  88. package/src/components/SellReport/jingwei/PaymentNotice.vue +1 -1
  89. package/src/components/SellReport/jingwei/handplanReport.vue +0 -6
  90. package/src/components/SellReport/pengan/ManageBusPeng.vue +3 -3
  91. package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +3 -3
  92. package/src/components/SellReport/shangyenum.vue +3 -3
  93. package/src/components/SellReport/shexian/SxMonthSummary.vue +3 -3
  94. package/src/components/SellReport/shexian/SxSummary.vue +3 -3
  95. package/src/components/SellReport/shoufeistyle.vue +1 -1
  96. package/src/components/SellReport/tl_handgas.vue +3 -3
  97. package/src/components/SellReport/tl_handmoney.vue +3 -3
  98. package/src/components/SellReport/tongchuan/ReportGasType.vue +1 -1
  99. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +1 -1
  100. package/src/filiale/kelai/feimin_style.vue +1 -1
  101. package/src/filiale/lixianV3/InvoiceDetailsQuery.vue +61 -33
  102. package/src/filiale/lixianV3/config/exportConfig.js +4 -4
  103. package/src/filiale/macheng/ManageBusSummary.vue +3 -3
  104. package/src/filiale/ningjin/ManageBusSummaryPeng.vue +3 -3
  105. package/src/filiale/ningjin/report/JiManageBusSummary.vue +3 -3
  106. package/src/filiale/ningjin/report/ManageBusSummary.vue +3 -3
  107. package/src/filiale/ningjin/report/ManageSellType.vue +3 -3
  108. package/src/filiale/qianneng/ManageBusSummary.vue +3 -3
  109. package/src/filiale/shiquan/BusSummaryes.vue +1 -1
  110. package/src/filiale/tongchuan/GasPrice.vue +3 -3
  111. package/src/filiale/tongchuan/ManageBusSummary.vue +1 -1
  112. package/src/filiale/zhongyi/ManageBusSummaryPeng.vue +3 -3
@@ -367,7 +367,7 @@ export default {
367
367
  orgcondition += " and f_depid in("+this.f_depid.toString()+')'
368
368
  }
369
369
  if(this.f_operatorid[0]) {
370
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
370
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
371
371
  }
372
372
  this.startDate=this.$refs.paged.$refs.cri.model.startDate.substring(0,10)
373
373
  this.endDate=this.$refs.paged.$refs.cri.model.endDate.substring(0,10)
@@ -259,7 +259,7 @@
259
259
  },
260
260
  selfSearch(args) {
261
261
  let f_dep=this.f_depid
262
- let orgcondition = ' ts.f_orgid in (' + this.f_orgid + ')'
262
+ let orgcondition = ` ts.f_orgid in ('${this.f_orgid}')`
263
263
  if (f_dep[0]) {
264
264
  orgcondition += " and ts.f_depid in('"+f_dep[0]+"'"
265
265
  for( let i=1;i<f_dep.length;i++){
@@ -268,7 +268,7 @@
268
268
  orgcondition +=')'
269
269
  }
270
270
  if(this.f_operatorid[0]) {
271
- orgcondition += ' and ts.f_operatorid in (' + this.f_operatorid + ')'
271
+ orgcondition += ` and ts.f_operatorid in ('${this.f_operatorid}')`
272
272
  }
273
273
  this.startDate=this.$refs.paged.$refs.cri.model.startDate.substring(0,10)
274
274
  this.endDate=this.$refs.paged.$refs.cri.model.endDate.substring(0,10)
@@ -135,12 +135,12 @@ export default {
135
135
  },
136
136
  selfSearch (args) {
137
137
  this.printTime = this.$login.toStandardTimeString()
138
- let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
138
+ let orgcondition = `f_orgid in ('${this.f_orgid}')`
139
139
  if (this.f_depid[0]) {
140
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
140
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
141
141
  }
142
142
  if(this.f_operatorid[0]) {
143
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
143
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
144
144
  }
145
145
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
146
146
  this.$refs.paged.search(args)
@@ -135,12 +135,12 @@ export default {
135
135
  },
136
136
  selfSearch (args) {
137
137
  this.printTime = this.$login.toStandardTimeString()
138
- let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
138
+ let orgcondition = `f_orgid in ('${this.f_orgid}')`
139
139
  if (this.f_depid[0]) {
140
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
140
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
141
141
  }
142
142
  if(this.f_operatorid[0]) {
143
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
143
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
144
144
  }
145
145
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
146
146
  this.$refs.paged.search(args)
@@ -135,12 +135,12 @@ export default {
135
135
  },
136
136
  selfSearch (args) {
137
137
  this.printTime = this.$login.toStandardTimeString()
138
- let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
138
+ let orgcondition = `f_orgid in ('${this.f_orgid}')`
139
139
  if (this.f_depid[0]) {
140
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
140
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
141
141
  }
142
142
  if(this.f_operatorid[0]) {
143
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
143
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
144
144
  }
145
145
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
146
146
  this.$refs.paged.search(args)
@@ -160,7 +160,7 @@ export default {
160
160
  this.$refs.paged.$refs.criteria.search()
161
161
  },
162
162
  selfSearch (args) {
163
- let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
163
+ let orgcondition = `f_orgid in ('${this.f_orgid}')`
164
164
 
165
165
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
166
166
  this.$refs.paged.search(args)
@@ -287,7 +287,7 @@ export default {
287
287
  orgcondition += " and f_depid in("+this.f_depid.toString()+')'
288
288
  }
289
289
  if(this.f_operatorid[0]) {
290
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
290
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
291
291
  }
292
292
  this.startDate=this.$refs.paged.$refs.cri.model.startDate.substring(0,10)
293
293
  this.endDate=this.$refs.paged.$refs.cri.model.endDate.substring(0,10)
@@ -115,7 +115,7 @@
115
115
  },
116
116
  selfSearch (args) {
117
117
  this.printTime = this.$login.toStandardTimeString()
118
- let orgcondition = `f_orgid in (${this.f_orgid})` //'s.f_orgid = ' + this.f_orgid
118
+ let orgcondition = `f_orgid in ('${this.f_orgid}')` //'s.f_orgid = ' + this.f_orgid
119
119
  if (this.f_depid[0]) {
120
120
  // orgcondition += ' and s.f_depid = ' + this.f_depid
121
121
  orgcondition += ` and f_depid in (${this.f_depid})`
@@ -114,10 +114,10 @@
114
114
  },
115
115
  selfSearch (args) {
116
116
  this.printTime = this.$login.toStandardTimeString()
117
- let orgcondition = `s.f_orgid in (${this.f_orgid})` //'s.f_orgid = ' + this.f_orgid
117
+ let orgcondition = `s.f_orgid in ('${this.f_orgid}')` //'s.f_orgid = ' + this.f_orgid
118
118
  if (this.f_depid[0]) {
119
119
  // orgcondition += ' and s.f_depid = ' + this.f_depid
120
- orgcondition += ` and s.f_depid in (${this.f_depid})`
120
+ orgcondition += ` and s.f_depid in ('${this.f_depid}')`
121
121
  }
122
122
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
123
123
  this.$refs.paged.search(args)
@@ -417,7 +417,7 @@
417
417
  args.condition += ` and a.f_residential_area in ( ${str} )`
418
418
  }
419
419
 
420
- this.orgCondtionStr = ' and h.f_orgid = ' + this.f_orgid
420
+ this.orgCondtionStr = ` and h.f_orgid = '${this.f_orgid}'`
421
421
  args.condition = `${args.condition}` + this.orgCondtionStr
422
422
  this.conditions = args.condition
423
423
  // console.log("条件查询",this.conditions)
@@ -196,15 +196,9 @@
196
196
  this.show = false
197
197
  },
198
198
  selfSearch(args) {
199
-
200
199
  this.model.params.startDate = this.$refs.paged.$refs.cri.model.startDate + ' 00:00:00'
201
200
  this.model.params.endDate = this.$refs.paged.$refs.cri.model.endDate + ' 23:59:59'
202
201
  this.model.params.orgeid = this.f_orgid + ''
203
-
204
- // this.orgCondtionStr = ' and h.f_orgid = ' + this.f_orgid
205
-
206
- // console.log("查看参数:",this.model.params)
207
- // args.condition = `${args.condition}` + this.orgCondtionStr
208
202
  this.model.search(args.condition, args.model)
209
203
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
210
204
  //每次查询,重新生成导出的值
@@ -194,12 +194,12 @@
194
194
  selfSearch (args) {
195
195
  console.log('f_inputtor='+this.f_inputtor)
196
196
  this.printTime = this.$login.toStandardTimeString()
197
- let orgcondition = 'u.f_orgid in (' + this.f_orgid + ')'
197
+ let orgcondition = `u.f_orgid in ('${this.f_orgid}')`
198
198
  if (this.f_depid[0]) {
199
- orgcondition += ' and u.f_depid in (' + this.f_depid + ')'
199
+ orgcondition += ` and u.f_depid in ('${this.f_depid}')`
200
200
  }
201
201
  if(this.f_operatorid[0]) {
202
- orgcondition += ' and u.f_operatorid in (' + this.f_operatorid + ')'
202
+ orgcondition += ` and u.f_operatorid in ('${this.f_operatorid}')`
203
203
  }
204
204
  if(this.$refs.paged.$refs.criteria.model.f_user_type!=''){
205
205
  orgcondition += ' and u.f_user_type = ' + `'${this.$refs.paged.$refs.criteria.model.f_user_type}'`
@@ -173,12 +173,12 @@
173
173
  },
174
174
  selfSearch (args) {
175
175
  this.printTime = this.$login.toStandardTimeString()
176
- let orgcondition = 'f_orgid = ' + this.f_orgid
176
+ let orgcondition = `f_orgid = '${this.f_orgid}'`
177
177
  if (this.f_depid[0]) {
178
- orgcondition += ' and f_depid = ' + this.f_depid
178
+ orgcondition += ` and f_depid = '${this.f_depid}'`
179
179
  }
180
180
  if(this.f_operatorid[0]) {
181
- orgcondition += ' and f_operatorid = ' + this.f_operatorid
181
+ orgcondition += ` and f_operatorid = '${this.f_operatorid}'`
182
182
  }
183
183
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
184
184
  this.$refs.paged.search(args)
@@ -165,13 +165,13 @@ export default {
165
165
  let orgstr = this.orgCondtionStr
166
166
  orgcondition = orgcondition + orgstr
167
167
  /* if (this.f_orgid && this.f_orgid[0]) {
168
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
168
+ orgcondition += ` and f_orgid in ('${this.f_orgid}')`
169
169
  }
170
170
  if (this.f_depid && this.f_depid[0]) {
171
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
171
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
172
172
  }
173
173
  if(this.f_operatorid && this.f_operatorid[0]) {
174
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
174
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
175
175
  }*/
176
176
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
177
177
  this.$refs.paged.search(args)
@@ -134,13 +134,13 @@
134
134
  this.printTime = this.$login.toStandardTimeString()
135
135
  let orgcondition = '1=1'
136
136
  if (this.f_orgid && this.f_orgid[0]) {
137
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
137
+ orgcondition += ` and f_orgid in ('${this.f_orgid}')`
138
138
  }
139
139
  if (this.f_depid && this.f_depid[0]) {
140
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
140
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
141
141
  }
142
142
  if(this.f_operatorid && this.f_operatorid[0]) {
143
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
143
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
144
144
  }
145
145
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
146
146
  this.$refs.paged.search(args)
@@ -134,13 +134,13 @@
134
134
  this.printTime = this.$login.toStandardTimeString()
135
135
  let orgcondition = '1=1'
136
136
  if (this.f_orgid && this.f_orgid[0]) {
137
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
137
+ orgcondition += ` and f_orgid in ('${this.f_orgid}')`
138
138
  }
139
139
  if (this.f_depid && this.f_depid[0]) {
140
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
140
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
141
141
  }
142
142
  if(this.f_operatorid && this.f_operatorid[0]) {
143
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
143
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
144
144
  }
145
145
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
146
146
  this.$refs.paged.search(args)
@@ -323,7 +323,7 @@ export default {
323
323
  orgcondition += " and f_depid in("+this.f_depid.toString()+')'
324
324
  }
325
325
  if(this.f_operatorid[0]) {
326
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
326
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
327
327
  }
328
328
  this.startDate=this.$refs.paged.$refs.cri.model.startDate.substring(0,10)
329
329
  this.endDate=this.$refs.paged.$refs.cri.model.endDate.substring(0,10)
@@ -173,12 +173,12 @@ export default {
173
173
  },
174
174
  selfSearch (args) {
175
175
  this.printTime = this.$login.toStandardTimeString()
176
- let orgcondition = 'f_orgid in(' + this.f_orgid + ')'
176
+ let orgcondition = ` f_orgid in ('${this.f_orgid}')`
177
177
  if (this.f_depid[0]) {
178
- orgcondition += ' and f_depid in(' + this.f_depid + ')'
178
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
179
179
  }
180
180
  if(this.f_operatorid[0]) {
181
- orgcondition += ' and f_operatorid in(' + this.f_operatorid + ')'
181
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
182
182
  }
183
183
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
184
184
  this.$refs.paged.search(args)
@@ -173,12 +173,12 @@ export default {
173
173
  },
174
174
  selfSearch (args) {
175
175
  this.printTime = this.$login.toStandardTimeString()
176
- let orgcondition = 'f_orgid in(' + this.f_orgid + ')'
176
+ let orgcondition = ` f_orgid in ('${this.f_orgid}')`
177
177
  if (this.f_depid[0]) {
178
- orgcondition += ' and f_depid in(' + this.f_depid + ')'
178
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
179
179
  }
180
180
  if(this.f_operatorid[0]) {
181
- orgcondition += ' and f_operatorid in(' + this.f_operatorid + ')'
181
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
182
182
  }
183
183
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
184
184
  this.$refs.paged.search(args)
@@ -169,7 +169,7 @@
169
169
  this.printTime = this.$login.toStandardTimeString()
170
170
  let orgcondition ='1=1'
171
171
  // if (this.f_orgid[0]) {
172
- // orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
172
+ // orgcondition += ` and f_orgid in ('${this.f_orgid}')`
173
173
  // }
174
174
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + ' and ' + this.$refs.paged.$refs.criteria.condition
175
175
  this.$refs.paged.search(args)
@@ -275,7 +275,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
275
275
  selfSearch(args) {
276
276
  let orgcondition = '1=1'
277
277
  if(this.f_orgid[0]){
278
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
278
+ orgcondition += ` and f_orgid in ('${this.f_orgid}')`
279
279
  }
280
280
  args.condition = orgcondition
281
281
  args.model.id = this.$login.f.id
@@ -299,7 +299,7 @@ export default {
299
299
  orgcondition += " and f_depid in("+this.f_depid.toString()+')'
300
300
  }
301
301
  if(this.f_operatorid[0]) {
302
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
302
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
303
303
  }
304
304
  this.startDate=this.$refs.paged.$refs.cri.model.startDate.substring(0,10)
305
305
  this.endDate=this.$refs.paged.$refs.cri.model.endDate.substring(0,10)
@@ -6,16 +6,6 @@
6
6
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
7
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
8
  <div class="row">
9
- <div class="col-sm-2 form-group">
10
- <label class="font_normal_body">发票编号</label>
11
- <input type="text" style="width:60%" class="input_search" v-model="model.id"
12
- condition="id = '{}' " placeholder="发票编号">
13
- </div>
14
- <div class="col-sm-2 form-group">
15
- <label class="font_normal_body">使&nbsp;&nbsp;用&nbsp;人</label>
16
- <input type="text" style="width:60%" class="input_search" v-model="model.f_bill_operator"
17
- condition="f_operator = '{}'" placeholder="使用人">
18
- </div>
19
9
  <div class="col-sm-2 form-group">
20
10
  <label for="startDate" class="font_normal_body">开始日期</label>
21
11
  <datepicker id="startDate" placeholder="开始日期" style="width:60%"
@@ -36,13 +26,23 @@
36
26
  condition="f_operate_date <= '{}'">
37
27
  </datepicker>
38
28
  </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">发票编号</label>
31
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_bill_number"
32
+ condition="f_bill_number = '{}' " placeholder="发票编号">
33
+ </div>
34
+ <div class="col-sm-2 form-group">
35
+ <label class="font_normal_body">用户编号</label>
36
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
37
+ condition="f_userinfo_code = '{}' " placeholder="用户编号">
38
+ </div>
39
39
  <div class="span" style="float:right;">
40
40
  <button class="button_search button_spacing" @click="search()">查询</button>
41
41
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
42
- <export-excel :data="$parent.$parent.getCondition"
42
+ <export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
43
43
  :field="$parent.$parent.getfield" :header="$parent.$parent.other"
44
- sqlurl="rs/logic/exportfile" sql-name="manage_singleTable"
45
- template-name='发票使用导出'
44
+ sqlurl="rs/logic/exportfile" sql-name="manage_billQuery"
45
+ template-name='发票查询导出'
46
46
  :choose-col="true">
47
47
  </export-excel>
48
48
  <div style="float: right" class="button_spacing"
@@ -73,6 +73,16 @@
73
73
  close-on-select>
74
74
  </v-select>
75
75
  </div>
76
+ <div class="col-sm-2 form-group">
77
+ <label class="font_normal_body">使&nbsp;&nbsp;用&nbsp;人</label>
78
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_bill_operator"
79
+ condition="f_operator = '{}'" placeholder="使用人">
80
+ </div>
81
+ <div class="col-sm-2 form-group">
82
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
83
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
84
+ condition="f_meternumber = '{}'" placeholder="表号">
85
+ </div>
76
86
  </div>
77
87
  </div>
78
88
  </criteria>
@@ -83,25 +93,27 @@
83
93
  <th>序号</th>
84
94
  <th>发票编号</th>
85
95
  <th>用户编号</th>
86
- <th>表编号</th>
96
+ <th>表号</th>
87
97
  <th>用户姓名</th>
88
98
  <th>购气量</th>
89
99
  <th>实收金额</th>
90
100
  <th>业务类型</th>
101
+ <th>收据类型</th>
91
102
  <th>打印类型</th>
92
- <th>状态</th>
103
+ <th>收据状态</th>
93
104
  <th>使用人</th>
94
105
  </tr>
95
106
  </template>
96
107
  <template partial='body'>
97
108
  <tr>
98
109
  <td style="text-align:center">{{$index+1}}</td>
99
- <td style="text-align:center">{{row.id}}</td>
100
- <td style="text-align:center">{{row.f_userinfo_id}}</td>
101
- <td style="text-align:center">{{row.f_user_id}}</td>
110
+ <td style="text-align:center">{{row.f_bill_number}}</td>
111
+ <td style="text-align:center">{{row.f_userinfo_code}}</td>
112
+ <td style="text-align:center">{{row.f_meternumber}}</td>
102
113
  <td style="text-align:center">{{row.f_user_name}}</td>
103
114
  <td style="text-align:center">{{row.f_gas}}</td>
104
115
  <td style="text-align:center">{{row.f_paid_money}}</td>
116
+ <td style="text-align:center">{{row.f_type}}</td>
105
117
  <td style="text-align:center">{{row.f_bill_type}}</td>
106
118
  <td style="text-align:center">{{row.f_bill_style}}</td>
107
119
  <td style="text-align:center">{{row.f_bill_state}}</td>
@@ -111,6 +123,17 @@
111
123
  <template partial='foot'></template>
112
124
  </data-grid>
113
125
  </criteria-paged>
126
+ <table class="table-hover">
127
+ <tr style="position: relative" class="table-bordered">
128
+ <td
129
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
130
+ 汇总信息
131
+ </td>
132
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
133
+ 收款合计:&emsp;{{sumsmodel.f_paid_money}}
134
+ </td>
135
+ </tr>
136
+ </table>
114
137
  </div>
115
138
  </div>
116
139
  </div>
@@ -125,7 +148,7 @@ export default {
125
148
  title: '发票详情查询',
126
149
  data () {
127
150
  return {
128
- model: new PagedList('rs/sql/manage_singleTable', 50, {items: '"*"', tablename: '"t_billdetail"', orderitem: '"id desc"'}),
151
+ model: new PagedList('rs/sql/manage_billQuery', 20,{},{f_paid_money: 0}),
129
152
  other: [],
130
153
  orgCondtionStr: '',
131
154
  resshow: ['company'],
@@ -133,29 +156,32 @@ export default {
133
156
  org: [this.$login.f.orgid]
134
157
  },
135
158
  criteriaShow: false,
136
- condition: ''
159
+ condition: '',
160
+ sumsmodel: {},
161
+ footer: []
137
162
  }
138
163
  },
139
164
  ready () {
140
165
  this.$refs.paged.$refs.cri.model.startDate = this.data ? this.data.startDate : this.$login.toStandardDateString() + ' 00:00:00'
141
166
  this.$refs.paged.$refs.cri.model.endDate = this.data ? this.data.endDate : this.$login.toStandardDateString() + + ' 23:59:59'
167
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
142
168
  },
143
169
  methods: {
144
170
  getotherfooter () {
145
171
  // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
146
172
  // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
147
173
  this.other = []
148
- // this.footer = [];
174
+ this.footer = [];
149
175
  let exportdata = this.getCondition
150
176
  let otherInData = []
151
177
  otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
152
178
  let footerData = [],exportfield = this.getfield
153
- // footerData.push("合计");
154
- // let self = this;
155
- // for (var field in self.sumsmodel) {
156
- // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
157
- // }
158
- // this.footer.push(footerData);
179
+ footerData.push("合计");
180
+ let self = this;
181
+ for (var field in self.sumsmodel) {
182
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
183
+ }
184
+ this.footer.push(footerData);
159
185
  this.other.push(otherInData)
160
186
  },
161
187
 
@@ -166,10 +192,15 @@ export default {
166
192
  this.$refs.paged.$refs.cri.search()
167
193
  },
168
194
  selfSearch (args) {
169
- let f_orgstr = this.orgCondtionStr
170
- args.condition = `${args.condition} ` + f_orgstr
195
+ if (this.orgCondtionStr) {
196
+ args.condition = `${args.condition} ` + this.orgCondtionStr
197
+ } else {
198
+ args.condition = `${args.condition} ` + " and f_orgid = " + this.$login.f.orgid
199
+ }
171
200
  this.condition = args.condition
172
201
  this.model.search(args.condition, args.model)
202
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
203
+ console.log('合计字段', this.sumsmodel)
173
204
  },
174
205
  clear () {
175
206
  Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
@@ -195,10 +226,7 @@ export default {
195
226
  },
196
227
  getCondition () {
197
228
  return {
198
- condition: this.condition,
199
- orderitem: 'id desc',
200
- tablename: 't_billdetail',
201
- items: '*'
229
+ condition: this.condition
202
230
  }
203
231
  },
204
232
  billType () {
@@ -2265,10 +2265,10 @@ export default {
2265
2265
  'f_gasdiff': '增量', 'f_gasprec': '百分比'
2266
2266
  },
2267
2267
  invoiceDetailsConfig: {
2268
- 'id': '发票编号', 'f_userinfo_id': '用户编号', 'f_user_name': '用户姓名',
2269
- 'f_user_id': '表编号', 'f_gas': '购气量', 'f_paid_money': '实收金额',
2270
- 'f_bill_type': '业务类型', 'f_bill_style': '打印类型',
2271
- 'f_bill_state': '状态', 'f_operator': '使用人'
2268
+ 'f_bill_number': '发票编号', 'f_userinfo_code': '用户编号', 'f_user_name': '用户姓名',
2269
+ 'f_meternumber': '表号', 'f_gas': '购气量', 'f_paid_money': '实收金额',
2270
+ 'f_type': '业务类型', 'f_bill_type': '收据类型', 'f_bill_style': '打印类型',
2271
+ 'f_bill_state': '收据状态', 'f_operator': '使用人'
2272
2272
  }
2273
2273
  }
2274
2274
 
@@ -165,13 +165,13 @@
165
165
  let orgstr = this.orgCondtionStr
166
166
  orgcondition = orgcondition + orgstr
167
167
  /* if (this.f_orgid && this.f_orgid[0]) {
168
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
168
+ orgcondition += ` and f_orgid in ('${this.f_orgid}')`
169
169
  }
170
170
  if (this.f_depid && this.f_depid[0]) {
171
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
171
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
172
172
  }
173
173
  if(this.f_operatorid && this.f_operatorid[0]) {
174
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
174
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
175
175
  }*/
176
176
  if(this.f_state && this.f_state[0]) {
177
177
  orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
@@ -173,12 +173,12 @@
173
173
  },
174
174
  selfSearch (args) {
175
175
  this.printTime = this.$login.toStandardTimeString()
176
- let orgcondition = 'f_orgid = ' + this.f_orgid
176
+ let orgcondition = `f_orgid = '${this.f_orgid}'`
177
177
  if (this.f_depid[0]) {
178
- orgcondition += ' and f_depid = ' + this.f_depid
178
+ orgcondition += ` and f_depid = '${this.f_depid}'`
179
179
  }
180
180
  if(this.f_operatorid[0]) {
181
- orgcondition += ' and f_operatorid = ' + this.f_operatorid
181
+ orgcondition += ` and f_operatorid = '${this.f_operatorid}'`
182
182
  }
183
183
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
184
184
  this.$refs.paged.search(args)
@@ -186,13 +186,13 @@ export default {
186
186
  orgcondition += ` and f_user_type = '${ this.f_user_type} '`
187
187
  }
188
188
  /* if (this.f_orgid && this.f_orgid[0]) {
189
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
189
+ orgcondition += ` and f_orgid in ('${this.f_orgid}')`
190
190
  }
191
191
  if (this.f_depid && this.f_depid[0]) {
192
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
192
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
193
193
  }
194
194
  if(this.f_operatorid && this.f_operatorid[0]) {
195
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
195
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
196
196
  }*/
197
197
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
198
198
  this.$refs.paged.search(args)
@@ -186,13 +186,13 @@ export default {
186
186
  orgcondition += ` and f_user_type = '${ this.f_user_type} '`
187
187
  }
188
188
  /* if (this.f_orgid && this.f_orgid[0]) {
189
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
189
+ orgcondition += ` and f_orgid in ('${this.f_orgid}')`
190
190
  }
191
191
  if (this.f_depid && this.f_depid[0]) {
192
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
192
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
193
193
  }
194
194
  if(this.f_operatorid && this.f_operatorid[0]) {
195
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
195
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
196
196
  }*/
197
197
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
198
198
  this.$refs.paged.search(args)
@@ -195,13 +195,13 @@
195
195
  orgcondition += ` and f_state = ' ${ this.f_state}'`
196
196
  }
197
197
  /* if (this.f_orgid && this.f_orgid[0]) {
198
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
198
+ orgcondition += ` and f_orgid in ('${this.f_orgid}')`
199
199
  }
200
200
  if (this.f_depid && this.f_depid[0]) {
201
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
201
+ orgcondition += ` and f_depid in ('${this.f_depid}')`
202
202
  }
203
203
  if(this.f_operatorid && this.f_operatorid[0]) {
204
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
204
+ orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
205
205
  }*/
206
206
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
207
207
  this.$refs.paged.search(args)