sale-client 3.6.540 → 3.6.541
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
|
@@ -48,6 +48,25 @@
|
|
|
48
48
|
condition="f_user_type = '{}'"
|
|
49
49
|
close-on-select></v-select>
|
|
50
50
|
</div>
|
|
51
|
+
<div class="form-group"
|
|
52
|
+
:class="{'col-sm-2':!$parent.$parent.$parent.isdetail,'col-sm-4':$parent.$parent.$parent.isdetail}">
|
|
53
|
+
<label class="font_normal_body">用气性质</label>
|
|
54
|
+
<v-select :value.sync="model.f_user_type" v-model="model.f_gasproperties"
|
|
55
|
+
:options='$parent.$parent.gasproperties' placeholder='用气性质'
|
|
56
|
+
condition="f_gasproperties = '{}'"
|
|
57
|
+
close-on-select></v-select>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="form-group"
|
|
60
|
+
:class="{'col-sm-2':!$parent.$parent.$parent.isdetail,'col-sm-4':$parent.$parent.$parent.isdetail}">
|
|
61
|
+
<label class="font_normal_body">气表类型</label>
|
|
62
|
+
<v-select :value.sync="model.f_meter_classify" v-model="model.f_meter_classify"
|
|
63
|
+
:options='$parent.$parent.meterType' placeholder='气表类型'
|
|
64
|
+
condition="f_meter_classify = '{}'"
|
|
65
|
+
:value-single="true"
|
|
66
|
+
@change="$parent.$parent.getType(model.f_meter_classify)"
|
|
67
|
+
close-on-select></v-select>
|
|
68
|
+
</div>
|
|
69
|
+
|
|
51
70
|
<div class="form-group"
|
|
52
71
|
:class="{'col-sm-2':!$parent.$parent.$parent.isdetail,'col-sm-4':$parent.$parent.$parent.isdetail}">
|
|
53
72
|
<label class="font_normal_body">气表品牌</label>
|
|
@@ -222,6 +241,8 @@ export default {
|
|
|
222
241
|
printstyle: this.$appdata.getParam('打印格式'),
|
|
223
242
|
// 要操作的用户
|
|
224
243
|
rowsdata: [],
|
|
244
|
+
meterbrandBak: [],
|
|
245
|
+
gasBrand: [],
|
|
225
246
|
// 控制全选
|
|
226
247
|
all: [],
|
|
227
248
|
// 结算进度进度
|
|
@@ -235,7 +256,8 @@ export default {
|
|
|
235
256
|
this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
|
|
236
257
|
await this.$LoadParams.loadParam()
|
|
237
258
|
let arr = []
|
|
238
|
-
this.$GetSaleParam.getGasbrand()
|
|
259
|
+
this.gasBrand = this.$GetSaleParam.getGasbrand()
|
|
260
|
+
this.gasBrand.forEach((item) => {
|
|
239
261
|
let temp = {}
|
|
240
262
|
if (item.value.f_meter_type === '物联网表' || item.value.f_meter_type === '机表') {
|
|
241
263
|
temp.label = item.label
|
|
@@ -243,6 +265,7 @@ export default {
|
|
|
243
265
|
arr.push(temp)
|
|
244
266
|
}
|
|
245
267
|
})
|
|
268
|
+
this.meterbrandBak = [{label: '全部', value: ''}, ...arr]
|
|
246
269
|
this.meterbrand = [{label: '全部', value: ''}, ...arr]
|
|
247
270
|
this.getfield = this.config.excelHeaders
|
|
248
271
|
},
|
|
@@ -255,6 +278,23 @@ export default {
|
|
|
255
278
|
batchSettlementBefore () {
|
|
256
279
|
this.showPrint = true
|
|
257
280
|
},
|
|
281
|
+
getType (row) {
|
|
282
|
+
console.log(row)
|
|
283
|
+
let arr = []
|
|
284
|
+
if (row) {
|
|
285
|
+
this.gasBrand.forEach((item) => {
|
|
286
|
+
let temp = {}
|
|
287
|
+
if (item.value.f_meter_type === row) {
|
|
288
|
+
temp.label = item.label
|
|
289
|
+
temp.value = item.value.f_meter_brand
|
|
290
|
+
arr.push(temp)
|
|
291
|
+
}
|
|
292
|
+
this.meterbrand = [{label: '全部', value: ''}, ...arr]
|
|
293
|
+
})
|
|
294
|
+
} else {
|
|
295
|
+
this.meterbrand = this.meterbrandBak
|
|
296
|
+
}
|
|
297
|
+
},
|
|
258
298
|
async batchSettlement () {
|
|
259
299
|
this.mergeRowData()
|
|
260
300
|
if (!this.f_bill_style) {
|
|
@@ -445,8 +485,11 @@ export default {
|
|
|
445
485
|
userType () {
|
|
446
486
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
447
487
|
},
|
|
448
|
-
|
|
449
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('
|
|
488
|
+
gasproperties () {
|
|
489
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
490
|
+
},
|
|
491
|
+
meterType () {
|
|
492
|
+
return [{label: '全部', value: ''}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}]
|
|
450
493
|
}
|
|
451
494
|
}
|
|
452
495
|
}
|
package/src/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
|
|
2
2
|
import all from 'vue-client/src/all'
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
|
-
import FilialeSale from './filiale/
|
|
5
|
+
import FilialeSale from './filiale/gehua/sale'
|
|
6
6
|
import sale from './sale'
|
|
7
7
|
import address from 'address-client/src/address'
|
|
8
8
|
import ldap from 'ldap-clients/src/ldap'
|