manage-client 3.2.26 → 3.2.27

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.
@@ -122,6 +122,14 @@
122
122
  condition="f_type in {}"
123
123
  v-model="model.f_type"></v-select>
124
124
  </div>
125
+ <!-- <div class="col-sm-2 form-group">-->
126
+ <!-- <label class="font_normal_body">票据类型</label>-->
127
+ <!-- <v-select :options='$parent.$parent.papertype'-->
128
+ <!-- condition="f_paper_type = '{}'"-->
129
+ <!-- v-model="model.f_paper_type"-->
130
+ <!-- :value.sync="model.f_paper_type" close-on-select-->
131
+ <!-- placeholder='请选择'></v-select>-->
132
+ <!-- </div>-->
125
133
  <div class="col-sm-2 form-group">
126
134
  <label class="font_normal_body">客户类型</label>
127
135
  <v-select :value.sync="model.f_user_type"
@@ -214,7 +222,7 @@
214
222
  <div class="col-sm-2 form-group">
215
223
  <label class="font_normal_body">&nbsp;&nbsp;&nbsp;流水号</label>
216
224
  <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
217
- condition="f_serial_id = '{}'" placeholder='流水号'>
225
+ condition="f_serial_id like '%{}%'" placeholder='流水号'>
218
226
  </div>
219
227
  <div class="col-sm-2 form-group">
220
228
  <label class="font_normal_body">发票号码</label>
@@ -451,6 +459,9 @@
451
459
  <th>
452
460
  <nobr>开票时间</nobr>
453
461
  </th>
462
+ <th>
463
+ <nobr>是否征税</nobr>
464
+ </th>
454
465
  <th>
455
466
  <nobr>累计写卡气量</nobr>
456
467
  </th>
@@ -634,6 +645,9 @@
634
645
  <td style="text-align: center;">
635
646
  <nobr>{{row.f_invoice_date}}</nobr>
636
647
  </td>
648
+ <td style="text-align: center;">
649
+ <nobr>{{row.f_tax_logotype}}</nobr>
650
+ </td>
637
651
  <td style="text-align: center;">
638
652
  <nobr>{{row.f_write_totalgas}}</nobr>
639
653
  </td>
@@ -807,6 +821,10 @@
807
821
  },
808
822
  //f_price_name:[],
809
823
  gasproperties:[],
824
+ // papertype: this.$appdata.getParam('票据类型') ? [{
825
+ // label: '全部',
826
+ // value: ''
827
+ // }, ...this.$appdata.getParam('票据类型')] : [],
810
828
  gaspropertiessecond: this.$appdata.getParam('二级用气性质') ? [{
811
829
  label: '全部',
812
830
  value: ''
@@ -80,9 +80,10 @@
80
80
  <div class="col-sm-2 form-group">
81
81
  <label class="font_normal_body">补气类型</label>
82
82
  <v-select :value.sync="model.f_fill_type"
83
+ :multiple="true"
83
84
  v-model="model.f_fill_type"
84
85
  :options='$parent.$parent.fillTypes' placeholder='请选择'
85
- condition="f_fill_type = '{}'"
86
+ condition="f_fill_type in {}"
86
87
  close-on-select></v-select>
87
88
  </div>
88
89
 
@@ -91,6 +92,13 @@
91
92
  <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
92
93
  condition="f_card_id like '%{}%'" placeholder='卡号'>
93
94
  </div>
95
+ <div class="col-sm-2 form-group">
96
+ <label class="font_normal_body">气表类型</label>
97
+ <v-select :value.sync="model.f_meter_type" multiple
98
+ :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
99
+ condition="f_meter_type in {}"
100
+ close-on-select></v-select>
101
+ </div>
94
102
  <div class="col-sm-2 form-group">
95
103
  <label class="font_normal_body">气表品牌</label>
96
104
  <v-select :value.sync="model.f_meter_brand"
@@ -251,6 +259,9 @@
251
259
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
252
260
  补气金额合计:&emsp;{{sumsmodel.f_preamount}}
253
261
  </td>
262
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
263
+ 户数合计:&emsp;{{sumsmodel.hushu}}
264
+ </td>
254
265
  </tr>
255
266
  </table>
256
267
  </div>
@@ -293,7 +304,7 @@
293
304
  data: {},
294
305
  other:[],
295
306
  footer:[],
296
- model: new PagedList('rs/sql/fillGasQuery', 20, {}, {f_pregas: 0,f_preamount: 0}),
307
+ model: new PagedList('rs/sql/fillGasQuery', 20, {}, {f_pregas: 0,f_preamount: 0,hushu:0}),
297
308
  criteriaShow: false,
298
309
  headData: ["客户编号", "客户名称", "客户电话", "身份证号", "地址", "补气类型", "表编号", "卡号", "气表品牌", "气表状态", "补气量", "补气日期", "操作员", "部门", "公司"],
299
310
  bodyData: ["f_userinfo_code", "f_user_name", "f_user_phone", "f_idnumber", "address", "f_type", "f_user_id", "f_card_id", "f_meter_brand", "f_table_state", "f_fillgas", "f_operate_date", "f_operator", "f_depname", "f_orgname"],
@@ -317,6 +328,7 @@
317
328
  dep:[],
318
329
  user:[],
319
330
  },
331
+ metertypes: this.$appdata.getParam('气表类型')?[{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]:[],
320
332
  showupload:false,
321
333
  selected:{},
322
334
  gasproperties:[],
@@ -367,14 +379,17 @@
367
379
  })
368
380
  this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
369
381
  },
370
- selfSearch(args) {
382
+ async selfSearch(args) {
371
383
  if (this.data) {
372
384
  this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
373
385
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
374
386
  }
375
387
  args.condition = `${args.condition}` + this.orgCondtionStr
376
- this.model.search(args.condition, args.model)
388
+ await this.model.search(args.condition, args.model)
377
389
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
390
+ this.sumsmodel.hushu=[...new Set(this.$refs.paged.$refs.grid.model.rows.map(item => item.f_userinfo_code))].length
391
+ console.log("this.sumsmodel",this.sumsmodel,this.$refs.paged.$refs.grid)
392
+
378
393
  },
379
394
  clear() {
380
395
  //清空部门和人员
@@ -70,7 +70,7 @@ export default{
70
70
  'f_delaypay': '滞纳金','f_comments': '备注','f_operator': '操作员','f_depname': '部门','f_orgname': '公司',
71
71
  'f_yucun': '预存金额','f_card_id': '卡号','f_stairamount1':"一阶气量",'f_stair1price':"一阶单价",'f_stair1fee':"一阶气费",
72
72
  'f_stair2amount': "二阶气量",'f_stair2price': "二阶单价",'f_stair2fee':"二阶气费",
73
- 'f_stair3amount':"三阶气量",'f_stair3price': "三阶单价",'f_stair3fee':"三阶气费",'f_inputtor':"抄表员",'f_serial_id':'流水号'
73
+ 'f_stair3amount':"三阶气量",'f_stair3price': "三阶单价",'f_stair3fee':"三阶气费",'f_inputtor':"抄表员",'f_serial_id':'流水号','f_tax_logotype':'是否征税'
74
74
  },
75
75
  pricetypeGasConfig: {
76
76
  'f_price': '价格类型', 'f_gas': '当日售气量', 'f_money': '当日售气金额'
package/src/main.js CHANGED
@@ -1,67 +1,66 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
-
5
- // import { sale } from 'sale-client'
6
- import { system } from 'system-clients'
7
- import { ldap } from 'ldap-clients'
8
- import { sale } from 'sale-client'
9
- import saleManage from './saleManage'
10
- import webmeterManage from './webmeterManage'
11
- import reportManage from './reportManage'
12
- import newmanage from './newmanage'
13
- import ManageHome from './ManageHome'
14
- import echarts from 'echarts'
15
- import AMap from 'vue-amap'
16
-
17
- Vue.config.silent = true
18
- // Vue.mmType = 'AES'
19
-
20
- Vue.use(AMap);
21
-
22
- // 初始化vue-amap
23
- AMap.initAMapApiLoader({
24
- // 高德key
25
- key: '3cec9ae8e2349207f7ac29279e3f4abe',
26
- // 插件集合 (插件按需引入)
27
- plugin: [
28
- "AMap.Autocomplete", //输入提示插件
29
- "AMap.PlaceSearch", //POI搜索插件
30
- "AMap.Scale", //右下角缩略图插件 比例尺
31
- "AMap.OverView", //地图鹰眼插件
32
- "AMap.ToolBar", //地图工具条
33
- "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
34
- "AMap.PolyEditor", //编辑 折线多,边形
35
- "AMap.CircleEditor", //圆形编辑器插件
36
- "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
37
- ],
38
- uiVersion: "1.0"
39
- });
40
- /** **************************通用组件******************************/
41
-
42
- Vue.prototype.$echarts = echarts
43
- all()
44
- sale()
45
- ldap()
46
- system(false)
47
- saleManage('macheng')
48
-
49
- webmeterManage()
50
- ManageHome()
51
- newmanage()
52
- reportManage()
53
- require('system-clients/src/styles/less/bootstrap.less')
54
- require('./components/qinhua/Style/qinhuaStyle.less')
55
- // require('./bootstrap/less/manageStyle/manageChile.less')
56
- // require('./bootstrap/less/manageStyle/safeStyle.less')
57
-
58
- //大屏展示要放开的样式
59
- // require('system-clients/src/styles/less/manageStyle/manageChile.less')
60
- // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
61
- // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
62
-
63
- new Vue({
64
- el: 'body',
65
- components: { App }
66
- })
67
-
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+
5
+ // import { sale } from 'sale-client'
6
+ import { system } from 'system-clients'
7
+ import { ldap } from 'ldap-clients'
8
+ import saleManage from './saleManage'
9
+ import webmeterManage from './webmeterManage'
10
+ import reportManage from './reportManage'
11
+ import newmanage from './newmanage'
12
+ import ManageHome from './ManageHome'
13
+ import echarts from 'echarts'
14
+ import AMap from 'vue-amap'
15
+
16
+ Vue.config.silent = true
17
+ // Vue.mmType = 'AES'
18
+
19
+ Vue.use(AMap);
20
+
21
+ // 初始化vue-amap
22
+ AMap.initAMapApiLoader({
23
+ // 高德key
24
+ key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
+ // 插件集合 (插件按需引入)
26
+ plugin: [
27
+ "AMap.Autocomplete", //输入提示插件
28
+ "AMap.PlaceSearch", //POI搜索插件
29
+ "AMap.Scale", //右下角缩略图插件 比例尺
30
+ "AMap.OverView", //地图鹰眼插件
31
+ "AMap.ToolBar", //地图工具条
32
+ "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
+ "AMap.PolyEditor", //编辑 折线多,边形
34
+ "AMap.CircleEditor", //圆形编辑器插件
35
+ "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
+ ],
37
+ uiVersion: "1.0"
38
+ });
39
+ /** **************************通用组件******************************/
40
+
41
+ Vue.prototype.$echarts = echarts
42
+ all()
43
+ // sale()
44
+ ldap()
45
+ system(false)
46
+ saleManage('liaoyuan')
47
+
48
+ webmeterManage()
49
+ ManageHome()
50
+ newmanage()
51
+ reportManage()
52
+ require('system-clients/src/styles/less/bootstrap.less')
53
+ require('./components/qinhua/Style/qinhuaStyle.less')
54
+ // require('./bootstrap/less/manageStyle/manageChile.less')
55
+ // require('./bootstrap/less/manageStyle/safeStyle.less')
56
+
57
+ //大屏展示要放开的样式
58
+ // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
+ // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
+ // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
+
62
+ new Vue({
63
+ el: 'body',
64
+ components: { App }
65
+ })
66
+