apply-clients 5.0.361 → 6.0.3

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 (192) hide show
  1. package/build/css-loaders.js +34 -0
  2. package/build/dev-android.js +101 -0
  3. package/build/dev-client.js +8 -0
  4. package/build/dev-server-app.js +76 -0
  5. package/build/dev-server.js +72 -0
  6. package/build/example-server.js +80 -0
  7. package/build/release.sh +28 -0
  8. package/build/utils.js +80 -0
  9. package/build/webpack.base.conf.js +83 -0
  10. package/build/webpack.baseandroid.conf.js +84 -0
  11. package/build/webpack.dev.conf.js +39 -0
  12. package/build/webpack.devandroid.conf.js +34 -0
  13. package/build/webpack.example.conf.js +49 -0
  14. package/build/webpack.prod.conf.js +60 -0
  15. package/build/webpack.prodandroid.conf.js +60 -0
  16. package/build/webpack.test.conf.js +31 -0
  17. package/dist-android/static/.gitkeep +0 -0
  18. package/dist-android/static/batchleft.png +0 -0
  19. package/dist-android/static/batchright.png +0 -0
  20. package/dist-android/static/bluemainbg.jpg +0 -0
  21. package/dist-android/static/huangtengbiaozhi.png +0 -0
  22. package/dist-android/static/login_bg.jpg +0 -0
  23. package/dist-android/static/login_title.png +0 -0
  24. package/dist-android/static/login_title1.png +0 -0
  25. package/dist-android/static/loginbg.jpg +0 -0
  26. package/dist-android/static/loginlogo.png +0 -0
  27. package/dist-android/static/main_logo.png +0 -0
  28. package/dist-android/static/mainbg.jpg +0 -0
  29. package/dist-android/static/menulogo.png +0 -0
  30. package/dist-android/static/newmainbg.jpg +0 -0
  31. package/dist-android/static/psicon.png +0 -0
  32. package/dist-android/static/singleleft.png +0 -0
  33. package/dist-android/static/singleright.png +0 -0
  34. package/dist-android/static/treeopen.png +0 -0
  35. package/dist-android/static/treeout.png +0 -0
  36. package/dist-android/static/treeset.png +0 -0
  37. package/dist-android/static/usericon.png +0 -0
  38. package/dist-android/static/xinxi.png +0 -0
  39. package/package.json +5 -10
  40. package/src/AndroidApp.vue +1 -1
  41. package/src/App.vue +0 -1
  42. package/src/apply.js +172 -104
  43. package/src/applyAndroid.js +0 -5
  44. package/src/assets/shipin1.mp4 +0 -0
  45. package/src/bootstrap/less/bootstrap.less +2 -1
  46. package/src/components/Hello.vue +39 -0
  47. package/src/components/Table.js +2 -2
  48. package/src/components/Test.vue +26 -0
  49. package/src/components/Util.js +6 -11
  50. package/src/components/app_apply/Acceptance.vue +2 -7
  51. package/src/components/app_apply/ApplyApp.vue +6 -16
  52. package/src/components/app_apply/ApplyInfo.vue +1 -1
  53. package/src/components/app_apply/ApplyListUpload.vue +3 -3
  54. package/src/components/app_apply/ApplyToDoList.vue +3 -3
  55. package/src/components/app_apply/ApplyUserInfo.vue +3 -2
  56. package/src/components/app_apply/FieldExploration.vue +1 -3
  57. package/src/components/app_apply/PlaceControler.vue +49 -38
  58. package/src/components/{product/VueUtils → apply/base}/rightview/InstallCardList2.vue +38 -29
  59. package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ReduceFeeDetail2.vue +77 -77
  60. package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/StopApplyDetail2.vue +1 -1
  61. package/src/components/build/Install/ApplyChargeSearch.vue +210 -0
  62. package/src/components/build/Install/ExplorationSelect.vue +308 -0
  63. package/src/components/build/Install/ExplorationUser.vue +315 -0
  64. package/src/components/build/Install/InstallFee/AddContract.vue +257 -0
  65. package/src/components/build/Install/InstallFee/InstallFee.vue +929 -0
  66. package/src/components/build/Install/InstallFee/InstallFee2.vue +291 -0
  67. package/src/components/{product/Function/functions → build/Install/InstallFee}/InstallFeeInfo.vue +11 -42
  68. package/src/components/build/Install/InstallFee/InstallFunction.vue +242 -0
  69. package/src/components/build/Install/InstallFee/InstallInfoSelect.vue +232 -0
  70. package/src/components/{product/Process → build/Install}/ModifyUserFiles.vue +1 -1
  71. package/src/components/build/Install/Process/BuildJob.vue +242 -0
  72. package/src/components/build/Install/Process/ContratSigne.vue +283 -0
  73. package/src/components/build/Install/Process/CustomerEssentialInfo.vue +325 -0
  74. package/src/components/build/Install/Process/CustomerFile.vue +423 -0
  75. package/src/components/build/Install/Process/CustomerMaterialMessage.vue +414 -0
  76. package/src/components/build/Install/Process/CustomerRecordMessage.vue +749 -0
  77. package/src/components/build/Install/Process/DispatchingJob.vue +261 -0
  78. package/src/components/build/Install/Process/FeeNorme.vue +252 -0
  79. package/src/components/build/Install/Process/FeeNormeAndContratSigne.vue +376 -0
  80. package/src/components/build/Install/Process/FeeVerifier.vue +199 -0
  81. package/src/components/build/Install/Process/IgnitionVentilation.vue +232 -0
  82. package/src/components/build/Install/Process/MeterType.vue +379 -0
  83. package/src/components/build/Install/Process/PlaceControler.vue +304 -0
  84. package/src/components/build/Install/Process/ProjeterFigure.vue +211 -0
  85. package/src/components/build/Install/Process/ReceivingNote.vue +317 -0
  86. package/src/components/build/Install/Process/boneng/qbj_placecontroler.vue +370 -0
  87. package/src/components/build/Install/Process/zhongran/ZR_Construction.vue +388 -0
  88. package/src/components/build/Install/Process/zhongran/ZR_ContratSigne.vue +496 -0
  89. package/src/components/build/Install/Process/zhongran/ZR_CustomerEssentialInfo.vue +415 -0
  90. package/src/components/build/Install/Process/zhongran/ZR_DispatchingJob.vue +409 -0
  91. package/src/components/build/Install/Process/zhongran/ZR_FeeNorme.vue +342 -0
  92. package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation.vue +253 -0
  93. package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation_transfer.vue +198 -0
  94. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlan.vue +259 -0
  95. package/src/components/build/Install/Process/zhongran/ZR_MaterialPlanExamine.vue +243 -0
  96. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler.vue +426 -0
  97. package/src/components/build/Install/Process/zhongran/ZR_PlaceControler_print.vue +187 -0
  98. package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote.vue +404 -0
  99. package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote1.vue +301 -0
  100. package/src/components/build/Install/Process/zhongran/ZR_TestDesign.vue +441 -0
  101. package/src/components/build/Install/Process/zhongran/ZR_end.vue +20 -0
  102. package/src/components/build/Install/ProcessInfo/BasicInfo.vue +68 -0
  103. package/src/components/build/Install/ProcessInfo/BuildInfo.vue +110 -0
  104. package/src/components/build/Install/ProcessInfo/ContratProcessInfo.vue +116 -0
  105. package/src/components/build/Install/ProcessInfo/DispatchingInfo.vue +114 -0
  106. package/src/components/build/Install/ProcessInfo/FeeNormeInfo.vue +108 -0
  107. package/src/components/build/Install/ProcessInfo/FeeVerifierInfo.vue +102 -0
  108. package/src/components/build/Install/ProcessInfo/IgnitionInfo.vue +99 -0
  109. package/src/components/build/Install/ProcessInfo/MeterProcessInfo.vue +114 -0
  110. package/src/components/build/Install/ProcessInfo/PlaceProcessInfo.vue +115 -0
  111. package/src/components/build/Install/ProcessInfo/ProjeterProcessInfo.vue +107 -0
  112. package/src/components/build/Install/ProcessInfo/ReceivingInfo.vue +107 -0
  113. package/src/components/build/Install/ProcessInfo/zhongran/ZR_BasicInfo.vue +74 -0
  114. package/src/components/build/Install/ProcessInfo/zhongran/ZR_BuildInfo.vue +114 -0
  115. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ContratProcessInfo.vue +114 -0
  116. package/src/components/build/Install/ProcessInfo/zhongran/ZR_DispatchingInfo.vue +119 -0
  117. package/src/components/build/Install/ProcessInfo/zhongran/ZR_FeeNormeInfo.vue +105 -0
  118. package/src/components/build/Install/ProcessInfo/zhongran/ZR_IgnitionInfo.vue +99 -0
  119. package/src/components/build/Install/ProcessInfo/zhongran/ZR_MaterialPlan_info.vue +104 -0
  120. package/src/components/build/Install/ProcessInfo/zhongran/ZR_PlaceProcessInfo.vue +109 -0
  121. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ReceivingInfo.vue +102 -0
  122. package/src/components/build/Install/ProcessInfo/zhongran/ZR_ignition_transfer_info.vue +104 -0
  123. package/src/components/{product/Bill → build/Install/bill}/BillXSDMakeInfo.vue +1 -1
  124. package/src/components/build/Install/monitor/SupervisoryControl.vue +178 -0
  125. package/src/components/build/Install/monitor/SupervisoryList.vue +209 -0
  126. package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryhCart.vue +3 -29
  127. package/src/components/product/Process/Processes/Service/ServiceControl.vue +91 -1718
  128. package/src/main.js +2 -9
  129. package/src/stores/ApplyLoadParams.js +1 -1
  130. package/src/bootstrap/less/standard.less +0 -208
  131. package/src/components/app_apply/ServiceControl.vue +0 -442
  132. package/src/components/app_apply/ServiceView.vue +0 -356
  133. package/src/components/product/Common/ApplyValidateBill.vue +0 -55
  134. package/src/components/product/Common/PrintBill.vue +0 -120
  135. package/src/components/product/Function/InstallFunction.vue +0 -142
  136. package/src/components/product/Function/InstallInfoSelect.vue +0 -254
  137. package/src/components/product/Function/Service/FunctionServiceControl.vue +0 -328
  138. package/src/components/product/Function/functions/AddContract.vue +0 -301
  139. package/src/components/product/Function/functions/BuyerMessage.vue +0 -512
  140. package/src/components/product/Function/functions/InstallFee.vue +0 -919
  141. package/src/components/product/Function/functions/material_recording.vue +0 -237
  142. package/src/components/product/MaterialBatchList.vue +0 -109
  143. package/src/components/product/MaterialBatchManage.vue +0 -34
  144. package/src/components/product/Process/ExplorationSelect.vue +0 -636
  145. package/src/components/product/Process/ExplorationUser.vue +0 -131
  146. package/src/components/product/Process/MaterialUseList.vue +0 -159
  147. package/src/components/product/Process/ProcessInfo/history_control.vue +0 -134
  148. package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -776
  149. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -910
  150. package/src/components/product/Process/Processes/ProjectSettlement.vue +0 -383
  151. package/src/components/product/Process/Processes/ReceiveBatch.vue +0 -957
  152. package/src/components/product/Process/Processes/SendOrder.vue +0 -47
  153. package/src/components/product/Process/Processes/Service/ApplyAcceptBill.vue +0 -89
  154. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +0 -305
  155. package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
  156. package/src/components/product/Process/ShowBackReason.vue +0 -18
  157. package/src/components/product/ServiceView.vue +0 -800
  158. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +0 -407
  159. package/src/components/product/Supervisory/SupervisoryControl.vue +0 -130
  160. package/src/components/product/Supervisory/SupervisoryList.vue +0 -349
  161. package/src/components/product/stopInfo/ApplyStopInfo.vue +0 -280
  162. package/src/plugins/commonService.js +0 -229
  163. package/yarn.lock +0 -8072
  164. /package/src/components/{product/VueUtils → apply/base}/ToolsPage.vue +0 -0
  165. /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/BuildFeeDetail2.vue +0 -0
  166. /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ChangeFeeDetail2.vue +0 -0
  167. /package/src/components/{product/Function/functions → build/Install/InstallFee}/AllSelect.vue +0 -0
  168. /package/src/components/{product/Function → build/Install/InstallFee}/InstallInfoDown.vue +0 -0
  169. /package/src/components/{product/Function/functions → build/Install/InstallFee}/PreparationFee.vue +0 -0
  170. /package/src/components/{product/Function/functions → build/Install/InstallFee}/PrestoreFee.vue +0 -0
  171. /package/src/components/{product/Function/functions → build/Install/InstallFee}/ReduceFee.vue +0 -0
  172. /package/src/components/{product/Function/functions → build/Install/InstallFee}/StopInstall.vue +0 -0
  173. /package/src/components/{product/Function/functions → build/Install/InstallFee}/UpdateFee.vue +0 -0
  174. /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerBuildingMessage.vue +0 -0
  175. /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerEquipmentMessage.vue +0 -0
  176. /package/src/components/{product/Function/functions → build/Install/ProcessInfo}/ApplyRecordCancel.vue +0 -0
  177. /package/src/components/{product/Bill → build/Install/bill}/BillGZK.vue +0 -0
  178. /package/src/components/{product/Bill → build/Install/bill}/BillGZKMakeInfo.vue +0 -0
  179. /package/src/components/{product/Bill → build/Install/bill}/BillGZKRecordInfo.vue +0 -0
  180. /package/src/components/{product/Bill → build/Install/bill}/BillJLB.vue +0 -0
  181. /package/src/components/{product/Bill → build/Install/bill}/BillJLBMakeInfo.vue +0 -0
  182. /package/src/components/{product/Bill → build/Install/bill}/BillJLBRecordInfo.vue +0 -0
  183. /package/src/components/{product/Bill → build/Install/bill}/BillKTK.vue +0 -0
  184. /package/src/components/{product/Bill → build/Install/bill}/BillKTKMakeInfo.vue +0 -0
  185. /package/src/components/{product/Bill → build/Install/bill}/BillKTKRecordInfo.vue +0 -0
  186. /package/src/components/{product/Bill → build/Install/bill}/BillQRK.vue +0 -0
  187. /package/src/components/{product/Bill → build/Install/bill}/BillQRKMakeInfo.vue +0 -0
  188. /package/src/components/{product/Bill → build/Install/bill}/BillQRKRecordInfo.vue +0 -0
  189. /package/src/components/{product/Bill → build/Install/bill}/BillSelect.vue +0 -0
  190. /package/src/components/{product/Bill → build/Install/bill}/BillXSD.vue +0 -0
  191. /package/src/components/{product/Bill → build/Install/bill}/BillXSDRecordInfo.vue +0 -0
  192. /package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryBaseInfo.vue +0 -0
@@ -1,229 +0,0 @@
1
- import Vue from 'vue'
2
-
3
- let openEticketGen = async function (id, type, conf) {
4
- // 组织数据
5
- let getEticket = await Vue.resetpost('rs/logic/combineData', {id: id, charge_type: type, eticket: conf}, {resolveMsg: null, rejectMsg: '获取电子票数据出错'})
6
- console.log('获取的电子票数据', getEticket)
7
- // 请求电子票
8
- await Vue.resetpost('rs/logic/openEticket', {id: getEticket.data, eticket: conf}, {resolveMsg: '开票成功', rejectMsg: '开具电子票出错, 请到票据管理重新开具'})
9
- }
10
-
11
- let correctEticketGen = async function (id, type, conf) {
12
- let param = {
13
- id: id,
14
- type: type,
15
- eticket: conf
16
- }
17
- let requestUrl = ''
18
- if (type === '机表抄表') {
19
- requestUrl = 'rs/logic/correctHandEticket'
20
- } else {
21
- requestUrl = 'rs/logic/correctEticket'
22
- }
23
-
24
- await Vue.resetpost(requestUrl, param, {resolveMsg: '冲红成功', rejectMsg: '冲红失败'})
25
- }
26
-
27
- let commonService = {
28
- install (Vue, options) {
29
- // 给vue增添对话框显示方法
30
- Vue.commonService = Vue.prototype.$commonService = commonService
31
- },
32
-
33
-
34
- gasCalculate (model, pregas) {
35
- return Vue.resetpost('rs/logic/CommonCal', {data: {model: model, isGasValue: 0, value: pregas}}, {resolveMsg: null, rejectMsg: '获取金额失败'})
36
- },
37
-
38
- feeCalculate (model, preamount) {
39
- return Vue.resetpost('rs/logic/commonCal', {data: {model: model, isGasValue: 1, value: preamount}}, {resolveMsg: null, rejectMsg: '获取气量失败'})
40
- },
41
-
42
- async saveLiquidation(data) {
43
- let param = {
44
- endDate:data.endDate,
45
- startDate:data.startDate,
46
- f_user_name: data.f_user_name,
47
- f_bill_id: data.f_bill_id,
48
- f_bill_number: data.f_bill_number,
49
- f_bill_type: data.f_bill_type,
50
- f_userinfo_id: data.f_userinfo_id,
51
- f_user_id: data.f_user_id,
52
- f_operator: data.f_operator,
53
- f_hand_month: data.f_hand_month,
54
- f_paid_money: data.f_paid_money,
55
- f_filiale : data.f_filiale,
56
- f_outlets: data.f_outlets,
57
- f_orgstr: data.f_orgstr,
58
- f_filialeids: data.f_filialeids,
59
- f_gas : data.f_gas
60
- }
61
- return await Vue.resetpost('rs/logic/saveLiquidation', {data: param}, {resolveMsg: null, rejectMsg: '开具发票失败,请重试或联系管理员'})
62
- },
63
- async operateLiquidation(data) {
64
- let param = {
65
- id :data.id,
66
- type : data.type
67
- }
68
- return await Vue.resetpost('rs/logic/operateLiquidation', {data: param}, {resolveMsg: null, rejectMsg: ''})
69
- },
70
-
71
- async openPaperBill(sellId, chargeType, useType, usingBill, billType,f_operator,f_filiale,f_outlets,f_orgstr,f_filialeids) {
72
- console.log("进入commonService")
73
- console.log(sellId, chargeType, useType, usingBill, billType,f_operator,f_filiale,f_outlets,f_orgstr,f_filialeids)
74
- let param = {
75
- f_charge_id: sellId,
76
- f_charge_type: '报建收费',
77
- f_use_type: useType,
78
- f_using_bill: usingBill,
79
- f_bill_type: billType,
80
- f_operator:f_operator,
81
- f_outlets:f_outlets,
82
- f_filiale:f_filiale,
83
- f_orgstr:f_orgstr,
84
- f_filialeids:f_filialeids
85
- // f_filialeid: this.$login.f.f_orgids.split('.')[this.$login.f.f_orgids.split('.').length - 2] + '.'
86
- }
87
- console.log("进入commonService,看看参数")
88
- console.log(param)
89
- await Vue.resetpost('rs/logic/apply_sale_openBill', {data: param}, {resolveMsg: null, rejectMsg: '更新发票号失败,请从右侧操作卡片进行补打!!'})
90
- },
91
-
92
- async correctPaperBill(sellId, chargeType, useType, usingBill, correctType) {
93
- let param = {
94
- f_charge_id: sellId,
95
- f_charge_type: chargeType,
96
- f_use_type: useType,
97
- f_using_bill: usingBill,
98
- f_bill_correct_type: correctType
99
- }
100
- await Vue.resetpost('rs/logic/sale_correctBill', {data: param}, {resolveMsg: null, rejectMsg: '更新发票号失败,请从右侧操作卡片进行补打!!'})
101
- },
102
-
103
- async reissuePaperBill(sellId, chargeType, model, useType) {
104
- let param = {
105
- f_charge_id: sellId,
106
- f_charge_type: chargeType,
107
- model: model,
108
- f_use_type: useType
109
- }
110
- await Vue.resetpost('rs/logic/sale_reissueBill', {data: param}, {resolveMsg: null, rejectMsg: '更新发票号失败,请从右侧操作卡片进行补打!!'})
111
- },
112
-
113
- async openEticket (sellId, chargeType) {
114
- // 获取各分公司下的电子票配置文件
115
- // 从vues目录下获取电子票配置
116
- try {
117
- let conf = await commonService.getSelfConfig()
118
- console.log('看看配置文件', conf)
119
- await openEticketGen(sellId, chargeType, conf)
120
- } catch (error) {
121
- console.log('电子发票开票失败', JSON.stringify(error))
122
- Vue.showAlert(`电子发票开票失败!!请到发票管理重新开票。错误原因: ${JSON.stringify(error)}。`, 'danger', 0)
123
- }
124
-
125
- },
126
-
127
- async correctEticket (sellId, chargeType) {
128
- try {
129
- let conf = await commonService.getSelfConfig()
130
- console.log('看看配置文件', conf)
131
- await correctEticketGen(sellId, chargeType, conf)
132
- } catch (error) {
133
- console.log('电子发票冲正失败', JSON.stringify(error))
134
- Vue.showAlert(`电子发票冲正失败!!请到发票管理重新开票。错误原因: ${JSON.stringify(error)}。`, 'danger', 0)
135
- }
136
- },
137
-
138
- async getSelfConfig () {
139
- let res = await Vue.resetget('/rs/vue/Eticket.json',{resolveMsg: null, rejectMsg: '获取电子票配置出错'})
140
- console.log('获取各分公司下的电子票配置文件', res)
141
- let config = res.data[Vue.$login.f.f_orgids]
142
- if (config.isOne) {
143
- return config.info
144
- } else {
145
- // 返回操作人上一级的配置 key为f_orgstr(到操作人)串的前一个即网点
146
- return config[commonService.getOutlets()]
147
- }
148
- },
149
- getOutlets () {
150
- let result = ''
151
- let operator = Vue.$login.f.orgpathstr
152
- let tempArr = operator.split('.').splice(0, operator.split('.').length-2)
153
- for(let str of tempArr) {
154
- result += str + '.'
155
- }
156
- return result
157
- },
158
-
159
- buildSellinggas (model, row) {
160
- return {
161
- f_balance: row.f_meter_type === '机表' ? row.f_real_balance : row.f_balance,
162
- f_curbalance: row.f_meter_type === '机表' ? (row.f_real_balance - 0) + (model.f_collection - 0) : model.f_curbalance,
163
- f_user_balance: row.f_meter_type === '机表' ? row.f_balance : model.f_curbalance,
164
- f_meter_type: row.f_meter_type,
165
- f_payment: model.f_payment,
166
- f_user_id: model.f_user_id,
167
- // f_userinfo_id: row.f_userinfo_id,
168
- f_user_name: row.f_user_name,
169
- f_user_type: row.f_user_type,
170
- f_gasproperties: row.f_gasproperties,
171
- f_address: row.f_address,
172
- f_meter_brand: row.f_meter_brand,
173
- f_meter_style: row.f_meter_style,
174
- f_meternumber: row.f_meternumber,
175
- f_price_id: row.f_price_id,
176
- f_collection: model.f_collection,
177
- f_operator: Vue.$login.f.name,
178
- f_filiale: Vue.$login.f.f_fengongsi,
179
- f_outlets: Vue.$login.f.f_parentname,
180
- f_orgstr: Vue.$login.f.orgpathstr,
181
- f_filialeids: Vue.$login.f.f_orgids,
182
- f_charge_state: '有效'
183
- }
184
- },
185
- writeCardParams (cardParams) {
186
- console.log('common写卡参数,,,', cardParams)
187
- let result = {
188
- csql: cardParams.data.sc,
189
- lastmoney: cardParams.data.scje,
190
- ccsql: cardParams.data.ssc,
191
- lastlastmoney: cardParams.data.sscje,
192
- ljgql: cardParams.data.f_pregas,
193
- ljyql: cardParams.data.f_pregasall,
194
- yhh: cardParams.data.f_meterid,
195
- sxrq: cardParams.data.f_perform_date,
196
- totalmoney: cardParams.data.f_collection,
197
- stairversion: cardParams.data.f_stairversion
198
- }
199
-
200
- // 对阶梯进行处理
201
- if (cardParams.data.stairprice.includes(';') && cardParams.data.stairamount.includes(';')) {
202
- let gases = cardParams.data.stairamount.split(';')
203
- let prices = cardParams.data.stairprice.split(';')
204
- if (gases.length >= 2) {
205
- result.stairgas1 = gases[0] !== '' ? gases[0] : 0
206
- result.stairgas2 = gases[1] !== '' ? gases[1] : 0
207
- result.stairgas3 = '99999999'
208
- }
209
- if (prices.length >= 2) {
210
- result.stairprice1 = prices[0] !== '' ? prices[0] : 0
211
- result.stairprice2 = prices[1] !== '' ? prices[1] : 0
212
- result.stairprice3 = prices[2] !== '' ? prices[2] : 0
213
- }
214
- } else {
215
- // 从固定气价的表换金额表的时候,气量随便写,金额用之前的固定单价
216
- result.stairgas1 = '77777777'
217
- result.stairgas2 = '88888888'
218
- result.stairgas3 = '99999999'
219
-
220
- result.stairprice1 = cardParams.data.stairprice
221
- result.stairprice2 = cardParams.data.stairprice
222
- result.stairprice3 = cardParams.data.stairprice
223
- }
224
-
225
- return result
226
- }
227
- }
228
-
229
- export default commonService