sale-client 3.5.203 → 3.5.204
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 +1 -1
- package/src/components/UserFiles/UserGeneralInfo.vue +3 -2
- package/src/filiale/wuan/TransferManage.vue +401 -0
- package/src/filiale/wuan/sale.js +3 -1
- package/src/filiale/xiangyun/cardChargeQuery.vue +46 -2
- package/src/filiale/xiangyun/cardChargeQuery1.vue +28 -2
- package/src/filiale/xiangyun/machineChargeQuery.vue +48 -4
- package/src/filiale/xiangyun/machineChargeQuery1.vue +30 -4
package/package.json
CHANGED
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
f_user_state: '',
|
|
69
69
|
f_credentials: '',
|
|
70
70
|
f_cost_type: '',
|
|
71
|
-
f_paper_type: ''
|
|
71
|
+
f_paper_type: '',
|
|
72
|
+
f_contract_id: ''
|
|
72
73
|
},
|
|
73
74
|
bank: {
|
|
74
75
|
f_bank_name: ''
|
|
@@ -249,7 +250,7 @@
|
|
|
249
250
|
row.f_devices_type = row.f_devices_type ? [row.f_devices_type] : ''
|
|
250
251
|
})
|
|
251
252
|
},
|
|
252
|
-
getPricenames
|
|
253
|
+
getPricenames(f_user_type, f_gasproperties, f_price_type){
|
|
253
254
|
let rs = []
|
|
254
255
|
if (f_user_type.length === 1 && f_gasproperties.length === 1 && f_price_type.length === 1) {
|
|
255
256
|
rs = this.$GetSaleParam.getPrice({
|
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="span" style="overflow-y: auto;">
|
|
4
|
+
<validator name='v'>
|
|
5
|
+
<form novalidate class="form-horizontal">
|
|
6
|
+
<div class="row" style="margin-top:10px;">
|
|
7
|
+
<div class="col-sm-4" :class="[$v.f_newuser_name.required ? 'has-error' : 'has-success']">
|
|
8
|
+
<label for="f_newuser_name" id="label" class="font_normal_body" >*新 姓 名</label>
|
|
9
|
+
<input class="input_search" style="width:60%" type="text" title="新姓名" v-model="model.f_newuser_name"
|
|
10
|
+
v-validate:f_newuser_name='{required: true }' placeholder="新姓名" v-next-el='phone'>
|
|
11
|
+
<!-- <label v-if="$v.f_newuser_name.required && namespan" class = "" style = "color:red">不能为空</label> -->
|
|
12
|
+
</div>
|
|
13
|
+
<div class="col-sm-4" :class="[$v.f_newuser_phone.required ? 'has-error' : '']">
|
|
14
|
+
<label id="label" for="f_newuser_phone" class="font_normal_body">*新 电 话</label>
|
|
15
|
+
<input title="新电话" class="input_search" style="width:60%" type="text" v-model="model.f_newuser_phone" maxlength="11"
|
|
16
|
+
v-validate:f_newuser_phone='{required: true}'
|
|
17
|
+
placeholder="新电话" v-next-el='number' v-el:phone>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-4" :class="[$v.f_newrent_phone.required ? 'has-error' : '']">
|
|
20
|
+
<label id="label" for="f_newrent_phone" class="font_normal_body"> 备用电话</label>
|
|
21
|
+
<!--v-validate:f_newrent_phone='{required: false}'-->
|
|
22
|
+
<input title="备用电话" class="input_search" style="width:60%" type="text" v-model="model.f_newrent_phone" maxlength="11"
|
|
23
|
+
|
|
24
|
+
placeholder="备用电话" v-next-el='number' v-el:phone>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="col-sm-4">
|
|
27
|
+
<label for="f_credentials" id="label" class="font_normal_body"> 证件类型</label>
|
|
28
|
+
<v-select :value.sync="model.f_newcredentials"
|
|
29
|
+
:options='credentials' placeholder='证件类型'
|
|
30
|
+
close-on-select></v-select>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="col-sm-8" :class="[$v.f_newidnumber.identityCardValid ? 'has-error' : '']" v-if="model.f_newcredentials[0] === '身份证'">
|
|
33
|
+
<label id="label" class="font_normal_body">*证件号码</label>
|
|
34
|
+
<input type="text" v-model="model.f_newidnumber" v-validate:f_newidnumber='{identityCardValid: true}' class="input_search" style="width:80%" placeholder="新身份证号">
|
|
35
|
+
</div>
|
|
36
|
+
<div class="col-sm-8" v-if="model.f_newcredentials[0] !== '身份证'">
|
|
37
|
+
<label class="font_normal_body"> 证件号码</label>
|
|
38
|
+
<input type="text" v-model="model.f_newidnumber" class="input_search" style="width:80%" placeholder="新证件号" >
|
|
39
|
+
</div>
|
|
40
|
+
<div class="col-sm-4">
|
|
41
|
+
<label id="label" for="f_print" class="font_normal_body"> 打印格式</label>
|
|
42
|
+
<v-select id="print"
|
|
43
|
+
v-model="f_print"
|
|
44
|
+
placeholder='请选择'
|
|
45
|
+
:value.sync="model.f_print"
|
|
46
|
+
:options='printstyle'
|
|
47
|
+
close-on-select clear-button></v-select>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="col-sm-8" :class="[$v.f_contract_id.required ? 'has-error' : 'has-success']">
|
|
50
|
+
<label for="f_contract" class="font_normal_body">*合同编号</label>
|
|
51
|
+
<input type="text" v-model="model.f_contract_id" class="input_search" style="width:80%"
|
|
52
|
+
placeholder="合同编号" v-validate:f_contract_id='{required: true}' >
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="row" style="margin-top:10px;">
|
|
56
|
+
<div class="col-sm-4" :class="[$v.f_transfer_fees.dctest ? 'has-error' : 'has-success']">
|
|
57
|
+
<label id="label" for="f_transfer_fees" class="font_normal_body" title="单值管理:过户费"> 过 户 费</label>
|
|
58
|
+
<input class="input_search" style="width:60%" type="number" v-model="model.f_transfer_fees" placeholder="过户费"
|
|
59
|
+
v-next-el='accopen' v-el:fees v-validate:f_transfer_fees='{dctest: [0, ">=" ]}'>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="col-sm-4" :class="[$v.payment.required ? 'has-error' : '']">
|
|
62
|
+
<label id="label" for="f_paymenttype" class="font_normal_body"> 付款方式</label>
|
|
63
|
+
<input type="text" v-show="false" v-model="$refs.payment.selectedItems" v-validate:payment='{required: true }'>
|
|
64
|
+
<v-select :value.sync="model.f_payment"
|
|
65
|
+
v-model="model.f_payment"
|
|
66
|
+
:options='payments' placeholder='付款方式'
|
|
67
|
+
v-ref:payment
|
|
68
|
+
close-on-select></v-select>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="row" style="margin-top:10px;" v-if = "bankinfo">
|
|
72
|
+
<div class="col-sm-4">
|
|
73
|
+
<label id="label" for="f_newbank_accopen" class=" font_normal_body">新银行开户名:</label>
|
|
74
|
+
<input class="input_search" style="width:60%" type="text" title="新银行开户名" v-model="model.f_newbank_accopen"
|
|
75
|
+
placeholder="新银行开户名" v-next-el='newbank' v-el:accopen>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="col-sm-8" :class="[$v.f_bank_idnumber.identityCardValid ? 'has-error' : 'has-success']">
|
|
78
|
+
<label for="f_bank_idnumber" class=" font_normal_body" >新开户身份证号</label>
|
|
79
|
+
<input class="input_search" style="width:60%" type="text" title="新开户身份证号" v-model="model.f_bank_idnumber"
|
|
80
|
+
v-validate:f_bank_idnumber='{identityCardValid: true }' placeholder="新开户身份证号">
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
</div>
|
|
84
|
+
<div class="row" style="margin-top:10px;" v-if = "bankinfo">
|
|
85
|
+
<div class="col-sm-4">
|
|
86
|
+
<label id="label" for="f_newbank_name" class="font_normal_body">新银行名</label>
|
|
87
|
+
<v-select :value.sync="model.f_newbank_name"
|
|
88
|
+
:options='banknames' placeholder='新银行开户名'
|
|
89
|
+
close-on-select></v-select>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-sm-8">
|
|
92
|
+
<label id="label" for="f_newbank_account" class="font_normal_body">新银行账号</label>
|
|
93
|
+
<input class="input_search" style="width:60%" type="text" title="新银行账号" v-model="model.f_newbank_account"
|
|
94
|
+
placeholder="新银行账号" v-el:account>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="row" style="margin-top:10px;">
|
|
98
|
+
|
|
99
|
+
<div class="col-sm-12">
|
|
100
|
+
<label id="label" for="f_comments" class="font_normal_body"> 备  注</label>
|
|
101
|
+
<input class="input_search" style="width:87%" v-model="model.f_comments"
|
|
102
|
+
placeholder="备注"/>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</form>
|
|
106
|
+
<accept-bill :show="acceptprint" :bill-url='acceptUrl' v-on:toggle="close" :data='row' :billdata="printData" @closeaccept="closeAccept" v-ref:acceptbill></accept-bill>
|
|
107
|
+
<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>
|
|
108
|
+
<print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="close" @printok="printok" :data='row' v-ref:printbill ></print-bill>
|
|
109
|
+
<div style="text-align:right;height:auto;">
|
|
110
|
+
<button style="margin-right:5px;" v-if="this.$login.r.includes('加载过户资料')" class="button_search" @click="loaduser()" >
|
|
111
|
+
加载过户资料
|
|
112
|
+
</button>
|
|
113
|
+
<button class="button_clear" @click="accept()" v-if="config.hasAcceptance" :disabled='!$v.valid'>受理单</button>
|
|
114
|
+
<button class="button_search" @click="confirm()" :disabled='!$v.valid'>
|
|
115
|
+
确认
|
|
116
|
+
</button>
|
|
117
|
+
<button class="button_clear" @click="clear()" >
|
|
118
|
+
取消
|
|
119
|
+
</button>
|
|
120
|
+
</div>
|
|
121
|
+
<!--<upload :blodid="blodid" isremark="true" fusetype="过户"></upload>-->
|
|
122
|
+
<upload :blodid="blodid" v-if="config.showupload" isremark="true" fusetype="过户管理"></upload>
|
|
123
|
+
</validator>
|
|
124
|
+
</div>
|
|
125
|
+
<modal v-if="loaduserflag" :show.sync="loaduserflag" width="80%" title="过户资产信息" v-ref:modal large backdrop="false">
|
|
126
|
+
<article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
|
|
127
|
+
<tranfersel-list :f_filialeid.sync="f_filialeid"></tranfersel-list>
|
|
128
|
+
</article>
|
|
129
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
130
|
+
</footer>
|
|
131
|
+
</modal>
|
|
132
|
+
</div>
|
|
133
|
+
</template>
|
|
134
|
+
<script>
|
|
135
|
+
let transfersaveGen = async function (self) {
|
|
136
|
+
try {
|
|
137
|
+
let condition = `f_userinfo_id = '${self.row.f_userinfo_id}'`
|
|
138
|
+
let bank = await self.$SqlService.singleTable('t_infobank', condition)
|
|
139
|
+
self.setbank(bank)
|
|
140
|
+
let res = await self.$LogicService.changeAccount(self.transferdata)
|
|
141
|
+
if (self.config.hasPrint && !self.$login.r.includes('不打印发票')) {
|
|
142
|
+
if (self.model.f_print[0] != '电子发票') {
|
|
143
|
+
if (self.config.hasBillManage) {
|
|
144
|
+
self.row.id = res.data
|
|
145
|
+
self.row.f_bill_type = '过户'
|
|
146
|
+
self.row.f_bill_style = self.model.f_print[0]
|
|
147
|
+
self.print = true
|
|
148
|
+
} else {
|
|
149
|
+
self.row.id = res.data
|
|
150
|
+
self.print = true
|
|
151
|
+
}
|
|
152
|
+
} else if (self.model.f_print[0] === '国税发票') {
|
|
153
|
+
self.$dispatch('success')
|
|
154
|
+
} else if (self.model.f_print[0] === '电子发票') {
|
|
155
|
+
self.$dispatch('success')
|
|
156
|
+
}
|
|
157
|
+
} else {
|
|
158
|
+
self.$dispatch('success')
|
|
159
|
+
}
|
|
160
|
+
} catch (error) {
|
|
161
|
+
self.$showAlert(error, 'danger', 0)
|
|
162
|
+
self.$dispatch('refresh')
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
let asyncTransferManage = async function (self) {
|
|
167
|
+
await self.$getConfig(self, 'TransferManage')
|
|
168
|
+
console.log('过户config', self.config)
|
|
169
|
+
|
|
170
|
+
self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
|
|
171
|
+
self.model.f_payment = [self.config.payment]
|
|
172
|
+
self.mulPrint = self.config.printType instanceof Array
|
|
173
|
+
|
|
174
|
+
// 获取当前票号用
|
|
175
|
+
self.model.f_use_type = self.config.billType
|
|
176
|
+
self.model.f_bill_type = self.model.f_print
|
|
177
|
+
self.hasValidateBill = self.config.hasBillManage
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export default {
|
|
181
|
+
title: '过户管理',
|
|
182
|
+
props: ['row'],
|
|
183
|
+
data () {
|
|
184
|
+
return {
|
|
185
|
+
config: {
|
|
186
|
+
showupload:true, //默认显示上传附件
|
|
187
|
+
hasPrint: false, // 默认打票
|
|
188
|
+
hasAcceptance: false,
|
|
189
|
+
hasBillManage: false, // 默认不启用发票管理
|
|
190
|
+
billType: '燃气费', // 票据类型(燃气费,其他费用,调用的发票代码不同)
|
|
191
|
+
payment: '现金缴费',
|
|
192
|
+
printType: '普通收据' // 收据/电子票/专用发票/国税发票
|
|
193
|
+
},
|
|
194
|
+
bankinfo: false,
|
|
195
|
+
numspan: false,
|
|
196
|
+
namespan: false,
|
|
197
|
+
phonespan: false,
|
|
198
|
+
model: {
|
|
199
|
+
f_print: [],
|
|
200
|
+
f_newcredentials: ['身份证'],
|
|
201
|
+
f_payment: [],
|
|
202
|
+
f_paymenttype: ['现金缴费'],
|
|
203
|
+
f_transfer_fees: this.$appdata.getSingleValue('过户费') ? this.$appdata.getSingleValue('过户费') : '',
|
|
204
|
+
// f_transfer_fees: '',
|
|
205
|
+
f_newbank_accopen: '',
|
|
206
|
+
f_newbank_name: ''
|
|
207
|
+
},
|
|
208
|
+
transferdata: {
|
|
209
|
+
userinfo: {}
|
|
210
|
+
},
|
|
211
|
+
print: false,
|
|
212
|
+
printData: {
|
|
213
|
+
username: '',
|
|
214
|
+
userphone: '',
|
|
215
|
+
credentials: '',
|
|
216
|
+
idnumber: ''
|
|
217
|
+
},
|
|
218
|
+
billData: {
|
|
219
|
+
url: 'rs/report/transfer_bill',
|
|
220
|
+
billnumber: ''
|
|
221
|
+
},
|
|
222
|
+
mulPrint: false,
|
|
223
|
+
|
|
224
|
+
// 启用发票管理需要对票号进行验证
|
|
225
|
+
hasValidateBill: false,
|
|
226
|
+
validateOk: false,
|
|
227
|
+
|
|
228
|
+
blodid: '', // 附件
|
|
229
|
+
|
|
230
|
+
acceptprint: false,
|
|
231
|
+
acceptUrl: '',
|
|
232
|
+
|
|
233
|
+
banknames: this.$appdata.getParam('银行名称'),
|
|
234
|
+
costtypes: this.$appdata.getParam('缴费类型'),
|
|
235
|
+
payments: this.$appdata.getParam('付款方式'),
|
|
236
|
+
printstyle: this.$appdata.getParam('打印格式'),
|
|
237
|
+
credentials: this.$appdata.getParam('证件类型'),
|
|
238
|
+
loaduserflag :false,
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
ready () {
|
|
242
|
+
this.model.f_print = [this.config.printType]
|
|
243
|
+
this.blodid = this.row.f_userinfo_id
|
|
244
|
+
asyncTransferManage(this)
|
|
245
|
+
},
|
|
246
|
+
methods: {
|
|
247
|
+
//加载过户资料
|
|
248
|
+
loaduser(){
|
|
249
|
+
this.loaduserflag =true;
|
|
250
|
+
},
|
|
251
|
+
accept () {
|
|
252
|
+
// 打印受理单
|
|
253
|
+
this.printData.username = this.model.f_newuser_name ? `'${this.model.f_newuser_name}'` : '' + `'${this.model.f_newuser_name}'`
|
|
254
|
+
this.printData.userphone = this.model.f_newuser_phone ? `'${this.model.f_newuser_phone}'` : '' + `'${this.model.f_newuser_phone}'`
|
|
255
|
+
this.printData.credentials = this.model.f_newcredentials ? `'${this.model.f_newcredentials[0]}'` : '' + `'${this.model.f_newcredentials}'`
|
|
256
|
+
this.printData.idnumber = this.model.f_newidnumber ? `'${this.model.f_newidnumber}'` : '' + `'${this.model.f_newidnumber}'`
|
|
257
|
+
console.log('受累单中printData', this.printData)
|
|
258
|
+
this.acceptUrl = 'rs/report/acceptTransfer_bill'
|
|
259
|
+
this.acceptprint = true
|
|
260
|
+
},
|
|
261
|
+
closeAccept () {
|
|
262
|
+
this.acceptprint = false
|
|
263
|
+
},
|
|
264
|
+
// 用户更改信息
|
|
265
|
+
getuserinfo () {
|
|
266
|
+
return {
|
|
267
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
268
|
+
f_user_name: this.model.f_newuser_name,
|
|
269
|
+
f_credentials: this.model.f_newcredentials[0],
|
|
270
|
+
f_idnumber: this.model.f_newidnumber ? this.model.f_newidnumber : '',
|
|
271
|
+
f_user_phone: this.model.f_newuser_phone ? this.model.f_newuser_phone : '',
|
|
272
|
+
f_rent_phone: this.model.f_newrent_phone ? this.model.f_newrent_phone : '',
|
|
273
|
+
f_contract_id: this.model.f_contract_id ? this.model.f_contract_id : '',
|
|
274
|
+
f_cost_type: this.model.f_paymenttype[0],
|
|
275
|
+
version: this.row.userinfo_version,
|
|
276
|
+
infobank: {
|
|
277
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
278
|
+
f_bank_name: this.model.f_newbank_name[0],
|
|
279
|
+
f_bank_accopen: this.model.f_newbank_accopen,
|
|
280
|
+
f_bank_account: this.model.f_newbank_account,
|
|
281
|
+
f_bank_idnumber: this.model.f_bank_idnumber
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
changecost (val) {
|
|
286
|
+
if (val[0] === '银行代扣') {
|
|
287
|
+
this.bankinfo = true
|
|
288
|
+
} else {
|
|
289
|
+
this.bankinfo = false
|
|
290
|
+
}
|
|
291
|
+
this.$resetValidation()
|
|
292
|
+
},
|
|
293
|
+
validateBill (val) {
|
|
294
|
+
this.validateOk = val.isOk
|
|
295
|
+
this.billData.bill = val.bill
|
|
296
|
+
},
|
|
297
|
+
printok () {
|
|
298
|
+
this.$dispatch('success')
|
|
299
|
+
},
|
|
300
|
+
|
|
301
|
+
// 过户表及操作表信息
|
|
302
|
+
getOperateInfo () {
|
|
303
|
+
return {
|
|
304
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
305
|
+
record_userinfo: this.row.f_userinfo_id,
|
|
306
|
+
f_user_id: this.row.f_user_id,
|
|
307
|
+
f_serial_number: this.model.f_serial_number ? this.model.f_serial_number : '',
|
|
308
|
+
f_userfiles_id: this.row.f_userfiles_id ? this.row.f_userfiles_id : '',
|
|
309
|
+
f_user_name: this.row.f_user_name,
|
|
310
|
+
f_user_phone: this.row.f_user_phone ? this.row.f_user_phone : '',
|
|
311
|
+
f_idnumber: this.row.f_idnumber ? this.row.f_idnumber : '',
|
|
312
|
+
f_credentials: this.row.f_credentials ? this.row.f_credentials : '',
|
|
313
|
+
f_payment: this.model.f_payment[0] ? this.model.f_payment[0] : '',
|
|
314
|
+
f_bill_style: this.model.f_print[0] ? this.model.f_print[0] : '',
|
|
315
|
+
f_newuser_name: this.model.f_newuser_name,
|
|
316
|
+
f_newuser_phone: this.model.f_newuser_phone,
|
|
317
|
+
f_newrent_phone: this.model.f_newrent_phone ? this.model.f_newrent_phone : '',
|
|
318
|
+
f_newcredentials: this.model.f_newcredentials[0],
|
|
319
|
+
f_newidnumber: this.model.f_newidnumber ? this.model.f_newidnumber : '',
|
|
320
|
+
f_bank_accopen: null,
|
|
321
|
+
f_bank_name: null,
|
|
322
|
+
f_bank_account: null,
|
|
323
|
+
f_newbank_accopen: this.model.f_newbank_accopen ? this.model.f_newbank_accopen : '',
|
|
324
|
+
f_newbank_name: this.model.f_newbank_name[0] ? this.model.f_newbank_name[0] : '',
|
|
325
|
+
f_newbank_account: this.model.f_newbank_account ? this.model.f_newbank_account : '',
|
|
326
|
+
f_bank_idnumber: this.row.f_bank_idnumber ? this.model.f_bank_idnumber : '',
|
|
327
|
+
f_newbank_idnumber: this.model.f_bank_idnumber ? this.model.f_bank_idnumber : '',
|
|
328
|
+
f_transfer_fees: this.model.f_transfer_fees ? this.model.f_transfer_fees : 0,
|
|
329
|
+
f_comments: this.model.f_comments ? this.model.f_comments : '',
|
|
330
|
+
f_operat_type: '过户',
|
|
331
|
+
f_describe: this.$login.f.name + '对用户' + this.row.f_user_name + '进行过户',
|
|
332
|
+
f_state: '有效',
|
|
333
|
+
f_operator: this.$login.f.name,
|
|
334
|
+
f_operatorid: this.$login.f.id,
|
|
335
|
+
f_orgid: this.$login.f.orgid,
|
|
336
|
+
f_orgname: this.$login.f.orgs,
|
|
337
|
+
f_depid: this.$login.f.depids,
|
|
338
|
+
f_depname: this.$login.f.deps,
|
|
339
|
+
f_zoneid: this.$login.f.zoneid ? this.$login.f.zoneid : '',
|
|
340
|
+
f_zones: this.$login.f.zones ? this.$login.f.zones : '',
|
|
341
|
+
deletebank: false
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
// 银行信息的设置
|
|
345
|
+
setbank (bank) {
|
|
346
|
+
if (!bank.data[0]) {
|
|
347
|
+
if (this.model.f_paymenttype[0] === '现金缴费') {
|
|
348
|
+
delete this.transferdata.userinfo.infobank
|
|
349
|
+
} else if (this.model.f_paymenttype[0] === '银行代扣') {
|
|
350
|
+
delete this.transferdata.userinfo.infobank.f_userinfo_id
|
|
351
|
+
}
|
|
352
|
+
} else {
|
|
353
|
+
if (this.model.f_paymenttype[0] === '现金缴费') {
|
|
354
|
+
this.transferdata.deletebank = true
|
|
355
|
+
delete this.transferdata.userinfo.infobank
|
|
356
|
+
} else if (this.model.f_paymenttype[0] === '银行代扣') {
|
|
357
|
+
this.transferdata.f_bank_name = bank.data[0].f_bank_name
|
|
358
|
+
this.transferdata.f_bank_accopen = bank.data[0].f_bank_accopen
|
|
359
|
+
this.transferdata.f_bank_account = bank.data[0].f_bank_account
|
|
360
|
+
this.transferdata.f_bank_idnumber = bank.data[0].f_bank_idnumber
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
confirm () {
|
|
365
|
+
this.transferdata = Object.assign({}, this.getOperateInfo())
|
|
366
|
+
this.newbankname()
|
|
367
|
+
this.transferdata.userinfo = Object.assign({}, this.getuserinfo())
|
|
368
|
+
console.log('过户保存', this.transferdata)
|
|
369
|
+
transfersaveGen(this)
|
|
370
|
+
},
|
|
371
|
+
clear () {
|
|
372
|
+
this.$dispatch('refresh')
|
|
373
|
+
},
|
|
374
|
+
close () {
|
|
375
|
+
this.print = false
|
|
376
|
+
this.clear()
|
|
377
|
+
},
|
|
378
|
+
newbankname () {
|
|
379
|
+
if (this.model.f_paymenttype[0] !== '银行代扣') {
|
|
380
|
+
this.model.f_newbank_accopen = null
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
events:{
|
|
385
|
+
'confirmuserfiles'(val){
|
|
386
|
+
if(val){
|
|
387
|
+
if(val.buyername != null) this.$set('model.f_newuser_name',val.buyername);
|
|
388
|
+
if(val.buyerphone != null) this.$set('model.f_newuser_phone', val.buyerphone);
|
|
389
|
+
if(val.buyercardno != null) this.$set('model.f_newidnumber', val.buyercardno);
|
|
390
|
+
this.loaduserflag = false;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
</script>
|
|
396
|
+
|
|
397
|
+
<style scoped>
|
|
398
|
+
#label{
|
|
399
|
+
margin-top: 5px;
|
|
400
|
+
}
|
|
401
|
+
</style>
|
package/src/filiale/wuan/sale.js
CHANGED
|
@@ -9,6 +9,8 @@ let specialComp = {
|
|
|
9
9
|
// 用户基本信息test
|
|
10
10
|
'file-user-essential-info': (resolve) => { require(['./UserEssentialInfoTest'], resolve) },
|
|
11
11
|
'file-user-files': (resolve) => { require(['./FileUserFiles'], resolve) },
|
|
12
|
-
'user-meterinfodetail': (resolve) => { require(['./meterinfodetail'], resolve) }
|
|
12
|
+
'user-meterinfodetail': (resolve) => { require(['./meterinfodetail'], resolve) },
|
|
13
|
+
// 过户
|
|
14
|
+
'transfer-manage': (resolve) => { require(['./TransferManage'], resolve) }
|
|
13
15
|
}
|
|
14
16
|
exports.specialComp = specialComp
|
|
@@ -72,6 +72,30 @@
|
|
|
72
72
|
:format="'yyyy-MM-dd 23:59:59'" condition="sg.f_operate_date <= '{}'">
|
|
73
73
|
</datepicker>
|
|
74
74
|
</div>
|
|
75
|
+
<div class="form-group" :class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}">
|
|
76
|
+
<label class="font_normal_body">气表品牌</label>
|
|
77
|
+
<v-select :value.sync="model.f_meter_brand" multiple
|
|
78
|
+
v-model="model.f_meter_brand"
|
|
79
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
80
|
+
condition="gd.f_meter_brand in {}"
|
|
81
|
+
close-on-select></v-select>
|
|
82
|
+
</div>
|
|
83
|
+
<div
|
|
84
|
+
:class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
|
|
85
|
+
class="form-group">
|
|
86
|
+
<label class="font_normal_body">退费日期</label>
|
|
87
|
+
<datepicker placeholder="开始日期" v-model="model.startDate" :value.sync="model.startDate" style="width:60%"
|
|
88
|
+
:format="'yyyy-MM-dd 00:00:00'" condition="sd.f_operate_date >= '{}'">
|
|
89
|
+
</datepicker>
|
|
90
|
+
</div>
|
|
91
|
+
<div
|
|
92
|
+
:class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
|
|
93
|
+
class="form-group">
|
|
94
|
+
<label class="font_normal_body">   至   </label>
|
|
95
|
+
<datepicker placeholder="结束日期" v-model="model.endDate" :value.sync="model.endDate" style="width:60%"
|
|
96
|
+
:format="'yyyy-MM-dd 23:59:59'" condition="sd.f_operate_date <= '{}'">
|
|
97
|
+
</datepicker>
|
|
98
|
+
</div>
|
|
75
99
|
<div
|
|
76
100
|
:class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
|
|
77
101
|
class="form-group">
|
|
@@ -116,6 +140,11 @@
|
|
|
116
140
|
<script>
|
|
117
141
|
import {PagedList} from 'vue-client'
|
|
118
142
|
|
|
143
|
+
let loadParamGem = async function (self) {
|
|
144
|
+
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
145
|
+
self.initMeterBrands()()
|
|
146
|
+
}
|
|
147
|
+
|
|
119
148
|
export default {
|
|
120
149
|
'title': '卡表收费查询',
|
|
121
150
|
data () {
|
|
@@ -134,11 +163,13 @@
|
|
|
134
163
|
editList: false,
|
|
135
164
|
excelTable: true,
|
|
136
165
|
condition: '',
|
|
166
|
+
meterbrands: [],
|
|
137
167
|
getfield: {
|
|
138
168
|
'id': '收费编号',
|
|
139
169
|
'f_meternumber': '表号',
|
|
140
170
|
'f_userinfo_code': '用户编号',
|
|
141
171
|
'f_user_name': '用户姓名',
|
|
172
|
+
'f_meter_brand': '气表品牌',
|
|
142
173
|
'f_operate_date': '收费时间',
|
|
143
174
|
'f_pregas': '购气气量',
|
|
144
175
|
'f_address': '地址',
|
|
@@ -149,6 +180,7 @@
|
|
|
149
180
|
'f_price': '预收气价',
|
|
150
181
|
'f_refund': '是否退费',
|
|
151
182
|
'f_refundfee': '退费金额',
|
|
183
|
+
'f_refund_date': '退费日期',
|
|
152
184
|
'f_operator': '操作员',
|
|
153
185
|
'f_depname': '所属部门',
|
|
154
186
|
'f_orgname': '所属公司'
|
|
@@ -160,14 +192,25 @@
|
|
|
160
192
|
}
|
|
161
193
|
},
|
|
162
194
|
ready () {
|
|
163
|
-
this
|
|
195
|
+
loadParamGem(this)
|
|
164
196
|
},
|
|
165
197
|
methods: {
|
|
166
198
|
hidden () {
|
|
167
199
|
this.criteriaShow = !this.criteriaShow
|
|
168
200
|
},
|
|
169
201
|
getorg (val) {
|
|
170
|
-
this.f_orgid = val
|
|
202
|
+
this.f_orgid = val
|
|
203
|
+
},
|
|
204
|
+
initMeterBrands () {
|
|
205
|
+
// 初始化气表品牌
|
|
206
|
+
let brandArr = []
|
|
207
|
+
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
208
|
+
let temp = {}
|
|
209
|
+
temp.label = item.label
|
|
210
|
+
temp.value = item.value.f_meter_brand
|
|
211
|
+
brandArr.push(temp)
|
|
212
|
+
})
|
|
213
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
171
214
|
},
|
|
172
215
|
search () {
|
|
173
216
|
this.$refs.paged.$refs.criteria.search()
|
|
@@ -179,6 +222,7 @@
|
|
|
179
222
|
if (this.f_orgid) {
|
|
180
223
|
args.condition = `${args.condition} ${this.f_orgid}`
|
|
181
224
|
}
|
|
225
|
+
args.condition = args.condition.replace('f_orgid', 'sg.f_orgid')
|
|
182
226
|
this.model.search(args.condition, args.model)
|
|
183
227
|
this.condition = args.condition
|
|
184
228
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
@@ -56,6 +56,14 @@
|
|
|
56
56
|
close-on-select
|
|
57
57
|
condition="uf.f_user_type = '{}'"></v-select>
|
|
58
58
|
</div>
|
|
59
|
+
<div class="form-group" :class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}">
|
|
60
|
+
<label class="font_normal_body">气表品牌</label>
|
|
61
|
+
<v-select :value.sync="model.f_meter_brand" multiple
|
|
62
|
+
v-model="model.f_meter_brand"
|
|
63
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
64
|
+
condition="gd.f_meter_brand in {}"
|
|
65
|
+
close-on-select></v-select>
|
|
66
|
+
</div>
|
|
59
67
|
<div
|
|
60
68
|
:class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
|
|
61
69
|
class="form-group">
|
|
@@ -94,6 +102,10 @@
|
|
|
94
102
|
<script>
|
|
95
103
|
import {PagedList} from 'vue-client'
|
|
96
104
|
|
|
105
|
+
let loadParamGem = async function (self) {
|
|
106
|
+
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
107
|
+
self.initMeterBrands()()
|
|
108
|
+
}
|
|
97
109
|
export default {
|
|
98
110
|
'title': '卡表收费查询',
|
|
99
111
|
data () {
|
|
@@ -109,6 +121,7 @@
|
|
|
109
121
|
dep: [],
|
|
110
122
|
user: []
|
|
111
123
|
},
|
|
124
|
+
meterbrands: [],
|
|
112
125
|
// 控制样式
|
|
113
126
|
editList: false,
|
|
114
127
|
excelTable: true,
|
|
@@ -118,6 +131,7 @@
|
|
|
118
131
|
'f_meternumber': '表号',
|
|
119
132
|
'f_userinfo_code': '用户编号',
|
|
120
133
|
'f_user_name': '用户姓名',
|
|
134
|
+
'f_meter_brand': '气表品牌',
|
|
121
135
|
'f_operate_date': '收费时间',
|
|
122
136
|
'f_pregas': '购气气量',
|
|
123
137
|
'f_address': '地址',
|
|
@@ -132,14 +146,25 @@
|
|
|
132
146
|
}
|
|
133
147
|
},
|
|
134
148
|
ready () {
|
|
135
|
-
this
|
|
149
|
+
loadParamGem(this)
|
|
136
150
|
},
|
|
137
151
|
methods: {
|
|
138
152
|
hidden () {
|
|
139
153
|
this.criteriaShow = !this.criteriaShow
|
|
140
154
|
},
|
|
141
155
|
getorg (val) {
|
|
142
|
-
this.f_orgid = val
|
|
156
|
+
this.f_orgid = val
|
|
157
|
+
},
|
|
158
|
+
initMeterBrands () {
|
|
159
|
+
// 初始化气表品牌
|
|
160
|
+
let brandArr = []
|
|
161
|
+
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
162
|
+
let temp = {}
|
|
163
|
+
temp.label = item.label
|
|
164
|
+
temp.value = item.value.f_meter_brand
|
|
165
|
+
brandArr.push(temp)
|
|
166
|
+
})
|
|
167
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
143
168
|
},
|
|
144
169
|
search () {
|
|
145
170
|
this.$refs.paged.$refs.criteria.search()
|
|
@@ -151,6 +176,7 @@
|
|
|
151
176
|
if (this.f_orgid) {
|
|
152
177
|
args.condition = `${args.condition} ${this.f_orgid}`
|
|
153
178
|
}
|
|
179
|
+
args.condition = args.condition.replace('f_orgid', 'sg.f_orgid')
|
|
154
180
|
this.model.search(args.condition, args.model)
|
|
155
181
|
this.condition = args.condition
|
|
156
182
|
}
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
class="auto"
|
|
22
22
|
:data="{condition: $parent.$parent.condition}"
|
|
23
23
|
:field="$parent.$parent.getfield"
|
|
24
|
-
sqlurl="rs/logic/saleExport" progress="saleGetExportProgress" sql-name="
|
|
25
|
-
template-name='
|
|
24
|
+
sqlurl="rs/logic/saleExport" progress="saleGetExportProgress" sql-name="machineChargeQuery"
|
|
25
|
+
template-name='收费查询'
|
|
26
26
|
:choose-col="true"></export-excel>
|
|
27
27
|
<div
|
|
28
28
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
@@ -56,6 +56,14 @@
|
|
|
56
56
|
close-on-select
|
|
57
57
|
condition="uf.f_user_type = '{}'"></v-select>
|
|
58
58
|
</div>
|
|
59
|
+
<div class="form-group" :class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}">
|
|
60
|
+
<label class="font_normal_body">气表品牌</label>
|
|
61
|
+
<v-select :value.sync="model.f_meter_brand" multiple
|
|
62
|
+
v-model="model.f_meter_brand"
|
|
63
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
64
|
+
condition="gd.f_meter_brand in {}"
|
|
65
|
+
close-on-select></v-select>
|
|
66
|
+
</div>
|
|
59
67
|
<div
|
|
60
68
|
:class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
|
|
61
69
|
class="form-group">
|
|
@@ -82,6 +90,23 @@
|
|
|
82
90
|
close-on-select
|
|
83
91
|
condition="sd.id {}"></v-select>
|
|
84
92
|
</div>
|
|
93
|
+
<div
|
|
94
|
+
:class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
|
|
95
|
+
class="form-group">
|
|
96
|
+
<label class="font_normal_body">退费日期</label>
|
|
97
|
+
<datepicker placeholder="开始日期" v-model="model.startDate" :value.sync="model.startDate" style="width:60%"
|
|
98
|
+
:format="'yyyy-MM-dd 00:00:00'" condition="sd.f_operate_date >= '{}'">
|
|
99
|
+
</datepicker>
|
|
100
|
+
</div>
|
|
101
|
+
<div
|
|
102
|
+
:class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
|
|
103
|
+
class="form-group">
|
|
104
|
+
<label class="font_normal_body">   至   </label>
|
|
105
|
+
<datepicker placeholder="结束日期" v-model="model.endDate" :value.sync="model.endDate" style="width:60%"
|
|
106
|
+
:format="'yyyy-MM-dd 23:59:59'" condition="sd.f_operate_date <= '{}'">
|
|
107
|
+
</datepicker>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
85
110
|
</div>
|
|
86
111
|
</div>
|
|
87
112
|
</criteria>
|
|
@@ -116,6 +141,10 @@
|
|
|
116
141
|
<script>
|
|
117
142
|
import {PagedList} from 'vue-client'
|
|
118
143
|
|
|
144
|
+
let loadParamGem = async function (self) {
|
|
145
|
+
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
146
|
+
self.initMeterBrands()
|
|
147
|
+
}
|
|
119
148
|
export default {
|
|
120
149
|
'title': '机表结算查询',
|
|
121
150
|
data () {
|
|
@@ -129,6 +158,7 @@
|
|
|
129
158
|
initres: {
|
|
130
159
|
org: [this.$login.f.orgid]
|
|
131
160
|
},
|
|
161
|
+
meterbrands: [],
|
|
132
162
|
sumsmodel: 0,
|
|
133
163
|
// 控制样式
|
|
134
164
|
editList: false,
|
|
@@ -139,6 +169,7 @@
|
|
|
139
169
|
'f_meternumber': '表号',
|
|
140
170
|
'f_userinfo_code': '用户编号',
|
|
141
171
|
'f_user_name': '用户姓名',
|
|
172
|
+
'f_meter_brand': '气表品牌',
|
|
142
173
|
'f_input_date': '抄表时间',
|
|
143
174
|
'f_oughtamount': '气量',
|
|
144
175
|
'f_address': '地址',
|
|
@@ -149,6 +180,7 @@
|
|
|
149
180
|
'f_price': '预收气价',
|
|
150
181
|
'f_refund': '是否退费',
|
|
151
182
|
'f_refundfee': '退费金额',
|
|
183
|
+
'f_refund_date': '退费日期',
|
|
152
184
|
'f_operator': '操作员',
|
|
153
185
|
'f_depname': '所属部门',
|
|
154
186
|
'f_orgname': '所属公司'
|
|
@@ -160,14 +192,25 @@
|
|
|
160
192
|
}
|
|
161
193
|
},
|
|
162
194
|
ready () {
|
|
163
|
-
this
|
|
195
|
+
loadParamGem(this)
|
|
164
196
|
},
|
|
165
197
|
methods: {
|
|
166
198
|
hidden () {
|
|
167
199
|
this.criteriaShow = !this.criteriaShow
|
|
168
200
|
},
|
|
169
201
|
getorg (val) {
|
|
170
|
-
this.f_orgid = val
|
|
202
|
+
this.f_orgid = val
|
|
203
|
+
},
|
|
204
|
+
initMeterBrands () {
|
|
205
|
+
// 初始化气表品牌
|
|
206
|
+
let brandArr = []
|
|
207
|
+
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
208
|
+
let temp = {}
|
|
209
|
+
temp.label = item.label
|
|
210
|
+
temp.value = item.value.f_meter_brand
|
|
211
|
+
brandArr.push(temp)
|
|
212
|
+
})
|
|
213
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
171
214
|
},
|
|
172
215
|
search () {
|
|
173
216
|
this.$refs.paged.$refs.criteria.search()
|
|
@@ -179,6 +222,7 @@
|
|
|
179
222
|
if (this.f_orgid) {
|
|
180
223
|
args.condition = `${args.condition} ${this.f_orgid}`
|
|
181
224
|
}
|
|
225
|
+
args.condition = args.condition.replace('f_orgid', 'hd.f_orgid')
|
|
182
226
|
this.model.search(args.condition, args.model)
|
|
183
227
|
this.condition = args.condition
|
|
184
228
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
class="auto"
|
|
22
22
|
:data="{condition: $parent.$parent.condition}"
|
|
23
23
|
:field="$parent.$parent.getfield"
|
|
24
|
-
sqlurl="rs/logic/saleExport" progress="saleGetExportProgress" sql-name="
|
|
25
|
-
template-name='
|
|
24
|
+
sqlurl="rs/logic/saleExport" progress="saleGetExportProgress" sql-name="machineChargeQuery"
|
|
25
|
+
template-name='收费查询'
|
|
26
26
|
:choose-col="true"></export-excel>
|
|
27
27
|
<div
|
|
28
28
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
@@ -72,6 +72,14 @@
|
|
|
72
72
|
:format="'yyyy-MM-dd 23:59:59'" condition="hd.f_input_date <= '{}'">
|
|
73
73
|
</datepicker>
|
|
74
74
|
</div>
|
|
75
|
+
<div class="form-group" :class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}">
|
|
76
|
+
<label class="font_normal_body">气表品牌</label>
|
|
77
|
+
<v-select :value.sync="model.f_meter_brand" multiple
|
|
78
|
+
v-model="model.f_meter_brand"
|
|
79
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
80
|
+
condition="gd.f_meter_brand in {}"
|
|
81
|
+
close-on-select></v-select>
|
|
82
|
+
</div>
|
|
75
83
|
</div>
|
|
76
84
|
</div>
|
|
77
85
|
</criteria>
|
|
@@ -94,6 +102,10 @@
|
|
|
94
102
|
<script>
|
|
95
103
|
import {PagedList} from 'vue-client'
|
|
96
104
|
|
|
105
|
+
let loadParamGem = async function (self) {
|
|
106
|
+
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
107
|
+
self.initMeterBrands()
|
|
108
|
+
}
|
|
97
109
|
export default {
|
|
98
110
|
'title': '机表结算查询',
|
|
99
111
|
data () {
|
|
@@ -104,6 +116,7 @@
|
|
|
104
116
|
// 控制查询条件显示
|
|
105
117
|
searchshow: true,
|
|
106
118
|
criteriaShow: false,
|
|
119
|
+
meterbrands: [],
|
|
107
120
|
initres: {
|
|
108
121
|
org: [this.$login.f.orgid],
|
|
109
122
|
dep: [],
|
|
@@ -118,6 +131,7 @@
|
|
|
118
131
|
'f_meternumber': '表号',
|
|
119
132
|
'f_userinfo_code': '用户编号',
|
|
120
133
|
'f_user_name': '用户姓名',
|
|
134
|
+
'f_meter_brand': '气表品牌',
|
|
121
135
|
'f_input_date': '抄表时间',
|
|
122
136
|
'f_oughtamount': '气量',
|
|
123
137
|
'f_address': '地址',
|
|
@@ -132,14 +146,25 @@
|
|
|
132
146
|
}
|
|
133
147
|
},
|
|
134
148
|
ready () {
|
|
135
|
-
this
|
|
149
|
+
loadParamGem(this)
|
|
136
150
|
},
|
|
137
151
|
methods: {
|
|
138
152
|
hidden () {
|
|
139
153
|
this.criteriaShow = !this.criteriaShow
|
|
140
154
|
},
|
|
141
155
|
getorg (val) {
|
|
142
|
-
this.f_orgid = val
|
|
156
|
+
this.f_orgid = val
|
|
157
|
+
},
|
|
158
|
+
initMeterBrands () {
|
|
159
|
+
// 初始化气表品牌
|
|
160
|
+
let brandArr = []
|
|
161
|
+
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
162
|
+
let temp = {}
|
|
163
|
+
temp.label = item.label
|
|
164
|
+
temp.value = item.value.f_meter_brand
|
|
165
|
+
brandArr.push(temp)
|
|
166
|
+
})
|
|
167
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
143
168
|
},
|
|
144
169
|
search () {
|
|
145
170
|
this.$refs.paged.$refs.criteria.search()
|
|
@@ -151,6 +176,7 @@
|
|
|
151
176
|
if (this.f_orgid) {
|
|
152
177
|
args.condition = `${args.condition} ${this.f_orgid}`
|
|
153
178
|
}
|
|
179
|
+
args.condition = args.condition.replace('f_orgid', 'hd.f_orgid')
|
|
154
180
|
this.model.search(args.condition, args.model)
|
|
155
181
|
this.condition = args.condition
|
|
156
182
|
}
|