manage-client 3.2.20 → 3.2.21
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
|
@@ -229,8 +229,8 @@
|
|
|
229
229
|
|
|
230
230
|
let readySomething = async function (self) {
|
|
231
231
|
await self.$MagLoadParams.loadParam()
|
|
232
|
-
|
|
233
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
232
|
+
self.initParams()
|
|
233
|
+
// self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
234
234
|
}
|
|
235
235
|
export default {
|
|
236
236
|
title: '上报查询',
|
|
@@ -239,9 +239,10 @@
|
|
|
239
239
|
show:false,
|
|
240
240
|
detail24: false,
|
|
241
241
|
org:[this.$login.f.orgid],
|
|
242
|
-
orgcondition: '
|
|
242
|
+
orgcondition: ' and m.f_orgid = ' + this.$login.f.orgid,
|
|
243
243
|
//f_filialeid: this.$login.f.f_orgid,
|
|
244
244
|
detaillist: [],
|
|
245
|
+
meterbrands: [],
|
|
245
246
|
prices: [],
|
|
246
247
|
gasproperties:[],
|
|
247
248
|
condition:'',
|
|
@@ -265,23 +266,23 @@
|
|
|
265
266
|
this.$refs.paged.$refs.criteria.search()
|
|
266
267
|
},
|
|
267
268
|
methods: {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
269
|
+
initParams() {
|
|
270
|
+
// 初始化气表品牌
|
|
271
|
+
let brandArr = []
|
|
272
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
273
|
+
let temp = {}
|
|
274
|
+
temp.label = item.label
|
|
275
|
+
temp.value = item.value.f_meter_brand
|
|
276
|
+
brandArr.push(temp)
|
|
277
|
+
})
|
|
278
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
279
|
+
//初始化气表价格
|
|
280
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
281
|
+
},
|
|
282
|
+
async updateParams() {
|
|
283
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
284
|
+
this.initParams()
|
|
285
|
+
},
|
|
285
286
|
getorg(obj) {
|
|
286
287
|
if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
|
|
287
288
|
this.orgcondition = " and m.f_orgid in " + plugins.convertToIn(obj)
|
|
@@ -403,9 +404,6 @@
|
|
|
403
404
|
pricetypes() {
|
|
404
405
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
405
406
|
},
|
|
406
|
-
meterbrands() {
|
|
407
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表品牌')]
|
|
408
|
-
},
|
|
409
407
|
getCondition () {
|
|
410
408
|
var con = ""
|
|
411
409
|
if (this.orgCondtionStr) {
|