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.
Files changed (148) hide show
  1. package/build/dev-server.js +58 -36
  2. package/index.html +7 -2
  3. package/package.json +1 -1
  4. package/src/App.vue +1 -1
  5. package/src/components/FilesManage/FileUserFiles.vue +1 -1
  6. package/src/components/revenue/Common/EticketPrint.vue +2 -2
  7. package/src/components/revenue/HandManager/CardHand.vue +6 -6
  8. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  9. package/src/components/revenue/cardHandManage/cardDown.vue +6 -6
  10. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  11. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  12. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  13. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +1 -1
  14. package/src/components/webMeter/paramSave/ParamSetForm.vue +1 -1
  15. package/src/filiale/alashan/FileUserFiles.vue +1 -1
  16. package/src/filiale/alashan/eticket/EticketPrint.vue +2 -2
  17. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  18. package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1 -1
  19. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  20. package/src/filiale/bayan/FilesManage/FileUserFiles.vue +1 -1
  21. package/src/filiale/bayan/StockListmain.vue +543 -543
  22. package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
  23. package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
  24. package/src/filiale/bazhong/sale.js +8 -8
  25. package/src/filiale/beifangshiye/FilesManage/FileUserFiles.vue +1 -1
  26. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  27. package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1 -1
  28. package/src/filiale/dexin/FileUserFiles.vue +1 -1
  29. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1 -1
  30. package/src/filiale/dongguan/components/common/userinfo_detail/WebMeterBatchOperationValve.vue +1 -1
  31. package/src/filiale/fugou/FileUserFiles.vue +1 -1
  32. package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +1 -1
  33. package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +1 -1
  34. package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -1
  35. package/src/filiale/gehua/FileUserFiles.vue +1 -1
  36. package/src/filiale/guangxi/WebMeterBatchOperationValve.vue +1 -1
  37. package/src/filiale/haile/FilesManage/FileUserFiles.vue +1 -1
  38. package/src/filiale/hantou/WebMeterBatchOperationValve.vue +1 -1
  39. package/src/filiale/huaran/FilesManage/FileUserFiles.vue +1 -1
  40. package/src/filiale/huayin/FileUserFiles.vue +1 -1
  41. package/src/filiale/jingwei/FileUserFiles.vue +1 -1
  42. package/src/filiale/jingyang/EticketPrint.vue +2 -2
  43. package/src/filiale/jingyang/GovernmentSell.vue +1 -1
  44. package/src/filiale/jinhuang/WebHand.vue +1026 -1026
  45. package/src/filiale/jinhuang/cardsHand.vue +8 -8
  46. package/src/filiale/kelai/FileUserFilesKeLai.vue +1 -1
  47. package/src/filiale/konggang/FileUserFiles.vue +1 -1
  48. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  49. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  50. package/src/filiale/macheng/EstimateManager.vue +1 -1
  51. package/src/filiale/macheng/FileUserFiles.vue +1 -1
  52. package/src/filiale/meihekou/FileUserFiles.vue +1 -1
  53. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  54. package/src/filiale/ningjin/FileUserFiles.vue +1 -1
  55. package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -1
  56. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +1 -1
  57. package/src/filiale/qingjian/FileUserFiles.vue +1 -1
  58. package/src/filiale/rizhao/FileUserFiles.vue +1 -1
  59. package/src/filiale/rongcheng/FileUserFiles.vue +1 -1
  60. package/src/filiale/rongchuang/FilesManage/FileUserFiles.vue +1 -1
  61. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  62. package/src/filiale/ronghao/CardService.js +2144 -2144
  63. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  64. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  65. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  66. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  67. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  68. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  69. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  70. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  71. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  72. package/src/filiale/ronghao/Upload.vue +654 -654
  73. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  74. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  75. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  76. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  77. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  78. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  79. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  80. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  81. package/src/filiale/ronghao/specificInformation.vue +537 -537
  82. package/src/filiale/shanggao/FileUserFiles.vue +1 -1
  83. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1 -1
  84. package/src/filiale/shanxian/components/webMeter/WebMeterBatchOperationValve.vue +1 -1
  85. package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +1 -1
  86. package/src/filiale/shaoguan/Message/MessageList.vue +1 -1
  87. package/src/filiale/shexian/FilesManage/FileUserFiles.vue +1 -1
  88. package/src/filiale/wenxi/FileUserFiles.vue +1 -1
  89. package/src/filiale/wuan/FileUserFiles.vue +1 -1
  90. package/src/filiale/xinkang/WebMeterBatchOperationValve.vue +1 -1
  91. package/src/filiale/yangchun/ChargeList.vue +954 -954
  92. package/src/filiale/yangchun/EticketPrint.vue +2 -2
  93. package/src/filiale/yangchun/FilesManage/FileUserFiles.vue +1 -1
  94. package/src/filiale/yuncheng/FileManageService.js +469 -469
  95. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  96. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  97. package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1 -1
  98. package/src/filiale/zhongyi/FileUserFiles.vue +1 -1
  99. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  100. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  101. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  102. package/.gradle/5.2.1/gc.properties +0 -0
  103. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  104. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  105. package/.gradle/vcs-1/gc.properties +0 -0
  106. package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
  107. package/src/components/FilesManage/ncUserinfoList.vue +0 -315
  108. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
  109. package/src/components/SendCard/SendCardData.vue +0 -208
  110. package/src/components/accounts/accountAdd.vue +0 -276
  111. package/src/components/accounts/accountsList.vue +0 -183
  112. package/src/components/accounts/accountsManage.vue +0 -87
  113. package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
  114. package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
  115. package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
  116. package/src/components/ncarchives/ncArchivesList.vue +0 -159
  117. package/src/components/ncarchives/ncUserfilesList.vue +0 -373
  118. package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
  119. package/src/components/revenue/IOTArrears/arrears.vue +0 -323
  120. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
  121. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
  122. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
  123. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
  124. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
  125. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
  126. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
  127. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
  128. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
  129. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
  130. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
  131. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
  132. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
  133. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
  134. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
  135. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
  136. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
  137. package/src/components/thirdapply/thirdAdd.vue +0 -289
  138. package/src/components/thirdapply/thirdList.vue +0 -162
  139. package/src/components/thirdapply/thirdManage.vue +0 -74
  140. package/src/components/webMeter/InstructQuery.vue +0 -414
  141. package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
  142. package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
  143. package/src/components/webMeter/WebUserHand.vue +0 -483
  144. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
  145. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
  146. package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
  147. package/src/plugins/FileManageServicets.js +0 -214
  148. package/src/plugins/GetImg.js +0 -53
@@ -1,279 +0,0 @@
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 form-group">
7
- <label class="font_normal_body">用户姓名</label>
8
- <input type="text" v-model="model.f_user_name" disabled=disabled style="width: 60%" class="input_search">
9
- </div>
10
- <div class="col-sm-4 form-group">
11
- <label class="font_normal_body" title="参数:收费状态">收费状态</label>
12
- <!-- <input type="text" v-model="model.f_charge_state" disabled=disabled style="width: 60%" class="input_search">-->
13
- <v-select :value.sync="model.f_state" v-model="model.f_state"
14
- :value-single="true"
15
- :search="false"
16
- disabled=disabled
17
- :options='positions' placeholder='收费状态'
18
- close-on-select>
19
- </v-select>
20
- </div>
21
- <div class="col-sm-4 form-group">
22
- <label class="font_normal_body" title="参数:写卡状态">写卡状态</label>
23
- <!-- <input type="text" v-model="model.f_write_card" style="width: 60%" class="input_search">-->
24
- <v-select :value.sync="model.f_write_card" v-model="model.f_write_card"
25
- :options='writeCards' placeholder='写卡状态'
26
- :value-single="true"
27
- :search="false"
28
- disabled=disabled
29
- close-on-select>
30
- </v-select>
31
- </div>
32
- </div>
33
- <div class="row">
34
- <div class="col-sm-12 form-group">
35
- <label class="font_normal_body">地&emsp;&emsp;址</label>
36
- <input type="text" v-model="model.f_address" disabled=disabled style="width: 86.5%" class="input_search">
37
- </div>
38
- </div>
39
- <div class="row">
40
- <!--<div class="col-sm-4 form-group">
41
- <label class="font_normal_body">用户编号</label>
42
- <input type="text" v-model="model.f_userinfo_code" disabled=disabled style="width: 60%" class="input_search">
43
- </div>-->
44
- <div class="col-sm-4 form-group">
45
- <label class="font_normal_body" title="参数:付款方式">付款方式</label>
46
- <!-- <input type="text" v-model="model.f_payment" style="width: 60%" class="input_search">-->
47
- <v-select :value.sync="model.f_payment" v-model="model.f_payment"
48
- :options='payments' placeholder='付款方式'
49
- :value-single="true"
50
- :search="false"
51
- close-on-select>
52
- </v-select>
53
- </div>
54
-
55
- <div class="col-sm-4 form-group">
56
- <label class="font_normal_body">收款金额</label>
57
- <input type="text" v-model="model.f_collection" disabled=disabled style="width: 60%" class="input_search">
58
- </div>
59
- <!--<div class="col-sm-4 form-group">-->
60
- <!--<label class="font_normal_body">收据类型</label>-->
61
- <!--<input type="text" v-model="model.f_bill_style" style="width: 60%" class="input_search">-->
62
- <!--</div>-->
63
- </div>
64
- <div class="row">
65
- <div class="col-sm-4 form-group">
66
- <label class="font_normal_body">操作时间</label>
67
- <!--<input type="text" v-model="model.f_delivery_date" style="width: 60%" class="input_search">-->
68
- <datepicker id="f_delivery_date" placeholder="操作时间" style="width:60%"
69
- v-model="model.f_operate_date"
70
- disabled=disabled
71
- :value.sync="model.f_operate_date"
72
- :format="'yyyy-MM-dd HH:mm:ss'"
73
- :show-reset-button="true">
74
- </datepicker>
75
- </div>
76
- <div class="col-sm-4 form-group">
77
- <label class="font_normal_body">购气气量</label>
78
- <input type="text" v-model="model.f_pregas" disabled=disabled style="width: 60%" class="input_search">
79
- </div>
80
- <div class="col-sm-4 form-group">
81
- <label class="font_normal_body">购气金额</label>
82
- <input type="text" v-model="model.f_preamount" disabled=disabled style="width: 60%" class="input_search">
83
- </div>
84
- </div>
85
- <div class="row">
86
- <!-- <res-select-group :show-component="resshow" :style="style" @re-res="getRes" :initres="initres" :mul="false" v-ref:sel></res-select-group>-->
87
- <div class="col-sm-4 form-group">
88
- <label class="font_normal_body">操作人员</label>
89
- <input type="text" v-model="model.f_operator" disabled=disabled style="width: 60%" class="input_search">
90
- </div>
91
- <div class="col-sm-4 form-group">
92
- <label class="font_normal_body">所属部门</label>
93
- <input type="text" v-model="model.f_depname" disabled=disabled style="width: 60%" class="input_search">
94
- </div>
95
- <div class="col-sm-4 form-group">
96
- <label class="font_normal_body" title="打印格式">收据类型</label>
97
- <v-select id="f_bill_style"
98
- placeholder='收据类型'
99
- :value-single="true" disabled
100
-
101
- :value.sync="model.f_bill_style"
102
- :options='equipmentType'
103
- close-on-select clear-button>
104
- </v-select>
105
- </div>
106
- </div>
107
-
108
-
109
- <div class="col-sm-12 form-group">
110
- <!-- <label class="font_normal_body">所属公司</label>-->
111
- <!-- <input type="text" v-model="model.f_orgname" disabled=disabled style="width: 86.5%" class="input_search">-->
112
- <label class="font_normal_body">所属公司</label>
113
- <res-select v-ref:select
114
- :initresid='curorgid'
115
- :is-mul ="false"
116
- @res-select="getorg"
117
- restype='organization'
118
- >
119
- </res-select>
120
- </div>
121
-
122
- <div class="row">
123
- <div class="col-sm-12 form-group">
124
- <label class="font_normal_body">备注信息</label>
125
- <input type="text" v-model="model.f_comments" style="width: 85%" class="input_search">
126
- </div>
127
- </div>
128
- </form>
129
- <div style="float: right">
130
- <button v-if="model.f_operator == this.$login.f.name " class="button_search" @click="save">保存</button>
131
- <button class="button_clear" @click="cancel">取消</button>
132
- </div>
133
- </validator>
134
- <modal :show.sync="showfiles" width="80%" style="width:auto;" v-ref:modal backdrop="false">
135
- <article slot="modal-body">
136
- <upload :blodid="model.f_userinfo_id" :businessid="model.id" v-ref:upload fusetype="收费" isremark="true" style="width:auto" ></upload>
137
- </article>
138
- <footer slot="modal-footer" class="modal-footer">
139
- </footer>
140
- </modal>
141
- <!--文件上传按钮-->
142
- <!-- <button class="button_search" style="width: max-content" @click="uploadFiles()">上传附件</button>-->
143
- </div>
144
- </template>
145
- <script>
146
- import Vue from 'vue'
147
- import {HttpResetClass} from 'vue-client'
148
-
149
- var data
150
- export default {
151
- title: '基本信息',
152
-
153
- data () {
154
- return {
155
- style: {
156
- type: String,
157
- default: 'col-sm-2 form-group reshowtype'
158
- },
159
- equipmentType: this.$appdata.getParam('打印格式') ? [{label: '', value: ''}, ...this.$appdata.getParam('打印格式')] : [],
160
- // 构建数组来存储对象
161
- editbank: true,
162
- uploadText: '收费',
163
- curorgid:[],
164
- showfiles: false,
165
- recordList: [],
166
- initres: {
167
- org:[this.$login.f.orgid],
168
- dep:[this.$login.f.depids],
169
- user:[this.$login.f.id]
170
- },
171
- resshow:['operator'],
172
- fileNameSet:{
173
- 'f_payment': '付款方式',
174
- 'f_orgid': '分公司编号',
175
- 'f_comments': '备注信息'
176
- },
177
- }
178
- },
179
- props: {
180
- oldmodel: Object,
181
- model: Object
182
- },
183
- watch:{
184
- 'model'(val) {
185
- this.curorgid = [this.model.f_orgid]
186
- console.log(this.$refs.select)
187
- this.$refs.select.selectres = [this.model.f_orgid]
188
- }
189
- },
190
- ready () {
191
- this.oldmodel = JSON.parse(JSON.stringify(this.model))
192
- this.model.f_bill_state = [this.oldmodel]
193
- this.curorgid = [this.$login.f.orgid]
194
- },
195
- created () {
196
- },
197
- methods: {
198
- getRes(obj,objs){
199
- if(objs.operatornames.length>0){
200
- this.model.f_operator_id = objs.operatornames[0];
201
- }
202
- },
203
- getorg(val) {
204
- console.log(val)
205
- this.model.f_filialedid = val[0]
206
- this.model.f_orgid = val[0]
207
- // this.getPricenames = this.$GetSaleParam.getPriceByOrg(this.f_filialeid)
208
- },
209
- selectoperator(){
210
- let f_operator=this.model.f_operator
211
- console.log("处理签的this.f_operatorid",this.f_operatorid)
212
- let http = new HttpResetClass()
213
- http.load('POST', 'rs/logic/findOperator',
214
- {f_operator: f_operator},
215
- {resolveMsg: null, rejectMsg: null}).then((res) => {
216
- console.log("kanak,res",res)
217
- this.model.f_operatorid = res.data[0].id
218
- console.log("this.f_operatorid",this.f_operatorid)
219
- })
220
- },
221
- cancel () {
222
- this.$dispatch('close')
223
- },
224
- uploadFiles(){
225
- this.showfiles= !this.showfiles
226
- },
227
- addressValid (val) {
228
- },
229
- save () {
230
- this.recordList = [];
231
- for (var item in this.model) {
232
- //保证只能修改 付款方式和 备注
233
- if (this.model[item] != this.oldmodel[item] && (item == "f_payment"|| item == "f_comments" || item == "f_orgid" ) ) {
234
- var car = {
235
- chinesename: this.fileNameSet[item],
236
- fieldname: item,
237
- tablename: 't_sellinggas',
238
- oldvalue: this.oldmodel[item],
239
- newvalue: this.model[item],
240
- state: '有效',
241
- modifitime: new Date(),
242
- operator: this.$login.f.name,
243
- sellingas_id: this.model.id
244
- }
245
- this.recordList.push(car)
246
- // 该方法并未对chinesename fieldname operator等进行判断赋值,此暂写为定值
247
- }
248
- }
249
- this.$resetpost('rs/logic/saveing', {data: {recordlist: this.recordList, newData: this.model}}).then((res) => {
250
- console.log('this.model', this.model)
251
- })
252
- this.$dispatch('close')
253
- }
254
- },
255
- computed: {
256
- foperator() {
257
- return [...this.$appdata.getParam('操作人员')]
258
- },
259
- positions() {
260
- return this.$appdata.getParam('收费状态')
261
- },
262
- payments() {
263
- return this.$appdata.getParam('付款方式')
264
- },
265
- writeCards() {
266
- return this.$appdata.getParam('写卡状态')
267
- },
268
- billStyles() {
269
- return this.$appdata.getParam('收据类型')
270
- }
271
- },
272
- }
273
- </script>
274
- <style >
275
- .reshowtype {
276
- width:50%;
277
- }
278
- </style>
279
-
@@ -1,265 +0,0 @@
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 form-group">
7
- <label class="font_normal_body">用户姓名</label>
8
- <input type="text" v-model="model.f_user_name" style="width: 60%" class="input_search">
9
- </div>
10
- <div class="col-sm-4 form-group">
11
- <label class="font_normal_body" title="参数:收费状态">收费状态</label>
12
- <!-- <input type="text" v-model="model.f_charge_state" style="width: 60%" class="input_search">-->
13
- <v-select :value.sync="model.f_state" v-model="model.f_state"
14
- :value-single="true"
15
- :search="false"
16
- :options='positions' placeholder='收费状态'
17
- close-on-select>
18
- </v-select>
19
- </div>
20
- <div class="col-sm-4 form-group">
21
- <label class="font_normal_body" title="参数:写卡状态">写卡状态</label>
22
- <!-- <input type="text" v-model="model.f_write_card" style="width: 60%" class="input_search">-->
23
- <v-select :value.sync="model.f_write_card" v-model="model.f_write_card"
24
- :options='writeCards' placeholder='写卡状态'
25
- :value-single="true"
26
- :search="false"
27
- close-on-select>
28
- </v-select>
29
- </div>
30
- </div>
31
- <div class="row">
32
- <div class="col-sm-12 form-group">
33
- <label class="font_normal_body">地&emsp;&emsp;址</label>
34
- <input type="text" v-model="model.f_address" style="width: 86.5%" class="input_search">
35
- </div>
36
- </div>
37
- <div class="row">
38
- <!--<div class="col-sm-4 form-group">
39
- <label class="font_normal_body">用户编号</label>
40
- <input type="text" v-model="model.f_userinfo_code" style="width: 60%" class="input_search">
41
- </div>-->
42
- <div class="col-sm-4 form-group">
43
- <label class="font_normal_body" title="参数:付款方式">付款方式</label>
44
- <!-- <input type="text" v-model="model.f_payment" style="width: 60%" class="input_search">-->
45
- <v-select :value.sync="model.f_payment" v-model="model.f_payment"
46
- :options='payments' placeholder='付款方式'
47
- :value-single="true"
48
- :search="false"
49
- close-on-select>
50
- </v-select>
51
- </div>
52
-
53
- <div class="col-sm-4 form-group">
54
- <label class="font_normal_body">收款金额</label>
55
- <input type="text" v-model="model.f_collection" style="width: 60%" class="input_search">
56
- </div>
57
- <!--<div class="col-sm-4 form-group">-->
58
- <!--<label class="font_normal_body">收据类型</label>-->
59
- <!--<input type="text" v-model="model.f_bill_style" style="width: 60%" class="input_search">-->
60
- <!--</div>-->
61
- </div>
62
- <div class="row">
63
- <div class="col-sm-4 form-group">
64
- <label class="font_normal_body">操作时间</label>
65
- <!--<input type="text" v-model="model.f_delivery_date" style="width: 60%" class="input_search">-->
66
- <datepicker id="f_delivery_date" placeholder="操作时间" style="width:60%"
67
- v-model="model.f_operate_date"
68
- :value.sync="model.f_operate_date"
69
- :format="'yyyy-MM-dd HH:mm:ss'"
70
- :show-reset-button="true">
71
- </datepicker>
72
- </div>
73
- <div class="col-sm-4 form-group">
74
- <label class="font_normal_body">购气气量</label>
75
- <input type="text" v-model="model.f_pregas" style="width: 60%" class="input_search">
76
- </div>
77
- <div class="col-sm-4 form-group">
78
- <label class="font_normal_body">购气金额</label>
79
- <input type="text" v-model="model.f_preamount" style="width: 60%" class="input_search">
80
- </div>
81
- </div>
82
- <div class="row">
83
- <!-- <res-select-group :show-component="resshow" :style="style" @re-res="getRes" :initres="initres" :mul="false" v-ref:sel></res-select-group>-->
84
- <div class="col-sm-4 form-group">
85
- <label class="font_normal_body">操作人员</label>
86
- <input type="text" v-model="model.f_operator" disabled=disabled style="width: 60%" class="input_search">
87
- </div>
88
- <div class="col-sm-4 form-group">
89
- <label class="font_normal_body">所属部门</label>
90
- <input type="text" v-model="model.f_depname" disabled=disabled style="width: 60%" class="input_search">
91
- </div>
92
- <div class="col-sm-4 form-group">
93
- <label class="font_normal_body" title="打印格式">收据类型</label>
94
- <v-select id="f_bill_style"
95
- placeholder='收据类型'
96
- :value-single="true"
97
- :value.sync="model.f_bill_style"
98
- :options='equipmentType'
99
- close-on-select clear-button>
100
- </v-select>
101
- </div>
102
- </div>
103
-
104
- <div class="row">
105
- <div class="col-sm-12 form-group">
106
- <label class="font_normal_body">所属公司</label>
107
- <input type="text" v-model="model.f_orgname" disabled=disabled style="width: 86.5%" class="input_search">
108
- </div>
109
-
110
- </div>
111
- <div class="row">
112
- <div class="col-sm-12 form-group">
113
- <label class="font_normal_body">备注信息</label>
114
- <input type="text" v-model="model.f_comments" style="width: 85%" class="input_search">
115
- </div>
116
- </div>
117
- </form>
118
- <div style="float: right">
119
- <button v-if="model.f_operator == this.$login.f.name " class="button_search" @click="save">保存</button>
120
- <button class="button_clear" @click="cancel">取消</button>
121
- </div>
122
- </validator>
123
- <modal :show.sync="showfiles" width="80%" style="width:auto;" v-ref:modal backdrop="false">
124
- <article slot="modal-body">
125
- <upload :blodid="model.f_userinfo_id" :businessid="model.id" v-ref:upload fusetype="收费" isremark="true" style="width:auto" ></upload>
126
- </article>
127
- <footer slot="modal-footer" class="modal-footer">
128
- </footer>
129
- </modal>
130
- <!--文件上传按钮-->
131
- <!-- <button class="button_search" style="width: max-content" @click="uploadFiles()">上传附件</button>-->
132
- </div>
133
- </template>
134
- <script>
135
- import Vue from 'vue'
136
- import {HttpResetClass} from 'vue-client'
137
- import * as Util from "../../../../Util";
138
-
139
- var data
140
- export default {
141
- title: '基本信息',
142
-
143
- data () {
144
- return {
145
- style: {
146
- type: String,
147
- default: 'col-sm-2 form-group reshowtype'
148
- },
149
- equipmentType: this.$appdata.getParam('打印格式') ? [{label: '', value: ''}, ...this.$appdata.getParam('打印格式')] : [],
150
- // 构建数组来存储对象
151
- editbank: true,
152
- uploadText: '收费',
153
- showfiles: false,
154
- recordList: [],
155
- initres: {
156
- org:[this.$login.f.orgid],
157
- dep:[this.$login.f.depids],
158
- user:[this.$login.f.id]
159
- },
160
- resshow:['operator'],
161
- fileNameSet:{
162
- 'f_payment': '付款方式',
163
- 'f_comments': '备注信息'
164
- },
165
- }
166
- },
167
- props: {
168
- oldmodel: Object,
169
- model: Object
170
- },
171
-
172
- ready () {
173
- this.oldmodel = JSON.parse(JSON.stringify(this.model))
174
- this.model.f_bill_state = [this.oldmodel]
175
- },
176
- created () {
177
- },
178
- methods: {
179
- getRes(obj,objs){
180
- if(objs.operatornames.length>0){
181
- this.model.f_operator_id = objs.operatornames[0];
182
- }
183
- },
184
- selectoperator(){
185
- let f_operator=this.model.f_operator
186
- console.log("处理签的this.f_operatorid",this.f_operatorid)
187
- let http = new HttpResetClass()
188
- http.load('POST', 'rs/logic/findOperator',
189
- {f_operator: f_operator},
190
- {resolveMsg: null, rejectMsg: null}).then((res) => {
191
- console.log("kanak,res",res)
192
- this.model.f_operatorid = res.data[0].id
193
- console.log("this.f_operatorid",this.f_operatorid)
194
- })
195
- },
196
- cancel () {
197
- this.$dispatch('close')
198
- },
199
- uploadFiles(){
200
- this.showfiles= !this.showfiles
201
- },
202
- addressValid (val) {
203
- },
204
- save () {
205
- // console.log(this.model.key)
206
- //
207
- for (var item in this.model) {
208
- if (this.model[item] != this.oldmodel[item] && this.model[item] !='s_timestamp') {
209
- var car = {
210
- chinesename: this.fileNameSet[item],
211
- fieldname: item,
212
- tablename: 't_sellinggas',
213
- oldvalue: this.oldmodel[item],
214
- newvalue: this.model[item],
215
- state: '有效',
216
- modifitime: Util.toStandardTimeString(),
217
- operator: this.$login.f.name,
218
- sellingas_id: this.model.id,
219
- f_operator : this.$login.f.name,
220
- f_operatorid : this.$login.f.id,
221
- f_orgid : this.$login.f.orgid,
222
- f_orgname : this.$login.f.orgs,
223
- f_depid : this.$login.f.depids,
224
- f_depname : this.$login.f.deps
225
-
226
- }
227
- debugger
228
- this.recordList.push(car)
229
- // 该方法并未对chinesename fieldname operator等进行判断赋值,此暂写为定值
230
- }
231
- }
232
- if (this.model.f_bill_date !== '' || this.model.f_bill_date === undefined) {
233
- this.model.f_bill_operator = this.$login.f.name
234
- }
235
- this.$resetpost('rs/logic/saveselling', {data: {recordlist: this.recordList, newData: this.model}}).then((res) => {
236
- console.log('this.model', this.model)
237
- })
238
- this.$dispatch('close')
239
- }
240
- },
241
- computed: {
242
- foperator() {
243
- return [...this.$appdata.getParam('操作人员')]
244
- },
245
- positions() {
246
- return this.$appdata.getParam('收费状态')
247
- },
248
- payments() {
249
- return this.$appdata.getParam('付款方式')
250
- },
251
- writeCards() {
252
- return this.$appdata.getParam('写卡状态')
253
- },
254
- billStyles() {
255
- return this.$appdata.getParam('收据类型')
256
- }
257
- },
258
- }
259
- </script>
260
- <style >
261
- .reshowtype {
262
- width:50%;
263
- }
264
- </style>
265
-