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 +1,315 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto">
|
|
3
|
-
<validator name='a' @valid="addressValid(true)" @invalid="addressValid(false)">
|
|
4
|
-
<form class="form-horizontal">
|
|
5
|
-
<div class="row">
|
|
6
|
-
<div class="col-sm-4">
|
|
7
|
-
<label class="font_normal_body">表编号 </label>
|
|
8
|
-
<input type="text" v-model="model.f_userinfo_id" disabled=disabled style="width: 60%" class="input_search">
|
|
9
|
-
</div>
|
|
10
|
-
<div class="col-sm-4">
|
|
11
|
-
<label class="font_normal_body">用户编号</label>
|
|
12
|
-
<input type="text" v-model="model.f_user_id" disabled=disabled style="width: 60%" class="input_search">
|
|
13
|
-
</div>
|
|
14
|
-
<div class="col-sm-4">
|
|
15
|
-
<label class="font_normal_body">用户姓名</label>
|
|
16
|
-
<input type="text" v-model="model.f_user_name" disabled=disabled style="width: 60%" class="input_search">
|
|
17
|
-
</div>
|
|
18
|
-
<!--<div class="col-sm-4">-->
|
|
19
|
-
<!--<label class="font_normal_body">收据类型</label>-->
|
|
20
|
-
<!--<input type="text" v-model="model.f_bill_style" style="width: 60%" class="input_search">-->
|
|
21
|
-
<!--</div>-->
|
|
22
|
-
</div>
|
|
23
|
-
<div class="row">
|
|
24
|
-
<div class="col-sm-4">
|
|
25
|
-
<label class="font_normal_body">用户类型</label>
|
|
26
|
-
<input type="text" v-model="model.f_user_type" disabled=disabled style="width: 60%" class="input_search">
|
|
27
|
-
</div>
|
|
28
|
-
<div class="col-sm-4">
|
|
29
|
-
<label class="font_normal_body">用气性质</label>
|
|
30
|
-
<input type="text" v-model="model.f_gasproperties" disabled=disabled style="width: 60%"
|
|
31
|
-
class="input_search">
|
|
32
|
-
</div>
|
|
33
|
-
<div class="col-sm-4">
|
|
34
|
-
<label class="font_normal_body">补卡类型</label>
|
|
35
|
-
<input type="text" v-model="model.f_type" disabled=disabled style="width: 60%" class="input_search">
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
</div>
|
|
39
|
-
<div class="row">
|
|
40
|
-
<div class="col-sm-4">
|
|
41
|
-
<label class="font_normal_body">卡 号 </label>
|
|
42
|
-
<input type="text" v-model="model.f_card_id" disabled=disabled style="width: 60%" class="input_search">
|
|
43
|
-
</div>
|
|
44
|
-
<div class="col-sm-4">
|
|
45
|
-
<label class="font_normal_body">卡 费 </label>
|
|
46
|
-
<input type="text" v-model="model.f_cardfees" style="width: 60%" class="input_search">
|
|
47
|
-
</div>
|
|
48
|
-
<div class="col-sm-4">
|
|
49
|
-
<!-- <label class="font_normal_body">付款方式</label>-->
|
|
50
|
-
<!-- <input type="text" v-model="model.f_payment" style="width: 60%" class="input_search">-->
|
|
51
|
-
<label class="font_normal_body" title="参数:付款方式">付款方式</label>
|
|
52
|
-
<v-select id="f_payment"
|
|
53
|
-
v-model="model.f_payment" :value-single="true"
|
|
54
|
-
class="select_list select"
|
|
55
|
-
:value.sync="model.f_payment"
|
|
56
|
-
:options='paytype'
|
|
57
|
-
close-on-select>
|
|
58
|
-
</v-select>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="row">
|
|
62
|
-
<div class="col-sm-4">
|
|
63
|
-
<label class="font_normal_body" title="参数:票据类型">票据类型</label>
|
|
64
|
-
<v-select :value.sync="model.f_bill_style" v-model="model.f_bill_style"
|
|
65
|
-
:options='papertype' :value-single="true"
|
|
66
|
-
class="select_list select"
|
|
67
|
-
close-on-select></v-select>
|
|
68
|
-
<!-- <label class="font_normal_body">票据类型</label>-->
|
|
69
|
-
<!-- <input type="text" v-model="model.f_bill_style" style="width: 60%" class="input_search">-->
|
|
70
|
-
</div>
|
|
71
|
-
<div class="col-sm-4">
|
|
72
|
-
<label class="font_normal_body">是否接表</label>
|
|
73
|
-
<input type="text" v-model="model.f_ispick_table" disabled=disabled style="width: 60%" class="input_search">
|
|
74
|
-
</div>
|
|
75
|
-
<div class="col-sm-4">
|
|
76
|
-
<label class="font_normal_body">补卡原因</label>
|
|
77
|
-
<input type="text" v-model="model.f_comments" style="width: 60%" class="input_search">
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
<div class="row">
|
|
81
|
-
<div class="col-sm-4">
|
|
82
|
-
<label class="font_normal_body">补卡日期</label>
|
|
83
|
-
<datepicker id="f_fillcard_date" placeholder="补卡日期" style="width:60%"
|
|
84
|
-
v-model="model.f_operate_date"
|
|
85
|
-
:value.sync="model.f_operate_date"
|
|
86
|
-
:format="'yyyy-MM-dd'"
|
|
87
|
-
:show-reset-button="true">
|
|
88
|
-
</datepicker>
|
|
89
|
-
</div>
|
|
90
|
-
<div class="col-sm-4">
|
|
91
|
-
<label class="font_normal_body">补卡状态</label>
|
|
92
|
-
<!-- <input type="text" v-model="model.f_fillcard_state" disabled=disabled style="width: 60%" class="input_search">-->
|
|
93
|
-
<v-select :value.sync="model.f_state" v-model="model.f_state"
|
|
94
|
-
:options='fillcard_state' :value-single="true"
|
|
95
|
-
class="select_list select"
|
|
96
|
-
close-on-select></v-select>
|
|
97
|
-
</div>
|
|
98
|
-
<div class="col-sm-4">
|
|
99
|
-
<label class="font_normal_body">组 织 </label>
|
|
100
|
-
<input type="text" v-model="model.f_orgname" disabled=disabled style="width: 60%" class="input_search">
|
|
101
|
-
</div>
|
|
102
|
-
|
|
103
|
-
</div>
|
|
104
|
-
<div class="row">
|
|
105
|
-
<div class="col-sm-4">
|
|
106
|
-
<label class="font_normal_body">部 门 </label>
|
|
107
|
-
<input type="text" v-model="model.f_depname" disabled=disabled style="width: 60%" class="input_search">
|
|
108
|
-
</div>
|
|
109
|
-
<div class="col-sm-4 ">
|
|
110
|
-
<label class="font_normal_body" title="参数:操作人员查询">操作人员</label>
|
|
111
|
-
<v-select :value.sync="model.f_operatorid"
|
|
112
|
-
v-model="model.f_operatorid"
|
|
113
|
-
:value-single="true" @change="selectoperator()"
|
|
114
|
-
:options='foperator'
|
|
115
|
-
close-on-select></v-select>
|
|
116
|
-
</div>
|
|
117
|
-
<div class="col-sm-4">
|
|
118
|
-
<label class="font_normal_body">流水号 </label>
|
|
119
|
-
<input type="text" v-model="model.f_serial_id" disabled=disabled style="width: 60%" class="input_search">
|
|
120
|
-
</div>
|
|
121
|
-
</div>
|
|
122
|
-
</form>
|
|
123
|
-
<div style="float: right">
|
|
124
|
-
<button class="button_search" @click="save">保存</button>
|
|
125
|
-
<button class="button_clear" @click="cancel">取消</button>
|
|
126
|
-
</div>
|
|
127
|
-
</validator>
|
|
128
|
-
<!--<modal :show.sync="showfiles" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">-->
|
|
129
|
-
<!--<article slot="modal-body">-->
|
|
130
|
-
<!--<upload :blodid="model.f_userinfo_id" :businessid="model.id" v-ref:upload fusetype="收费" isremark="true" style="width:auto" ></upload>-->
|
|
131
|
-
<!--</article>-->
|
|
132
|
-
<!--<footer slot="modal-footer" class="modal-footer">-->
|
|
133
|
-
<!--</footer>-->
|
|
134
|
-
<!--</modal>-->
|
|
135
|
-
<!--<!–文件上传按钮–>-->
|
|
136
|
-
<!--<button class="button_search" style="width: max-content" @click="uploadFiles()">上传附件</button>-->
|
|
137
|
-
</div>
|
|
138
|
-
</template>
|
|
139
|
-
|
|
140
|
-
<script>
|
|
141
|
-
|
|
142
|
-
import {HttpResetClass} from 'vue-client'
|
|
143
|
-
import * as Util from '../../Util'
|
|
144
|
-
|
|
145
|
-
let readyGen = async function (self) {
|
|
146
|
-
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
147
|
-
await self.$GetSaleParam.initinputtor()
|
|
148
|
-
await self.initoperator()
|
|
149
|
-
}
|
|
150
|
-
export default {
|
|
151
|
-
title: '基本信息',
|
|
152
|
-
data () {
|
|
153
|
-
return {
|
|
154
|
-
equipmentType: this.$appdata.getParam('打印格式') ? [{
|
|
155
|
-
label: '',
|
|
156
|
-
value: ''
|
|
157
|
-
}, ...this.$appdata.getParam('打印格式')] : [],
|
|
158
|
-
// 构建数组来存储对象
|
|
159
|
-
editbank: true,
|
|
160
|
-
uploadText: '收费',
|
|
161
|
-
papertype: this.$appdata.getParam('票据类型') ? [{
|
|
162
|
-
label: '',
|
|
163
|
-
value: ''
|
|
164
|
-
}, ...this.$appdata.getParam('票据类型')] : [],
|
|
165
|
-
paytype: this.$appdata.getParam('付款方式') ? [{
|
|
166
|
-
label: '',
|
|
167
|
-
value: ''
|
|
168
|
-
}, ...this.$appdata.getParam('付款方式')] : [],
|
|
169
|
-
showfiles: false,
|
|
170
|
-
recordList: [],
|
|
171
|
-
foperator: [],
|
|
172
|
-
fileNameSet: {
|
|
173
|
-
// 要更改字段的中文名
|
|
174
|
-
'f_cardfees': '卡费',
|
|
175
|
-
'f_payment': '付款方式',
|
|
176
|
-
'f_bill_style': '票据类型',
|
|
177
|
-
'f_reason': '补卡原因',
|
|
178
|
-
'f_fillcard_date': '补卡日期',
|
|
179
|
-
'f_state': '补卡状态',
|
|
180
|
-
'f_operator': '操作人'
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
props: {
|
|
185
|
-
oldmodel: Object,
|
|
186
|
-
model: Object
|
|
187
|
-
},
|
|
188
|
-
|
|
189
|
-
ready () {
|
|
190
|
-
if (this.$login.r.includes('维护补卡信息')) {
|
|
191
|
-
this.editbank = true
|
|
192
|
-
}
|
|
193
|
-
this.oldmodel = JSON.parse(JSON.stringify(this.model))
|
|
194
|
-
this.model.f_bill_state = [this.oldmodel]
|
|
195
|
-
readyGen(this)
|
|
196
|
-
},
|
|
197
|
-
created () {
|
|
198
|
-
},
|
|
199
|
-
methods: {
|
|
200
|
-
initoperator () {
|
|
201
|
-
this.foperator = []
|
|
202
|
-
console.log('this.$login-------------------------', this.$login, this.oldmodel, this.model)
|
|
203
|
-
let arr = this.$GetSaleParam.inputtors.filter((res) => {
|
|
204
|
-
if (res.rolestr != null && res.rolestr != '') {
|
|
205
|
-
return (res.rolestr.indexOf('收费员') > -1 || res.rolestr.indexOf('话务员') > -1) && res.f_orgid == this.$login.f.orgid
|
|
206
|
-
}
|
|
207
|
-
})
|
|
208
|
-
arr.forEach((res) => {
|
|
209
|
-
this.foperator.push({label: res.name, value: res.id})
|
|
210
|
-
})
|
|
211
|
-
},
|
|
212
|
-
selectoperator () {
|
|
213
|
-
let id = this.model.f_operatorid
|
|
214
|
-
if (!this.model.f_operatorid) {
|
|
215
|
-
return
|
|
216
|
-
}
|
|
217
|
-
let http = new HttpResetClass()
|
|
218
|
-
http.load('POST', 'api/af-revenue/sql/saleSingleTable',
|
|
219
|
-
{
|
|
220
|
-
data: {
|
|
221
|
-
tablename: 't_user',
|
|
222
|
-
condition: `id = '${id}'`
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
{resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
226
|
-
console.log('kanak,res', res)
|
|
227
|
-
if (res.data.length > 0) {
|
|
228
|
-
this.model.f_operator = res.data[0].name
|
|
229
|
-
} else {
|
|
230
|
-
this.model.f_operatorid = ''
|
|
231
|
-
this.$showAlert('操作员信息未找到', 'warning', 2000)
|
|
232
|
-
}
|
|
233
|
-
console.log('this.f_operatorid', this.model.f_operator)
|
|
234
|
-
})
|
|
235
|
-
},
|
|
236
|
-
cancel () {
|
|
237
|
-
this.$dispatch('close')
|
|
238
|
-
},
|
|
239
|
-
uploadFiles () {
|
|
240
|
-
this.showfiles = !this.showfiles
|
|
241
|
-
},
|
|
242
|
-
addressValid (val) {
|
|
243
|
-
},
|
|
244
|
-
save () {
|
|
245
|
-
// console.log(this.model.key)
|
|
246
|
-
this.recordList = [] // 清空,防止重复提交
|
|
247
|
-
console.log('newdate' + new Date())
|
|
248
|
-
console.log('MODEL BEFORE:', this.model)
|
|
249
|
-
for (var item in this.model) {
|
|
250
|
-
if (this.model[item] instanceof Array) {
|
|
251
|
-
this.model[item] = this.model[item].length > 0 ? this.model[item][0] : ''
|
|
252
|
-
}
|
|
253
|
-
if (this.model[item] != this.oldmodel[item] && this.model[item] != 's_timestamp') {
|
|
254
|
-
var car = { // 需要更改的字段
|
|
255
|
-
// t_fillcard
|
|
256
|
-
id: this.model.id,
|
|
257
|
-
f_user_id: this.model.f_user_id,
|
|
258
|
-
chinesename: this.fileNameSet[item],
|
|
259
|
-
fieldname: item,
|
|
260
|
-
tablename: 't_fillcard',
|
|
261
|
-
oldvalue: this.oldmodel[item],
|
|
262
|
-
newvalue: this.model[item],
|
|
263
|
-
state: '有效',
|
|
264
|
-
modifitime: Util.toStandardTimeString(),
|
|
265
|
-
operator: this.$login.f.name,
|
|
266
|
-
changemeter_id: this.model.id,
|
|
267
|
-
f_operate_date: this.model.f_operate_date,
|
|
268
|
-
f_cardfees: this.model.f_cardfees ? this.model.f_cardfees : null,
|
|
269
|
-
f_payment: this.model.f_payment,
|
|
270
|
-
f_bill_style: this.model.f_bill_style,
|
|
271
|
-
f_reason: this.model.f_comments ? this.model.f_comments : '',
|
|
272
|
-
f_fillcard_date: this.model.f_operate_date,
|
|
273
|
-
f_operator: this.$login.f.name,
|
|
274
|
-
f_operatorid: this.$login.f.id,
|
|
275
|
-
f_orgid: this.$login.f.orgid,
|
|
276
|
-
f_orgname: this.$login.f.orgs,
|
|
277
|
-
f_depid: this.$login.f.depids,
|
|
278
|
-
f_depname: this.$login.f.deps
|
|
279
|
-
}
|
|
280
|
-
this.recordList.push(car)
|
|
281
|
-
// 该方法并未对chinesename fieldname operator等进行判断赋值,此暂写为定值
|
|
282
|
-
console.log('看看car的值', car)
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
this.model.f_reason = this.model.f_comments ? this.model.f_comments : ''
|
|
287
|
-
this.model.f_fillcard_date = this.model.f_operate_date
|
|
288
|
-
console.log('model--------abc-', this.model)
|
|
289
|
-
this.$resetpost('api/af-revenue/logic/replacementCardSaving', {
|
|
290
|
-
data: {
|
|
291
|
-
recordlist: this.recordList,
|
|
292
|
-
newData: this.model
|
|
293
|
-
}
|
|
294
|
-
}).then((res) => {
|
|
295
|
-
console.log('this.model', this.model)
|
|
296
|
-
})
|
|
297
|
-
this.$dispatch('close')
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
computed: {
|
|
301
|
-
fillcard_state () {
|
|
302
|
-
return [...this.$appdata.getParam('补卡状态')]
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
watch: {
|
|
306
|
-
'model' () {
|
|
307
|
-
this.initoperator()
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
</script>
|
|
312
|
-
|
|
313
|
-
<style scoped>
|
|
314
|
-
|
|
315
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<validator name='a' @valid="addressValid(true)" @invalid="addressValid(false)">
|
|
4
|
+
<form class="form-horizontal">
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-sm-4">
|
|
7
|
+
<label class="font_normal_body">表编号 </label>
|
|
8
|
+
<input type="text" v-model="model.f_userinfo_id" disabled=disabled style="width: 60%" class="input_search">
|
|
9
|
+
</div>
|
|
10
|
+
<div class="col-sm-4">
|
|
11
|
+
<label class="font_normal_body">用户编号</label>
|
|
12
|
+
<input type="text" v-model="model.f_user_id" disabled=disabled style="width: 60%" class="input_search">
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-sm-4">
|
|
15
|
+
<label class="font_normal_body">用户姓名</label>
|
|
16
|
+
<input type="text" v-model="model.f_user_name" disabled=disabled style="width: 60%" class="input_search">
|
|
17
|
+
</div>
|
|
18
|
+
<!--<div class="col-sm-4">-->
|
|
19
|
+
<!--<label class="font_normal_body">收据类型</label>-->
|
|
20
|
+
<!--<input type="text" v-model="model.f_bill_style" style="width: 60%" class="input_search">-->
|
|
21
|
+
<!--</div>-->
|
|
22
|
+
</div>
|
|
23
|
+
<div class="row">
|
|
24
|
+
<div class="col-sm-4">
|
|
25
|
+
<label class="font_normal_body">用户类型</label>
|
|
26
|
+
<input type="text" v-model="model.f_user_type" disabled=disabled style="width: 60%" class="input_search">
|
|
27
|
+
</div>
|
|
28
|
+
<div class="col-sm-4">
|
|
29
|
+
<label class="font_normal_body">用气性质</label>
|
|
30
|
+
<input type="text" v-model="model.f_gasproperties" disabled=disabled style="width: 60%"
|
|
31
|
+
class="input_search">
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-sm-4">
|
|
34
|
+
<label class="font_normal_body">补卡类型</label>
|
|
35
|
+
<input type="text" v-model="model.f_type" disabled=disabled style="width: 60%" class="input_search">
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
</div>
|
|
39
|
+
<div class="row">
|
|
40
|
+
<div class="col-sm-4">
|
|
41
|
+
<label class="font_normal_body">卡 号 </label>
|
|
42
|
+
<input type="text" v-model="model.f_card_id" disabled=disabled style="width: 60%" class="input_search">
|
|
43
|
+
</div>
|
|
44
|
+
<div class="col-sm-4">
|
|
45
|
+
<label class="font_normal_body">卡 费 </label>
|
|
46
|
+
<input type="text" v-model="model.f_cardfees" style="width: 60%" class="input_search">
|
|
47
|
+
</div>
|
|
48
|
+
<div class="col-sm-4">
|
|
49
|
+
<!-- <label class="font_normal_body">付款方式</label>-->
|
|
50
|
+
<!-- <input type="text" v-model="model.f_payment" style="width: 60%" class="input_search">-->
|
|
51
|
+
<label class="font_normal_body" title="参数:付款方式">付款方式</label>
|
|
52
|
+
<v-select id="f_payment"
|
|
53
|
+
v-model="model.f_payment" :value-single="true"
|
|
54
|
+
class="select_list select"
|
|
55
|
+
:value.sync="model.f_payment"
|
|
56
|
+
:options='paytype'
|
|
57
|
+
close-on-select>
|
|
58
|
+
</v-select>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="row">
|
|
62
|
+
<div class="col-sm-4">
|
|
63
|
+
<label class="font_normal_body" title="参数:票据类型">票据类型</label>
|
|
64
|
+
<v-select :value.sync="model.f_bill_style" v-model="model.f_bill_style"
|
|
65
|
+
:options='papertype' :value-single="true"
|
|
66
|
+
class="select_list select"
|
|
67
|
+
close-on-select></v-select>
|
|
68
|
+
<!-- <label class="font_normal_body">票据类型</label>-->
|
|
69
|
+
<!-- <input type="text" v-model="model.f_bill_style" style="width: 60%" class="input_search">-->
|
|
70
|
+
</div>
|
|
71
|
+
<div class="col-sm-4">
|
|
72
|
+
<label class="font_normal_body">是否接表</label>
|
|
73
|
+
<input type="text" v-model="model.f_ispick_table" disabled=disabled style="width: 60%" class="input_search">
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-sm-4">
|
|
76
|
+
<label class="font_normal_body">补卡原因</label>
|
|
77
|
+
<input type="text" v-model="model.f_comments" style="width: 60%" class="input_search">
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="row">
|
|
81
|
+
<div class="col-sm-4">
|
|
82
|
+
<label class="font_normal_body">补卡日期</label>
|
|
83
|
+
<datepicker id="f_fillcard_date" placeholder="补卡日期" style="width:60%"
|
|
84
|
+
v-model="model.f_operate_date"
|
|
85
|
+
:value.sync="model.f_operate_date"
|
|
86
|
+
:format="'yyyy-MM-dd'"
|
|
87
|
+
:show-reset-button="true">
|
|
88
|
+
</datepicker>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="col-sm-4">
|
|
91
|
+
<label class="font_normal_body">补卡状态</label>
|
|
92
|
+
<!-- <input type="text" v-model="model.f_fillcard_state" disabled=disabled style="width: 60%" class="input_search">-->
|
|
93
|
+
<v-select :value.sync="model.f_state" v-model="model.f_state"
|
|
94
|
+
:options='fillcard_state' :value-single="true"
|
|
95
|
+
class="select_list select"
|
|
96
|
+
close-on-select></v-select>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="col-sm-4">
|
|
99
|
+
<label class="font_normal_body">组 织 </label>
|
|
100
|
+
<input type="text" v-model="model.f_orgname" disabled=disabled style="width: 60%" class="input_search">
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
</div>
|
|
104
|
+
<div class="row">
|
|
105
|
+
<div class="col-sm-4">
|
|
106
|
+
<label class="font_normal_body">部 门 </label>
|
|
107
|
+
<input type="text" v-model="model.f_depname" disabled=disabled style="width: 60%" class="input_search">
|
|
108
|
+
</div>
|
|
109
|
+
<div class="col-sm-4 ">
|
|
110
|
+
<label class="font_normal_body" title="参数:操作人员查询">操作人员</label>
|
|
111
|
+
<v-select :value.sync="model.f_operatorid"
|
|
112
|
+
v-model="model.f_operatorid"
|
|
113
|
+
:value-single="true" @change="selectoperator()"
|
|
114
|
+
:options='foperator'
|
|
115
|
+
close-on-select></v-select>
|
|
116
|
+
</div>
|
|
117
|
+
<div class="col-sm-4">
|
|
118
|
+
<label class="font_normal_body">流水号 </label>
|
|
119
|
+
<input type="text" v-model="model.f_serial_id" disabled=disabled style="width: 60%" class="input_search">
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</form>
|
|
123
|
+
<div style="float: right">
|
|
124
|
+
<button class="button_search" @click="save">保存</button>
|
|
125
|
+
<button class="button_clear" @click="cancel">取消</button>
|
|
126
|
+
</div>
|
|
127
|
+
</validator>
|
|
128
|
+
<!--<modal :show.sync="showfiles" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">-->
|
|
129
|
+
<!--<article slot="modal-body">-->
|
|
130
|
+
<!--<upload :blodid="model.f_userinfo_id" :businessid="model.id" v-ref:upload fusetype="收费" isremark="true" style="width:auto" ></upload>-->
|
|
131
|
+
<!--</article>-->
|
|
132
|
+
<!--<footer slot="modal-footer" class="modal-footer">-->
|
|
133
|
+
<!--</footer>-->
|
|
134
|
+
<!--</modal>-->
|
|
135
|
+
<!--<!–文件上传按钮–>-->
|
|
136
|
+
<!--<button class="button_search" style="width: max-content" @click="uploadFiles()">上传附件</button>-->
|
|
137
|
+
</div>
|
|
138
|
+
</template>
|
|
139
|
+
|
|
140
|
+
<script>
|
|
141
|
+
|
|
142
|
+
import {HttpResetClass} from 'vue-client'
|
|
143
|
+
import * as Util from '../../Util'
|
|
144
|
+
|
|
145
|
+
let readyGen = async function (self) {
|
|
146
|
+
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
147
|
+
await self.$GetSaleParam.initinputtor()
|
|
148
|
+
await self.initoperator()
|
|
149
|
+
}
|
|
150
|
+
export default {
|
|
151
|
+
title: '基本信息',
|
|
152
|
+
data () {
|
|
153
|
+
return {
|
|
154
|
+
equipmentType: this.$appdata.getParam('打印格式') ? [{
|
|
155
|
+
label: '',
|
|
156
|
+
value: ''
|
|
157
|
+
}, ...this.$appdata.getParam('打印格式')] : [],
|
|
158
|
+
// 构建数组来存储对象
|
|
159
|
+
editbank: true,
|
|
160
|
+
uploadText: '收费',
|
|
161
|
+
papertype: this.$appdata.getParam('票据类型') ? [{
|
|
162
|
+
label: '',
|
|
163
|
+
value: ''
|
|
164
|
+
}, ...this.$appdata.getParam('票据类型')] : [],
|
|
165
|
+
paytype: this.$appdata.getParam('付款方式') ? [{
|
|
166
|
+
label: '',
|
|
167
|
+
value: ''
|
|
168
|
+
}, ...this.$appdata.getParam('付款方式')] : [],
|
|
169
|
+
showfiles: false,
|
|
170
|
+
recordList: [],
|
|
171
|
+
foperator: [],
|
|
172
|
+
fileNameSet: {
|
|
173
|
+
// 要更改字段的中文名
|
|
174
|
+
'f_cardfees': '卡费',
|
|
175
|
+
'f_payment': '付款方式',
|
|
176
|
+
'f_bill_style': '票据类型',
|
|
177
|
+
'f_reason': '补卡原因',
|
|
178
|
+
'f_fillcard_date': '补卡日期',
|
|
179
|
+
'f_state': '补卡状态',
|
|
180
|
+
'f_operator': '操作人'
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
props: {
|
|
185
|
+
oldmodel: Object,
|
|
186
|
+
model: Object
|
|
187
|
+
},
|
|
188
|
+
|
|
189
|
+
ready () {
|
|
190
|
+
if (this.$login.r.includes('维护补卡信息')) {
|
|
191
|
+
this.editbank = true
|
|
192
|
+
}
|
|
193
|
+
this.oldmodel = JSON.parse(JSON.stringify(this.model))
|
|
194
|
+
this.model.f_bill_state = [this.oldmodel]
|
|
195
|
+
readyGen(this)
|
|
196
|
+
},
|
|
197
|
+
created () {
|
|
198
|
+
},
|
|
199
|
+
methods: {
|
|
200
|
+
initoperator () {
|
|
201
|
+
this.foperator = []
|
|
202
|
+
console.log('this.$login-------------------------', this.$login, this.oldmodel, this.model)
|
|
203
|
+
let arr = this.$GetSaleParam.inputtors.filter((res) => {
|
|
204
|
+
if (res.rolestr != null && res.rolestr != '') {
|
|
205
|
+
return (res.rolestr.indexOf('收费员') > -1 || res.rolestr.indexOf('话务员') > -1) && res.f_orgid == this.$login.f.orgid
|
|
206
|
+
}
|
|
207
|
+
})
|
|
208
|
+
arr.forEach((res) => {
|
|
209
|
+
this.foperator.push({label: res.name, value: res.id})
|
|
210
|
+
})
|
|
211
|
+
},
|
|
212
|
+
selectoperator () {
|
|
213
|
+
let id = this.model.f_operatorid
|
|
214
|
+
if (!this.model.f_operatorid) {
|
|
215
|
+
return
|
|
216
|
+
}
|
|
217
|
+
let http = new HttpResetClass()
|
|
218
|
+
http.load('POST', 'api/af-revenue/sql/saleSingleTable',
|
|
219
|
+
{
|
|
220
|
+
data: {
|
|
221
|
+
tablename: 't_user',
|
|
222
|
+
condition: `id = '${id}'`
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
226
|
+
console.log('kanak,res', res)
|
|
227
|
+
if (res.data.length > 0) {
|
|
228
|
+
this.model.f_operator = res.data[0].name
|
|
229
|
+
} else {
|
|
230
|
+
this.model.f_operatorid = ''
|
|
231
|
+
this.$showAlert('操作员信息未找到', 'warning', 2000)
|
|
232
|
+
}
|
|
233
|
+
console.log('this.f_operatorid', this.model.f_operator)
|
|
234
|
+
})
|
|
235
|
+
},
|
|
236
|
+
cancel () {
|
|
237
|
+
this.$dispatch('close')
|
|
238
|
+
},
|
|
239
|
+
uploadFiles () {
|
|
240
|
+
this.showfiles = !this.showfiles
|
|
241
|
+
},
|
|
242
|
+
addressValid (val) {
|
|
243
|
+
},
|
|
244
|
+
save () {
|
|
245
|
+
// console.log(this.model.key)
|
|
246
|
+
this.recordList = [] // 清空,防止重复提交
|
|
247
|
+
console.log('newdate' + new Date())
|
|
248
|
+
console.log('MODEL BEFORE:', this.model)
|
|
249
|
+
for (var item in this.model) {
|
|
250
|
+
if (this.model[item] instanceof Array) {
|
|
251
|
+
this.model[item] = this.model[item].length > 0 ? this.model[item][0] : ''
|
|
252
|
+
}
|
|
253
|
+
if (this.model[item] != this.oldmodel[item] && this.model[item] != 's_timestamp') {
|
|
254
|
+
var car = { // 需要更改的字段
|
|
255
|
+
// t_fillcard
|
|
256
|
+
id: this.model.id,
|
|
257
|
+
f_user_id: this.model.f_user_id,
|
|
258
|
+
chinesename: this.fileNameSet[item],
|
|
259
|
+
fieldname: item,
|
|
260
|
+
tablename: 't_fillcard',
|
|
261
|
+
oldvalue: this.oldmodel[item],
|
|
262
|
+
newvalue: this.model[item],
|
|
263
|
+
state: '有效',
|
|
264
|
+
modifitime: Util.toStandardTimeString(),
|
|
265
|
+
operator: this.$login.f.name,
|
|
266
|
+
changemeter_id: this.model.id,
|
|
267
|
+
f_operate_date: this.model.f_operate_date,
|
|
268
|
+
f_cardfees: this.model.f_cardfees ? this.model.f_cardfees : null,
|
|
269
|
+
f_payment: this.model.f_payment,
|
|
270
|
+
f_bill_style: this.model.f_bill_style,
|
|
271
|
+
f_reason: this.model.f_comments ? this.model.f_comments : '',
|
|
272
|
+
f_fillcard_date: this.model.f_operate_date,
|
|
273
|
+
f_operator: this.$login.f.name,
|
|
274
|
+
f_operatorid: this.$login.f.id,
|
|
275
|
+
f_orgid: this.$login.f.orgid,
|
|
276
|
+
f_orgname: this.$login.f.orgs,
|
|
277
|
+
f_depid: this.$login.f.depids,
|
|
278
|
+
f_depname: this.$login.f.deps
|
|
279
|
+
}
|
|
280
|
+
this.recordList.push(car)
|
|
281
|
+
// 该方法并未对chinesename fieldname operator等进行判断赋值,此暂写为定值
|
|
282
|
+
console.log('看看car的值', car)
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
this.model.f_reason = this.model.f_comments ? this.model.f_comments : ''
|
|
287
|
+
this.model.f_fillcard_date = this.model.f_operate_date
|
|
288
|
+
console.log('model--------abc-', this.model)
|
|
289
|
+
this.$resetpost('api/af-revenue/logic/replacementCardSaving', {
|
|
290
|
+
data: {
|
|
291
|
+
recordlist: this.recordList,
|
|
292
|
+
newData: this.model
|
|
293
|
+
}
|
|
294
|
+
}).then((res) => {
|
|
295
|
+
console.log('this.model', this.model)
|
|
296
|
+
})
|
|
297
|
+
this.$dispatch('close')
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
computed: {
|
|
301
|
+
fillcard_state () {
|
|
302
|
+
return [...this.$appdata.getParam('补卡状态')]
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
watch: {
|
|
306
|
+
'model' () {
|
|
307
|
+
this.initoperator()
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
</script>
|
|
312
|
+
|
|
313
|
+
<style scoped>
|
|
314
|
+
|
|
315
|
+
</style>
|