apply-clients 7.1.35 → 7.1.36-yuchuan-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +5 -1
- package/android.html +9 -0
- package/build/css-loaders.js +34 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server.js +172 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +123 -0
- package/build/webpack.baseandroid.conf.js +123 -0
- package/build/webpack.dev.conf.js +43 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/index.html +10 -1
- package/package.json +14 -8
- package/src/AndroidApp.vue +21 -14
- package/src/App.vue +4 -6
- package/src/android-bootstrap/less/.csscomb.json +304 -0
- package/src/android-bootstrap/less/.csslintrc +19 -0
- package/src/android-bootstrap/less/alerts.less +73 -0
- package/src/android-bootstrap/less/badges.less +66 -0
- package/src/android-bootstrap/less/bootstrap.less +56 -0
- package/src/android-bootstrap/less/breadcrumbs.less +26 -0
- package/src/android-bootstrap/less/button-groups.less +247 -0
- package/src/android-bootstrap/less/buttons.less +173 -0
- package/src/android-bootstrap/less/carousel.less +269 -0
- package/src/android-bootstrap/less/close.less +34 -0
- package/src/android-bootstrap/less/code.less +69 -0
- package/src/android-bootstrap/less/component-animations.less +33 -0
- package/src/android-bootstrap/less/dropdowns.less +216 -0
- package/src/android-bootstrap/less/forms.less +626 -0
- package/src/android-bootstrap/less/glyphicons.less +305 -0
- package/src/android-bootstrap/less/grid.less +84 -0
- package/src/android-bootstrap/less/input-groups.less +167 -0
- package/src/android-bootstrap/less/jumbotron.less +52 -0
- package/src/android-bootstrap/less/labels.less +64 -0
- package/src/android-bootstrap/less/list-group.less +141 -0
- package/src/android-bootstrap/less/media.less +66 -0
- package/src/android-bootstrap/less/mixins/alerts.less +14 -0
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
- package/src/android-bootstrap/less/mixins/buttons.less +69 -0
- package/src/android-bootstrap/less/mixins/center-block.less +7 -0
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
- package/src/android-bootstrap/less/mixins/forms.less +90 -0
- package/src/android-bootstrap/less/mixins/gradients.less +59 -0
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
- package/src/android-bootstrap/less/mixins/grid.less +122 -0
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
- package/src/android-bootstrap/less/mixins/image.less +33 -0
- package/src/android-bootstrap/less/mixins/labels.less +12 -0
- package/src/android-bootstrap/less/mixins/list-group.less +30 -0
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
- package/src/android-bootstrap/less/mixins/opacity.less +8 -0
- package/src/android-bootstrap/less/mixins/pagination.less +24 -0
- package/src/android-bootstrap/less/mixins/panels.less +24 -0
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
- package/src/android-bootstrap/less/mixins/resize.less +6 -0
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
- package/src/android-bootstrap/less/mixins/size.less +10 -0
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
- package/src/android-bootstrap/less/mixins/table-row.less +44 -0
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
- package/src/android-bootstrap/less/mixins.less +40 -0
- package/src/android-bootstrap/less/modals.less +151 -0
- package/src/android-bootstrap/less/navbar.less +660 -0
- package/src/android-bootstrap/less/navs.less +302 -0
- package/src/android-bootstrap/less/normalize.less +424 -0
- package/src/android-bootstrap/less/pager.less +76 -0
- package/src/android-bootstrap/less/pagination.less +89 -0
- package/src/android-bootstrap/less/panels.less +274 -0
- package/src/android-bootstrap/less/popovers.less +131 -0
- package/src/android-bootstrap/less/print.less +101 -0
- package/src/android-bootstrap/less/progress-bars.less +87 -0
- package/src/android-bootstrap/less/responsive-embed.less +35 -0
- package/src/android-bootstrap/less/responsive-utilities.less +194 -0
- package/src/android-bootstrap/less/scaffolding.less +161 -0
- package/src/android-bootstrap/less/tables.less +262 -0
- package/src/android-bootstrap/less/theme.less +291 -0
- package/src/android-bootstrap/less/thumbnails.less +36 -0
- package/src/android-bootstrap/less/tooltip.less +102 -0
- package/src/android-bootstrap/less/type.less +303 -0
- package/src/android-bootstrap/less/utilities.less +55 -0
- package/src/android-bootstrap/less/variables.less +896 -0
- package/src/android-bootstrap/less/wells.less +29 -0
- package/src/android.js +7 -4
- package/src/apply.js +83 -16
- package/src/applyAndroid.js +70 -28
- package/src/assets/marker-default.png +0 -0
- package/src/assets/myLocationIcon.png +0 -0
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/components/android/AppOnetomany.vue +301 -0
- package/src/components/android/AppServiceView.vue +603 -0
- package/src/components/android/AppSign.vue +231 -0
- package/src/components/android/AppTakePic.vue +142 -0
- package/src/components/android/AppUpload.vue +260 -0
- package/src/components/android/Ignition/VentilationIgnition.vue +408 -0
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +455 -0
- package/src/components/android/Process/AppExplorationUser.vue +454 -0
- package/src/components/android/Process/AppServiceControl.vue +1397 -0
- package/src/components/android/Process/Processes/AppChaiChuInfo.vue +546 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +339 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +867 -0
- package/src/components/android/Process/Processes/SurveyUserSign.vue +65 -0
- package/src/components/android/Process/Processes/newAppDevicesManagement.vue +344 -0
- package/src/components/android/Process/Processes/newAppInstallationDetails.vue +669 -0
- package/src/components/android/Sign/AppSignTask.vue +183 -0
- package/src/components/android/Sign/SignProcess.vue +103 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -0
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +128 -0
- package/src/components/android/Task/Build/BuildTsak.vue +114 -0
- package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -0
- package/src/components/android/Task/RepairFromSend/RepairFrom.vue +124 -0
- package/src/components/android/Task/RepairFromSend/RepairSend.vue +124 -0
- package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -0
- package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -0
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +427 -0
- package/src/components/android/Task/ShiGongXinXi/ShowBuild.vue +95 -0
- package/src/components/android/Task/Survey/SurveyTsak.vue +141 -0
- package/src/components/android/Task/UpBuild/UpBuildDui.vue +95 -0
- package/src/components/android/Task/UpBuild/UpBuildTsak.vue +95 -0
- package/src/components/android/Task/UpBuild/UpJianLi.vue +95 -0
- package/src/components/android/TaskGraph.vue +130 -0
- package/src/components/android/newPackage/customerServiceManager.vue +218 -0
- package/src/components/android/newPackage/designDrawings.vue +94 -0
- package/src/components/android/newPackage/detailedData.vue +24 -0
- package/src/components/android/newPackage/projectPrice.vue +218 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +568 -73
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +2 -2
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +198 -0
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue +30 -0
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +235 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +323 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -0
- package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -0
- package/src/components/product/ApplyGuanXian/TabButton.vue +157 -0
- package/src/components/product/ApplyGuanXian/Tabs.vue +67 -0
- package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -0
- package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -0
- package/src/components/product/ApplyMap/ApplyMapCom.vue +82 -0
- package/src/components/product/ApplyMap/ApplyMapLocation.vue +850 -0
- package/src/components/product/ChongZheng/ApplyChongZhengList.vue +414 -0
- package/src/components/product/ChongZheng/ApplyChongZhengSearch.vue +30 -0
- package/src/components/product/Function/InstallFunction.vue +56 -70
- package/src/components/product/Function/InstallInfoSelect.vue +193 -105
- package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -245
- package/src/components/product/Ignition/IgnitionDispatch.vue +92 -0
- package/src/components/product/Ignition/IgnitionList.vue +236 -0
- package/src/components/product/Ignition/IgnitionListManage.vue +403 -0
- package/src/components/product/Ignition/IgnitionRecord.vue +357 -0
- package/src/components/product/List/ShowDevices.vue +279 -0
- package/src/components/product/Onetomany.vue +377 -0
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +445 -0
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +252 -0
- package/src/components/product/Print/BuildOrder/printGaiXianOrder.vue +232 -0
- package/src/components/product/Print/OrderPrint/GaiXianOrder.vue +281 -0
- package/src/components/product/Print/OrderPrint/printChaiChuOrder.vue +260 -0
- package/src/components/product/Print/img/R-C.jpg +0 -0
- package/src/components/product/Process/ExplorationSelect.vue +580 -347
- package/src/components/product/Process/ExplorationUser.vue +118 -98
- package/src/components/product/Process/NewExplorationUser.vue +184 -0
- package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -0
- package/src/components/product/Process/Processes/ExhibitionPicture.vue +27 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +845 -276
- package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
- package/src/components/product/Process/Processes/Print/printCharge.vue +250 -0
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -0
- package/src/components/product/Process/Processes/Print/printPaymentSubject.vue +170 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +59 -113
- package/src/components/product/Process/Processes/chargeManagement.vue +492 -350
- package/src/components/product/Process/Processes/devicesManagement.vue +374 -0
- package/src/components/product/Process/Processes/newDevicesManagement.vue +379 -0
- package/src/components/product/Process/Processes/newInstallationDetails.vue +718 -0
- package/src/components/product/Process/Processes/satisfactionShow.vue +202 -0
- package/src/components/product/Process/Processes/selectApply.vue +250 -0
- package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -0
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -0
- package/src/components/product/Process/Processes/selectUserinfo.vue +234 -0
- package/src/components/product/Process/Processes/supplementalAgreement.vue +182 -181
- package/src/components/product/Process/Service/ServiceControl.vue +2155 -856
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
- package/src/components/product/Report/ReportItems.vue +79 -0
- package/src/components/product/Report/apply-stair-anzhuang.vue +361 -0
- package/src/components/product/Report/apply-stair-kaifa.vue +138 -0
- package/src/components/product/Report/apply-stair-tongqi.vue +137 -0
- package/src/components/product/Report/apply-stair-wtongqi.vue +138 -0
- package/src/components/product/ServiceView.vue +557 -680
- package/src/components/product/Stop/StopApply.vue +105 -0
- package/src/components/product/Stop/StopApplyList.vue +224 -0
- package/src/components/product/Supervisory/ExportExcel.vue +360 -0
- package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +454 -73
- package/src/components/product/Supervisory/SupervisoryControl.vue +28 -35
- package/src/components/product/Supervisory/SupervisoryList.vue +536 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +52 -36
- package/src/components/product/VueUtils/ApplyUpload.vue +70 -47
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
- package/src/expandcssAndroid.less +1034 -0
- package/src/main.js +5 -1
- package/src/public/history/HistoryApplyList.vue +108 -0
- package/src/public/history/PublicHistoryApply.vue +39 -0
- package/src/public/history/PublicSupervisoryhCart.vue +72 -0
- package/src/public/order/PublicOrderApply.vue +387 -0
- package/static/images/lefticon/yingyechaxun.png +0 -0
- package/static/images/lefticon/zongheyewu.png +0 -0
- package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/{dist-android/static/denglu.png → static/images/lefticonNew//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png} +0 -0
- package/static/images/lefticonNew//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticonNew//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/static/images/lefticonNew//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/static/images/lefticonNew//345/233/276/345/261/202577.png +0 -0
- package/{dist-android/static/psicon.png → static/images/lefticonNew//345/233/276/345/261/2028/346/213/267/350/264/23513.png} +0 -0
- package/static/images/lefticonNew//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/static/images/lefticonNew//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/static/images/lefticonNew//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/static/images/lefticonNew//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticonNew//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticonNew//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/static/images/lefticonNew//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/static/images/lefticonNew//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/static/images/lefticonNew//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/static/images/lefticonNew//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/images/lefticonNew//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticonNew//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/static/images/lefticonNew//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/yarn-error.log +9976 -0
- package/dist-android/index.html +0 -3
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/0.js +0 -2
- package/dist-android/static/0.js.map +0 -1
- package/dist-android/static/1.js +0 -2
- package/dist-android/static/1.js.map +0 -1
- package/dist-android/static/10.js +0 -2
- package/dist-android/static/10.js.map +0 -1
- package/dist-android/static/100.js +0 -2
- package/dist-android/static/100.js.map +0 -1
- package/dist-android/static/11.js +0 -2
- package/dist-android/static/11.js.map +0 -1
- package/dist-android/static/12.js +0 -2
- package/dist-android/static/12.js.map +0 -1
- package/dist-android/static/13.js +0 -2
- package/dist-android/static/13.js.map +0 -1
- package/dist-android/static/14.js +0 -2
- package/dist-android/static/14.js.map +0 -1
- package/dist-android/static/15.js +0 -2
- package/dist-android/static/15.js.map +0 -1
- package/dist-android/static/16.js +0 -2
- package/dist-android/static/16.js.map +0 -1
- package/dist-android/static/17.js +0 -2
- package/dist-android/static/17.js.map +0 -1
- package/dist-android/static/18.js +0 -2
- package/dist-android/static/18.js.map +0 -1
- package/dist-android/static/19.js +0 -2
- package/dist-android/static/19.js.map +0 -1
- package/dist-android/static/2.js +0 -2
- package/dist-android/static/2.js.map +0 -1
- package/dist-android/static/20.js +0 -2
- package/dist-android/static/20.js.map +0 -1
- package/dist-android/static/21.js +0 -2
- package/dist-android/static/21.js.map +0 -1
- package/dist-android/static/22.js +0 -2
- package/dist-android/static/22.js.map +0 -1
- package/dist-android/static/23.js +0 -2
- package/dist-android/static/23.js.map +0 -1
- package/dist-android/static/24.js +0 -2
- package/dist-android/static/24.js.map +0 -1
- package/dist-android/static/25.js +0 -2
- package/dist-android/static/25.js.map +0 -1
- package/dist-android/static/26.js +0 -2
- package/dist-android/static/26.js.map +0 -1
- package/dist-android/static/27.js +0 -2
- package/dist-android/static/27.js.map +0 -1
- package/dist-android/static/28.js +0 -2
- package/dist-android/static/28.js.map +0 -1
- package/dist-android/static/29.js +0 -2
- package/dist-android/static/29.js.map +0 -1
- package/dist-android/static/3.js +0 -2
- package/dist-android/static/3.js.map +0 -1
- package/dist-android/static/30.js +0 -2
- package/dist-android/static/30.js.map +0 -1
- package/dist-android/static/31.js +0 -2
- package/dist-android/static/31.js.map +0 -1
- package/dist-android/static/32.js +0 -2
- package/dist-android/static/32.js.map +0 -1
- package/dist-android/static/33.js +0 -2
- package/dist-android/static/33.js.map +0 -1
- package/dist-android/static/34.js +0 -2
- package/dist-android/static/34.js.map +0 -1
- package/dist-android/static/35.js +0 -2
- package/dist-android/static/35.js.map +0 -1
- package/dist-android/static/36.js +0 -2
- package/dist-android/static/36.js.map +0 -1
- package/dist-android/static/37.js +0 -2
- package/dist-android/static/37.js.map +0 -1
- package/dist-android/static/38.js +0 -2
- package/dist-android/static/38.js.map +0 -1
- package/dist-android/static/39.js +0 -2
- package/dist-android/static/39.js.map +0 -1
- package/dist-android/static/4.js +0 -2
- package/dist-android/static/4.js.map +0 -1
- package/dist-android/static/40.js +0 -2
- package/dist-android/static/40.js.map +0 -1
- package/dist-android/static/41.js +0 -2
- package/dist-android/static/41.js.map +0 -1
- package/dist-android/static/42.js +0 -2
- package/dist-android/static/42.js.map +0 -1
- package/dist-android/static/43.js +0 -2
- package/dist-android/static/43.js.map +0 -1
- package/dist-android/static/44.js +0 -2
- package/dist-android/static/44.js.map +0 -1
- package/dist-android/static/45.js +0 -2
- package/dist-android/static/45.js.map +0 -1
- package/dist-android/static/46.js +0 -2
- package/dist-android/static/46.js.map +0 -1
- package/dist-android/static/47.js +0 -2
- package/dist-android/static/47.js.map +0 -1
- package/dist-android/static/48.js +0 -2
- package/dist-android/static/48.js.map +0 -1
- package/dist-android/static/49.js +0 -2
- package/dist-android/static/49.js.map +0 -1
- package/dist-android/static/5.js +0 -2
- package/dist-android/static/5.js.map +0 -1
- package/dist-android/static/50.js +0 -2
- package/dist-android/static/50.js.map +0 -1
- package/dist-android/static/51.js +0 -2
- package/dist-android/static/51.js.map +0 -1
- package/dist-android/static/52.js +0 -2
- package/dist-android/static/52.js.map +0 -1
- package/dist-android/static/53.js +0 -2
- package/dist-android/static/53.js.map +0 -1
- package/dist-android/static/54.js +0 -2
- package/dist-android/static/54.js.map +0 -1
- package/dist-android/static/55.js +0 -2
- package/dist-android/static/55.js.map +0 -1
- package/dist-android/static/56.js +0 -2
- package/dist-android/static/56.js.map +0 -1
- package/dist-android/static/57.js +0 -2
- package/dist-android/static/57.js.map +0 -1
- package/dist-android/static/58.js +0 -2
- package/dist-android/static/58.js.map +0 -1
- package/dist-android/static/59.js +0 -2
- package/dist-android/static/59.js.map +0 -1
- package/dist-android/static/6.js +0 -2
- package/dist-android/static/6.js.map +0 -1
- package/dist-android/static/60.js +0 -2
- package/dist-android/static/60.js.map +0 -1
- package/dist-android/static/61.js +0 -2
- package/dist-android/static/61.js.map +0 -1
- package/dist-android/static/62.js +0 -2
- package/dist-android/static/62.js.map +0 -1
- package/dist-android/static/63.js +0 -2
- package/dist-android/static/63.js.map +0 -1
- package/dist-android/static/64.js +0 -2
- package/dist-android/static/64.js.map +0 -1
- package/dist-android/static/65.js +0 -2
- package/dist-android/static/65.js.map +0 -1
- package/dist-android/static/66.js +0 -2
- package/dist-android/static/66.js.map +0 -1
- package/dist-android/static/67.js +0 -2
- package/dist-android/static/67.js.map +0 -1
- package/dist-android/static/68.js +0 -2
- package/dist-android/static/68.js.map +0 -1
- package/dist-android/static/69.js +0 -2
- package/dist-android/static/69.js.map +0 -1
- package/dist-android/static/7.js +0 -6
- package/dist-android/static/7.js.map +0 -1
- package/dist-android/static/70.js +0 -2
- package/dist-android/static/70.js.map +0 -1
- package/dist-android/static/71.js +0 -2
- package/dist-android/static/71.js.map +0 -1
- package/dist-android/static/72.js +0 -2
- package/dist-android/static/72.js.map +0 -1
- package/dist-android/static/73.js +0 -2
- package/dist-android/static/73.js.map +0 -1
- package/dist-android/static/74.js +0 -2
- package/dist-android/static/74.js.map +0 -1
- package/dist-android/static/75.js +0 -2
- package/dist-android/static/75.js.map +0 -1
- package/dist-android/static/76.js +0 -2
- package/dist-android/static/76.js.map +0 -1
- package/dist-android/static/77.js +0 -2
- package/dist-android/static/77.js.map +0 -1
- package/dist-android/static/78.js +0 -2
- package/dist-android/static/78.js.map +0 -1
- package/dist-android/static/79.js +0 -2
- package/dist-android/static/79.js.map +0 -1
- package/dist-android/static/8.js +0 -2
- package/dist-android/static/8.js.map +0 -1
- package/dist-android/static/80.js +0 -2
- package/dist-android/static/80.js.map +0 -1
- package/dist-android/static/81.js +0 -2
- package/dist-android/static/81.js.map +0 -1
- package/dist-android/static/82.js +0 -2
- package/dist-android/static/82.js.map +0 -1
- package/dist-android/static/83.js +0 -2
- package/dist-android/static/83.js.map +0 -1
- package/dist-android/static/84.js +0 -2
- package/dist-android/static/84.js.map +0 -1
- package/dist-android/static/85.js +0 -2
- package/dist-android/static/85.js.map +0 -1
- package/dist-android/static/86.js +0 -2
- package/dist-android/static/86.js.map +0 -1
- package/dist-android/static/87.js +0 -2
- package/dist-android/static/87.js.map +0 -1
- package/dist-android/static/88.js +0 -2
- package/dist-android/static/88.js.map +0 -1
- package/dist-android/static/89.js +0 -2
- package/dist-android/static/89.js.map +0 -1
- package/dist-android/static/9.js +0 -3
- package/dist-android/static/9.js.map +0 -1
- package/dist-android/static/90.js +0 -2
- package/dist-android/static/90.js.map +0 -1
- package/dist-android/static/91.js +0 -2
- package/dist-android/static/91.js.map +0 -1
- package/dist-android/static/92.js +0 -2
- package/dist-android/static/92.js.map +0 -1
- package/dist-android/static/93.js +0 -2
- package/dist-android/static/93.js.map +0 -1
- package/dist-android/static/94.js +0 -2
- package/dist-android/static/94.js.map +0 -1
- package/dist-android/static/95.js +0 -2
- package/dist-android/static/95.js.map +0 -1
- package/dist-android/static/96.js +0 -2
- package/dist-android/static/96.js.map +0 -1
- package/dist-android/static/97.js +0 -2
- package/dist-android/static/97.js.map +0 -1
- package/dist-android/static/98.js +0 -2
- package/dist-android/static/98.js.map +0 -1
- package/dist-android/static/99.js +0 -2
- package/dist-android/static/99.js.map +0 -1
- package/dist-android/static/app.css +0 -2
- package/dist-android/static/app.css.map +0 -1
- package/dist-android/static/app.js +0 -80
- package/dist-android/static/app.js.map +0 -1
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/config.json +0 -7
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/jingyin.jpg +0 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- package/dist-android/static/newmainbg.jpg +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/workflow_apply.json +0 -766
- package/dist-android/static/xinxi.png +0 -0
- package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/257/274/350/210/252/347/253/226/345/261/2173.png +0 -0
- package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
- package/src/components/app_apply/Acceptance.vue +0 -298
- package/src/components/app_apply/ApplyApp.vue +0 -91
- package/src/components/app_apply/ApplyDownList.vue +0 -166
- package/src/components/app_apply/ApplyInfo.vue +0 -56
- package/src/components/app_apply/ApplyListUpload.vue +0 -258
- package/src/components/app_apply/ApplyToDoList.vue +0 -165
- package/src/components/app_apply/ApplyUserInfo.vue +0 -56
- package/src/components/app_apply/FieldExploration.vue +0 -267
- package/src/components/app_apply/PlaceControler.vue +0 -258
- package/src/components/app_apply/ServiceControl.vue +0 -267
- package/src/components/app_apply/ServiceView.vue +0 -355
- package/src/components/app_apply/ToolsPage.vue +0 -51
- package/src/components/app_apply/Ventilation.vue +0 -199
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
- package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
- package/src/components/product/Function/functions/StopInstall.vue +0 -106
- package/src/components/product/Process/Processes/printCharge.vue +0 -126
- package/src/components/product/Process/ShowBackReason.vue +0 -32
- package/src/components/product/ReportForm/GasIgnitionSummary.vue +0 -352
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
- /package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.eot +0 -0
- /package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.svg +0 -0
- /package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.ttf +0 -0
- /package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff +0 -0
- /package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff2 +0 -0
- /package/static/images/lefticon/{/345/256/211/346/243/200/346/237/245/347/234/213.png" → anjianjihua.png} +0 -0
- /package/static/images/lefticon/{/346/241/243/346/241/210/347/256/241/347/220/206.png" → danganguanli.png} +0 -0
- /package/static/images/lefticon/{/345/224/256/346/260/224/346/224/266/350/264/271.png" → shouqishoufei.png} +0 -0
- /package/static/images/lefticon/{/347/211/251/350/201/224/347/275/221/350/241/250.png" → wulianwang.png} +0 -0
- /package/static/images/lefticon/{/347/263/273/347/273/237/347/256/241/347/220/206.png" → xitongguanli.png} +0 -0
- /package/static/images/lefticon/{/345/221/274/345/217/253/347/263/273/347/273/237.png" → yuyinkefu.png} +0 -0
|
@@ -1,256 +1,252 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
3
|
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th class="textNoLineBreak">序号</th>
|
|
7
|
+
<th class="textNoLineBreak">收费金额</th>
|
|
8
|
+
<th class="textNoLineBreak">金额大写</th>
|
|
9
|
+
<th class="textNoLineBreak">付款方式</th>
|
|
10
|
+
<th class="textNoLineBreak">收费人员</th>
|
|
11
|
+
<th class="textNoLineBreak">收费日期</th>
|
|
12
|
+
<th class="textNoLineBreak">备注</th>
|
|
13
|
+
<th class="textNoLineBreak">缴费状态</th>
|
|
14
|
+
<th class="textNoLineBreak">作废人员</th>
|
|
15
|
+
<th class="textNoLineBreak">作废时间</th>
|
|
16
|
+
<th class="textNoLineBreak">作废原因</th>
|
|
17
|
+
<th class="textNoLineBreak">票据类型</th>
|
|
18
|
+
<th class="textNoLineBreak">票据状态</th>
|
|
19
|
+
<th class="textNoLineBreak">
|
|
20
|
+
<button
|
|
21
|
+
type="button"
|
|
22
|
+
class="btn btn-info head-but"
|
|
23
|
+
@click="$parent.$parent.showChargeModal()"
|
|
24
|
+
:disabled="$parent.$parent.mark === 1 || ($parent.$parent.selectdata.f_cumulative_payment_money >= $parent.$parent.selectdata.f_due_money || $parent.$parent.selectdata.f_surplus_money === 0)"
|
|
25
|
+
>新增收费</button>
|
|
26
|
+
</th>
|
|
27
|
+
</tr>
|
|
28
|
+
</template>
|
|
29
|
+
<template partial='body'>
|
|
30
|
+
<tr>
|
|
31
|
+
<td style="text-align: center;">
|
|
32
|
+
<nobr>{{$index+1}}</nobr>
|
|
33
|
+
</td>
|
|
34
|
+
<td style="text-align: center;">
|
|
35
|
+
<nobr>{{row.f_charge_money}}</nobr>
|
|
36
|
+
</td>
|
|
37
|
+
<td style="text-align: center;">
|
|
38
|
+
<nobr>{{row.f_amount_words}}</nobr>
|
|
39
|
+
</td>
|
|
40
|
+
<td style="text-align: center;">
|
|
41
|
+
<nobr>{{row.f_payment_method}}</nobr>
|
|
42
|
+
</td>
|
|
43
|
+
<td style="text-align: center;">
|
|
44
|
+
<nobr>{{row.f_charge_collectors}}</nobr>
|
|
45
|
+
</td>
|
|
46
|
+
<td style="text-align: center;">
|
|
47
|
+
<nobr>{{row.f_charge_date}}</nobr>
|
|
48
|
+
</td>
|
|
49
|
+
<td style="text-align: center;">
|
|
50
|
+
<nobr>{{row.f_charge_remarks}}</nobr>
|
|
51
|
+
</td>
|
|
52
|
+
<td style="text-align: center;">
|
|
53
|
+
<nobr>{{row.f_charge_status}}</nobr>
|
|
54
|
+
</td>
|
|
55
|
+
<td style="text-align: center;">
|
|
56
|
+
<nobr>{{row.f_void_staff}}</nobr>
|
|
57
|
+
</td>
|
|
58
|
+
<td style="text-align: center;">
|
|
59
|
+
<nobr>{{row.f_void_date}}</nobr>
|
|
60
|
+
</td>
|
|
61
|
+
<td style="text-align: center;">
|
|
62
|
+
<nobr>{{row.f_void_remarks}}</nobr>
|
|
63
|
+
</td>
|
|
64
|
+
<td style="text-align: center;">
|
|
65
|
+
<nobr>{{row.f_bill_style}}</nobr>
|
|
66
|
+
</td>
|
|
67
|
+
<td style="text-align: center;">
|
|
68
|
+
<nobr>{{row.f_bill_state}}</nobr>
|
|
69
|
+
</td>
|
|
70
|
+
<td style="text-align: center;">
|
|
71
|
+
<nobr v-if="row.f_charge_status !== '退款'">
|
|
20
72
|
<button
|
|
21
73
|
type="button"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</template>
|
|
29
|
-
<template partial='body'>
|
|
30
|
-
<tr>
|
|
31
|
-
<td style="text-align: center;">
|
|
32
|
-
<nobr>{{$index+1}}</nobr>
|
|
33
|
-
</td>
|
|
34
|
-
<td style="text-align: center;">
|
|
35
|
-
<nobr>{{row.f_payer}}</nobr>
|
|
36
|
-
</td>
|
|
37
|
-
<td style="text-align: center;">
|
|
38
|
-
<nobr>{{row.f_charge_number}}</nobr>
|
|
39
|
-
</td>
|
|
40
|
-
<td style="text-align: center;">
|
|
41
|
-
<nobr>{{row.f_charge_money}}</nobr>
|
|
42
|
-
</td>
|
|
43
|
-
<td style="text-align: center;">
|
|
44
|
-
<nobr>{{row.f_amount_words}}</nobr>
|
|
45
|
-
</td>
|
|
46
|
-
<td style="text-align: center;">
|
|
47
|
-
<nobr>{{row.f_payment_method}}</nobr>
|
|
48
|
-
</td>
|
|
49
|
-
<td style="text-align: center;">
|
|
50
|
-
<nobr>{{row.f_charge_collectors}}</nobr>
|
|
51
|
-
</td>
|
|
52
|
-
<td style="text-align: center;">
|
|
53
|
-
<nobr>{{row.f_charge_date}}</nobr>
|
|
54
|
-
</td>
|
|
55
|
-
<td style="text-align: center;">
|
|
56
|
-
<nobr>{{row.f_charge_remarks}}</nobr>
|
|
57
|
-
</td>
|
|
58
|
-
<td style="text-align: center;">
|
|
59
|
-
<nobr>{{row.f_charge_status}}</nobr>
|
|
60
|
-
</td>
|
|
61
|
-
<td style="text-align: center;">
|
|
62
|
-
<nobr>{{row.f_void_staff}}</nobr>
|
|
63
|
-
</td>
|
|
64
|
-
<td style="text-align: center;">
|
|
65
|
-
<nobr>{{row.f_void_date}}</nobr>
|
|
66
|
-
</td>
|
|
67
|
-
<td style="text-align: center;">
|
|
68
|
-
<nobr>{{row.f_void_remarks}}</nobr>
|
|
69
|
-
</td>
|
|
70
|
-
<td style="text-align: center;">
|
|
71
|
-
<nobr>
|
|
72
|
-
<button
|
|
73
|
-
type="button"
|
|
74
|
-
name="button"
|
|
75
|
-
class="btn btn-link"
|
|
76
|
-
:disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废'"
|
|
77
|
-
@click="$parent.$parent.showInvalidModal(row)"
|
|
78
|
-
>作废</button>
|
|
74
|
+
name="button"
|
|
75
|
+
class="btn btn-link"
|
|
76
|
+
v-if = false
|
|
77
|
+
:disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废'"
|
|
78
|
+
@click="$parent.$parent.showInvalidModal(row)"
|
|
79
|
+
>作废</button>
|
|
79
80
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
<!-- >打印预览</button>-->
|
|
86
|
-
</nobr>
|
|
87
|
-
</td>
|
|
88
|
-
</tr>
|
|
89
|
-
</template>
|
|
90
|
-
</data-grid>
|
|
81
|
+
<button
|
|
82
|
+
type="button" name="button" class="btn btn-link"
|
|
83
|
+
v-if="row.f_bill_state !== '开票成功' && row.f_charge_status !== '作废'"
|
|
84
|
+
@click="$parent.$parent.openBill(row)"
|
|
85
|
+
>开票</button>
|
|
91
86
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
87
|
+
<button
|
|
88
|
+
type="button" name="button" class="btn btn-link"
|
|
89
|
+
v-if = "row.f_bill_state === '开票成功'"
|
|
90
|
+
@click="$parent.$parent.showPrintModal(row)"
|
|
91
|
+
>查看发票</button>
|
|
92
|
+
</nobr>
|
|
93
|
+
</td>
|
|
94
|
+
</tr>
|
|
95
|
+
</template>
|
|
96
|
+
</data-grid>
|
|
97
|
+
|
|
98
|
+
<validator name="v">
|
|
99
|
+
<modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
100
|
+
<header slot="modal-header" class="modal-header">
|
|
101
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
102
|
+
<h4 class="modal-title">收费明细</h4>
|
|
103
|
+
</header>
|
|
104
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
105
|
+
<div class="form-group col-sm-6" :class="[$v.f_charge_money.required ? 'has-error' : '']">
|
|
106
|
+
<label class="col-sm-4 control-label">收费金额:</label>
|
|
107
|
+
<div class="col-sm-8">
|
|
108
|
+
<input type="text"
|
|
109
|
+
class="form-control input_view"
|
|
110
|
+
style="width: 100%"
|
|
111
|
+
placeholder="0.00"
|
|
112
|
+
@keyup="handleInput"
|
|
113
|
+
@change="moneyChange"
|
|
114
|
+
v-validate:f_charge_money = "['required']"
|
|
115
|
+
v-model="charge.f_charge_money" />
|
|
116
|
+
</div>
|
|
111
117
|
</div>
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
<div class="form-group col-sm-6" :class="[$v.f_feecount.required ? 'has-error' : '']">
|
|
119
|
+
<label class="col-sm-4 control-label">缴费户数:</label>
|
|
120
|
+
<div class="col-sm-8">
|
|
121
|
+
<input type="text"
|
|
122
|
+
class="form-control input_view"
|
|
123
|
+
style="width: 100%"
|
|
124
|
+
v-validate:f_feecount = "['required']"
|
|
125
|
+
v-model="charge.f_feecount"
|
|
126
|
+
:value="selectdata.f_install_count"
|
|
127
|
+
/>
|
|
128
|
+
</div>
|
|
121
129
|
</div>
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
style="width: 100%"
|
|
129
|
-
placeholder="0.00"
|
|
130
|
-
@keyup="handleInput"
|
|
131
|
-
v-model="charge.f_charge_money" />
|
|
130
|
+
<div class="form-group col-sm-6">
|
|
131
|
+
<label class="col-sm-4 control-label">金额大写:</label>
|
|
132
|
+
<div class="col-sm-8">
|
|
133
|
+
<input type="text" class="form-control input_view" style="width: 100%" readonly
|
|
134
|
+
:value="smalltoBIG(0)" v-model.sync="charge.f_amount_words"/>
|
|
135
|
+
</div>
|
|
132
136
|
</div>
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
137
|
+
<div class="form-group col-sm-6" :class="[$v.f_payment_method.required ? 'has-error' : '']">
|
|
138
|
+
<label class="col-sm-4 control-label">付款方式:</label>
|
|
139
|
+
<div class="col-sm-8">
|
|
140
|
+
<input type="text" v-show="false" v-model="charge.f_payment_method" v-validate:f_payment_method = "['required']" >
|
|
141
|
+
<input-select
|
|
142
|
+
placeholder='请选择' width="100%"
|
|
143
|
+
v-model="charge.f_payment_method"
|
|
144
|
+
:value.sync="charge.f_payment_method"
|
|
145
|
+
:options='paymentMethod'
|
|
146
|
+
class="select select_list"
|
|
147
|
+
:value-single="true"
|
|
148
|
+
close-on-select ></input-select>
|
|
149
|
+
</div>
|
|
146
150
|
</div>
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
151
|
+
<div class="form-group col-sm-6" :class="[$v.f_bill_style.required ? 'has-error' : '']">
|
|
152
|
+
<label class="col-sm-4 control-label">票据类型:</label>
|
|
153
|
+
<div class="col-sm-8">
|
|
154
|
+
<input type="text" v-show="false" v-model="charge.f_bill_style" :value.sync="selectdata.f_paper_type" v-validate:f_bill_style = "['required']" >
|
|
155
|
+
<input-select
|
|
156
|
+
placeholder='请选择' width="100%"
|
|
157
|
+
v-model="charge.f_bill_style"
|
|
158
|
+
:value.sync="selectdata.f_paper_type"
|
|
159
|
+
:options='billStyleList'
|
|
160
|
+
class="select select_list"
|
|
161
|
+
:value-single="true"
|
|
162
|
+
close-on-select ></input-select>
|
|
163
|
+
</div>
|
|
157
164
|
</div>
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
<input type="text"
|
|
165
|
-
class="form-control input_view"
|
|
166
|
-
style="width: 100%"
|
|
167
|
-
readonly
|
|
168
|
-
v-model="selectdata.f_price" />
|
|
165
|
+
<div class="form-group col-sm-6">
|
|
166
|
+
<label class="col-sm-4 control-label">应交总金额:</label>
|
|
167
|
+
<div class="col-sm-8">
|
|
168
|
+
<input type="text" class="form-control input_view" style="width: 100%" readonly
|
|
169
|
+
v-model="selectdata.f_due_money" />
|
|
170
|
+
</div>
|
|
169
171
|
</div>
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
<input type="text"
|
|
177
|
-
class="form-control input_view"
|
|
178
|
-
style="width: 100%"
|
|
179
|
-
readonly
|
|
180
|
-
:value="cumulativePaymentMoney" />
|
|
172
|
+
<div class="form-group col-sm-6">
|
|
173
|
+
<label class="col-sm-4 control-label">未结总金额:</label>
|
|
174
|
+
<div class="col-sm-8">
|
|
175
|
+
<input type="text" class="form-control input_view" style="width: 100%" readonly
|
|
176
|
+
v-model="selectdata.f_surplus_money" />
|
|
177
|
+
</div>
|
|
181
178
|
</div>
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
<input type="text"
|
|
189
|
-
class="form-control input_view"
|
|
190
|
-
style="width: 100%"
|
|
191
|
-
readonly
|
|
192
|
-
:value="outstandingAmount" />
|
|
179
|
+
<div class="form-group col-sm-6">
|
|
180
|
+
<label class="col-sm-4 control-label">累计缴费总金额:</label>
|
|
181
|
+
<div class="col-sm-8">
|
|
182
|
+
<input type="text" class="form-control input_view" style="width: 100%" readonly
|
|
183
|
+
v-model="selectdata.f_cumulative_payment_money" />
|
|
184
|
+
</div>
|
|
193
185
|
</div>
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
style="width: 100%"
|
|
201
|
-
readonly
|
|
202
|
-
v-model="selectdata.f_due_money" />
|
|
186
|
+
<div class="form-group col-sm-12">
|
|
187
|
+
<label class="col-sm-2 control-label">备注:</label>
|
|
188
|
+
<div class="col-sm-10">
|
|
189
|
+
<input type="text" class="form-control input_view" style="width: 100%"
|
|
190
|
+
v-model="charge.f_charge_remarks" />
|
|
191
|
+
</div>
|
|
203
192
|
</div>
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
style="width: 100%"
|
|
211
|
-
readonly
|
|
212
|
-
v-model="selectdata.f_cumulative_payment_money" />
|
|
193
|
+
<div class="form-group col-sm-6">
|
|
194
|
+
<label class="col-sm-4 control-label">购货单位识别号:</label>
|
|
195
|
+
<div class="col-sm-8">
|
|
196
|
+
<input type="text" class="form-control input_view" style="width: 100%"
|
|
197
|
+
v-model="charge.f_taxpayer_id" :value="selectdata.f_taxpayer_id" />
|
|
198
|
+
</div>
|
|
213
199
|
</div>
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
readonly
|
|
222
|
-
v-model="selectdata.f_surplus_money" />
|
|
200
|
+
<div class="form-group col-sm-6" :class="[$v.f_paper_name.required ? 'has-error' : '']">
|
|
201
|
+
<label class="col-sm-4 control-label">购货单位名称:</label>
|
|
202
|
+
<div class="col-sm-8">
|
|
203
|
+
<input type="text" class="form-control input_view" style="width: 100%"
|
|
204
|
+
v-validate:f_paper_name = "['required']"
|
|
205
|
+
v-model="charge.f_paper_name" :value="selectdata.f_paper_name" />
|
|
206
|
+
</div>
|
|
223
207
|
</div>
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
style="width: 100%"
|
|
231
|
-
v-model="charge.f_charge_remarks" />
|
|
208
|
+
<div class="form-group col-sm-6">
|
|
209
|
+
<label class="col-sm-4 control-label">购货单位银行账号:</label>
|
|
210
|
+
<div class="col-sm-8">
|
|
211
|
+
<input type="text" class="form-control input_view" style="width: 100%"
|
|
212
|
+
v-model="charge.f_paper_account" :value="selectdata.f_paper_account" />
|
|
213
|
+
</div>
|
|
232
214
|
</div>
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
215
|
+
<div class="form-group col-sm-6">
|
|
216
|
+
<label class="col-sm-4 control-label">购货单位地址电话:</label>
|
|
217
|
+
<div class="col-sm-8">
|
|
218
|
+
<input type="text" class="form-control input_view" style="width: 100%"
|
|
219
|
+
v-model="charge.f_address_phone" :value="selectdata.f_address_phone" />
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
<div class="form-group col-sm-12">
|
|
223
|
+
<label class="col-sm-2 control-label">发票备注:</label>
|
|
224
|
+
<div class="col-sm-10">
|
|
225
|
+
<input type="text" class="form-control input_view" style="width: 100%"
|
|
226
|
+
v-model="charge.f_bill_remarks" :value="selectdata.f_paper_remarks"/>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
</article>
|
|
230
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
231
|
+
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="saveCharge()">新增收费</button>
|
|
232
|
+
</footer>
|
|
233
|
+
</modal>
|
|
234
|
+
</validator>
|
|
239
235
|
|
|
240
|
-
<modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :
|
|
236
|
+
<modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :backdrop="false" title="作废收费">
|
|
241
237
|
<header slot="modal-header" class="modal-header">
|
|
242
238
|
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
243
239
|
<h4 class="modal-title">作废收费</h4>
|
|
244
240
|
</header>
|
|
245
241
|
<article slot="modal-body" class="modal-body clearfix">
|
|
246
|
-
<div class="form-group col-sm-12" v-if="
|
|
242
|
+
<div class="form-group col-sm-12" v-if="false">
|
|
247
243
|
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
248
244
|
<div class="col-sm-10">
|
|
249
245
|
<input type="text"
|
|
250
246
|
class="form-control input_view"
|
|
251
247
|
style="width: 100%"
|
|
252
248
|
readonly
|
|
253
|
-
v-model="charge.
|
|
249
|
+
v-model="charge.f_useraddres" />
|
|
254
250
|
</div>
|
|
255
251
|
</div>
|
|
256
252
|
<div class="form-group col-sm-12">
|
|
@@ -304,28 +300,28 @@
|
|
|
304
300
|
</div>
|
|
305
301
|
</article>
|
|
306
302
|
<footer slot="modal-footer" class="modal-footer">
|
|
307
|
-
<button type="button" class="btn btn-primary" @click="invalidApplyCharge()">确认作废</button>
|
|
303
|
+
<button type="button" class="btn btn-primary" :disabled="!charge.f_void_remarks" @click="invalidApplyCharge()">确认作废</button>
|
|
308
304
|
</footer>
|
|
309
305
|
</modal>
|
|
310
306
|
|
|
311
|
-
<modal v-if="showPrint" :show.sync="showPrint" v-ref:modal :large="true" :backdrop="false"
|
|
307
|
+
<modal v-if="showPrint" :show.sync="showPrint" v-ref:modal :large="true" :backdrop="false">
|
|
312
308
|
<header slot="modal-header" class="modal-header">
|
|
313
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
314
|
-
<h4 class="modal-title"
|
|
309
|
+
<button type="button" class="close" @click="closeModal()"><span>×</span></button>
|
|
310
|
+
<h4 class="modal-title">票据信息</h4>
|
|
315
311
|
</header>
|
|
316
312
|
<article slot="modal-body" class="modal-body clearfix">
|
|
317
|
-
<
|
|
313
|
+
<iframe width="100%" height="500px" :src="charge.f_bill_link" v-if="charge.f_bill_link"></iframe>
|
|
318
314
|
</article>
|
|
319
315
|
<footer slot="modal-footer" class="modal-footer">
|
|
320
|
-
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
321
316
|
</footer>
|
|
322
317
|
</modal>
|
|
323
318
|
</div>
|
|
324
319
|
</template>
|
|
325
320
|
<script>
|
|
326
|
-
import {getNowDate,isEmpty} from '../../../Util'
|
|
327
321
|
import {PagedList} from 'vue-client'
|
|
328
322
|
import {HttpResetClass} from 'vue-client'
|
|
323
|
+
import Vue from 'vue'
|
|
324
|
+
import {isEmpty} from '../../../Util'
|
|
329
325
|
|
|
330
326
|
export default {
|
|
331
327
|
title: '收费管理',
|
|
@@ -340,38 +336,23 @@ export default {
|
|
|
340
336
|
},
|
|
341
337
|
data () {
|
|
342
338
|
return {
|
|
343
|
-
showCharge: false,
|
|
344
|
-
showInvalid: false,
|
|
345
|
-
showPrint: false,
|
|
339
|
+
showCharge: false, // 收费明细
|
|
340
|
+
showInvalid: false, // 作废
|
|
341
|
+
showPrint: false, // 打印
|
|
346
342
|
model: {
|
|
347
343
|
data: null
|
|
348
|
-
},
|
|
344
|
+
}, // 记录
|
|
349
345
|
charge: {
|
|
350
346
|
|
|
351
|
-
}
|
|
352
|
-
useraddressList: [],
|
|
353
|
-
chargeUseraddress: null
|
|
347
|
+
}
|
|
354
348
|
}
|
|
355
349
|
},
|
|
356
350
|
ready () {
|
|
357
351
|
this.search()
|
|
358
352
|
},
|
|
359
353
|
methods: {
|
|
360
|
-
|
|
361
|
-
this.$refs.print.$refs.print.PrintTable()
|
|
362
|
-
},
|
|
363
|
-
showPrintModal(row) {
|
|
364
|
-
this.charge = row
|
|
365
|
-
this.showPrint = true
|
|
366
|
-
},
|
|
367
|
-
changeUseraddress() {
|
|
368
|
-
this.charge.f_useraddress_id = this.chargeUseraddress.f_userinfo_id
|
|
369
|
-
},
|
|
354
|
+
|
|
370
355
|
async invalidApplyCharge() {
|
|
371
|
-
if (isEmpty(this.charge.f_void_remarks)) {
|
|
372
|
-
this.$showAlert('请输入作废本次收费原因!!!', 'warning', 3000)
|
|
373
|
-
return
|
|
374
|
-
}
|
|
375
356
|
|
|
376
357
|
let http = new HttpResetClass()
|
|
377
358
|
let data = {
|
|
@@ -379,73 +360,265 @@ export default {
|
|
|
379
360
|
user: this.$login.f,
|
|
380
361
|
charge: this.charge
|
|
381
362
|
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
this.selectdata = res.data
|
|
388
|
-
} catch (e) {
|
|
389
|
-
this.$showAlert(e.data, 'danger', 3000)
|
|
390
|
-
}
|
|
391
|
-
|
|
363
|
+
let res = await http.load('POST', 'rs/logic/invalidApplyCharge', {data:data}, {
|
|
364
|
+
resolveMsg: null,
|
|
365
|
+
rejectMsg: '作废失败!!!'
|
|
366
|
+
})
|
|
367
|
+
this.selectdata = res.data
|
|
392
368
|
|
|
393
369
|
this.$dispatch('breakControl', this.selectdata)
|
|
394
370
|
},
|
|
371
|
+
// 打开作废收费
|
|
395
372
|
showInvalidModal(row) {
|
|
396
373
|
this.charge = row
|
|
397
374
|
this.showInvalid = true
|
|
398
375
|
},
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
this.charge.
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
this
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
if ((Number(this.charge.f_charge_money) > Number(this.selectdata.f_surplus_money)) && this.selectdata.f_apply_type === '开发商集体报装') {
|
|
414
|
-
this.$showAlert('单笔收费不能超过未交总金额!!!', 'warning', 3000)
|
|
415
|
-
return
|
|
376
|
+
// 查看发票
|
|
377
|
+
showPrintModal(row, type) {
|
|
378
|
+
this.charge = row
|
|
379
|
+
if (!this.charge.f_bill_link && this.charge.f_filepath){
|
|
380
|
+
let date = new Date(this.charge.f_charge_date)
|
|
381
|
+
let year = date.getFullYear()
|
|
382
|
+
let month = date.getMonth() + 1
|
|
383
|
+
let month2 = month <= 9 ? '0' + month : month
|
|
384
|
+
let day = date.getDate()
|
|
385
|
+
let day2 = day <= 9 ? '0' + day : day
|
|
386
|
+
let chargedate = year + '-' + month2 + '-' + day2
|
|
387
|
+
this.charge.f_bill_link = `http://193.168.1.6:8082/eticket/` + chargedate + '/' + this.charge.f_filepath + '.pdf'
|
|
388
|
+
}else if(!this.charge.f_bill_link){
|
|
389
|
+
this.charge.f_bill_link = this.charge.f_bill_url
|
|
416
390
|
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
391
|
+
this.showPrint = true
|
|
392
|
+
},
|
|
393
|
+
// 开票组织数据
|
|
394
|
+
async openBill (charge) {
|
|
395
|
+
this.charge = charge
|
|
396
|
+
let data = null
|
|
397
|
+
let res = null
|
|
398
|
+
|
|
399
|
+
let http = new HttpResetClass()
|
|
400
|
+
|
|
401
|
+
if (isEmpty(this.charge.f_bill_id)) {
|
|
402
|
+
try {
|
|
403
|
+
data = {
|
|
404
|
+
id: this.charge.id,
|
|
405
|
+
charge_type: '报装收费',
|
|
406
|
+
f_user_name: this.selectdata.f_user_name
|
|
407
|
+
}
|
|
408
|
+
if (this.selectdata.f_apply_type === '改线业务'){
|
|
409
|
+
data.charge_type = '整改收费'
|
|
410
|
+
}
|
|
411
|
+
res = await http.load('POST', 'rs/logic/bjEticketCharge', {data:data}, {
|
|
412
|
+
resolveMsg: null,
|
|
413
|
+
rejectMsg: '开票组织数据失败!!!'
|
|
414
|
+
}).then((res) => {
|
|
415
|
+
this.charge.f_bill_id = res.data
|
|
416
|
+
this.outBill()
|
|
417
|
+
})
|
|
418
|
+
}catch (e){
|
|
419
|
+
console.error("错误信息",e)
|
|
420
|
+
this.charge.f_bill_state = '开票失败'
|
|
421
|
+
|
|
422
|
+
data = {
|
|
423
|
+
f_bill_id: '',
|
|
424
|
+
id: this.charge.id,
|
|
425
|
+
apply: this.selectdata,
|
|
426
|
+
user: this.$login.f
|
|
427
|
+
}
|
|
428
|
+
res = await http.load('POST', 'rs/logic/updateChargeBill', {data: data}, {
|
|
429
|
+
resolveMsg: null,
|
|
430
|
+
rejectMsg: '收费信息更新失败!!!'
|
|
431
|
+
})
|
|
432
|
+
this.$showMessage(`开票信息组织失败!!`, ['confirm']).then(async (res) => {
|
|
433
|
+
if (res === 'confirm') {
|
|
434
|
+
this.$dispatch('loadPage')
|
|
435
|
+
}else {
|
|
436
|
+
this.$dispatch('loadPage')
|
|
437
|
+
}
|
|
438
|
+
})
|
|
439
|
+
}
|
|
440
|
+
}else {
|
|
441
|
+
await this.outBill()
|
|
426
442
|
}
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
443
|
+
},
|
|
444
|
+
//开票
|
|
445
|
+
async outBill () {
|
|
446
|
+
|
|
447
|
+
let data = null
|
|
448
|
+
let res = null
|
|
449
|
+
let http = new HttpResetClass()
|
|
450
|
+
if (this.charge.f_bill_style === '电子票') {
|
|
451
|
+
data = {
|
|
452
|
+
id: this.charge.f_bill_id,
|
|
453
|
+
f_sell_id: this.charge.id
|
|
454
|
+
}
|
|
455
|
+
try {
|
|
456
|
+
res = await http.load('POST', 'rs/logic/bjOpenEticket', {data: data}, {
|
|
457
|
+
resolveMsg: null,
|
|
458
|
+
rejectMsg: '开票失败!!!'
|
|
459
|
+
})
|
|
460
|
+
|
|
461
|
+
// res.data.f_bill_url = 'https://dlj.51fapiao.cn/dlj/v7/de4c9b985021111ef1c722c2914e34d9273291'
|
|
462
|
+
|
|
463
|
+
if (res.data.f_bill_state !== '开票成功') {
|
|
464
|
+
throw '开票失败!!!'
|
|
465
|
+
} else {
|
|
466
|
+
this.charge.f_bill_state = res.data.f_bill_state
|
|
467
|
+
this.charge.f_bill_url = res.data.f_bill_url
|
|
468
|
+
let date = new Date(this.charge.f_charge_date)
|
|
469
|
+
let year = date.getFullYear()
|
|
470
|
+
let month = date.getMonth() + 1
|
|
471
|
+
let month2 = month <= 9 ? '0' + month : month
|
|
472
|
+
let day = date.getDate()
|
|
473
|
+
let day2 = day <= 9 ? '0' + day : day
|
|
474
|
+
let chargedate = year + '-' + month2 + '-' + day2
|
|
475
|
+
this.charge.f_bill_link = `http://193.168.1.6:8082/eticket/` + chargedate + '/' + res.data.f_filepath + '.pdf'
|
|
476
|
+
this.showPrint = true
|
|
477
|
+
let pram = {
|
|
478
|
+
f_bill_link: this.charge.f_bill_link,
|
|
479
|
+
f_sell_id: this.charge.id,
|
|
480
|
+
apply: this.selectdata,
|
|
481
|
+
user: this.$login.f
|
|
482
|
+
}
|
|
483
|
+
await http.load('POST', 'rs/logic/updataChargeRecord', {data: pram}, {
|
|
484
|
+
resolveMsg: null,
|
|
485
|
+
rejectMsg: null
|
|
486
|
+
})
|
|
487
|
+
}
|
|
488
|
+
} catch (e) {
|
|
489
|
+
console.error(e)
|
|
490
|
+
this.charge.f_bill_state = '开票失败'
|
|
491
|
+
|
|
492
|
+
data = {
|
|
493
|
+
f_bill_id: this.charge.f_bill_id,
|
|
494
|
+
id: this.charge.id,
|
|
495
|
+
apply: this.selectdata,
|
|
496
|
+
user: this.$login.f
|
|
497
|
+
}
|
|
498
|
+
res = await http.load('POST', 'rs/logic/updateChargeBill', {data: data}, {
|
|
499
|
+
resolveMsg: null,
|
|
500
|
+
rejectMsg: '收费信息更新失败!!!'
|
|
501
|
+
})
|
|
502
|
+
this.$showMessage(`开票失败!!`, ['confirm']).then(async (res) => {
|
|
503
|
+
if (res === 'confirm') {
|
|
504
|
+
this.$dispatch('loadPage')
|
|
505
|
+
}else {
|
|
506
|
+
this.$dispatch('loadPage')
|
|
507
|
+
}
|
|
508
|
+
})
|
|
509
|
+
}
|
|
510
|
+
} else if (this.charge.f_bill_style === '专票') {
|
|
511
|
+
|
|
512
|
+
data = {
|
|
513
|
+
id: this.charge.f_bill_id
|
|
514
|
+
}
|
|
515
|
+
res = await http.load('POST', 'rs/sql/getEticketData', {data: data}, {
|
|
516
|
+
resolveMsg: null,
|
|
517
|
+
rejectMsg: '开票数据查询失败!!!'
|
|
518
|
+
})
|
|
519
|
+
let openBillData = JSON.parse(res.data[0].f_bill_data)
|
|
520
|
+
openBillData.kpzdbs = this.$login.f.taxnum
|
|
521
|
+
const nowDate = new Date()
|
|
522
|
+
let year = nowDate.getFullYear()
|
|
523
|
+
let mouth = nowDate.getMonth() + 1
|
|
524
|
+
let day = nowDate.getDate()
|
|
525
|
+
openBillData.f_operate_date = year + '-' + mouth + '-' + day
|
|
526
|
+
openBillData.f_operator = this.$login.f.name
|
|
527
|
+
openBillData.outlets = this.$login.f.f_parentname
|
|
528
|
+
openBillData.hjse = ''
|
|
529
|
+
openBillData.jshh = ''
|
|
530
|
+
openBillData.tzdbh = ''
|
|
531
|
+
openBillData.yfpdm = ''
|
|
532
|
+
openBillData.yfphm = ''
|
|
533
|
+
console.log('返回开票信息。。 ', openBillData)
|
|
534
|
+
let billInfo = await this.$resetpost('http://127.0.0.1:8003/Goldtax', openBillData, {
|
|
535
|
+
resolveMsg: null,
|
|
536
|
+
rejectMsg: '专用发票开具失败!'
|
|
537
|
+
})
|
|
538
|
+
console.log('返回票据信息。。 ', JSON.parse(billInfo.data))//保存发票明细
|
|
539
|
+
if (!JSON.parse(billInfo.data).fphm) {
|
|
540
|
+
this.charge.f_bill_state = '开票失败'
|
|
541
|
+
data = {
|
|
542
|
+
f_bill_id: this.charge.f_bill_id,
|
|
543
|
+
id: this.charge.id,
|
|
544
|
+
apply: this.selectdata,
|
|
545
|
+
user: this.$login.f
|
|
546
|
+
}
|
|
547
|
+
res = await http.load('POST', 'rs/logic/updateChargeBill', {data: data}, {
|
|
548
|
+
resolveMsg: null,
|
|
549
|
+
rejectMsg: '收费信息更新失败!!!'
|
|
550
|
+
})
|
|
551
|
+
this.$showMessage(`开票失败!!`, ['confirm']).then(async (res) => {
|
|
552
|
+
if (res === 'confirm') {
|
|
553
|
+
this.$dispatch('loadPage')
|
|
554
|
+
}else {
|
|
555
|
+
this.$dispatch('loadPage')
|
|
556
|
+
}
|
|
557
|
+
})
|
|
558
|
+
} else {
|
|
559
|
+
data = {
|
|
560
|
+
id: this.charge.f_bill_id,
|
|
561
|
+
f_bill_number: JSON.parse(billInfo.data).fphm,
|
|
562
|
+
f_bill_code: JSON.parse(billInfo.data).fpdm,
|
|
563
|
+
f_filepath: JSON.parse(billInfo.data).dzpkex ? JSON.parse(billInfo.data).dzpkex : '',
|
|
564
|
+
charge_id: this.charge.id,
|
|
565
|
+
apply: this.selectdata,
|
|
566
|
+
user: this.$login.f
|
|
567
|
+
}
|
|
568
|
+
res = await http.load('POST', 'rs/logic/updateEticketBill', {data: data}, {
|
|
569
|
+
resolveMsg: null,
|
|
570
|
+
rejectMsg: '开票信息更新失败!!!'
|
|
571
|
+
})
|
|
572
|
+
|
|
573
|
+
this.charge.f_bill_state = '开票成功'
|
|
574
|
+
this.charge.f_bill_url = ''
|
|
575
|
+
this.charge.f_bill_link = ''
|
|
576
|
+
}
|
|
430
577
|
}
|
|
578
|
+
},
|
|
579
|
+
// 新增收费
|
|
580
|
+
async saveCharge() {
|
|
431
581
|
let http = new HttpResetClass()
|
|
432
582
|
let data = {
|
|
433
583
|
apply: this.selectdata,
|
|
434
584
|
user: this.$login.f,
|
|
435
585
|
charge: this.charge
|
|
436
586
|
}
|
|
437
|
-
try {
|
|
438
|
-
let res = await http.load('POST', 'rs/logic/addApplyChargeRecord', {data:data}, {
|
|
439
|
-
resolveMsg: null,
|
|
440
|
-
rejectMsg: null
|
|
441
|
-
})
|
|
442
|
-
this.selectdata = res.data
|
|
443
|
-
} catch (e) {
|
|
444
|
-
this.$showAlert(e.data, 'danger', 3000)
|
|
445
|
-
}
|
|
446
587
|
|
|
588
|
+
let res = await http.load('POST', 'rs/logic/addApplyChargeRecord', {data:data}, {
|
|
589
|
+
resolveMsg: null,
|
|
590
|
+
rejectMsg: '缴费失败!!!'
|
|
591
|
+
}).then((res) => {
|
|
592
|
+
this.charge = res.data.charge
|
|
593
|
+
this.selectdata = res.data.apply
|
|
447
594
|
|
|
448
|
-
|
|
595
|
+
this.showCharge = false
|
|
596
|
+
try {
|
|
597
|
+
if (this.charge.id) {
|
|
598
|
+
this.openBill(this.charge)
|
|
599
|
+
}
|
|
600
|
+
} catch (e) {
|
|
601
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
602
|
+
}
|
|
603
|
+
})
|
|
604
|
+
},
|
|
605
|
+
moneyChange () {
|
|
606
|
+
if (isEmpty(this.charge.f_charge_money) || Number(this.charge.f_charge_money) === 0) {
|
|
607
|
+
this.$showAlert('单笔收费不能为0元!!!', 'warning', 3000)
|
|
608
|
+
this.charge.f_charge_money = null
|
|
609
|
+
return
|
|
610
|
+
}
|
|
611
|
+
if (Number(this.charge.f_charge_money) > Number(this.selectdata.f_surplus_money)) {
|
|
612
|
+
this.$showAlert('单笔收费不能超过未交总金额!!!', 'warning', 3000)
|
|
613
|
+
this.charge.f_charge_money = null
|
|
614
|
+
return
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
// 金额转大写
|
|
618
|
+
handleInput(e) {
|
|
619
|
+
// 通过正则过滤小数点后两位
|
|
620
|
+
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,2})/g)[0]) || null
|
|
621
|
+
this.charge.f_amount_words = this.smalltoBIG(e.target.value)
|
|
449
622
|
},
|
|
450
623
|
// 金额转大写
|
|
451
624
|
smalltoBIG(n) {
|
|
@@ -473,40 +646,7 @@ export default {
|
|
|
473
646
|
}
|
|
474
647
|
return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
|
|
475
648
|
},
|
|
476
|
-
async getUserAddress() {
|
|
477
|
-
let http = new HttpResetClass()
|
|
478
|
-
let data = {
|
|
479
|
-
condition: '1=1',
|
|
480
|
-
f_process_id: this.selectdata.f_process_id
|
|
481
|
-
}
|
|
482
|
-
let res = await http.load('POST', 'rs/sql/getAddresAndCumulativePayment', {data:data}, {
|
|
483
|
-
resolveMsg: null,
|
|
484
|
-
rejectMsg: null
|
|
485
|
-
})
|
|
486
|
-
|
|
487
|
-
this.useraddressList = res.data
|
|
488
|
-
if (this.selectdata.f_apply_type === '散户集体报建' || this.selectdata.f_apply_type === '煤改气报建') {
|
|
489
|
-
// 去除累计缴费金额大于等于单价的用户地址
|
|
490
|
-
this.useraddressList = res.data.filter(item => {
|
|
491
|
-
let f_cumulative_payment_money = isEmpty(item.f_cumulative_payment_money) ? 0 : item.f_cumulative_payment_money
|
|
492
|
-
return Number(f_cumulative_payment_money) < Number(isEmpty(this.selectdata.f_price) ? 0 : this.selectdata.f_price)
|
|
493
|
-
})
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
if (this.useraddressList.length > 0) {
|
|
497
|
-
this.useraddressList = this.useraddressList.map(item => {
|
|
498
|
-
return {
|
|
499
|
-
// 有用户姓名地址后拼接姓名
|
|
500
|
-
label: `${item.f_address} ${isEmpty(item.f_user_name) ? '' : '--- ' + item.f_user_name}`,
|
|
501
|
-
value: item
|
|
502
|
-
}
|
|
503
|
-
})
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
},
|
|
507
649
|
async showChargeModal() {
|
|
508
|
-
this.getUserAddress()
|
|
509
|
-
|
|
510
650
|
this.showCharge = true
|
|
511
651
|
},
|
|
512
652
|
async search () {
|
|
@@ -516,7 +656,7 @@ export default {
|
|
|
516
656
|
}
|
|
517
657
|
let res = await http.load('POST', 'rs/sql/getApplyChargeRecord', {data:data}, {
|
|
518
658
|
resolveMsg: null,
|
|
519
|
-
rejectMsg:
|
|
659
|
+
rejectMsg: '收费记录查询失败!!!'
|
|
520
660
|
})
|
|
521
661
|
this.model.data = res.data
|
|
522
662
|
},
|
|
@@ -526,21 +666,20 @@ export default {
|
|
|
526
666
|
this.showInvalid = false
|
|
527
667
|
this.showPrint = false
|
|
528
668
|
this.charge = {}
|
|
529
|
-
this.chargeUseraddress = null
|
|
530
669
|
this.search()
|
|
531
670
|
}
|
|
532
671
|
},
|
|
533
672
|
events: {
|
|
534
673
|
},
|
|
535
674
|
computed: {
|
|
675
|
+
billStyleList () {
|
|
676
|
+
return this.$appdata.getParam("打印格式")
|
|
677
|
+
},
|
|
536
678
|
paymentMethod() {
|
|
537
679
|
return this.$appdata.getParam("付款方式")
|
|
538
680
|
},
|
|
539
|
-
|
|
540
|
-
return
|
|
541
|
-
},
|
|
542
|
-
outstandingAmount() {
|
|
543
|
-
return this.selectdata.f_price - this.cumulativePaymentMoney
|
|
681
|
+
paymentTerm() {
|
|
682
|
+
return this.$appdata.getParam("收费项目")
|
|
544
683
|
}
|
|
545
684
|
},
|
|
546
685
|
watch: {
|
|
@@ -548,15 +687,18 @@ export default {
|
|
|
548
687
|
}
|
|
549
688
|
</script>
|
|
550
689
|
<style scoped>
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
690
|
+
.textNoLineBreak {
|
|
691
|
+
white-space: nowrap;
|
|
692
|
+
}
|
|
693
|
+
.head-but{
|
|
694
|
+
margin-left: 5px;
|
|
695
|
+
height: 34px;
|
|
696
|
+
/*background-color: #6aa6e2;*/
|
|
697
|
+
border-radius: 4px;
|
|
698
|
+
font-family: PingFang;
|
|
699
|
+
color: #ffffff;
|
|
700
|
+
}
|
|
701
|
+
.form-control{
|
|
702
|
+
padding: 8px 12px;
|
|
703
|
+
}
|
|
562
704
|
</style>
|