manage-client 3.3.132 → 3.3.133
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
|
@@ -154,6 +154,15 @@
|
|
|
154
154
|
style="width:60%"
|
|
155
155
|
v-model="model.f_instruct_title"></v-select>
|
|
156
156
|
</div>
|
|
157
|
+
|
|
158
|
+
<div class="col-sm-2 form-group">
|
|
159
|
+
<label class="font_normal_body">操 作 人</label>
|
|
160
|
+
<v-select :options='$parent.$parent.operators' :value.sync="model.f_operator" close-on-select
|
|
161
|
+
condition="recordinfo.f_operator='{}'"
|
|
162
|
+
placeholder='操作人'
|
|
163
|
+
style="width:60%"
|
|
164
|
+
v-model="model.f_operator"></v-select>
|
|
165
|
+
</div>
|
|
157
166
|
</div>
|
|
158
167
|
</div>
|
|
159
168
|
</criteria>
|
|
@@ -319,6 +328,7 @@
|
|
|
319
328
|
|
|
320
329
|
let readyGen = async function (self) {
|
|
321
330
|
await self.$MagLoadParams.loadParam()
|
|
331
|
+
await self.$MagGetSaleParam.initinputtor()
|
|
322
332
|
self.initQueryParam()
|
|
323
333
|
self.getinstructtype()
|
|
324
334
|
self.getinstructtitle()
|
|
@@ -326,6 +336,7 @@
|
|
|
326
336
|
await self.$getConfig(self, 'NewQueryInstruct')
|
|
327
337
|
console.log('指令查看config', self.config)
|
|
328
338
|
self.getfield = self.config.excelHeaders
|
|
339
|
+
self.getOperators(self.$login.f.orgid)
|
|
329
340
|
// self.reflash()
|
|
330
341
|
}
|
|
331
342
|
export default {
|
|
@@ -339,6 +350,7 @@
|
|
|
339
350
|
criteriaShow:false,
|
|
340
351
|
Gasproperties:[],
|
|
341
352
|
meterbrand: [],
|
|
353
|
+
operators:[],
|
|
342
354
|
userType:[],
|
|
343
355
|
instructtype:[],
|
|
344
356
|
instructstate:[],
|
|
@@ -425,6 +437,21 @@
|
|
|
425
437
|
})
|
|
426
438
|
this.meterbrand = [{label: '全部', value: ''}, ...arr]
|
|
427
439
|
},
|
|
440
|
+
//获取资源数据
|
|
441
|
+
getOperators(orgid) {
|
|
442
|
+
this.operators = []
|
|
443
|
+
this.$MagGetSaleParam.inputtors.forEach((res) => {
|
|
444
|
+
if(res.rolestr != null && res.rolestr!='' ){
|
|
445
|
+
if(res.rolestr.indexOf("营业员")>-1 && res.f_orgid == orgid) {
|
|
446
|
+
let temp = {
|
|
447
|
+
label :res.name,
|
|
448
|
+
value:res.name,
|
|
449
|
+
}
|
|
450
|
+
this.operators.push(temp)
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
})
|
|
454
|
+
},
|
|
428
455
|
getinstructtype(){
|
|
429
456
|
this.instructtype=[]
|
|
430
457
|
let load = new HttpResetClass()
|
|
@@ -773,16 +773,25 @@
|
|
|
773
773
|
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
774
774
|
this.inputtores = [];
|
|
775
775
|
this.inputtores.push({label: "全部", value: ""})
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(this.f_filialeid));
|
|
776
|
+
if (this.$login.f.f_gasman.length > 0) {
|
|
777
|
+
for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
|
|
778
|
+
let temp = {
|
|
779
|
+
label: this.$login.f.f_gasman[i].name,
|
|
780
|
+
value: this.$login.f.f_gasman[i].name
|
|
781
|
+
}
|
|
782
|
+
this.inputtores.push(temp)
|
|
783
|
+
}
|
|
785
784
|
}
|
|
785
|
+
//
|
|
786
|
+
// let orgs = val.match(/'(.+?)'/g)
|
|
787
|
+
// let allorgid = this.allorgid = orgs != null && orgs.length > 0 ? orgs.toString().replace(/(|)/g,'').split(',').map(item => item.replace(/'/g,'')) : []
|
|
788
|
+
// if(allorgid != null && allorgid.length > 0){
|
|
789
|
+
// allorgid.forEach((res)=>{
|
|
790
|
+
// this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
|
|
791
|
+
// })
|
|
792
|
+
// } else {
|
|
793
|
+
// this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(this.f_filialeid));
|
|
794
|
+
// }
|
|
786
795
|
this.initParams()
|
|
787
796
|
},
|
|
788
797
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<div class="col-sm-2 form-group">
|
|
35
35
|
<label class="font_normal_body">客户名称</label>
|
|
36
36
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
37
|
-
|
|
37
|
+
placeholder="客户名称">
|
|
38
38
|
</div>
|
|
39
39
|
<!-- <div class="col-sm-2 form-group">-->
|
|
40
40
|
<!-- <label class="font_normal_body" title="旧客户编号">档案编号</label>-->
|
|
@@ -853,7 +853,7 @@
|
|
|
853
853
|
dep:[],
|
|
854
854
|
user:[]
|
|
855
855
|
},
|
|
856
|
-
model: new PagedList('rs/sql/chargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'id asc'`,startDate: 'this.model.startDate', endDate: 'this.model.endDate'},{
|
|
856
|
+
model: new PagedList('rs/sql/chargeQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'id asc'`,startDate: 'this.model.startDate', endDate: 'this.model.endDate',f_user_name:'this.model.f_user_name'},{
|
|
857
857
|
f_pregas: 0,
|
|
858
858
|
f_delaypay: 0,
|
|
859
859
|
fee:0,
|