sale-client 4.2.71 → 4.2.72
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 +58 -36
- package/index.html +7 -2
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/components/revenue/Common/EticketPrint.vue +2 -2
- package/src/components/revenue/HandManager/CardHand.vue +6 -6
- package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
- package/src/components/revenue/cardHandManage/cardDown.vue +6 -6
- package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
- package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +1 -1
- package/src/components/webMeter/paramSave/ParamSetForm.vue +1 -1
- package/src/filiale/alashan/FileUserFiles.vue +1 -1
- package/src/filiale/alashan/eticket/EticketPrint.vue +2 -2
- package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
- package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/bayan/ChargeList.vue +1010 -1010
- package/src/filiale/bayan/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/bayan/StockListmain.vue +543 -543
- package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
- package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
- package/src/filiale/bazhong/sale.js +8 -8
- package/src/filiale/beifangshiye/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
- package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/dexin/FileUserFiles.vue +1 -1
- package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/dongguan/components/common/userinfo_detail/WebMeterBatchOperationValve.vue +1 -1
- package/src/filiale/fugou/FileUserFiles.vue +1 -1
- package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -1
- package/src/filiale/gehua/FileUserFiles.vue +1 -1
- package/src/filiale/guangxi/WebMeterBatchOperationValve.vue +1 -1
- package/src/filiale/haile/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/hantou/WebMeterBatchOperationValve.vue +1 -1
- package/src/filiale/huaran/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/huayin/FileUserFiles.vue +1 -1
- package/src/filiale/jingwei/FileUserFiles.vue +1 -1
- package/src/filiale/jingyang/EticketPrint.vue +2 -2
- package/src/filiale/jingyang/GovernmentSell.vue +1 -1
- package/src/filiale/jinhuang/WebHand.vue +1026 -1026
- package/src/filiale/jinhuang/cardsHand.vue +8 -8
- package/src/filiale/kelai/FileUserFilesKeLai.vue +1 -1
- package/src/filiale/konggang/FileUserFiles.vue +1 -1
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
- package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
- package/src/filiale/macheng/EstimateManager.vue +1 -1
- package/src/filiale/macheng/FileUserFiles.vue +1 -1
- package/src/filiale/meihekou/FileUserFiles.vue +1 -1
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
- package/src/filiale/ningjin/FileUserFiles.vue +1 -1
- package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +1 -1
- package/src/filiale/qingjian/FileUserFiles.vue +1 -1
- package/src/filiale/rizhao/FileUserFiles.vue +1 -1
- package/src/filiale/rongcheng/FileUserFiles.vue +1 -1
- package/src/filiale/rongchuang/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
- package/src/filiale/ronghao/CardService.js +2144 -2144
- package/src/filiale/ronghao/InsuranceManage.vue +58 -58
- package/src/filiale/ronghao/MachineChargeService.js +149 -149
- package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
- package/src/filiale/ronghao/PaymentCode.vue +174 -174
- package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
- package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
- package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
- package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
- package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
- package/src/filiale/ronghao/Upload.vue +654 -654
- package/src/filiale/ronghao/cardDown.vue +1141 -1141
- package/src/filiale/ronghao/changemeterOperate.vue +315 -315
- package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
- package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
- package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
- package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
- package/src/filiale/ronghao/machineDown.vue +1176 -1176
- package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
- package/src/filiale/ronghao/specificInformation.vue +537 -537
- package/src/filiale/shanggao/FileUserFiles.vue +1 -1
- package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/shanxian/components/webMeter/WebMeterBatchOperationValve.vue +1 -1
- package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/shaoguan/Message/MessageList.vue +1 -1
- package/src/filiale/shexian/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/wenxi/FileUserFiles.vue +1 -1
- package/src/filiale/wuan/FileUserFiles.vue +1 -1
- package/src/filiale/xinkang/WebMeterBatchOperationValve.vue +1 -1
- package/src/filiale/yangchun/ChargeList.vue +954 -954
- package/src/filiale/yangchun/EticketPrint.vue +2 -2
- package/src/filiale/yangchun/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/yuncheng/FileManageService.js +469 -469
- package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
- package/src/filiale/zhongsheng/BlackListList.vue +293 -293
- package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/zhongyi/FileUserFiles.vue +1 -1
- package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
- package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
- package/src/components/FilesManage/ncUserinfoList.vue +0 -315
- package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
- package/src/components/SendCard/SendCardData.vue +0 -208
- package/src/components/accounts/accountAdd.vue +0 -276
- package/src/components/accounts/accountsList.vue +0 -183
- package/src/components/accounts/accountsManage.vue +0 -87
- package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
- package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
- package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
- package/src/components/ncarchives/ncArchivesList.vue +0 -159
- package/src/components/ncarchives/ncUserfilesList.vue +0 -373
- package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
- package/src/components/revenue/IOTArrears/arrears.vue +0 -323
- package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
- package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
- package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
- package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
- package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
- package/src/components/thirdapply/thirdAdd.vue +0 -289
- package/src/components/thirdapply/thirdList.vue +0 -162
- package/src/components/thirdapply/thirdManage.vue +0 -74
- package/src/components/webMeter/InstructQuery.vue +0 -414
- package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
- package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
- package/src/components/webMeter/WebUserHand.vue +0 -483
- package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
- package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
- package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
- package/src/plugins/FileManageServicets.js +0 -214
- package/src/plugins/GetImg.js +0 -53
|
@@ -1,315 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row">
|
|
3
|
-
<div class="basic-main" @keyup.enter="search">
|
|
4
|
-
<div class="flex">
|
|
5
|
-
<div style="flex:1;" class="flex" >
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
-
<div class="row">
|
|
10
|
-
<div class="col-sm-2">
|
|
11
|
-
<label class="font_normal_body labelother">NC客戶编码</label>
|
|
12
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_customer"
|
|
13
|
-
condition="f_customer = '{}' " placeholder="客户编号">
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-2">
|
|
16
|
-
<label class="font_normal_body labelother">NC客戶名称</label>
|
|
17
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
18
|
-
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-sm-2">
|
|
21
|
-
<label class="font_normal_body labelother">联系人电话</label>
|
|
22
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
23
|
-
condition="f_user_phone like '{}%'" placeholder="客户电话">
|
|
24
|
-
</div>
|
|
25
|
-
<div class="col-sm-4">
|
|
26
|
-
<label class="font_normal_body labelother">客戶地址</label>
|
|
27
|
-
<input type="text" style="width:80%" class="input_search" v-model="model.f_address"
|
|
28
|
-
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="span" style="float:right;">
|
|
31
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
32
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="row" style="margin-top: 11px;" v-show="$parent.$parent.criteriaShow">
|
|
37
|
-
<div class="col-sm-2">
|
|
38
|
-
<label class="font_normal_body labelother">表 号</label>
|
|
39
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
40
|
-
condition="f_meternumber like '%{}%'" placeholder='表号'>
|
|
41
|
-
</div>
|
|
42
|
-
<div class="col-sm-2">
|
|
43
|
-
<label class="font_normal_body labelother">卡 号</label>
|
|
44
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
|
|
45
|
-
condition="f_card_id like '%{}%'" placeholder='卡号'>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="col-sm-2">
|
|
48
|
-
<label class="font_normal_body labelother">气表 状态</label>
|
|
49
|
-
<v-select :value.sync="model.f_table_state"
|
|
50
|
-
v-model="model.f_table_state"
|
|
51
|
-
:options='$parent.$parent.tablestate' placeholder='请选择'
|
|
52
|
-
condition="f_table_state = '{}'"
|
|
53
|
-
close-on-select></v-select>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
</criteria>
|
|
58
|
-
|
|
59
|
-
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" :classname="$parent.classname">
|
|
60
|
-
<template partial='head'>
|
|
61
|
-
<tr>
|
|
62
|
-
<th>
|
|
63
|
-
<nobr>选择</nobr>
|
|
64
|
-
</th>
|
|
65
|
-
<th>
|
|
66
|
-
<nobr>序号</nobr>
|
|
67
|
-
</th>
|
|
68
|
-
<th>
|
|
69
|
-
<nobr>NC客戶编码</nobr>
|
|
70
|
-
</th>
|
|
71
|
-
<th>
|
|
72
|
-
<nobr>NC客戶名称</nobr>
|
|
73
|
-
</th>
|
|
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>NC客戶类型</nobr>
|
|
85
|
-
</th>
|
|
86
|
-
</tr>
|
|
87
|
-
</template>
|
|
88
|
-
<template partial='body'>
|
|
89
|
-
<td style="text-align:center">
|
|
90
|
-
<button type="button" name="button" class="button_export"
|
|
91
|
-
@click.stop="$parent.$parent.$parent.confirmaddress(row)">确认选择</button>
|
|
92
|
-
</td>
|
|
93
|
-
<td style="text-align: center;"><nobr>
|
|
94
|
-
<span >{{$index+1}}</span>
|
|
95
|
-
</nobr> </td>
|
|
96
|
-
<td style="text-align: center;"><nobr>
|
|
97
|
-
<span >{{row.f_customer}}</span>
|
|
98
|
-
</nobr> </td>
|
|
99
|
-
<td style="text-align: center;">
|
|
100
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
101
|
-
</td>
|
|
102
|
-
<td style="text-align: center;">
|
|
103
|
-
<nobr>{{row.f_user_phone}}</nobr>
|
|
104
|
-
</td>
|
|
105
|
-
<td style="text-align: center;">
|
|
106
|
-
<nobr>{{row.f_idnumber}}</nobr>
|
|
107
|
-
</td>
|
|
108
|
-
<td style="text-align: center;">
|
|
109
|
-
<nobr>{{row.f_address}}</nobr>
|
|
110
|
-
</td>
|
|
111
|
-
<td style="text-align: center;">
|
|
112
|
-
<nobr>{{row.f_user_type}}</nobr>
|
|
113
|
-
</td>
|
|
114
|
-
</template>
|
|
115
|
-
<template partial='foot'>
|
|
116
|
-
</template>
|
|
117
|
-
</data-grid>
|
|
118
|
-
</criteria-paged>
|
|
119
|
-
</div>
|
|
120
|
-
</div>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
</template>
|
|
124
|
-
|
|
125
|
-
<script>
|
|
126
|
-
import {PagedList} from 'vue-client'
|
|
127
|
-
let readySomething = async function (self) {
|
|
128
|
-
await self.$MagLoadParams.loadParam();
|
|
129
|
-
self.initParams();
|
|
130
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export default {
|
|
134
|
-
data() {
|
|
135
|
-
return {
|
|
136
|
-
model: new PagedList('rs/sql/ncarchivesQuery', 20),
|
|
137
|
-
criteriaShow: false,
|
|
138
|
-
modelval: [],
|
|
139
|
-
printshow: false,
|
|
140
|
-
all: false,
|
|
141
|
-
fields: {},
|
|
142
|
-
rowdata:{},
|
|
143
|
-
meterbrands: [],
|
|
144
|
-
pricenames: [],
|
|
145
|
-
gasproperties:[],
|
|
146
|
-
prices: [],
|
|
147
|
-
//合计数据
|
|
148
|
-
sumsmodel: {},
|
|
149
|
-
selectfields:[],
|
|
150
|
-
usertypes:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')],
|
|
151
|
-
metertypes:[{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')],
|
|
152
|
-
pricetypes:[{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
props:['f_filialeid','fileinfo','meterinfo','usertype'],
|
|
156
|
-
ready() {
|
|
157
|
-
readySomething(this).then(() => {
|
|
158
|
-
this.$emit('ready')
|
|
159
|
-
}).catch((error) => {
|
|
160
|
-
this.$emit('error', error)
|
|
161
|
-
})
|
|
162
|
-
this.search();
|
|
163
|
-
},
|
|
164
|
-
methods: {
|
|
165
|
-
confirmaddress (row) {
|
|
166
|
-
this.$dispatch('confirmuserinfo',row)
|
|
167
|
-
},
|
|
168
|
-
search(){
|
|
169
|
-
this.$refs.paged.$refs.cri.search()
|
|
170
|
-
},
|
|
171
|
-
selfSearch(args) {
|
|
172
|
-
if (!this.f_orgid) {
|
|
173
|
-
this.getorg([this.$login.f.orgid])
|
|
174
|
-
}
|
|
175
|
-
args.condition = `${args.condition}` + " and f_filialeid = " + this.f_filialeid;
|
|
176
|
-
args.condition = `${args.condition} `;
|
|
177
|
-
this.model.search(args.condition, args.model);
|
|
178
|
-
},
|
|
179
|
-
clear() {
|
|
180
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
181
|
-
this.$refs.paged.$refs.cri.model[key] = ''
|
|
182
|
-
})
|
|
183
|
-
},
|
|
184
|
-
hidden() {
|
|
185
|
-
this.criteriaShow = !this.criteriaShow
|
|
186
|
-
},
|
|
187
|
-
|
|
188
|
-
close() {
|
|
189
|
-
this.printshow = false;
|
|
190
|
-
this.all = false
|
|
191
|
-
},
|
|
192
|
-
userTypeChange () {
|
|
193
|
-
this.gasproperties=[]
|
|
194
|
-
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
195
|
-
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
196
|
-
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
197
|
-
}
|
|
198
|
-
else{
|
|
199
|
-
this.gasproperties =[{label: '全部', value: ''}]
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
getorg (val) {
|
|
203
|
-
this.f_orgid = this.$login.convertToIn(val)
|
|
204
|
-
this.f_filialeids = val[0]
|
|
205
|
-
},
|
|
206
|
-
initParams() {
|
|
207
|
-
// 初始化气表品牌
|
|
208
|
-
let brandArr = []
|
|
209
|
-
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
210
|
-
let temp = {}
|
|
211
|
-
temp.label = item.label
|
|
212
|
-
temp.value = item.value.f_meter_brand
|
|
213
|
-
brandArr.push(temp)
|
|
214
|
-
})
|
|
215
|
-
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
216
|
-
//初始化气表价格
|
|
217
|
-
this.prices = this.$MagGetSaleParam.getPrices();
|
|
218
|
-
},
|
|
219
|
-
// 对选择的列进行排序
|
|
220
|
-
sortModelval() {
|
|
221
|
-
let sortModel = []
|
|
222
|
-
Object.keys(this.fields).forEach((key) => {
|
|
223
|
-
if (this.modelval.includes(key)) {
|
|
224
|
-
sortModel.push(key)
|
|
225
|
-
}
|
|
226
|
-
})
|
|
227
|
-
this.modelval = sortModel
|
|
228
|
-
console.log('选择的打印的字段', this.modelval)
|
|
229
|
-
},
|
|
230
|
-
async updateParams() {
|
|
231
|
-
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
232
|
-
this.initParams()
|
|
233
|
-
},
|
|
234
|
-
},
|
|
235
|
-
watch: {
|
|
236
|
-
'all'(val) {
|
|
237
|
-
if (val) {
|
|
238
|
-
this.modelval = this.bodyData
|
|
239
|
-
} else {
|
|
240
|
-
this.modelval = defaultPrint.config
|
|
241
|
-
this.put()
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
'modelval.length'() {
|
|
245
|
-
this.put()
|
|
246
|
-
},
|
|
247
|
-
},
|
|
248
|
-
computed: {
|
|
249
|
-
getPricenames() {
|
|
250
|
-
let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
|
|
251
|
-
let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
|
|
252
|
-
let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
|
|
253
|
-
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
254
|
-
let rs = []
|
|
255
|
-
let priceArr = []
|
|
256
|
-
if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
|
|
257
|
-
let params = {
|
|
258
|
-
f_user_type: f_user_type[0],
|
|
259
|
-
f_gasproperties: f_gasproperties[0],
|
|
260
|
-
f_price_type: pricetype[0],
|
|
261
|
-
filter: this.f_filialeid,
|
|
262
|
-
prices: this.prices
|
|
263
|
-
}
|
|
264
|
-
this.$MagGetSaleParam.getPrice(params).forEach((item) => {
|
|
265
|
-
let temp = {}
|
|
266
|
-
temp.label = item.label
|
|
267
|
-
temp.value = item.value.f_price_name
|
|
268
|
-
priceArr.push(temp)
|
|
269
|
-
})
|
|
270
|
-
rs = [{label: '全部', value: ''}, ...priceArr]
|
|
271
|
-
}
|
|
272
|
-
if (rs.length === 0) {
|
|
273
|
-
console.log('rs读出来是空')
|
|
274
|
-
this.$refs.paged.$refs.cri.model.f_price_name = ''
|
|
275
|
-
}
|
|
276
|
-
return rs
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
areas() {
|
|
280
|
-
let rs = []
|
|
281
|
-
for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
|
|
282
|
-
let temp = {
|
|
283
|
-
label: this.$login.f.f_allArea[i].label,
|
|
284
|
-
value: this.$login.f.f_allArea[i].label
|
|
285
|
-
}
|
|
286
|
-
rs.push(temp)
|
|
287
|
-
}
|
|
288
|
-
return [{label: '全部', value: ''}, ...rs]
|
|
289
|
-
},
|
|
290
|
-
sliceArea() {
|
|
291
|
-
let rs = []
|
|
292
|
-
if (this.$refs.paged.$refs.cri.model.f_area.length > 0) {
|
|
293
|
-
for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
|
|
294
|
-
if (this.$login.f.f_allArea[i].label === this.$refs.paged.$refs.cri.model.f_area[0]) {
|
|
295
|
-
rs = this.$login.f.f_allArea[i].value
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
return [{label: '全部', value: ''}, ...rs]
|
|
300
|
-
},
|
|
301
|
-
|
|
302
|
-
tablestate() {
|
|
303
|
-
return [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}]
|
|
304
|
-
},
|
|
305
|
-
bgl(){
|
|
306
|
-
return [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}]
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
</script>
|
|
311
|
-
<style scoped>
|
|
312
|
-
.labelother {
|
|
313
|
-
line-height: 18px;
|
|
314
|
-
}
|
|
315
|
-
</style>
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto">
|
|
3
|
-
<validator name='v'>
|
|
4
|
-
<form novalidate class="form-horizontal">
|
|
5
|
-
<div class="row">
|
|
6
|
-
<div class="col-sm-4">
|
|
7
|
-
<label for="f_paytype" class=" font_normal_body">写卡气量:</label>
|
|
8
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.ql" disabled/>
|
|
9
|
-
</div>
|
|
10
|
-
<div class="col-sm-4">
|
|
11
|
-
<label for="f_pregas" class=" font_normal_body">写卡次数:</label>
|
|
12
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.cs" disabled>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
<div class="col-sm-4">
|
|
16
|
-
<label for="f_preamount" class=" font_normal_body">返回错误:</label>
|
|
17
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.f_json_return" disabled>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="row">
|
|
21
|
-
<div class="col-sm-4">
|
|
22
|
-
<label for="f_paytype" class=" font_normal_body">写卡类型:</label>
|
|
23
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.f_records_tpye" disabled/>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="col-sm-4">
|
|
26
|
-
<label for="f_pregas" class=" font_normal_body">写卡状态:</label>
|
|
27
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.f_state" disabled>
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
<div class="col-sm-4">
|
|
31
|
-
<label for="f_preamount" class=" font_normal_body">数据版本:</label>
|
|
32
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.version" disabled>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="row" style="margin-top:6px;">
|
|
36
|
-
<div class="col-sm-4">
|
|
37
|
-
<label for="f_print" class="font_normal_body">操 作 人:</label>
|
|
38
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.f_operator" disabled>
|
|
39
|
-
</div>
|
|
40
|
-
<div class="col-sm-4">
|
|
41
|
-
<label for="f_print" class="font_normal_body">部  门:</label>
|
|
42
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.f_depname" disabled>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="col-sm-4">
|
|
45
|
-
<label for="f_print" class="font_normal_body">操作时间:</label>
|
|
46
|
-
<input type="text" class="input_search" style="width: 60%" v-model="model.f_operate_date" disabled>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</form>
|
|
50
|
-
<div style="text-align:right;margin-top:80px;margin-right:50px;">
|
|
51
|
-
<button class="button_search" @click="confirm()" :disabled='clickConfirm'>写卡</button>
|
|
52
|
-
<button class="button_clear" @click="clean()">取消</button>
|
|
53
|
-
</div>
|
|
54
|
-
</validator>
|
|
55
|
-
</div>
|
|
56
|
-
</template>
|
|
57
|
-
<script>
|
|
58
|
-
/**
|
|
59
|
-
*综合业务
|
|
60
|
-
*卡表收费组件
|
|
61
|
-
*/
|
|
62
|
-
export default {
|
|
63
|
-
title: '卡数据重写',
|
|
64
|
-
data() {
|
|
65
|
-
return {
|
|
66
|
-
model: {},
|
|
67
|
-
clickConfirm: false,
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
props: ['row', 'cardData'],
|
|
71
|
-
ready() {
|
|
72
|
-
//卡数据赋值
|
|
73
|
-
if (this.row.NoCardSucc) {
|
|
74
|
-
this.model = this.row.NoCardSucc[0]
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
methods: {
|
|
78
|
-
async confirm() {
|
|
79
|
-
let params=JSON.parse(this.model.f_json_send)
|
|
80
|
-
params.kzt="1"
|
|
81
|
-
params.bkcs=this.row.f_fillcard_times + 1
|
|
82
|
-
let cardRes = await this.$resetpost("http://127.0.0.1:8003/WriteNewCard", params, {resolveMsg: null,rejectMsg: '写卡失败'})
|
|
83
|
-
if (cardRes.data.Err || cardRes.data.Exception) {
|
|
84
|
-
await this.$resetpost('rs/entity/t_send_carddata', this.model, {resolveMsg: null, rejectMsg: '保存写卡数据失败'})
|
|
85
|
-
await this.$showAlert('重新写卡失败!!! 请联系管理员进行处理', 'danger', 5000)
|
|
86
|
-
}else {
|
|
87
|
-
this.model.f_state="成功"
|
|
88
|
-
let updateFiles = {
|
|
89
|
-
f_userfiles_id: this.row.f_userfiles_id,
|
|
90
|
-
version: this.row.version,
|
|
91
|
-
f_fillcard_times: params.bkcs
|
|
92
|
-
}
|
|
93
|
-
await this.$resetpost('rs/entity/t_userfiles',updateFiles, {resolveMsg: null, rejectMsg: null})
|
|
94
|
-
await this.$resetpost('rs/entity/t_send_carddata', this.model, {resolveMsg: null, rejectMsg: '保存写卡数据失败'})
|
|
95
|
-
await this.$showAlert('重新写卡成功!!!', 'success', 5000)
|
|
96
|
-
}
|
|
97
|
-
await this.$dispatch('success')
|
|
98
|
-
},
|
|
99
|
-
clean() {
|
|
100
|
-
this.$dispatch('refresh', this.row)
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
</script>
|
|
105
|
-
|
|
106
|
-
<style>
|
|
107
|
-
</style>
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row" >
|
|
3
|
-
<div class="basic-main" >
|
|
4
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
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="form-group col-sm-2">
|
|
8
|
-
<label class="font_normal_body">组织机构</label>
|
|
9
|
-
<res-select restype='organization'
|
|
10
|
-
@res-select="$parent.$parent.getorg"
|
|
11
|
-
is-mul="false"
|
|
12
|
-
:initresid='$parent.$parent.curorgid'>
|
|
13
|
-
</res-select>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="form-group col-sm-2">
|
|
16
|
-
<label class="font_normal_body">数据状态</label>
|
|
17
|
-
<v-select id="f_paytype"
|
|
18
|
-
v-model="model.f_state"
|
|
19
|
-
placeholder='数据状态'
|
|
20
|
-
:value.sync="model.f_state"
|
|
21
|
-
:options='$parent.$parent.tableStates'
|
|
22
|
-
condition="f_state = '{}'"
|
|
23
|
-
style="width: 60%"
|
|
24
|
-
close-on-select></v-select>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="form-group col-sm-2">
|
|
27
|
-
<label class="font_normal_body">卡  号</label>
|
|
28
|
-
<input type="text" class="input_search" style="width:60%" v-model="model.f_card_id" placeholder='卡号'
|
|
29
|
-
condition="f_card_id like '%{}%'">
|
|
30
|
-
</div>
|
|
31
|
-
<div class="form-group col-sm-2" >
|
|
32
|
-
<label class="font_normal_body">客户编号</label>
|
|
33
|
-
<input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" placeholder='客户编号'
|
|
34
|
-
condition="f_userinfo_code = '{}'"
|
|
35
|
-
>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="form-group col-sm-2" >
|
|
38
|
-
<label class="font_normal_body">客户名称</label>
|
|
39
|
-
<input type="text" class="input_search" style="width:60%"
|
|
40
|
-
v-model="model.f_user_name" placeholder='客户名称'
|
|
41
|
-
condition="f_user_name like '%{}%'">
|
|
42
|
-
</div>
|
|
43
|
-
<div class="form-group col-sm-2" >
|
|
44
|
-
<label class="font_normal_body">地址信息</label>
|
|
45
|
-
<input type="text" class="input_search" style="width:60%"
|
|
46
|
-
v-model="model.f_address" placeholder='客户名称'
|
|
47
|
-
condition="f_address like '%{}%'">
|
|
48
|
-
</div>
|
|
49
|
-
<div class="form-group col-sm-2">
|
|
50
|
-
<label class="font_normal_body">客户名称</label>
|
|
51
|
-
<input type="text" class="input_search" style="width:60%"
|
|
52
|
-
v-model="model.f_user_name" placeholder='客户名称'
|
|
53
|
-
condition="f_user_name like '%{}%'">
|
|
54
|
-
</div>
|
|
55
|
-
<div class="form-group col-sm-2">
|
|
56
|
-
<label class="font_normal_body">开始时间</label>
|
|
57
|
-
<datepicker id="startDate" placeholder="开始时间"
|
|
58
|
-
v-model="model.f_operate_date_stat"
|
|
59
|
-
:value.sync="model.f_operate_date_stat"
|
|
60
|
-
condition="f_operate_date >'{}'"
|
|
61
|
-
:format="'yyyy-MM-dd'"
|
|
62
|
-
style="width: 60%">
|
|
63
|
-
</datepicker>
|
|
64
|
-
</div>
|
|
65
|
-
<div class="form-group col-sm-2">
|
|
66
|
-
<label class="font_normal_body">结束时间</label>
|
|
67
|
-
<datepicker id="endDate" placeholder="结束时间"
|
|
68
|
-
v-model="model.f_operate_date_end"
|
|
69
|
-
:value.sync="model.f_operate_date_end"
|
|
70
|
-
condition="f_operate_date <'{}'"
|
|
71
|
-
:format="'yyyy-MM-dd'"
|
|
72
|
-
style="width: 60%">
|
|
73
|
-
</datepicker>
|
|
74
|
-
</div>
|
|
75
|
-
<div style="float:right;">
|
|
76
|
-
<button class="button_search button_spacing" @click="search()" >查询</button>
|
|
77
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
</criteria>
|
|
81
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
82
|
-
<template partial='head'>
|
|
83
|
-
<tr>
|
|
84
|
-
<th><nobr>序号</nobr></th>
|
|
85
|
-
<th >客户编号</th>
|
|
86
|
-
<th >客户信息</th>
|
|
87
|
-
<th >卡号</th>
|
|
88
|
-
<th >操作时间</th>
|
|
89
|
-
<th >操作人</th>
|
|
90
|
-
<th >写卡次数</th>
|
|
91
|
-
<th >业务类型</th>
|
|
92
|
-
<th >数据状态</th>
|
|
93
|
-
<th >操作</th>
|
|
94
|
-
|
|
95
|
-
</tr>
|
|
96
|
-
</template>
|
|
97
|
-
<template partial='body'>
|
|
98
|
-
<tr>
|
|
99
|
-
<td >{{$index + 1}}</td>
|
|
100
|
-
<td>{{row.f_userinfo_code}}</td>
|
|
101
|
-
<td>{{row.f_user_name}} {{row.f_user_phone}} {{row.f_address}}</td>
|
|
102
|
-
<td>{{row.f_card_id}}</td>
|
|
103
|
-
<td>{{row.f_operate_date}}</td>
|
|
104
|
-
<td>{{row.f_operator}}</td>
|
|
105
|
-
<td>{{row.version}}</td>
|
|
106
|
-
<td>{{row.f_records_tpye}}</td>
|
|
107
|
-
<td>{{row.f_state}}</td>
|
|
108
|
-
<td><nobr>
|
|
109
|
-
<button v-show="row.f_state=='待写卡'" type="button" name="button" class="btn btn-link"
|
|
110
|
-
@click.stop="$parent.$parent.$parent.send(row)">重写卡</button>
|
|
111
|
-
<button v-show="row.f_state=='待写卡' && row.f_operator!='悦生活' " type="button" name="button" class="btn btn-link"
|
|
112
|
-
@click.stop="$parent.$parent.$parent.updatestate(row)">修改状态为成功</button>
|
|
113
|
-
</nobr></td>
|
|
114
|
-
</tr>
|
|
115
|
-
</template>
|
|
116
|
-
<template partial='foot'></template>
|
|
117
|
-
</data-grid>
|
|
118
|
-
</criteria-paged> </div>
|
|
119
|
-
</div>
|
|
120
|
-
</template>
|
|
121
|
-
<script>
|
|
122
|
-
import { PagedList } from 'vue-client'
|
|
123
|
-
|
|
124
|
-
export default {
|
|
125
|
-
|
|
126
|
-
data () {
|
|
127
|
-
return {
|
|
128
|
-
criteriaShow: false,
|
|
129
|
-
model: new PagedList('rs/sql/get_sendCardCata_list',50),
|
|
130
|
-
// 公司下拉
|
|
131
|
-
tableStates: [{label: '全部', value: ''},{label: '成功', value: '成功'},{label: '失败', value: '失败'},{label: '待写卡', value: '待写卡'},],
|
|
132
|
-
curorgid: [this.$login.f.orgid],
|
|
133
|
-
f_orgid: ''
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
title: '卡云数据维护',
|
|
137
|
-
props:{
|
|
138
|
-
f_filialeids:{
|
|
139
|
-
type: String
|
|
140
|
-
},
|
|
141
|
-
style: {
|
|
142
|
-
type: String,
|
|
143
|
-
default: 'col-sm-2'
|
|
144
|
-
},
|
|
145
|
-
f_special:{
|
|
146
|
-
type: String
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
ready(){
|
|
150
|
-
this.$refs.paged.$refs.cri.model.f_state = "待写卡"
|
|
151
|
-
this.search()
|
|
152
|
-
},
|
|
153
|
-
methods: {
|
|
154
|
-
search() {
|
|
155
|
-
this.$refs.paged.$refs.cri.search()
|
|
156
|
-
},
|
|
157
|
-
modify(val){
|
|
158
|
-
this.$refs.paged.$refs.grid.selectStore.selected = null
|
|
159
|
-
this.$dispatch('modify',val)
|
|
160
|
-
},
|
|
161
|
-
//重新发送卡服务数据
|
|
162
|
-
async send(val){
|
|
163
|
-
let cardRes = await this.$resetpost(val.f_send_url, val, {resolveMsg: null,rejectMsg: '卡表收费失败'})
|
|
164
|
-
if (cardRes.data.Err || cardRes.data.Exception) {
|
|
165
|
-
await this.$resetpost('rs/entity/t_send_carddata', val, {resolveMsg: null, rejectMsg: '保存写卡数据失败'})
|
|
166
|
-
await this.$showAlert('重新写卡失败!!! 请联系管理员进行处理', 'danger', 5000)
|
|
167
|
-
}else {
|
|
168
|
-
val.f_state="成功"
|
|
169
|
-
await this.$resetpost('rs/entity/t_send_carddata', val, {resolveMsg: null, rejectMsg: '保存写卡数据失败'})
|
|
170
|
-
await this.$showAlert('重新写卡成功!!!', 'success', 5000)
|
|
171
|
-
}
|
|
172
|
-
await this.search()
|
|
173
|
-
},
|
|
174
|
-
updatestate(val){
|
|
175
|
-
this.$showMessage(`是否修改${val.f_user_name}的${val.f_records_tpye}操作写卡状态为成功,请确定本次业务已经写卡成功?`,['confirm','cancel']).then(async res=>{
|
|
176
|
-
if (res === 'confirm'){
|
|
177
|
-
val.f_state="成功"
|
|
178
|
-
await this.$resetpost('rs/entity/t_send_carddata', val, {resolveMsg: null, rejectMsg: '保存写卡数据失败'})
|
|
179
|
-
await this.$showAlert('重新写卡成功!!!', 'success', 5000)
|
|
180
|
-
}
|
|
181
|
-
})
|
|
182
|
-
},
|
|
183
|
-
selfSearch (args) {
|
|
184
|
-
if (!this.f_orgid) {
|
|
185
|
-
this.getorg([this.$login.f.orgid])
|
|
186
|
-
}
|
|
187
|
-
console.log('查询。。。', this.f_orgid)
|
|
188
|
-
args.condition = `${args.condition} and f_orgid in ${this.f_orgid}`
|
|
189
|
-
this.model.search(args.condition, args.model)
|
|
190
|
-
},
|
|
191
|
-
//清空
|
|
192
|
-
clear(){
|
|
193
|
-
this.$refs.paged.$refs.cri.model = {}
|
|
194
|
-
},
|
|
195
|
-
getorg (val) {
|
|
196
|
-
this.f_orgid = this.$login.convertToIn(val)
|
|
197
|
-
this.f_filialeids = val[0]
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
watch:{
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
}
|
|
205
|
-
</script>
|
|
206
|
-
<style>
|
|
207
|
-
|
|
208
|
-
</style>
|