manage-client 3.1.33 → 3.1.37

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 (28) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/components/SellReport/BusinessClassify.vue +17 -1
  4. package/src/components/SellReport/ChargePrick.vue +1 -1
  5. package/src/components/SellReport/DepartmentPrick.vue +1 -2
  6. package/src/components/SellReport/GasPrice.vue +1 -1
  7. package/src/components/SellReport/ManageBusSummary.vue +19 -10
  8. package/src/components/SellReport/ManageHandInputtor.vue +1 -1
  9. package/src/components/SellReport/ManageOtherCharge.vue +250 -250
  10. package/src/components/SellReport/ManageSellType.vue +1 -1
  11. package/src/components/SellReport/ManageUserCount.vue +1 -1
  12. package/src/components/SellReport/SaleMonthReport.vue +227 -227
  13. package/src/components/SellReport/UserClassify.vue +1 -1
  14. package/src/components/sale/businessquery/BusinessManage.vue +3 -0
  15. package/src/components/sale/businessquery/ChangeMeterQuery.vue +15 -5
  16. package/src/components/sale/businessquery/FillGasQuery.vue +19 -1
  17. package/src/components/sale/businessquery/InfoOperateRecord.vue +291 -0
  18. package/src/components/webmeter/DrillData/UserGasAll.vue +3 -2
  19. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +1 -1
  20. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +8 -4
  21. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +3 -2
  22. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +2 -36
  23. package/src/components/webmeter/newwebmeter/UserGasList.vue +2 -4
  24. package/src/components/webmeter/newwebmeter/UserInstructList.vue +1 -1
  25. package/src/filiale/alashan/SellingTable.vue +10 -7
  26. package/src/filiale/tongchuan/FillGasQuery.vue +508 -0
  27. package/src/filiale/tongchuan/sale.js +2 -1
  28. package/src/saleManage.js +2 -0
@@ -13,11 +13,11 @@ var compiler = webpack(config)
13
13
  // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
14
  var shaoguan='http://119.146.1.106:8300/'
15
15
  var qtx='http://36.103.222.144:6300/'
16
- var bendi = 'http://127.0.0.1:8090/', fuwu_login = 'http://192.168.50.4:8400'
16
+ var bendi = 'http://127.0.0.1:8090/', fuwu_login = 'http://192.168.17.52:8600'
17
17
  var fuwu = 'http://119.146.1.106:8300'
18
18
  var weinan = 'http://172.168.1.11:9001'
19
19
  var system = 'http://192.168.50.4:8400'
20
- //192.168.
20
+ //192.168.webmeter_getUserGasList
21
21
  // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
22
22
  // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
23
23
  var proxyTable = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.1.33",
3
+ "version": "3.1.37",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -49,6 +49,12 @@
49
49
  :initresid='$parent.$parent.operatorid'>
50
50
  </res-select>
51
51
  </div>
52
+ <div class="col-sm-3 form-group">
53
+ <label class="font_normal_body" for="oper1">格式一</label>
54
+ <input type="radio" name="reportStyle" id="oper1" v-model="$parent.$parent.reportStyle" value="1">
55
+ <label class="font_normal_body" for="oper2">格式二</label>
56
+ <input type="radio" name="reportStyle" id="oper2" v-model="$parent.$parent.reportStyle" value="2">
57
+ </div>
52
58
  </div>
53
59
  <div class="span" style = "float:right;">
54
60
  <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
@@ -58,7 +64,7 @@
58
64
  </div>
59
65
  </criteria>
60
66
  <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
61
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
67
+ <table class='tableprint' style="margin: 0px auto">
62
68
  <thead>
63
69
  <tr>
64
70
  <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
@@ -151,6 +157,7 @@
151
157
  operatorid: [],
152
158
  depid: [],
153
159
  tablen:0,
160
+ reportStyle: 1,
154
161
  orgname: '',
155
162
  depname: '',
156
163
  operatorname: '',
@@ -171,6 +178,12 @@
171
178
  this.$refs.paged.$refs.criteria.search()
172
179
  },
173
180
  selfSearch (args) {
181
+ if (this.reportStyle == '1') {
182
+ this.model.url = 'rs/report/BusinessClassify'
183
+ } else {
184
+ this.model.url = 'rs/report/BusinessClassifyTwo'
185
+ }
186
+ console.log('---------------->', this.reportStyle)
174
187
  this.printTime = this.$login.toStandardTimeString()
175
188
  let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
176
189
  if (this.f_depid[0]) {
@@ -237,6 +250,9 @@
237
250
  }
238
251
  }
239
252
  this.tablen=len
253
+ },
254
+ 'reportStyle'(val) {
255
+ this.$refs.paged.$refs.criteria.search()
240
256
  }
241
257
  },
242
258
  computed: {
@@ -57,7 +57,7 @@
57
57
  </div>
58
58
  </criteria>
59
59
  <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
60
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
60
+ <table class='tableprint' style="margin: 0px auto">
61
61
  <thead>
62
62
  <tr>
63
63
  <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
@@ -66,7 +66,7 @@
66
66
  </div>
67
67
  </criteria>
68
68
  <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
69
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
69
+ <table class='tableprint' style="margin: 0px auto">
70
70
  <thead>
71
71
  <tr>
72
72
  <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
@@ -243,7 +243,6 @@
243
243
  if(a[i].split('</td>').length-1>len){
244
244
  len=a[i].split('</td>').length-1
245
245
  }
246
- continue
247
246
  }
248
247
  this.tablen=len
249
248
  }
@@ -58,7 +58,7 @@
58
58
  </div>
59
59
  </criteria>
60
60
  <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
61
- <table class='tableprint' style="margin: 0px auto;" v-if="!$parent.data.f_files_path">
61
+ <table class='tableprint' style="margin: 0px auto;">
62
62
  <thead>
63
63
  <tr>
64
64
  <th colspan='18' style="font-weight: normal; text-align: left;">
@@ -44,15 +44,15 @@
44
44
  </div>
45
45
  </criteria>
46
46
  <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
47
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
47
+ <table class='tableprint' style="margin: 0px auto">
48
48
  <thead>
49
49
  <tr>
50
- <th colspan='9' style="font-weight: normal; text-align: left;">
50
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
51
51
  <h3 style="text-align: center">收费结账报表</h3>
52
52
  </th>
53
53
  </tr>
54
54
  <tr>
55
- <th colspan='9' style="font-weight: normal; text-align: center;">
55
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
56
56
  开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
57
57
  结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
58
58
  <!--打印时间:{{{$parent.printTime}}}-->
@@ -61,7 +61,7 @@
61
61
  </th>
62
62
  </tr>
63
63
  <tr>
64
- <th colspan='9' style="font-weight: normal; text-align: center;">
64
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
65
65
  <div>
66
66
  <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
67
67
  <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
@@ -71,15 +71,15 @@
71
71
  </tr>
72
72
  </thead>
73
73
  <tr>
74
- <td colspan='9'>
74
+ <td :colspan='$parent.spans'>
75
75
  {{{ model.data.substring(26,model.data.length-8) }}}
76
76
  </td>
77
77
  </tr>
78
78
  <tfoot>
79
79
  <tr style="text-align: left">
80
- <th colspan='3'>财务审核:</th>
81
- <th colspan='3'>收款审核:</th>
82
- <th colspan='3'>收款员:</th>
80
+ <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
81
+ <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
82
+ <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
83
83
  </tr>
84
84
  </tfoot>
85
85
  </table>
@@ -148,6 +148,7 @@
148
148
  f_orgid: 'this.model.f_orgid'}),
149
149
  reportStr: null,
150
150
  show: false,
151
+ spans: 0,
151
152
  initres: {
152
153
  org: [this.$login.f.orgid],
153
154
  dep: [],
@@ -156,10 +157,8 @@
156
157
  }
157
158
  },
158
159
  ready () {
159
- this.$refs.paged.$refs.criteria.$refs.res_select.sliceareashow = false
160
160
  this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
161
161
  this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
162
- // this.$refs.paged.$refs.criteria.search()
163
162
  console.log(this.$login.f)
164
163
  },
165
164
  methods: {
@@ -217,6 +216,16 @@
217
216
  } else {
218
217
  this.reportStr = null
219
218
  }
219
+ },
220
+ 'model.data' (val) {
221
+ let len=0
222
+ let a=val.split('</tr>')
223
+ for(let i=0;i<a.length;i++){
224
+ if(a[i].split('</td>').length-1>len){
225
+ len=a[i].split('</td>').length-1
226
+ }
227
+ }
228
+ this.spans = len
220
229
  }
221
230
  },
222
231
  computed: {
@@ -72,7 +72,7 @@
72
72
  </div>
73
73
  </criteria>
74
74
  <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
75
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
75
+ <table class='tableprint' style="margin: 0px auto">
76
76
  <thead>
77
77
  <tr>
78
78
  <th colspan='8' style="font-weight: normal; text-align: left;">