manage-client-xy 3.2.9 → 3.2.10

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client-xy",
3
- "version": "3.2.9",
3
+ "version": "3.2.10",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -83,6 +83,15 @@
83
83
  close-on-select clear-button>
84
84
  </v-select>
85
85
  </div>
86
+ <div class="col-sm-2 form-group">
87
+ <label class="font_normal_body">是否<br/>手持设备</label>
88
+ <v-select :value.sync="$parent.$parent.f_outlets"
89
+ :options="$parent.$parent.isPos"
90
+ :search="false"
91
+ placeholder='请选择'
92
+ condition="{}"
93
+ close-on-select></v-select>
94
+ </div>
86
95
  </div>
87
96
  </div>
88
97
  </criteria>
@@ -246,6 +255,8 @@
246
255
  },
247
256
  show:false,
248
257
  showdetail:false,
258
+ isPos: [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}],
259
+ f_outlets: [],
249
260
  otherchargeid:'',
250
261
  rowdata:{},
251
262
  //合计数据
@@ -266,6 +277,12 @@
266
277
  this.$refs.paged.$refs.cri.search()
267
278
  },
268
279
  selfSearch(args) {
280
+ // 手持设备查询条件
281
+ if(this.f_outlets[0] === '是'){
282
+ args.condition += ` and f_outlets = '手持设备'`
283
+ } else if (this.f_outlets[0] === '否'){
284
+ args.condition += ` and f_outlets is null`
285
+ }
269
286
  args.condition = `${args.condition}` + this.orgCondtionStr
270
287
  this.model.search(args.condition, args.model)
271
288
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
package/src/main.js CHANGED
@@ -4,10 +4,10 @@ import { all } from 'vue-client'
4
4
  import { system } from 'system-clients'
5
5
  import { sale } from 'sale-client'
6
6
  import saleManage from './saleManage'
7
- import webmeterManage from './webmeterManage'
8
- import reportManage from './reportManage'
9
- import newmanage from './newmanage'
10
- import ManageHome from './ManageHome'
7
+ // import webmeterManage from './webmeterManage'
8
+ // import reportManage from './reportManage'
9
+ // import newmanage from './newmanage'
10
+ // import ManageHome from './ManageHome'
11
11
  import echarts from 'echarts'
12
12
  import AMap from 'vue-amap';
13
13
 
@@ -41,10 +41,10 @@ all()
41
41
  sale()
42
42
  system(false)
43
43
  saleManage()
44
- webmeterManage()
45
- ManageHome()
46
- newmanage()
47
- reportManage()
44
+ // webmeterManage()
45
+ // ManageHome()
46
+ // newmanage()
47
+ // reportManage()
48
48
  require('./bootstrap/less/bootstrap.less')
49
49
  require('./bootstrap/less/manageStyle/manageStyle.less')
50
50
  require('./bootstrap/less/manageStyle/manageChile.less')