sale-client 4.2.16 → 4.2.17

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 (61) hide show
  1. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  2. package/.gradle/8.10/checksums/checksums.lock +0 -0
  3. package/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/8.10/fileChanges/last-build.bin +0 -0
  7. package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/8.10/gc.properties +0 -0
  10. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  11. package/.gradle/buildOutputCleanup/cache.properties +1 -1
  12. package/.gradle/file-system.probe +0 -0
  13. package/build/dev-server.js +2 -5
  14. package/package.json +1 -1
  15. package/src/filiale/jinhuang/WebHand.vue +1026 -1026
  16. package/src/filiale/tonghua/CardList.vue +578 -0
  17. package/src/filiale/tonghua/sale.js +6 -0
  18. package/src/main.js +1 -1
  19. package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
  20. package/src/components/FilesManage/ncUserinfoList.vue +0 -315
  21. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
  22. package/src/components/SendCard/SendCardData.vue +0 -208
  23. package/src/components/accounts/accountAdd.vue +0 -276
  24. package/src/components/accounts/accountsList.vue +0 -183
  25. package/src/components/accounts/accountsManage.vue +0 -87
  26. package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
  27. package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
  28. package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
  29. package/src/components/ncarchives/ncArchivesList.vue +0 -159
  30. package/src/components/ncarchives/ncUserfilesList.vue +0 -373
  31. package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
  32. package/src/components/revenue/IOTArrears/arrears.vue +0 -323
  33. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
  34. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
  35. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
  36. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
  37. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
  38. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
  39. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
  40. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
  41. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
  42. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
  43. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
  44. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
  45. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
  46. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
  47. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
  48. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
  49. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
  50. package/src/components/thirdapply/thirdAdd.vue +0 -289
  51. package/src/components/thirdapply/thirdList.vue +0 -162
  52. package/src/components/thirdapply/thirdManage.vue +0 -74
  53. package/src/components/webMeter/InstructQuery.vue +0 -414
  54. package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
  55. package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
  56. package/src/components/webMeter/WebUserHand.vue +0 -483
  57. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
  58. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
  59. package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
  60. package/src/plugins/FileManageServicets.js +0 -214
  61. 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
-