manage-client 3.3.69 → 3.3.70

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",
3
- "version": "3.3.69",
3
+ "version": "3.3.70",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -217,11 +217,22 @@ import {DataModel, HttpResetClass} from 'vue-client'
217
217
  this.operatorname = this.userresid.filter(x => x.value ==val).map(x=>x.label).toString()
218
218
  console.log('dep',this.operatorname )
219
219
  },
220
+ getParamStr (array) {
221
+ let stringValue = ''
222
+ for (let i = 0; i < array.length; i++) {
223
+ if (i === array.length - 1) {
224
+ stringValue = stringValue + "'" + array[i] + "'"
225
+ } else {
226
+ stringValue = stringValue + "'" + array[i] + "',"
227
+ }
228
+ }
229
+ return stringValue
230
+ },
220
231
  selfSearch (args) {
221
232
  this.printTime = this.$login.toStandardTimeString()
222
233
  let orgcondition = '1=1'
223
234
  if (this.f_orgid[0]) {
224
- orgcondition += ` and f_orgid in ('${this.f_orgid}')`
235
+ orgcondition += ` and f_orgid in (${this.getParamStr(this.f_orgid)})`
225
236
  }
226
237
 
227
238
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
@@ -456,7 +456,7 @@
456
456
  }
457
457
  }
458
458
  if (this.meter_classify == '机表') {
459
- if (!this.$refs.paged.$refs.cri.model.handsellcishumax && !this.$refs.paged.$refs.cri.model.handsellcishumax) {
459
+ if (!this.$refs.paged.$refs.cri.model.handsellcishumin && !this.$refs.paged.$refs.cri.model.handsellcishumax) {
460
460
  args.condition = args.condition + "and sellcishu > 0"
461
461
  }
462
462
  }