sale-client 3.5.224 → 3.5.225
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/FilesManage/FileAddressManage.vue +1 -1
- package/src/components/FilesManage/UserEssentialInfoTest.vue +1 -1
- package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -1
- package/src/components/revenue/base/leftview/otherinfo.vue +2 -2
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +21 -9
- package/src/filiale/fugu/components/BlackList/BlackList.vue +15 -2
- package/src/filiale/gehua/ChargeGroupList.vue +345 -0
- package/src/filiale/gehua/sale.js +3 -0
- package/src/filiale/huayin/base/otherinfo.vue +2 -2
- package/src/filiale/qianneng/eticket/EticketPrint.vue +8 -6
- package/src/filiale/rizhao/otherinfo.vue +2 -2
- package/src/filiale/rongcheng/FileAddressManage.vue +1 -1
- package/src/filiale/shanxian/components/FilesManage/FileAddressList.vue +2 -2
- package/src/filiale/tongchuan/WebMeterInfo.vue +79 -0
- package/src/filiale/tongchuan/WebMeterList.vue +444 -0
- package/src/filiale/tongchuan/base/otherinfo.vue +2 -2
- package/src/filiale/tongchuan/sale.js +3 -0
- package/src/filiale/wenxi/CardMeterCenter.vue +941 -941
- package/src/filiale/wenxi/IOTMeterCenter.vue +774 -754
- package/src/filiale/wenxi/ShowCardSellGas.vue +932 -932
- package/src/filiale/xiangyun/machineChargeQuery1.vue +1 -1
- package/yarn-error.log +9224 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div :class="{'basic-main':!useraddressShow,'binary-left':useraddressShow}" v-show="isSelect">
|
|
4
4
|
<file-address-list @select-changed="selected" v-ref:addresslist :style="style" :select=select :company=company :f_filialeids.sync="f_filialeids"></file-address-list>
|
|
5
5
|
</div>
|
|
6
|
-
<div v-show="useraddressShow" :class="{'basic-main':!isSelect, 'binary-right': isSelect}">
|
|
6
|
+
<div v-show="useraddressShow" :class="{'basic-main':!isSelect, 'binary-right': isSelect}" style="width:60%">
|
|
7
7
|
<div class="flex">
|
|
8
8
|
<file-user-address :f_filialeids.sync="f_filialeids" :is_pecial="isSpecial" :isedit="isSelect" :row="row" v-ref:fileuseraddress></file-user-address>
|
|
9
9
|
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
</div>
|
|
206
206
|
</form>
|
|
207
207
|
</validator>
|
|
208
|
-
<modal v-if="showselectaddress" :show.sync="showselectaddress" width="
|
|
208
|
+
<modal v-if="showselectaddress" :show.sync="showselectaddress" width="70%" height="80%" title="地址信息" v-ref:modal large backdrop="false">
|
|
209
209
|
<article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
|
|
210
210
|
<file-address-manage :is-select="isSelect" :fileinfo="addressinfo"
|
|
211
211
|
@address-valid="doNothing" :showselectaddress.sync="showselectaddress" v-ref:fileaddress ></file-address-manage>
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
</div>
|
|
94
94
|
<div class="row">
|
|
95
95
|
<div class="col-sm-2"></div>
|
|
96
|
-
<input v-if="fileSaveData.reason==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
|
|
96
|
+
<input v-if="fileSaveData.reason ==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
|
|
97
97
|
</div>
|
|
98
98
|
</article>
|
|
99
99
|
<footer slot="modal-footer" class="modal-footer">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex" style="height: 90%;overflow-y: scroll">
|
|
3
|
-
<mix-price-info :data="data" v-if="data.f_price_type === '固定气价'"></mix-price-info>
|
|
4
|
-
<stairinfo :data="data" v-if="data.f_price_type === '阶梯气价'"></stairinfo>
|
|
3
|
+
<mix-price-info :data="data" v-if="data.f_meter_type && data.f_price_type === '固定气价'"></mix-price-info>
|
|
4
|
+
<stairinfo :data="data" v-if="data.f_meter_type && data.f_price_type === '阶梯气价'"></stairinfo>
|
|
5
5
|
<bill-message @setstate="setstate" :state="state" :data="data"></bill-message>
|
|
6
6
|
<valueaddinfo :data="data" v-ref:valueaddinfo></valueaddinfo>
|
|
7
7
|
<safe-check :data="data"></safe-check>
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
import * as Util from '../../../Util'
|
|
395
395
|
|
|
396
396
|
let readyGen = async function (self) {
|
|
397
|
-
self.$refs.paged.$refs.cri.model.startDate =
|
|
397
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
|
|
398
398
|
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
399
399
|
await self.$LoadParams.loadMeterBook(self.f_filialeid)
|
|
400
400
|
self.loadMeterBooks()
|
|
@@ -414,12 +414,13 @@
|
|
|
414
414
|
dep: [],
|
|
415
415
|
user: []
|
|
416
416
|
},
|
|
417
|
-
config:{
|
|
418
|
-
examine: false
|
|
417
|
+
config: {
|
|
418
|
+
examine: false
|
|
419
419
|
},
|
|
420
420
|
imgfilename: '',
|
|
421
421
|
// 小区
|
|
422
422
|
residentialArea: [],
|
|
423
|
+
inputtouPerson: [],
|
|
423
424
|
imgshow: false,
|
|
424
425
|
criteriaShow: false,
|
|
425
426
|
orgCondtionStr: '',
|
|
@@ -444,8 +445,8 @@
|
|
|
444
445
|
'f_adjustable_name': '调压箱名称',
|
|
445
446
|
'f_inputtor': '抄表员'
|
|
446
447
|
},
|
|
447
|
-
auditState:[{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
|
|
448
|
-
auditState1:[{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
|
|
448
|
+
auditState: [{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
|
|
449
|
+
auditState1: [{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
|
|
449
450
|
meters: [{label: '全部', value: ''}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}],
|
|
450
451
|
resultstate: this.$appdata.getParam('抄表结果状态'),
|
|
451
452
|
meterstates: this.$appdata.getParam('抄表状态') ? [{
|
|
@@ -475,7 +476,7 @@
|
|
|
475
476
|
methods: {
|
|
476
477
|
// 修正本期底数
|
|
477
478
|
amend (row) {
|
|
478
|
-
let tablebase = window.prompt('请输入你要修正的底数值,上期底数:'+ row.f_meter_base)
|
|
479
|
+
let tablebase = window.prompt('请输入你要修正的底数值,上期底数:' + row.f_meter_base)
|
|
479
480
|
if (!tablebase) return
|
|
480
481
|
if (tablebase < 0) {
|
|
481
482
|
this.$showAlert(`底数不能小于0,请注意!`, 'warning', 2000)
|
|
@@ -596,9 +597,9 @@
|
|
|
596
597
|
this.imgshow = false
|
|
597
598
|
},
|
|
598
599
|
imgShow (val) {
|
|
599
|
-
console.log(
|
|
600
|
+
console.log('-----------val2:', val)
|
|
600
601
|
this.imgfilename = `rs/image/file/` + val
|
|
601
|
-
console.log(
|
|
602
|
+
console.log('-----------imgfilename2:', this.imgfilename)
|
|
602
603
|
this.imgshow = true
|
|
603
604
|
},
|
|
604
605
|
async getaddress () {
|
|
@@ -632,6 +633,17 @@
|
|
|
632
633
|
} else {
|
|
633
634
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
634
635
|
}
|
|
636
|
+
// 抄表员查询条件
|
|
637
|
+
this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
|
|
638
|
+
if (this.inputtouPerson.length !== 0) {
|
|
639
|
+
let str = JSON.stringify(this.inputtouPerson)
|
|
640
|
+
str = str.replace(/"/g, `'`)
|
|
641
|
+
str = str.replace(/\[/g, ``)
|
|
642
|
+
str = str.replace(/\]/g, ``)
|
|
643
|
+
console.log('=====抄表员model22222222222绑定====', str)
|
|
644
|
+
// 查询多个抄表员时条件
|
|
645
|
+
args.condition += ` and f_inputtor in ( ${str} )`
|
|
646
|
+
}
|
|
635
647
|
this.excelCondition = args.condition
|
|
636
648
|
this.$refs.paged.$refs.grid.selectInit()
|
|
637
649
|
this.model.search(args.condition, args.model)
|
|
@@ -696,7 +708,7 @@
|
|
|
696
708
|
},
|
|
697
709
|
loadMeterBooks () {
|
|
698
710
|
this.meterbooks = this.$GetSaleParam.getMeterBooks()
|
|
699
|
-
}
|
|
711
|
+
}
|
|
700
712
|
|
|
701
713
|
},
|
|
702
714
|
computed: {
|
|
@@ -172,12 +172,25 @@
|
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
174
|
ready () {
|
|
175
|
-
|
|
175
|
+
if (this.data) {
|
|
176
|
+
if (this.data.f_parameter_key != undefined) {
|
|
177
|
+
this.isBlackList = true
|
|
178
|
+
initGen(this, this.data)
|
|
179
|
+
} else {
|
|
180
|
+
this.isBlackList = false
|
|
181
|
+
this.initNormalModel(this.data,this)
|
|
182
|
+
}
|
|
183
|
+
} else {
|
|
184
|
+
this.isBlackList = false
|
|
185
|
+
this.initModel()
|
|
186
|
+
}
|
|
176
187
|
},
|
|
177
188
|
watch: {
|
|
178
189
|
'data' (val) {
|
|
190
|
+
console.log('看看传进来的。。。。' + JSON.stringify(val))
|
|
191
|
+
this.data = val
|
|
179
192
|
if (val) {
|
|
180
|
-
if(this.data.
|
|
193
|
+
if (this.data.f_parameter_key != undefined) {
|
|
181
194
|
this.isBlackList = true
|
|
182
195
|
initGen(this, this.data)
|
|
183
196
|
} else {
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="ChargeGroupList">
|
|
3
|
+
<div class="flex" @keyup.enter="search" :style="{height:(oweShow?'auto':'100%')}">
|
|
4
|
+
<criteria-paged :model="model" v-ref:paged :pager="!oweShow">
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div :class="$parent.$parent.style">
|
|
9
|
+
<label class="font_normal_body">组织机构</label>
|
|
10
|
+
<res-select restype='organization'
|
|
11
|
+
@res-select="$parent.$parent.getorg"
|
|
12
|
+
:is-mul="false"
|
|
13
|
+
:initresid='$parent.$parent.curorgid'>
|
|
14
|
+
</res-select>
|
|
15
|
+
</div>
|
|
16
|
+
<div :class="$parent.$parent.style">
|
|
17
|
+
<label class="font_normal_body">客戶编码</label>
|
|
18
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_customer"
|
|
19
|
+
condition="f_customer like '%{}%'" placeholder="客戶编码"/>
|
|
20
|
+
</div>
|
|
21
|
+
<div :class="$parent.$parent.style" v-show="!$parent.$parent.listShow">
|
|
22
|
+
<label class="font_normal_body">客戶名称</label>
|
|
23
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_user_name"
|
|
24
|
+
condition="f_user_name like '%{}%'" placeholder="客戶名称"/>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<div class="col-sm-3 form-group button-range">
|
|
28
|
+
|
|
29
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
30
|
+
<button class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add()" v-if="!$parent.$parent.chargeToChoose">建档
|
|
31
|
+
</button>
|
|
32
|
+
<print-data :defaultfield="$parent.$parent.defaultfieldtop" :field="$parent.$parent.fields"
|
|
33
|
+
:is-selected="true" :model="$parent.$parent.model"
|
|
34
|
+
print-name="团缴列表">
|
|
35
|
+
</print-data>
|
|
36
|
+
<button class="button_clear button_spacing" @click="clear">清空</button>
|
|
37
|
+
<div style="float: right" class="button_spacing"
|
|
38
|
+
:class="{'button_shrink_top': criteriaShow,'button_shrink_bottom': !criteriaShow}"
|
|
39
|
+
@click="criteriaShow = !criteriaShow"></div>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="row" v-show="criteriaShow">
|
|
42
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.listShow">
|
|
43
|
+
<label class="font_normal_body">客戶名称</label>
|
|
44
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_user_name"
|
|
45
|
+
condition="f_user_name like '%{}%'" placeholder="客戶名称"/>
|
|
46
|
+
</div>
|
|
47
|
+
<div :class="$parent.$parent.style">
|
|
48
|
+
<label class="font_normal_body">客戶地址</label>
|
|
49
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_address"
|
|
50
|
+
condition="f_address like '%{}%'" placeholder="客戶地址"/>
|
|
51
|
+
</div>
|
|
52
|
+
<div :class="$parent.$parent.style">
|
|
53
|
+
<label class="font_normal_body">客户电话</label>
|
|
54
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_user_phone"
|
|
55
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话"/>
|
|
56
|
+
</div>
|
|
57
|
+
<div :class="$parent.$parent.style">
|
|
58
|
+
<label class="font_normal_body">是否欠费</label>
|
|
59
|
+
<v-select v-model="model.oughtfee"
|
|
60
|
+
:search="fasle"
|
|
61
|
+
placeholder='是否欠费'
|
|
62
|
+
:value.sync="model.oughtfee"
|
|
63
|
+
:options='$parent.$parent.oughtfee'
|
|
64
|
+
condition="f_oughtfee_all {}"
|
|
65
|
+
close-on-select style="width: 60%"></v-select>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</criteria>
|
|
71
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid v-if="!$parent.oweShow" @dblclick="$parent.showOwe">
|
|
72
|
+
<template partial='head'>
|
|
73
|
+
<tr>
|
|
74
|
+
<th>
|
|
75
|
+
<nobr>序号</nobr>
|
|
76
|
+
</th>
|
|
77
|
+
<th>
|
|
78
|
+
<nobr>客戶编码</nobr>
|
|
79
|
+
</th>
|
|
80
|
+
<th>
|
|
81
|
+
<nobr>客戶名称</nobr>
|
|
82
|
+
</th>
|
|
83
|
+
<th>
|
|
84
|
+
<nobr>账户结余</nobr>
|
|
85
|
+
</th>
|
|
86
|
+
<th>
|
|
87
|
+
<nobr>客戶类型</nobr>
|
|
88
|
+
</th>
|
|
89
|
+
<th>
|
|
90
|
+
<nobr>客戶地址</nobr>
|
|
91
|
+
</th>
|
|
92
|
+
<th>
|
|
93
|
+
<nobr>客戶电话</nobr>
|
|
94
|
+
</th>
|
|
95
|
+
<th>
|
|
96
|
+
<nobr>团缴户数</nobr>
|
|
97
|
+
</th>
|
|
98
|
+
<th>
|
|
99
|
+
<nobr>欠费金额</nobr>
|
|
100
|
+
</th>
|
|
101
|
+
<th>
|
|
102
|
+
<nobr>操作</nobr>
|
|
103
|
+
</th>
|
|
104
|
+
</tr>
|
|
105
|
+
</template>
|
|
106
|
+
<template partial='body'>
|
|
107
|
+
<tr>
|
|
108
|
+
<td style="text-align:center">
|
|
109
|
+
<nobr>{{ $index + 1 }}</nobr>
|
|
110
|
+
</td>
|
|
111
|
+
<td style="text-align:center">
|
|
112
|
+
<nobr>{{ row.f_customer }}</nobr>
|
|
113
|
+
</td>
|
|
114
|
+
<td style="text-align:center">
|
|
115
|
+
<nobr>{{ row.f_user_name }}</nobr>
|
|
116
|
+
</td>
|
|
117
|
+
<td style="text-align:center">
|
|
118
|
+
<nobr>{{ row.f_balance }}</nobr>
|
|
119
|
+
</td>
|
|
120
|
+
<td style="text-align:center">
|
|
121
|
+
<nobr>{{ row.f_user_type }}</nobr>
|
|
122
|
+
</td>
|
|
123
|
+
<td style="text-align:center">
|
|
124
|
+
<nobr>{{ row.f_address }}</nobr>
|
|
125
|
+
</td>
|
|
126
|
+
<td style="text-align:center">
|
|
127
|
+
<nobr>{{ row.f_user_phone }}</nobr>
|
|
128
|
+
</td>
|
|
129
|
+
<td style="text-align:center" v-if="!$parent.$parent.$parent.chargeToChoose">
|
|
130
|
+
<button @click.stop="$parent.$parent.$parent.operate(row)"
|
|
131
|
+
class="btn btn-link"><b>{{ row.sumuserfiles }}</b>
|
|
132
|
+
</button>
|
|
133
|
+
</td>
|
|
134
|
+
<td style="text-align:center" v-else>
|
|
135
|
+
<nobr>{{ row.sumuserfiles }}</nobr>
|
|
136
|
+
</td>
|
|
137
|
+
<td style="text-align:center" v-else>
|
|
138
|
+
<nobr>{{ row.f_oughtfee_all }}</nobr>
|
|
139
|
+
</td>
|
|
140
|
+
<td style="text-align:center">
|
|
141
|
+
<nobr>
|
|
142
|
+
<button type="button" name="button" class="btn btn-link"
|
|
143
|
+
@click.stop="$parent.$parent.$parent.print(row)">打印明细
|
|
144
|
+
</button>
|
|
145
|
+
<button type="button" name="button" class="btn btn-link"
|
|
146
|
+
@click.stop="$parent.$parent.$parent.export(row)">导出明细
|
|
147
|
+
</button>
|
|
148
|
+
</nobr>
|
|
149
|
+
</td>
|
|
150
|
+
</tr>
|
|
151
|
+
</template>
|
|
152
|
+
<template partial='foot'></template>
|
|
153
|
+
</data-grid>
|
|
154
|
+
</criteria-paged>
|
|
155
|
+
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
<export-excel
|
|
159
|
+
:isshow="false" :data="getCondition" :field="getfield" :choose-col="true" v-ref:excel
|
|
160
|
+
sqlurl="rs/logic/saleExport" sql-name="batchOweQuery" template-name='团体欠费明细导出'>
|
|
161
|
+
</export-excel>
|
|
162
|
+
|
|
163
|
+
<div v-show="false">
|
|
164
|
+
<print-data :sum-field="getfield" :model="printModel" :field="getfield" :printview="true"
|
|
165
|
+
:defaultfield="defaultfield" titletable="团体欠费明细报表" v-ref:printdata>
|
|
166
|
+
</print-data>
|
|
167
|
+
</div>
|
|
168
|
+
<owe-record-query v-if="oweShow" :row="row" :f_civill_id="f_civill_id"></owe-record-query>
|
|
169
|
+
</div>
|
|
170
|
+
</template>
|
|
171
|
+
|
|
172
|
+
<script>
|
|
173
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
174
|
+
|
|
175
|
+
export default {
|
|
176
|
+
data () {
|
|
177
|
+
return {
|
|
178
|
+
interval: null,
|
|
179
|
+
searchTime: this.$appdata.getSingleValue('磁条卡读卡间隔') ? this.$appdata.getSingleValue('磁条卡读卡间隔') : 2,
|
|
180
|
+
oughtfee: [{label: '全部', value: ''}, {label: '是', value: '> 0'}, {label: '否', value: '<= 0'}],
|
|
181
|
+
model: new PagedList('rs/sql/ncarchivesQuery', 20),
|
|
182
|
+
// 公司下拉
|
|
183
|
+
curorgid: [this.$login.f.orgid],
|
|
184
|
+
f_orgid: '',
|
|
185
|
+
f_civill_id: null,
|
|
186
|
+
oweShow: false,
|
|
187
|
+
getCondition: null,
|
|
188
|
+
getfield: null,
|
|
189
|
+
config: {
|
|
190
|
+
// 导出列
|
|
191
|
+
excelHeaders: {
|
|
192
|
+
'f_userinfo_code': '客户编号',
|
|
193
|
+
'f_user_name': '客户姓名',
|
|
194
|
+
'f_meter_classify': '气表类型',
|
|
195
|
+
'c': '欠费期数',
|
|
196
|
+
'f_hand_date': '欠费区间',
|
|
197
|
+
'f_last_tablebase': '上期底数',
|
|
198
|
+
'f_tablebase': '本期底数',
|
|
199
|
+
'f_oughtamount': '用气量',
|
|
200
|
+
'f_oughtfee': '用气金额',
|
|
201
|
+
'f_debt_money': '已交金额',
|
|
202
|
+
'f_oughtfee_new': '应交气费',
|
|
203
|
+
'overdue': '滞纳金',
|
|
204
|
+
'f_oughtfee_all': '合计欠费'
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
fields: {'f_customer': '客户编码', 'f_user_name': '客户名称',
|
|
208
|
+
'f_balance': '账户结余', 'f_user_type': '客户类型',
|
|
209
|
+
'f_address': '客户地址','f_user_phone':'客户电话',
|
|
210
|
+
'sumuserfiles': '团缴户数', 'f_oughtfee_all': '欠费金额'},
|
|
211
|
+
defaultfieldtop: [
|
|
212
|
+
'f_customer', 'f_user_name'
|
|
213
|
+
],
|
|
214
|
+
defaultfield: [],
|
|
215
|
+
printModel: new PagedList('rs/sql/batchOweQuery', 20),
|
|
216
|
+
row: null
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
title: '档案查询',
|
|
220
|
+
props: {
|
|
221
|
+
f_filialeids: {
|
|
222
|
+
type: String
|
|
223
|
+
},
|
|
224
|
+
style: {
|
|
225
|
+
type: String,
|
|
226
|
+
default: 'col-sm-3 form-group'
|
|
227
|
+
},
|
|
228
|
+
// 控制在修改数据时显示少的查询条件,剩余隐藏
|
|
229
|
+
listShow: {
|
|
230
|
+
type: Boolean,
|
|
231
|
+
default: false
|
|
232
|
+
},
|
|
233
|
+
// 收费时的展示控制
|
|
234
|
+
chargeToChoose: {
|
|
235
|
+
type: Boolean,
|
|
236
|
+
default: false
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
ready () {
|
|
240
|
+
this.getfield = this.config.excelHeaders
|
|
241
|
+
this.search()
|
|
242
|
+
this.readCiTiaoCard()
|
|
243
|
+
},
|
|
244
|
+
destroyed () {
|
|
245
|
+
clearInterval(this.interval)
|
|
246
|
+
},
|
|
247
|
+
watch: {
|
|
248
|
+
'oweShow' (val) {
|
|
249
|
+
if (val) {
|
|
250
|
+
clearInterval(this.interval)
|
|
251
|
+
} else {
|
|
252
|
+
this.readCiTiaoCard()
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
methods: {
|
|
257
|
+
async readCiTiaoCard () {
|
|
258
|
+
console.log('读磁条卡,开始,不停的循环')
|
|
259
|
+
let data = {}
|
|
260
|
+
let getUser = {data: []}
|
|
261
|
+
let forgid = this.$login.convertToIn([this.$login.f.orgid])
|
|
262
|
+
try {
|
|
263
|
+
// let res = {data:{Factory : 'CiTiao',CardID : '00000009'}}
|
|
264
|
+
let http = new HttpResetClass()
|
|
265
|
+
this.interval = setInterval(async () => {
|
|
266
|
+
// 1秒一轮回
|
|
267
|
+
http.load('POST', 'http://127.0.0.1:8003/ReadCard_HEC', data, {
|
|
268
|
+
resolveMsg: null,
|
|
269
|
+
rejectMsg: null
|
|
270
|
+
}).then(async res => {
|
|
271
|
+
if (res.data.CardID !== '') {
|
|
272
|
+
if (res.data.Err === null && res.data.Exception) {
|
|
273
|
+
this.$showAlert(res.data.Exception, 'danger', 2000)
|
|
274
|
+
// clearInterval(interval)
|
|
275
|
+
} else {
|
|
276
|
+
if (res.data.Factory === 'CiTiao') {
|
|
277
|
+
// 获取用户信息
|
|
278
|
+
getUser = await this.$resetpost('rs/sql/ncarchivesQuery', {
|
|
279
|
+
data: {
|
|
280
|
+
condition: `f_orgid in ${forgid} and f_card_id='${res.data.CardID}'`,
|
|
281
|
+
orderitem: `f_userinfo_id`
|
|
282
|
+
}
|
|
283
|
+
}, {resolveMsg: null, rejectMsg: '读卡失败'})
|
|
284
|
+
this.showOwe(getUser.data[0])
|
|
285
|
+
clearInterval(this.interval)
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
}, this.searchTime * 1000)
|
|
291
|
+
} catch (error) {
|
|
292
|
+
console.log('捕获到异常', error)
|
|
293
|
+
// this.$showAlert(error.data, 'danger', 2000)
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
// 打印
|
|
297
|
+
async print (row) {
|
|
298
|
+
let condition = `p.f_civill_id = ${row.id}`
|
|
299
|
+
await this.printModel.search(condition)
|
|
300
|
+
this.$refs.printdata.printData()
|
|
301
|
+
},
|
|
302
|
+
// 导出
|
|
303
|
+
export (row) {
|
|
304
|
+
this.getCondition = {condition: `p.f_civill_id = ${row.id}`}
|
|
305
|
+
this.$refs.excel.exportExcel()
|
|
306
|
+
},
|
|
307
|
+
showOwe (row) {
|
|
308
|
+
if (this.chargeToChoose) {
|
|
309
|
+
this.f_civill_id = row.id
|
|
310
|
+
this.row = row
|
|
311
|
+
this.oweShow = true
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
search () {
|
|
315
|
+
this.$refs.paged.$refs.cri.search()
|
|
316
|
+
},
|
|
317
|
+
add () {
|
|
318
|
+
if (this.f_filialeids) {
|
|
319
|
+
this.$refs.paged.$refs.grid.selectStore.selected = null
|
|
320
|
+
this.$dispatch('add')
|
|
321
|
+
} else {
|
|
322
|
+
this.$showAlert('请先选择左上角的所在分公司', 'warning', 2000)
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
operate (val) {
|
|
326
|
+
this.$dispatch('operate', val)
|
|
327
|
+
},
|
|
328
|
+
selfSearch (args) {
|
|
329
|
+
if (!this.f_orgid) {
|
|
330
|
+
this.getorg([this.$login.f.orgid])
|
|
331
|
+
}
|
|
332
|
+
args.condition = `${args.condition} and f_orgid in ${this.f_orgid}`
|
|
333
|
+
this.oweShow = false
|
|
334
|
+
this.model.search(args.condition, args.model)
|
|
335
|
+
if (this.$refs.paged.$refs.grid) this.$refs.paged.$refs.grid.selectInit()
|
|
336
|
+
this.$dispatch('newsearch')
|
|
337
|
+
},
|
|
338
|
+
getorg (val) {
|
|
339
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
340
|
+
this.f_filialeids = val[0]
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
}
|
|
345
|
+
</script>
|
|
@@ -97,4 +97,7 @@ export default function () {
|
|
|
97
97
|
Vue.component('user-info-detail-manage-new', (resolve) => {
|
|
98
98
|
require(['./userinfo_detail/UserInfoDetailManageNew'], resolve)
|
|
99
99
|
})
|
|
100
|
+
// 团体缴费查询列表
|
|
101
|
+
Vue.component('charge-group-list', (resolve) => {
|
|
102
|
+
require(['./ChargeGroupList'], resolve) })
|
|
100
103
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex" style="height: 90%;overflow-y: scroll">
|
|
3
|
-
<mix-price-info :data="data" v-if="data.f_price_type === '固定气价'"></mix-price-info>
|
|
4
|
-
<stairinfo :data="data" v-if="data.f_price_type === '阶梯气价'"></stairinfo>
|
|
3
|
+
<mix-price-info :data="data" v-if="data.f_meter_type && data.f_price_type === '固定气价'"></mix-price-info>
|
|
4
|
+
<stairinfo :data="data" v-if="data.f_meter_type && data.f_price_type === '阶梯气价'"></stairinfo>
|
|
5
5
|
<safe-check :data="data"></safe-check>
|
|
6
6
|
<bill-message @setstate="setstate" :state="state" :data="data"></bill-message>
|
|
7
7
|
<valueaddinfo :data="data" v-ref:valueaddinfo></valueaddinfo>
|
|
@@ -132,11 +132,12 @@ export default {
|
|
|
132
132
|
id: ticket_id,
|
|
133
133
|
f_bill_code: req.fpDm,
|
|
134
134
|
f_bill_number: req.fpHm,
|
|
135
|
-
f_bill_url: req.
|
|
136
|
-
|
|
135
|
+
f_bill_url: req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download'),
|
|
136
|
+
f_sign_url: req.shareurl,
|
|
137
|
+
f_sign_result: req.sharecode,
|
|
137
138
|
f_bill_state: req.status
|
|
138
139
|
}
|
|
139
|
-
this.eticket_src =
|
|
140
|
+
this.eticket_src = 'https://qnjtkf.cn:7400' + model.f_bill_url
|
|
140
141
|
} else if (req.status === '开票中') {
|
|
141
142
|
model = {
|
|
142
143
|
id: ticket_id,
|
|
@@ -303,11 +304,12 @@ export default {
|
|
|
303
304
|
f_eticket_id: ticket_id,
|
|
304
305
|
f_bill_code: req.fpDm,
|
|
305
306
|
f_bill_number: req.fpHm,
|
|
306
|
-
f_bill_url: req.
|
|
307
|
-
|
|
307
|
+
f_bill_url: req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download'),
|
|
308
|
+
f_sign_url: req.shareurl,
|
|
309
|
+
f_sign_result: req.sharecode,
|
|
308
310
|
f_bill_state: req.status
|
|
309
311
|
})
|
|
310
|
-
this.eticket_src =
|
|
312
|
+
this.eticket_src = 'https://qnjtkf.cn:7400' + req.fileUrl.replace('d:\\qianNengInvoiceFile', '/Download')
|
|
311
313
|
} else if (req && req.status !== '开票中') {
|
|
312
314
|
clearInterval(interval)
|
|
313
315
|
// TODO 失败后保存发票详情
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex" style="height: 90%;overflow-y: scroll">
|
|
3
|
-
<mix-price-info :data="data" v-if="data.f_price_type === '固定气价'"></mix-price-info>
|
|
4
|
-
<stairinfo :data="data" v-if="data.f_price_type === '阶梯气价'"></stairinfo>
|
|
3
|
+
<mix-price-info :data="data" v-if="data.f_meter_type && data.f_price_type === '固定气价'"></mix-price-info>
|
|
4
|
+
<stairinfo :data="data" v-if="data.f_meter_type && data.f_price_type === '阶梯气价'"></stairinfo>
|
|
5
5
|
<valueaddinfo :data="data" v-ref:valueaddinfo></valueaddinfo>
|
|
6
6
|
<safe-check :data="data"></safe-check>
|
|
7
7
|
<service-repair :data="data" v-if="name==='维修情况查询'"></service-repair>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div :class="{'basic-main':!useraddressShow,'binary-left':useraddressShow}" v-show="isSelect">
|
|
4
4
|
<file-address-list @select-changed="selected" v-ref:addresslist :style="style" :select=select :company=company :f_filialeids.sync="f_filialeids"></file-address-list>
|
|
5
5
|
</div>
|
|
6
|
-
<div v-show="useraddressShow" :class="{'basic-main':!isSelect, 'binary-right': isSelect}">
|
|
6
|
+
<div v-show="useraddressShow" :class="{'basic-main':!isSelect, 'binary-right': isSelect}" style="width:60%">
|
|
7
7
|
<div class="flex">
|
|
8
8
|
<file-user-address :f_filialeids.sync="f_filialeids" :is_pecial="isSpecial" :isedit="isSelect" :row="row" v-ref:fileuseraddress></file-user-address>
|
|
9
9
|
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
6
|
|
|
7
7
|
<div class="row">
|
|
8
|
-
<div class="col-sm-
|
|
8
|
+
<div class="col-sm-6 form-group">
|
|
9
9
|
<label class="font_normal_body">地址信息</label>
|
|
10
10
|
<input type="text" class="input_search" style="width:60%" v-model="model.f_address"
|
|
11
11
|
condition="f_address like '%{}%'" placeholder="地址信息"
|
|
12
12
|
@keyup.enter.stop="search()"
|
|
13
13
|
:size="model.f_address ? model.f_address.length*2 : 8"/>
|
|
14
14
|
</div>
|
|
15
|
-
<div class="col-sm-
|
|
15
|
+
<div class="col-sm-6 form-group button-range" >
|
|
16
16
|
<button class="button_search button_spacing" @click="search()" >查询</button>
|
|
17
17
|
<button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('民用')">添加民用地址</button>
|
|
18
18
|
<button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('非民用')">添加特殊地址</button>
|