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
@@ -0,0 +1,291 @@
1
+ <template>
2
+ <div class="col-sm-12 auto select-overspread">
3
+ <div class="auto select-overspread">
4
+ <div class="panel panel-info">
5
+ <div class="panel-heading auto">
6
+ <h3 class="panel-title">报装收费</h3>
7
+ </div>
8
+ </div>
9
+ </div>
10
+ <validator name="v">
11
+ <form class="horizontal" style="padding-top: 50px;">
12
+ <div class="form-group col-sm-12">
13
+ <div class="col-sm-4"
14
+ :class="[$v.f_construction_cost.required || $v.f_construction_cost.type ? 'has-error': '']">
15
+ <label class="control-label col-sm-6">入户安装费:</label>
16
+ <div class="col-sm-6">
17
+ <input type="text" class="form-control" v-model="model.f_construction_cost"
18
+ v-validate:f_construction_cost='{required: true, type: number}' disabled/>
19
+ </div>
20
+ </div>
21
+ <div class="col-sm-4" :class="[$v.f_material_cost.required ? 'has-error': '']">
22
+ <label class="control-label col-sm-6">材料费:</label>
23
+ <div class="col-sm-6">
24
+ <input type="text" class="form-control" v-model="model.f_material_cost"
25
+ v-validate:f_material_cost='{required: true,type: number}' disabled/>
26
+ </div>
27
+ </div>
28
+ <div class="col-sm-4" :class="[$v.f_labor_cost.required ? 'has-error': '']">
29
+ <label class="control-label col-sm-6">人工费:</label>
30
+ <div class="col-sm-6">
31
+ <input type="text" class="form-control" v-model="model.f_labor_cost"
32
+ v-validate:f_labor_cost='{required: true}' disabled/>
33
+ </div>
34
+ </div>
35
+ </div>
36
+ <div class="form-group col-sm-12">
37
+ <div class="col-sm-4" :class="[$v.f_change_pipeline_cost.required ? 'has-error': '']">
38
+ <label class="control-label col-sm-6">改管费:</label>
39
+ <div class="col-sm-6">
40
+ <input type="text" class="form-control" v-model="model.f_change_pipeline_cost"
41
+ v-validate:f_change_pipeline_cost='{required: true}' disabled/>
42
+ </div>
43
+ </div>
44
+ <div class="col-sm-4" :class="[$v.f_sbaz_cost.required ? 'has-error': '']">
45
+ <label class="control-label col-sm-6">设备安装费:</label>
46
+ <div class="col-sm-6">
47
+ <input type="text" class="form-control" v-model="model.f_sbaz_cost"
48
+ v-validate:f_sbaz_cost='{required: true}' disabled/>
49
+ </div>
50
+ </div>
51
+ <div class="col-sm-4" :class="[$v.f_payfee_num.required ? 'has-error': '']">
52
+ <label class="control-label col-sm-6">缴费户数:</label>
53
+ <div class="col-sm-6">
54
+ <input type="number" class="form-control" v-model="model.f_payfee_num"
55
+ v-validate:f_payfee_num='{required: true}' disabled/>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <div class="form-group col-sm-12">
60
+ <div class="col-sm-4" :class="[$v.f_jmhj_cost.required ? 'has-error': '']">
61
+ <label class="control-label col-sm-6">减免费用合计:</label>
62
+ <div class="col-sm-6">
63
+ <input type="text" class="form-control" v-model="model.f_jmhj_cost"
64
+ v-validate:f_jmhj_cost='{required: true}' disabled/>
65
+ </div>
66
+ </div>
67
+ <div class="col-sm-4">
68
+ <label class="control-label col-sm-6">费用合计:</label>
69
+ <div class="col-sm-6">
70
+ <input type="text" class="form-control" v-model="totalcost" disabled/>
71
+ </div>
72
+ </div>
73
+ <div class="col-sm-4">
74
+ <label class="control-label col-sm-6">未交金额:</label>
75
+ <div class="col-sm-6">
76
+ <input type="text" class="form-control" v-model="non_payment" disabled/>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ <div class="form-group col-sm-12">
81
+ <div class="col-sm-4" :class="[$v.bulltype.required ? 'select-error has-error' : '']">
82
+ <label class="control-label col-sm-6">打印格式:</label>
83
+ <div class="col-sm-6">
84
+ <input type="text" v-show="false" v-model="$refs.bulltype.value[0]"
85
+ v-validate:bulltype='{required: true }'>
86
+ <v-select
87
+ placeholder="请选择" v-ref:bulltype
88
+ :value.sync="model.f_bill_type"
89
+ :options="dayin"
90
+ v-model="model.f_bill_type"
91
+ close-on-select>
92
+ </v-select>
93
+ </div>
94
+ </div>
95
+ <div class="col-sm-4" :class="[$v.acttype.required ? 'select-error has-error' : '']">
96
+ <label class="control-label col-sm-6">缴费方式:</label>
97
+ <div class="col-sm-6">
98
+ <input type="text" v-show="false" v-model="$refs.acttype.value[0]" v-validate:acttype='{required: true }'>
99
+ <v-select
100
+ placeholder="请选择" v-ref:acttype
101
+ :value.sync="model.f_actualfee_type"
102
+ :options="jiaofei"
103
+ v-model="model.f_actualfee_type"
104
+ close-on-select>
105
+ </v-select>
106
+ </div>
107
+ </div>
108
+ </div>
109
+ <div class="form-group col-sm-12">
110
+ <div class="col-sm-4" :class="[$v.f_actualfee_user.required ? 'has-error': '']">
111
+ <label class="control-label col-sm-6">交款人:</label>
112
+ <div class="col-sm-6">
113
+ <input type="text" class="form-control" v-model="model.f_actualfee_user"
114
+ v-validate:f_actualfee_user='{required: true}'/>
115
+ </div>
116
+ </div>
117
+ <div class="col-sm-4" :class="[$v.f_actualfee.required ? 'has-error': '']">
118
+ <label class="control-label col-sm-6">收费金额:</label>
119
+ <div class="col-sm-6">
120
+ <input type="text" class="form-control" v-model="model.f_actualfee"
121
+ v-validate:f_actualfee='{required: true}'/>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ <div class="form-group col-sm-12">
126
+ <div class="col-sm-2">
127
+ <label class="control-label col-sm-12">收费备注:</label>
128
+ </div>
129
+ <div class="col-sm-10">
130
+ <textarea class="form-control" rows="3" v-model="model.f_payfee_remarks"></textarea>
131
+ </div>
132
+ </div>
133
+ <div class="form-group col-sm-12">
134
+ <div class="col-sm-6">
135
+ <label class="control-label col-sm-4">分公司:</label>
136
+ <div class="col-sm-8">
137
+ <input class="form-control" type="text" v-model="model.f_filiale" disabled>
138
+ </div>
139
+ </div>
140
+ <div class="col-sm-6">
141
+ <label class="control-label col-sm-4">操作日期:</label>
142
+ <div class="col-sm-8">
143
+ <input class="form-control" type="text" v-model="model.f_payfee_date" disabled>
144
+ </div>
145
+ </div>
146
+ </div>
147
+ <div class="form-group col-sm-12">
148
+ <div class="col-sm-6">
149
+ <label class="control-label col-sm-4">部门:</label>
150
+ <div class="col-sm-8">
151
+ <input class="form-control" type="text" v-model="model.f_payfee_department" disabled>
152
+ </div>
153
+ </div>
154
+ <div class="col-sm-6">
155
+ <label class="control-label col-sm-4">操作人:</label>
156
+ <div class="col-sm-8">
157
+ <input class="form-control" type="text" v-model="model.f_payfee_operator" disabled>
158
+ </div>
159
+ </div>
160
+ </div>
161
+ </form>
162
+ </validator>
163
+ <div class="from-group col-sm-12">
164
+ <center>
165
+ <button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:50px;"
166
+ :disabled="$v.invalid">
167
+ 保存
168
+ </button>
169
+ <button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:50px;">
170
+ 撤销
171
+ </button>
172
+ </center>
173
+ </div>
174
+ </div>
175
+ </template>
176
+ <script>
177
+ import AppData from '../../../../stores/AppData'
178
+ import * as Util from '../../../Util'
179
+ import co from 'co'
180
+
181
+ let gen = function* (self, val) {
182
+ val.f_actualfee_type = val.f_actualfee_type[0]
183
+ val.f_bill_type = val.f_bill_type[0]
184
+ let data = {
185
+ tablename: 't_apply',
186
+ parameters: val
187
+ }
188
+ yield self.$resetpost('rs/logic/save', {data: data})
189
+ delete val.id
190
+ data = {
191
+ tablename: 't_record',
192
+ parameters: val
193
+ }
194
+ self.$resetpost('rs/logic/save', {data: data})
195
+ .then(() => {
196
+ self.reset()
197
+ })
198
+ }
199
+ export default {
200
+ title: '报装收费',
201
+ data() {
202
+ return {
203
+ dayin: this.$appdata.getParam('打印格式'),
204
+ jiaofei: this.$appdata.getParam('缴费类型'),
205
+ model: {
206
+ f_payfee_date: Util.toStandardTimeString(),
207
+ f_payfee_department: this.$login.f.f_parentname,
208
+ f_payfee_operator: this.$login.f.name,
209
+ f_filiale: this.$login.f.f_fengongsi
210
+ },
211
+ model1: {
212
+ f_fee: '',
213
+ f_paytype: '',
214
+ f_payfeedate: '',
215
+ f_payer: '',
216
+ f_state: '',
217
+ applyid: '',
218
+ f_operator: '',
219
+ f_date: '',
220
+ f_department: '',
221
+ f_filiale: '',
222
+ f_outlets: ''
223
+ }
224
+ }
225
+ },
226
+ props: ['infee'],
227
+ ready() {
228
+ this.infee.f_actualfee_type = [this.infee.f_actualfee_type ? this.infee.f_actualfee_type : '']
229
+ this.infee.f_bill_type = [this.infee.f_bill_type ? this.infee.f_bill_type : '']
230
+ this.model = Object.assign({}, this.model, this.infee)
231
+ this.model.f_actualfee = '0'
232
+ this.model.f_actualfee_type = '现金缴费'
233
+ // delete this.model.id
234
+ },
235
+ methods: {
236
+ confirm() {
237
+ this.model.f_change_pipeline_cost = this.model.f_change_pipeline_cost
238
+ this.model.f_material_cost = this.model.f_material_cost
239
+ this.model.f_labor_cost = this.model.f_labor_cost
240
+ this.model.f_sbaz_cost = this.model.f_sbaz_cost
241
+ this.model.f_construction_cost = this.model.f_construction_cost
242
+ this.model.f_total_cost = this.model.f_total_cost
243
+
244
+ this.model.f_fee = this.model.f_actualfee
245
+ this.model.f_actualfee = Number(this.infee.f_actualfee) + Number(this.model.f_actualfee)
246
+ this.model.f_paytype = this.model.f_actualfee_type
247
+ this.model.f_payfeedate = this.model.f_payfee_date
248
+ this.model.f_payer = this.model.f_actualfee_user
249
+ this.model.applyid = this.model.id
250
+ this.model.f_state = '已交款'
251
+ this.model.f_operator = this.model.f_payfee_operator
252
+ this.model.f_date = this.model.f_payfee_date
253
+ this.model.f_department = this.model.f_payfee_department
254
+ // this.model.f_filiale = this.model.f_filiale
255
+ this.model.f_operat_type = '报建收费'
256
+ this.model.f_state = '有效'
257
+ this.model.f_describe = this.model.f_user_name + '缴费' + this.model.f_fee
258
+ console.log('输出model', this.model)
259
+ let getGen = gen(this, this.model)
260
+ co(getGen)
261
+ this.$dispatch('searchcard')
262
+ this.$dispatch('hiddenbtn')
263
+ },
264
+ reset() {
265
+ this.$dispatch('hiddenbtn')
266
+ // this.$dispatch('hiddenbtn')
267
+ }
268
+ },
269
+ computed: {
270
+ totalcost() {
271
+ let f_construction_cost = this.model.f_construction_cost
272
+ let f_material_cost = this.model.f_material_cost
273
+ let f_labor_cost = this.model.f_labor_cost
274
+ let f_change_pipeline_cost = this.model.f_change_pipeline_cost
275
+ let f_sbaz_cost = this.model.f_sbaz_cost
276
+ let f_jmhj_cost = this.model.f_jmhj_cost
277
+ let f_payfee_num = this.model.f_payfee_num
278
+ this.model.f_total_cost = (Number(f_construction_cost) + Number(f_material_cost)
279
+ + Number(f_labor_cost) + Number(f_change_pipeline_cost)
280
+ + Number(f_sbaz_cost)) * Number(f_payfee_num) - Number(f_jmhj_cost)
281
+ return this.model.f_total_cost
282
+ },
283
+ non_payment() {
284
+ let total_cost = this.model.f_total_cost
285
+ let actualfee = this.model.f_actualfee
286
+ let f_jmhj_cost = this.model.f_jmhj_cost
287
+ return Number(total_cost) - Number(actualfee) - Number(f_jmhj_cost)
288
+ }
289
+ }
290
+ }
291
+ </script>
@@ -5,48 +5,17 @@
5
5
  <h3 class="panel-title text-center"><span @click="showbasic()" style="cursor: pointer;" class="pull-left">用户基本信息</span></h3>
6
6
  </div>
7
7
  <div class="panel-body" v-if="showbasicinfo">
8
- <div class="panel-body" >
9
- <div class="row">
10
- <label class = "col-sm-5 control-label">客户名称:</label>
11
- <span class = "col-sm-7">{{model.f_user_name}}</span>
12
- </div>
13
- <div class="row">
14
- <label class = "col-sm-5 control-label">电话:</label>
15
- <span class = "col-sm-7">{{model.f_phone}}</span>
16
- </div>
17
- <div class="row">
18
- <label class = "col-sm-5 control-label">片区:</label>
19
- <span class = "col-sm-7">{{model.f_area}}</span>
20
- </div>
21
- <div class="row">
22
- <label class = "col-sm-5 control-label">报装类型:</label>
23
- <span class = "col-sm-7">{{model.f_apply_type}}</span>
24
- </div>
25
- <div class="row">
26
- <label class = "col-sm-5 control-label">用户类型:</label>
27
- <span class = "col-sm-7">{{model.f_user_type}}</span>
28
- </div>
29
- <div class="row">
30
- <label class = "col-sm-5 control-label">申请户数:</label>
31
- <span class = "col-sm-7">{{model.f_user_type}}</span>
32
- </div>
33
- <div class="row">
34
- <label class = "col-sm-5 control-label">房屋类型:</label>
35
- <span class = "col-sm-7">{{model.f_house_type}}</span>
36
- </div>
37
- <div class="row">
38
- <label class = "col-sm-5 control-label">小区:</label>
39
- <span class = "col-sm-7">{{model.f_residential_area}}</span>
40
- </div>
41
- <div class="row">
42
- <label class = "col-sm-5 control-label">地址:</label>
43
- <span class = "col-sm-7">{{model.f_address}}</span>
44
- </div>
45
- <div class="row">
46
- <label class = "col-sm-5 control-label">报建备注:</label>
47
- <span class = "col-sm-7">{{model.f_apply_remarks}}</span>
48
- </div>
49
-
8
+ <div class="panel-body">
9
+ <span>客户名称:{{model.f_user_name}}</span>
10
+ <span>电话:{{model.f_phone}}</span>
11
+ <span>片区:{{model.f_area}}</span>
12
+ <span>报装类型:{{model.f_apply_type}}</span>
13
+ <span>用户类型:{{model.f_user_type}}</span>
14
+ <span>申请户数:{{model.f_apply_count}}</span>
15
+ <span>房屋类型:{{model.f_house_type}}</span>
16
+ <span>小区:{{model.f_residential_area}}</span>
17
+ <span>地址:{{model.f_address}}</span>
18
+ <span>报建备注:{{model.f_apply_remarks}}</span>
50
19
  </div>
51
20
  <!--<div class="panel panel-body">-->
52
21
  <!--<span>工程名称:{{model.f_total_cost}}</span>-->
@@ -0,0 +1,242 @@
1
+ <template>
2
+ <div class="full">
3
+ <div class="flex-row">
4
+ <div class="flex" style="flex: 1" :style="{height: totalheight}">
5
+ <div class="flex col-sm-12" :style="{height: leftheight}">
6
+ <installinfoselect v-ref:installselect></installinfoselect>
7
+ </div>
8
+ <div class="flex col-sm-12" v-if="show" style="padding-top: 3px;">
9
+ <installinfodown v-ref:installdown></installinfodown>
10
+ </div>
11
+ <div class="col-sm-12" v-if="clishow">
12
+ <div class="col-sm-3">
13
+ <installfeeinfo :infeeinfo="selectdata"></installfeeinfo>
14
+ </div>
15
+ <div class="col-sm-9">
16
+ <billselect :billselect="selectdata" v-if="showbill"></billselect>
17
+ <installfee :infee="selectdata" v-if="showinfee"></installfee>
18
+ <!--预存款-->
19
+ <preparationfee :selectdata="selectdata" v-if="showpreparation"></preparationfee>
20
+ <!--预存报建收费-->
21
+ <prestorefee :infee="selectdata" v-if="showprestorefee" v-ref:prestorefee></prestorefee>
22
+ <updatefee :upfee="selectdata" v-if="showupfee"></updatefee>
23
+ <reducefee :redufee="selectdata" v-if="showreducefee"></reducefee>
24
+ <addcontract :addcontract="selectdata" v-if="showcontract"></addcontract>
25
+ <stop-install :stopapply="selectdata" v-if="showstop"></stop-install>
26
+
27
+ </div>
28
+ </div>
29
+ <div v-show="comps" v-el:route class="flex span select-overspread"
30
+ style="margin-top: 10px;border: 1px solid #EEF3F6;flex: 0.8;">
31
+ <route v-ref:route></route>
32
+ </div>
33
+ </div>
34
+ <div style="width: 350px;padding:0px 0px 10px 0px;margin-left: 20px">
35
+ <install-apply-cardlist :btns="operatebtn" :userinfoid="row ? row.f_userinfo_id : ''" @list-select-oper="recordCancel"
36
+ v-ref:card></install-apply-cardlist>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </template>
41
+ <script>
42
+
43
+ export default {
44
+ title: '报建业务',
45
+ data() {
46
+ return {
47
+ comps: false,
48
+ row: null,
49
+ arr: ['报建登记', '现场勘探', '设计出图'],
50
+ selectdata: {f_actualfee: 0, f_total_fee: 0},
51
+ show: false,
52
+ clishow: false,
53
+ showallbtn: false,
54
+ showcontract: false,
55
+ showinfee: false, // 报建收费
56
+ showprestorefee: false, // 开发商预存报建收费
57
+ showupfee: false, // 费用变更
58
+ showreducefee: false, // 费用减免
59
+ showstop: false, // 终止报建
60
+ showbill: false, // 打印票据
61
+ showpreparation: false, // 预付款
62
+ leftheight: '100%',
63
+ totalheight: '100%',
64
+ footheight: '0%'
65
+ }
66
+ },
67
+ methods: {
68
+ // 预付款
69
+ preparation(row){
70
+ this.$refs.installselect.clifun(row)
71
+ this.$refs.installselect.clifun(row)
72
+ this.selectdata = row
73
+ this.clishow = true
74
+ this.show = false
75
+
76
+ this.showinfee = false
77
+ this.showprestorefee = false
78
+ this.showupfee = false
79
+ this.showreducefee = false
80
+ this.showstop = false
81
+ this.showcontract = false
82
+ this.showbill = false
83
+ this.showpreparation = true
84
+ },
85
+ // 票据打印
86
+ bill(row){
87
+ this.$refs.installselect.clifun(row)
88
+ this.selectdata = row
89
+ this.clishow = true
90
+ this.show = false
91
+
92
+ this.showinfee = false
93
+ this.showprestorefee = false
94
+ this.showupfee = false
95
+ this.showreducefee = false
96
+ this.showstop = false
97
+ this.showcontract = false
98
+ this.showpreparation = false
99
+ this.showbill = true
100
+ },
101
+ // 补充合同
102
+ contract(row) {
103
+ this.$refs.installselect.clifun(row)
104
+ this.selectdata = row
105
+ this.clishow = true
106
+ this.show = false
107
+
108
+ this.showinfee = false
109
+ this.showprestorefee = false
110
+ this.showupfee = false
111
+ this.showreducefee = false
112
+ this.showstop = false
113
+ this.showbill = false
114
+ this.showpreparation = false
115
+ this.showcontract = true
116
+ },
117
+ // 收费
118
+ instalfee(row,str) {
119
+ this.$refs.installselect.clifun(row)
120
+ this.selectdata = row
121
+ this.clishow = true
122
+ this.show = false
123
+
124
+ this.showupfee = false
125
+ this.showreducefee = false
126
+ this.showstop = false
127
+ this.showcontract = false
128
+ this.showbill = false
129
+ this.showpreparation = false
130
+ this.showprestorefee = false
131
+ this.showinfee = false
132
+ // 永州 采用开发商预付款方式收费
133
+ if(this.$login.f.f_fengongsi.includes("彩虹")&&str==='预付扣款'){
134
+ this.showprestorefee = true
135
+ }else {
136
+ this.showinfee = true
137
+ }
138
+ },
139
+ // 更新费用
140
+ updatefee(row) {
141
+ this.$refs.installselect.clifun(row)
142
+ this.selectdata = row
143
+ this.clishow = true
144
+ this.show = false
145
+
146
+ this.showinfee = false
147
+ this.showprestorefee = false
148
+ this.showbill = false
149
+ this.showreducefee = false
150
+ this.showstop = false
151
+ this.showcontract = false
152
+ this.showpreparation = false
153
+ this.showupfee = true
154
+ },
155
+ // 减免费用
156
+ reducefee(row) {
157
+ this.$refs.installselect.clifun(row)
158
+ this.selectdata = row
159
+ this.clishow = true
160
+ this.show = false
161
+
162
+ this.showinfee = false
163
+ this.showprestorefee = false
164
+ this.showbill = false
165
+ this.showupfee = false
166
+ this.showstop = false
167
+ this.showcontract = false
168
+ this.showpreparation = false
169
+ this.showreducefee = true
170
+ },
171
+ // 终止报建
172
+ stopInstall(row) {
173
+ this.$refs.installselect.clifun(row)
174
+ this.selectdata = row
175
+ this.clishow = true
176
+ this.show = false
177
+
178
+ this.showbill = false
179
+ this.showinfee = false
180
+ this.showprestorefee = false
181
+ this.showupfee = false
182
+ this.showreducefee = false
183
+ this.showcontract = false
184
+ this.showpreparation = false
185
+ this.showstop = true
186
+ },
187
+ // 操作记录点击撤销时间调用方法
188
+ recordCancel(title, name, row) {
189
+ this.leftheight = '50%'
190
+ this.showallbtn = false
191
+ this.show = false
192
+ this.clishow = false
193
+ // this.$refs.installselect.bulkType = '操作记录撤销'
194
+ this.$els.route.style.height = 260 + 'px'
195
+ // 清除row的选择
196
+ this.row = null
197
+ // this.$refs.list.search()
198
+ this.comps = {name: name, props: {data: row}}
199
+ this.$refs.route.init(name, {data: row})
200
+ }
201
+ // recordCancel (title, row, name) {
202
+ // this.$refs.card.operateCancel(row)
203
+ // }
204
+ },
205
+ ready() {
206
+
207
+ },
208
+ events: {
209
+ 'showbtn'(val) {
210
+ this.selectdata = val
211
+ // this.show = true
212
+ this.showallbtn = true
213
+ this.leftheight = '25%'
214
+ this.totalheight = '80%'
215
+ },
216
+ 'hiddenbtn'() {
217
+ this.showallbtn = false
218
+ this.clishow = false
219
+ this.show = false
220
+ this.comps = null
221
+ this.leftheight = '100%'
222
+ this.totalheight = '100%'
223
+ this.$refs.installselect.$refs.cp.$refs.cri.search()
224
+ // this.$refs.installdown.$refs.cp.$refs.cri.search()
225
+ this.$refs.card.$refs.paged.$refs.cri.search()
226
+ },
227
+ 'showline'(value) {
228
+ this.show = false
229
+ this.$refs.installselect.clifun(value)
230
+ },
231
+ 'searchcard'() {
232
+ this.$refs.installselect.$refs.cp.$refs.cri.search()
233
+ // this.$refs.installdown.$refs.cp.$refs.cri.search()
234
+ this.$refs.card.$refs.paged.$refs.cri.search()
235
+ },
236
+ 'list-select-oper'() {
237
+ this.leftheight = '50%'
238
+ this.footheight = '50%'
239
+ }
240
+ }
241
+ }
242
+ </script>