sale-client 3.6.21 → 3.6.23
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/build/dev-server.js +1 -1
- package/package.json +2 -2
- package/src/components/FilesManage/FileUserFiles.vue +1014 -1014
- package/src/components/FilesManage/FileUserMerge.vue +203 -203
- package/src/components/FilesManage/UserPaperInfoTest.vue +58 -51
- package/src/components/FilesManageNew/FileUserFiles.vue +756 -756
- package/src/components/FilesManageNew/FileUserMerge.vue +202 -202
- package/src/components/charge/business/CardMeterCenter.vue +944 -944
- package/src/components/charge/business/IOTMeterCenter.vue +793 -793
- package/src/components/charge/business/OtherChargeNew.vue +550 -550
- package/src/components/charge/business/machine/MachineMeterCenter.vue +676 -676
- package/src/components/charge/gasloss/gasLossOperate.vue +383 -383
- package/src/components/newBill/CardMeterCenter.vue +902 -902
- package/src/components/newBill/IOTMeterCenter.vue +797 -797
- package/src/components/revenue/Common/EticketModal.vue +95 -90
- package/src/components/revenue/comprehen/Maintenance/T+MoneyDocking/moneyDocking.vue +202 -202
- package/src/components/revenue/comprehen/SpecialUser/BasicLiving/BasicLivingList.vue +280 -280
- package/src/filiale/alashan/business/CardMeterCenter.vue +897 -897
- package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1010 -1010
- package/src/filiale/ancheng/FilesManageNew/FileUserFiles.vue +763 -763
- package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1019 -1019
- package/src/filiale/chengtou/components/OtherChargeNew.vue +549 -549
- package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1037 -1037
- package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +934 -934
- package/src/filiale/gehua/CardMeterCenter.vue +898 -898
- package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +769 -769
- package/src/filiale/gehua/FileUserFiles.vue +1007 -1007
- package/src/filiale/gehua/IOTMeterCenter.vue +791 -791
- package/src/filiale/gehua/MachineMeterCenter.vue +685 -685
- package/src/filiale/gehua/OtherChargeNew.vue +558 -558
- package/src/filiale/guangxi/CardMeterCenter.vue +891 -891
- package/src/filiale/guangxi/IOTMeterCenter.vue +774 -774
- package/src/filiale/guangxi/MachineMeterCenter.vue +622 -622
- package/src/filiale/haile/MachineMeterCenter.vue +762 -762
- package/src/filiale/huayin/CardMeterCenter.vue +903 -903
- package/src/filiale/huayin/FileUserFiles.vue +1007 -1007
- package/src/filiale/huayin/IOTMeterCenter.vue +796 -796
- package/src/filiale/huayin/MachineMeterCenter.vue +680 -680
- package/src/filiale/jingwei/CardMeterCenter.vue +870 -870
- package/src/filiale/jingwei/FileUserFiles.vue +905 -905
- package/src/filiale/jingwei/ShowCardSellGas.vue +903 -903
- package/src/filiale/kelai/CardMeterCenter.vue +934 -934
- package/src/filiale/kelai/FileUserFiles.vue +762 -762
- package/src/filiale/kelai/IOTMeterCenter.vue +833 -833
- package/src/filiale/kelai/MachineMeterCenter.vue +705 -705
- package/src/filiale/konggang/FileUserFiles.vue +990 -990
- package/src/filiale/liaoyuan/FileUserFiles.vue +844 -844
- package/src/filiale/macheng/CardMeterCenter.vue +939 -939
- package/src/filiale/macheng/FileUserFiles.vue +930 -930
- package/src/filiale/meihekou/FileUserFiles.vue +995 -995
- package/src/filiale/ningjin/FileUserFiles.vue +1020 -1020
- package/src/filiale/qianneng/OtherChargeNew.vue +544 -544
- package/src/filiale/qianneng/eticket/EticketModal.vue +96 -91
- package/src/filiale/qianneng/eticket/EticketPrint.vue +377 -376
- package/src/filiale/qianneng/eticket/EticketRecordList.vue +309 -289
- package/src/filiale/qianneng/machine/MachineMeterCenter.vue +676 -676
- package/src/filiale/rizhao/FileUserFiles.vue +984 -984
- package/src/filiale/rizhao/IOTMeterCenter.vue +795 -795
- package/src/filiale/rongcheng/FileUserFiles.vue +881 -881
- package/src/filiale/rongcheng/FilesManageNew/FileUserFiles.vue +732 -732
- package/src/filiale/rongcheng/FilesManageNew/FileUserMerge.vue +202 -202
- package/src/filiale/shanggao/FileUserFiles.vue +995 -995
- package/src/filiale/shangluo/CardMeterCenter.vue +892 -892
- package/src/filiale/shangluo/IOTMeterCenter.vue +797 -797
- package/src/filiale/shangluo/MachineMeterCenter.vue +734 -734
- package/src/filiale/shanxian/OtherChargeNew.vue +561 -561
- package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1004 -1004
- package/src/filiale/shanxian/components/FilesManageNew/FileUserFiles.vue +756 -756
- package/src/filiale/shanxian/components/revenue/CardMeterCenter.vue +944 -944
- package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +881 -881
- package/src/filiale/shaoguan/FilesManageNew/FileUserFiles.vue +734 -734
- package/src/filiale/shexian/FilesManage/FileUserFiles.vue +991 -991
- package/src/filiale/tongchuan/BasicLivingList.vue +253 -253
- package/src/filiale/tongchuan/CardMeterCenter.vue +923 -923
- package/src/filiale/tongchuan/FileUserFiles.vue +1206 -1206
- package/src/filiale/tongchuan/bill/EticketModal.vue +90 -90
- package/src/filiale/tongchuan/filemanagenew/FileUserFiles.vue +842 -842
- package/src/filiale/wenxi/CardMeterCenter.vue +942 -942
- package/src/filiale/wenxi/FileUserFiles.vue +1032 -1032
- package/src/filiale/wenxi/IOTMeterCenter.vue +774 -774
- package/src/filiale/wuan/FileUserFiles.vue +1006 -1006
- package/src/filiale/wuhai/CardMeterCenter.vue +945 -945
- package/src/filiale/wuhai/IOTMeterCenter.vue +757 -757
- package/src/filiale/yuansheng/CardMeterCenter.vue +950 -950
- package/src/filiale/yuansheng/IOTMeterCenter.vue +788 -788
- package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1038 -1038
- package/src/filiale/zhongyi/FileUserFiles.vue +1020 -1020
- package/src/main.js +27 -27
|
@@ -1,203 +1,203 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div @keyup.enter="search" class="flex-row" id="unit">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
-
<criteria @condition-changed='$parent.selfSearch' partial='criteria' v-ref:cri>
|
|
6
|
-
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="col-sm-2 form-group">
|
|
9
|
-
<label class="font_normal_body">组织机构</label>
|
|
10
|
-
<res-select :initresid='$parent.$parent.curorgid'
|
|
11
|
-
@res-select="$parent.$parent.getorg"
|
|
12
|
-
is-mul="false"
|
|
13
|
-
restype='organization'>
|
|
14
|
-
</res-select>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="col-sm-2 form-group">
|
|
17
|
-
<label class="font_normal_body">客户姓名</label>
|
|
18
|
-
<input class="input_search" condition="f_user_name
|
|
19
|
-
style="width:60%"
|
|
20
|
-
type="text" v-model="model.f_user_name"
|
|
21
|
-
/>
|
|
22
|
-
</div>
|
|
23
|
-
<div class="col-sm-2 form-group ">
|
|
24
|
-
<label class="font_normal_body">客户编号</label>
|
|
25
|
-
<input class="input_search" condition="f_userinfo_code like '%{}%'" placeholder="客户编号" style="width:60%"
|
|
26
|
-
style="width:60%"
|
|
27
|
-
type="text" v-model="model.f_building"
|
|
28
|
-
/>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-sm-2 form-group">
|
|
31
|
-
<label class="font_normal_body">客户地址</label>
|
|
32
|
-
<input class="input_search" condition="f_address like '%{}%'" placeholder="客户地址" style="width:60%"
|
|
33
|
-
style="width:60%"
|
|
34
|
-
type="text" v-model="model.f_address"
|
|
35
|
-
/>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="form-group col-sm-3 button-range" style="float: left">
|
|
38
|
-
<button @click="search()" class="button_search button_spacing">查询</button>
|
|
39
|
-
<button @click="$parent.$parent.submit()" class="button_export button_spacing"
|
|
40
|
-
style="width: max-content">合并档案
|
|
41
|
-
</button>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
</criteria>
|
|
46
|
-
<data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
|
|
47
|
-
<template partial='head'>
|
|
48
|
-
<tr>
|
|
49
|
-
<th style="padding: 0;border: 0">选择</th>
|
|
50
|
-
<th>
|
|
51
|
-
<nobr>客户编号</nobr>
|
|
52
|
-
</th>
|
|
53
|
-
<th>
|
|
54
|
-
<nobr>客户姓名</nobr>
|
|
55
|
-
</th>
|
|
56
|
-
<th>
|
|
57
|
-
<nobr>客户电话</nobr>
|
|
58
|
-
</th>
|
|
59
|
-
<th>
|
|
60
|
-
<nobr>客户地址</nobr>
|
|
61
|
-
</th>
|
|
62
|
-
<th>
|
|
63
|
-
<nobr>客户状态</nobr>
|
|
64
|
-
</th>
|
|
65
|
-
<th>
|
|
66
|
-
<nobr>表号</nobr>
|
|
67
|
-
</th>
|
|
68
|
-
<th>
|
|
69
|
-
<nobr>表型号</nobr>
|
|
70
|
-
</th>
|
|
71
|
-
<th>
|
|
72
|
-
<nobr>表状态</nobr>
|
|
73
|
-
</th>
|
|
74
|
-
</tr>
|
|
75
|
-
</template>
|
|
76
|
-
<template partial='body'>
|
|
77
|
-
<tr>
|
|
78
|
-
<td style="text-align: center;padding: 0;border: 0">
|
|
79
|
-
<input :checked="$parent.$parent.$parent.ischecked(row)"
|
|
80
|
-
@change="$parent.$parent.$parent.selectOne($event,row,$index)"
|
|
81
|
-
style="width: 22px;height: 22px;"
|
|
82
|
-
type='checkbox' v-show="row.f_user_state === '正常'"/>
|
|
83
|
-
</td>
|
|
84
|
-
<td style="text-align:center"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
85
|
-
<td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
|
|
86
|
-
<td style="text-align:center"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
87
|
-
<td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
|
|
88
|
-
<td style="text-align:center"><nobr>{{row.f_user_state}}</nobr></td>
|
|
89
|
-
<td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
90
|
-
<td style="text-align:center"><nobr>{{row.f_meter_brand}}{{row.f_meter_style}}</nobr></td>
|
|
91
|
-
<td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
|
|
92
|
-
</tr>
|
|
93
|
-
</template>
|
|
94
|
-
<template partial='foot'></template>
|
|
95
|
-
</data-grid>
|
|
96
|
-
</criteria-paged>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
<!--<modal :show.sync="showmergeinfo" width="80%" title="选择合并后用户" v-ref:modal large backdrop="false">
|
|
100
|
-
<article slot="modal-body" class="modal-body">
|
|
101
|
-
<file-merge-info :mergeinfo="selecteddata" v-ref=""></file-merge-info>
|
|
102
|
-
</article>
|
|
103
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
104
|
-
</footer>
|
|
105
|
-
</modal>-->
|
|
106
|
-
<modal :show.sync="showmergeinfo" width="80%" title="选择合并后用户" v-ref:modal large backdrop="false">
|
|
107
|
-
<article slot="modal-body" class="modal-body">
|
|
108
|
-
<file-merge-info :mergeinfo=selecteddata></file-merge-info>
|
|
109
|
-
</article>
|
|
110
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
111
|
-
</footer>
|
|
112
|
-
</modal>
|
|
113
|
-
</template>
|
|
114
|
-
|
|
115
|
-
<script>
|
|
116
|
-
import { PagedList } from 'vue-client'
|
|
117
|
-
import {HttpResetClass} from 'vue-client'
|
|
118
|
-
|
|
119
|
-
export default {
|
|
120
|
-
data () {
|
|
121
|
-
return {
|
|
122
|
-
model: new PagedList('rs/sql/filemanage_getmergeuser', 20, {}),
|
|
123
|
-
selecteddata: {
|
|
124
|
-
data: []
|
|
125
|
-
},
|
|
126
|
-
curorgid: [this.$login.f.orgid],
|
|
127
|
-
showmergeinfo: false
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
title: '档案合并',
|
|
131
|
-
ready () {
|
|
132
|
-
this.search()
|
|
133
|
-
},
|
|
134
|
-
computed: {
|
|
135
|
-
ischecked () {
|
|
136
|
-
return function (row) {
|
|
137
|
-
return this.selecteddata.data.includes(row)
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
events: {
|
|
142
|
-
init (val) {
|
|
143
|
-
this.showmergeinfo = false
|
|
144
|
-
this.search()
|
|
145
|
-
let msg = `成功将 ${val.oldcode} 档案信息合并至 ${val.newcode}`
|
|
146
|
-
if (val.cancelcode.length > 0) {
|
|
147
|
-
msg = `${msg} ,并对${val.cancelcode} 销户`
|
|
148
|
-
}
|
|
149
|
-
this.$showMessage(msg)
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
methods: {
|
|
153
|
-
|
|
154
|
-
search () {
|
|
155
|
-
this.$refs.paged.$refs.cri.search()
|
|
156
|
-
},
|
|
157
|
-
|
|
158
|
-
async selfSearch (args) {
|
|
159
|
-
this.selecteddata.data = []
|
|
160
|
-
this.rowsdata = []
|
|
161
|
-
this.all = false
|
|
162
|
-
if (!this.f_orgid) {
|
|
163
|
-
this.getorg([this.$login.f.orgid])
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
args.condition = `${args.condition} and f_filialeid = '${this.f_filialeids}'`
|
|
167
|
-
await this.model.search(args.condition, args.model)
|
|
168
|
-
this.length = this.model.count
|
|
169
|
-
},
|
|
170
|
-
|
|
171
|
-
// 清空
|
|
172
|
-
clear () {
|
|
173
|
-
this.$refs.paged.$refs.cri.model = {}
|
|
174
|
-
},
|
|
175
|
-
getorg (val) {
|
|
176
|
-
this.f_orgid = this.$login.convertToIn(val)
|
|
177
|
-
this.f_filialeids = val[0]
|
|
178
|
-
},
|
|
179
|
-
selectOne (event, row, i) {
|
|
180
|
-
if (this.all) {
|
|
181
|
-
this.all = !this.all
|
|
182
|
-
}
|
|
183
|
-
if (event.target.checked) {
|
|
184
|
-
this.selecteddata.data.push(row)
|
|
185
|
-
if (this.length === this.selecteddata.data.length) {
|
|
186
|
-
this.all = true
|
|
187
|
-
}
|
|
188
|
-
} else {
|
|
189
|
-
this.all = false
|
|
190
|
-
this.selecteddata.data.splice(this.selecteddata.data.indexOf(row), 1)
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
submit () {
|
|
194
|
-
if (this.selecteddata.data.length < 2) {
|
|
195
|
-
this.$showAlert('请选择至少两户档案', 'danger')
|
|
196
|
-
return
|
|
197
|
-
}
|
|
198
|
-
this.showmergeinfo = true
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div @keyup.enter="search" class="flex-row" id="unit">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
+
<criteria @condition-changed='$parent.selfSearch' partial='criteria' v-ref:cri>
|
|
6
|
+
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-sm-2 form-group">
|
|
9
|
+
<label class="font_normal_body">组织机构</label>
|
|
10
|
+
<res-select :initresid='$parent.$parent.curorgid'
|
|
11
|
+
@res-select="$parent.$parent.getorg"
|
|
12
|
+
is-mul="false"
|
|
13
|
+
restype='organization'>
|
|
14
|
+
</res-select>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-sm-2 form-group">
|
|
17
|
+
<label class="font_normal_body">客户姓名</label>
|
|
18
|
+
<input class="input_search" condition="f_user_name like '%{}%'" placeholder="客户姓名" style="width:60%"
|
|
19
|
+
style="width:60%"
|
|
20
|
+
type="text" v-model="model.f_user_name"
|
|
21
|
+
/>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="col-sm-2 form-group ">
|
|
24
|
+
<label class="font_normal_body">客户编号</label>
|
|
25
|
+
<input class="input_search" condition="f_userinfo_code like '%{}%'" placeholder="客户编号" style="width:60%"
|
|
26
|
+
style="width:60%"
|
|
27
|
+
type="text" v-model="model.f_building"
|
|
28
|
+
/>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-sm-2 form-group">
|
|
31
|
+
<label class="font_normal_body">客户地址</label>
|
|
32
|
+
<input class="input_search" condition="f_address like '%{}%'" placeholder="客户地址" style="width:60%"
|
|
33
|
+
style="width:60%"
|
|
34
|
+
type="text" v-model="model.f_address"
|
|
35
|
+
/>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="form-group col-sm-3 button-range" style="float: left">
|
|
38
|
+
<button @click="search()" class="button_search button_spacing">查询</button>
|
|
39
|
+
<button @click="$parent.$parent.submit()" class="button_export button_spacing"
|
|
40
|
+
style="width: max-content">合并档案
|
|
41
|
+
</button>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</criteria>
|
|
46
|
+
<data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
|
|
47
|
+
<template partial='head'>
|
|
48
|
+
<tr>
|
|
49
|
+
<th style="padding: 0;border: 0">选择</th>
|
|
50
|
+
<th>
|
|
51
|
+
<nobr>客户编号</nobr>
|
|
52
|
+
</th>
|
|
53
|
+
<th>
|
|
54
|
+
<nobr>客户姓名</nobr>
|
|
55
|
+
</th>
|
|
56
|
+
<th>
|
|
57
|
+
<nobr>客户电话</nobr>
|
|
58
|
+
</th>
|
|
59
|
+
<th>
|
|
60
|
+
<nobr>客户地址</nobr>
|
|
61
|
+
</th>
|
|
62
|
+
<th>
|
|
63
|
+
<nobr>客户状态</nobr>
|
|
64
|
+
</th>
|
|
65
|
+
<th>
|
|
66
|
+
<nobr>表号</nobr>
|
|
67
|
+
</th>
|
|
68
|
+
<th>
|
|
69
|
+
<nobr>表型号</nobr>
|
|
70
|
+
</th>
|
|
71
|
+
<th>
|
|
72
|
+
<nobr>表状态</nobr>
|
|
73
|
+
</th>
|
|
74
|
+
</tr>
|
|
75
|
+
</template>
|
|
76
|
+
<template partial='body'>
|
|
77
|
+
<tr>
|
|
78
|
+
<td style="text-align: center;padding: 0;border: 0">
|
|
79
|
+
<input :checked="$parent.$parent.$parent.ischecked(row)"
|
|
80
|
+
@change="$parent.$parent.$parent.selectOne($event,row,$index)"
|
|
81
|
+
style="width: 22px;height: 22px;"
|
|
82
|
+
type='checkbox' v-show="row.f_user_state === '正常'"/>
|
|
83
|
+
</td>
|
|
84
|
+
<td style="text-align:center"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
85
|
+
<td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
|
|
86
|
+
<td style="text-align:center"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
87
|
+
<td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
|
|
88
|
+
<td style="text-align:center"><nobr>{{row.f_user_state}}</nobr></td>
|
|
89
|
+
<td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
90
|
+
<td style="text-align:center"><nobr>{{row.f_meter_brand}}{{row.f_meter_style}}</nobr></td>
|
|
91
|
+
<td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
|
|
92
|
+
</tr>
|
|
93
|
+
</template>
|
|
94
|
+
<template partial='foot'></template>
|
|
95
|
+
</data-grid>
|
|
96
|
+
</criteria-paged>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
<!--<modal :show.sync="showmergeinfo" width="80%" title="选择合并后用户" v-ref:modal large backdrop="false">
|
|
100
|
+
<article slot="modal-body" class="modal-body">
|
|
101
|
+
<file-merge-info :mergeinfo="selecteddata" v-ref=""></file-merge-info>
|
|
102
|
+
</article>
|
|
103
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
104
|
+
</footer>
|
|
105
|
+
</modal>-->
|
|
106
|
+
<modal :show.sync="showmergeinfo" width="80%" title="选择合并后用户" v-ref:modal large backdrop="false">
|
|
107
|
+
<article slot="modal-body" class="modal-body">
|
|
108
|
+
<file-merge-info :mergeinfo=selecteddata></file-merge-info>
|
|
109
|
+
</article>
|
|
110
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
111
|
+
</footer>
|
|
112
|
+
</modal>
|
|
113
|
+
</template>
|
|
114
|
+
|
|
115
|
+
<script>
|
|
116
|
+
import { PagedList } from 'vue-client'
|
|
117
|
+
import {HttpResetClass} from 'vue-client'
|
|
118
|
+
|
|
119
|
+
export default {
|
|
120
|
+
data () {
|
|
121
|
+
return {
|
|
122
|
+
model: new PagedList('rs/sql/filemanage_getmergeuser', 20, {}),
|
|
123
|
+
selecteddata: {
|
|
124
|
+
data: []
|
|
125
|
+
},
|
|
126
|
+
curorgid: [this.$login.f.orgid],
|
|
127
|
+
showmergeinfo: false
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
title: '档案合并',
|
|
131
|
+
ready () {
|
|
132
|
+
this.search()
|
|
133
|
+
},
|
|
134
|
+
computed: {
|
|
135
|
+
ischecked () {
|
|
136
|
+
return function (row) {
|
|
137
|
+
return this.selecteddata.data.includes(row)
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
events: {
|
|
142
|
+
init (val) {
|
|
143
|
+
this.showmergeinfo = false
|
|
144
|
+
this.search()
|
|
145
|
+
let msg = `成功将 ${val.oldcode} 档案信息合并至 ${val.newcode}`
|
|
146
|
+
if (val.cancelcode.length > 0) {
|
|
147
|
+
msg = `${msg} ,并对${val.cancelcode} 销户`
|
|
148
|
+
}
|
|
149
|
+
this.$showMessage(msg)
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
methods: {
|
|
153
|
+
|
|
154
|
+
search () {
|
|
155
|
+
this.$refs.paged.$refs.cri.search()
|
|
156
|
+
},
|
|
157
|
+
|
|
158
|
+
async selfSearch (args) {
|
|
159
|
+
this.selecteddata.data = []
|
|
160
|
+
this.rowsdata = []
|
|
161
|
+
this.all = false
|
|
162
|
+
if (!this.f_orgid) {
|
|
163
|
+
this.getorg([this.$login.f.orgid])
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
args.condition = `${args.condition} and f_filialeid = '${this.f_filialeids}'`
|
|
167
|
+
await this.model.search(args.condition, args.model)
|
|
168
|
+
this.length = this.model.count
|
|
169
|
+
},
|
|
170
|
+
|
|
171
|
+
// 清空
|
|
172
|
+
clear () {
|
|
173
|
+
this.$refs.paged.$refs.cri.model = {}
|
|
174
|
+
},
|
|
175
|
+
getorg (val) {
|
|
176
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
177
|
+
this.f_filialeids = val[0]
|
|
178
|
+
},
|
|
179
|
+
selectOne (event, row, i) {
|
|
180
|
+
if (this.all) {
|
|
181
|
+
this.all = !this.all
|
|
182
|
+
}
|
|
183
|
+
if (event.target.checked) {
|
|
184
|
+
this.selecteddata.data.push(row)
|
|
185
|
+
if (this.length === this.selecteddata.data.length) {
|
|
186
|
+
this.all = true
|
|
187
|
+
}
|
|
188
|
+
} else {
|
|
189
|
+
this.all = false
|
|
190
|
+
this.selecteddata.data.splice(this.selecteddata.data.indexOf(row), 1)
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
submit () {
|
|
194
|
+
if (this.selecteddata.data.length < 2) {
|
|
195
|
+
this.$showAlert('请选择至少两户档案', 'danger')
|
|
196
|
+
return
|
|
197
|
+
}
|
|
198
|
+
this.showmergeinfo = true
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
}
|
|
203
|
+
</script>
|
|
@@ -1,51 +1,58 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto">
|
|
3
|
-
<form class="form-horizontal select-overspread ">
|
|
4
|
-
<div class="row">
|
|
5
|
-
<div class="col-sm-8 form-group">
|
|
6
|
-
<label class="font_normal_body" for="f_taxpayer_id">纳税人识别号</label>
|
|
7
|
-
<input class="input_search" placeholder="纳税人识别号" style="width:70%" type="text"
|
|
8
|
-
v-model="baseinfo.base.f_taxpayer_id" v-next-el="addressphone">
|
|
9
|
-
</div>
|
|
10
|
-
<div class="col-sm-4 form-group">
|
|
11
|
-
<label class="font_normal_body" for="f_paper_name">名  称</label>
|
|
12
|
-
<input class="input_search" placeholder="名称" style="width:60%" type="text" v-el:papername
|
|
13
|
-
v-model="baseinfo.base.f_paper_name" v-next-el="paperaccount">
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="row">
|
|
17
|
-
<div class="col-sm-8 form-group">
|
|
18
|
-
<label class="font_normal_body" for="f_address_phone">地址电话  </label>
|
|
19
|
-
<input class="input_search" placeholder="地址-电话" style="width:70%" type="text" v-el:addressphone
|
|
20
|
-
v-model="baseinfo.base.f_address_phone" v-next-el="papername">
|
|
21
|
-
</div>
|
|
22
|
-
<div class="col-sm-4 form-group">
|
|
23
|
-
<label class="font_normal_body" for="f_paper_type">票据类型</label>
|
|
24
|
-
<v-select :options='papertype'
|
|
25
|
-
:value-single="true"
|
|
26
|
-
:value.sync="baseinfo.base.f_paper_type" close-on-select
|
|
27
|
-
placeholder='票据类型'></v-select>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="row">
|
|
31
|
-
<div class="col-sm-8 form-group">
|
|
32
|
-
<label class="font_normal_body " for="f_paper_account">开户行及账号</label>
|
|
33
|
-
<input class="input_search" placeholder="银行名称" style="width:70%" type="text" v-el:paperaccount
|
|
34
|
-
v-model="baseinfo.base.f_paper_account">
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<form class="form-horizontal select-overspread ">
|
|
4
|
+
<div class="row">
|
|
5
|
+
<div class="col-sm-8 form-group">
|
|
6
|
+
<label class="font_normal_body" for="f_taxpayer_id">纳税人识别号</label>
|
|
7
|
+
<input class="input_search" placeholder="纳税人识别号" style="width:70%" type="text"
|
|
8
|
+
v-model="baseinfo.base.f_taxpayer_id" v-next-el="addressphone">
|
|
9
|
+
</div>
|
|
10
|
+
<div class="col-sm-4 form-group">
|
|
11
|
+
<label class="font_normal_body" for="f_paper_name">名  称</label>
|
|
12
|
+
<input class="input_search" placeholder="名称" style="width:60%" type="text" v-el:papername
|
|
13
|
+
v-model="baseinfo.base.f_paper_name" v-next-el="paperaccount">
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="row">
|
|
17
|
+
<div class="col-sm-8 form-group">
|
|
18
|
+
<label class="font_normal_body" for="f_address_phone">地址电话  </label>
|
|
19
|
+
<input class="input_search" placeholder="地址-电话" style="width:70%" type="text" v-el:addressphone
|
|
20
|
+
v-model="baseinfo.base.f_address_phone" v-next-el="papername">
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-4 form-group">
|
|
23
|
+
<label class="font_normal_body" for="f_paper_type">票据类型</label>
|
|
24
|
+
<v-select :options='papertype'
|
|
25
|
+
:value-single="true"
|
|
26
|
+
:value.sync="baseinfo.base.f_paper_type" close-on-select
|
|
27
|
+
placeholder='票据类型'></v-select>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="row">
|
|
31
|
+
<div class="col-sm-8 form-group">
|
|
32
|
+
<label class="font_normal_body " for="f_paper_account">开户行及账号</label>
|
|
33
|
+
<input class="input_search" placeholder="银行名称" style="width:70%" type="text" v-el:paperaccount
|
|
34
|
+
v-model="baseinfo.base.f_paper_account">
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="row">
|
|
38
|
+
<div class="col-sm-8 form-group">
|
|
39
|
+
<label class="font_normal_body " for="f_paper_account">推送票据邮箱</label>
|
|
40
|
+
<input class="input_search" placeholder="推送票据邮箱" style="width:70%" type="text" v-el:f_email
|
|
41
|
+
v-model="baseinfo.base.f_email">
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
</form>
|
|
46
|
+
</div>
|
|
47
|
+
</template>
|
|
48
|
+
<script>
|
|
49
|
+
export default {
|
|
50
|
+
title: '基本信息',
|
|
51
|
+
data () {
|
|
52
|
+
return {
|
|
53
|
+
papertype: this.$appdata.getParam('票据类型')
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
props: ['baseinfo']
|
|
57
|
+
}
|
|
58
|
+
</script>
|