apply-clients 4.0.67 → 4.1.0-weinan
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/dist-android/index.html +3 -0
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/0.js +2 -0
- package/dist-android/static/0.js.map +1 -0
- package/dist-android/static/1.js +2 -0
- package/dist-android/static/1.js.map +1 -0
- package/dist-android/static/10.js +2 -0
- package/dist-android/static/10.js.map +1 -0
- package/dist-android/static/100.js +2 -0
- package/dist-android/static/100.js.map +1 -0
- package/dist-android/static/11.js +2 -0
- package/dist-android/static/11.js.map +1 -0
- package/dist-android/static/12.js +2 -0
- package/dist-android/static/12.js.map +1 -0
- package/dist-android/static/13.js +2 -0
- package/dist-android/static/13.js.map +1 -0
- package/dist-android/static/14.js +2 -0
- package/dist-android/static/14.js.map +1 -0
- package/dist-android/static/15.js +2 -0
- package/dist-android/static/15.js.map +1 -0
- package/dist-android/static/16.js +2 -0
- package/dist-android/static/16.js.map +1 -0
- package/dist-android/static/17.js +2 -0
- package/dist-android/static/17.js.map +1 -0
- package/dist-android/static/18.js +2 -0
- package/dist-android/static/18.js.map +1 -0
- package/dist-android/static/19.js +2 -0
- package/dist-android/static/19.js.map +1 -0
- package/dist-android/static/2.js +2 -0
- package/dist-android/static/2.js.map +1 -0
- package/dist-android/static/20.js +2 -0
- package/dist-android/static/20.js.map +1 -0
- package/dist-android/static/21.js +2 -0
- package/dist-android/static/21.js.map +1 -0
- package/dist-android/static/22.js +2 -0
- package/dist-android/static/22.js.map +1 -0
- package/dist-android/static/23.js +2 -0
- package/dist-android/static/23.js.map +1 -0
- package/dist-android/static/24.js +2 -0
- package/dist-android/static/24.js.map +1 -0
- package/dist-android/static/25.js +2 -0
- package/dist-android/static/25.js.map +1 -0
- package/dist-android/static/26.js +2 -0
- package/dist-android/static/26.js.map +1 -0
- package/dist-android/static/27.js +2 -0
- package/dist-android/static/27.js.map +1 -0
- package/dist-android/static/28.js +2 -0
- package/dist-android/static/28.js.map +1 -0
- package/dist-android/static/29.js +2 -0
- package/dist-android/static/29.js.map +1 -0
- package/dist-android/static/3.js +2 -0
- package/dist-android/static/3.js.map +1 -0
- package/dist-android/static/30.js +2 -0
- package/dist-android/static/30.js.map +1 -0
- package/dist-android/static/31.js +2 -0
- package/dist-android/static/31.js.map +1 -0
- package/dist-android/static/32.js +2 -0
- package/dist-android/static/32.js.map +1 -0
- package/dist-android/static/33.js +2 -0
- package/dist-android/static/33.js.map +1 -0
- package/dist-android/static/34.js +2 -0
- package/dist-android/static/34.js.map +1 -0
- package/dist-android/static/35.js +2 -0
- package/dist-android/static/35.js.map +1 -0
- package/dist-android/static/36.js +2 -0
- package/dist-android/static/36.js.map +1 -0
- package/dist-android/static/37.js +2 -0
- package/dist-android/static/37.js.map +1 -0
- package/dist-android/static/38.js +2 -0
- package/dist-android/static/38.js.map +1 -0
- package/dist-android/static/39.js +2 -0
- package/dist-android/static/39.js.map +1 -0
- package/dist-android/static/4.js +2 -0
- package/dist-android/static/4.js.map +1 -0
- package/dist-android/static/40.js +2 -0
- package/dist-android/static/40.js.map +1 -0
- package/dist-android/static/41.js +2 -0
- package/dist-android/static/41.js.map +1 -0
- package/dist-android/static/42.js +2 -0
- package/dist-android/static/42.js.map +1 -0
- package/dist-android/static/43.js +2 -0
- package/dist-android/static/43.js.map +1 -0
- package/dist-android/static/44.js +2 -0
- package/dist-android/static/44.js.map +1 -0
- package/dist-android/static/45.js +2 -0
- package/dist-android/static/45.js.map +1 -0
- package/dist-android/static/46.js +2 -0
- package/dist-android/static/46.js.map +1 -0
- package/dist-android/static/47.js +2 -0
- package/dist-android/static/47.js.map +1 -0
- package/dist-android/static/48.js +2 -0
- package/dist-android/static/48.js.map +1 -0
- package/dist-android/static/49.js +2 -0
- package/dist-android/static/49.js.map +1 -0
- package/dist-android/static/5.js +2 -0
- package/dist-android/static/5.js.map +1 -0
- package/dist-android/static/50.js +2 -0
- package/dist-android/static/50.js.map +1 -0
- package/dist-android/static/51.js +2 -0
- package/dist-android/static/51.js.map +1 -0
- package/dist-android/static/52.js +2 -0
- package/dist-android/static/52.js.map +1 -0
- package/dist-android/static/53.js +2 -0
- package/dist-android/static/53.js.map +1 -0
- package/dist-android/static/54.js +2 -0
- package/dist-android/static/54.js.map +1 -0
- package/dist-android/static/55.js +2 -0
- package/dist-android/static/55.js.map +1 -0
- package/dist-android/static/56.js +2 -0
- package/dist-android/static/56.js.map +1 -0
- package/dist-android/static/57.js +2 -0
- package/dist-android/static/57.js.map +1 -0
- package/dist-android/static/58.js +2 -0
- package/dist-android/static/58.js.map +1 -0
- package/dist-android/static/59.js +2 -0
- package/dist-android/static/59.js.map +1 -0
- package/dist-android/static/6.js +2 -0
- package/dist-android/static/6.js.map +1 -0
- package/dist-android/static/60.js +2 -0
- package/dist-android/static/60.js.map +1 -0
- package/dist-android/static/61.js +2 -0
- package/dist-android/static/61.js.map +1 -0
- package/dist-android/static/62.js +2 -0
- package/dist-android/static/62.js.map +1 -0
- package/dist-android/static/63.js +2 -0
- package/dist-android/static/63.js.map +1 -0
- package/dist-android/static/64.js +2 -0
- package/dist-android/static/64.js.map +1 -0
- package/dist-android/static/65.js +2 -0
- package/dist-android/static/65.js.map +1 -0
- package/dist-android/static/66.js +2 -0
- package/dist-android/static/66.js.map +1 -0
- package/dist-android/static/67.js +2 -0
- package/dist-android/static/67.js.map +1 -0
- package/dist-android/static/68.js +2 -0
- package/dist-android/static/68.js.map +1 -0
- package/dist-android/static/69.js +2 -0
- package/dist-android/static/69.js.map +1 -0
- package/dist-android/static/7.js +6 -0
- package/dist-android/static/7.js.map +1 -0
- package/dist-android/static/70.js +2 -0
- package/dist-android/static/70.js.map +1 -0
- package/dist-android/static/71.js +2 -0
- package/dist-android/static/71.js.map +1 -0
- package/dist-android/static/72.js +2 -0
- package/dist-android/static/72.js.map +1 -0
- package/dist-android/static/73.js +2 -0
- package/dist-android/static/73.js.map +1 -0
- package/dist-android/static/74.js +2 -0
- package/dist-android/static/74.js.map +1 -0
- package/dist-android/static/75.js +2 -0
- package/dist-android/static/75.js.map +1 -0
- package/dist-android/static/76.js +2 -0
- package/dist-android/static/76.js.map +1 -0
- package/dist-android/static/77.js +2 -0
- package/dist-android/static/77.js.map +1 -0
- package/dist-android/static/78.js +2 -0
- package/dist-android/static/78.js.map +1 -0
- package/dist-android/static/79.js +2 -0
- package/dist-android/static/79.js.map +1 -0
- package/dist-android/static/8.js +2 -0
- package/dist-android/static/8.js.map +1 -0
- package/dist-android/static/80.js +2 -0
- package/dist-android/static/80.js.map +1 -0
- package/dist-android/static/81.js +2 -0
- package/dist-android/static/81.js.map +1 -0
- package/dist-android/static/82.js +2 -0
- package/dist-android/static/82.js.map +1 -0
- package/dist-android/static/83.js +2 -0
- package/dist-android/static/83.js.map +1 -0
- package/dist-android/static/84.js +2 -0
- package/dist-android/static/84.js.map +1 -0
- package/dist-android/static/85.js +2 -0
- package/dist-android/static/85.js.map +1 -0
- package/dist-android/static/86.js +2 -0
- package/dist-android/static/86.js.map +1 -0
- package/dist-android/static/87.js +2 -0
- package/dist-android/static/87.js.map +1 -0
- package/dist-android/static/88.js +2 -0
- package/dist-android/static/88.js.map +1 -0
- package/dist-android/static/89.js +2 -0
- package/dist-android/static/89.js.map +1 -0
- package/dist-android/static/9.js +3 -0
- package/dist-android/static/9.js.map +1 -0
- package/dist-android/static/90.js +2 -0
- package/dist-android/static/90.js.map +1 -0
- package/dist-android/static/91.js +2 -0
- package/dist-android/static/91.js.map +1 -0
- package/dist-android/static/92.js +2 -0
- package/dist-android/static/92.js.map +1 -0
- package/dist-android/static/93.js +2 -0
- package/dist-android/static/93.js.map +1 -0
- package/dist-android/static/94.js +2 -0
- package/dist-android/static/94.js.map +1 -0
- package/dist-android/static/95.js +2 -0
- package/dist-android/static/95.js.map +1 -0
- package/dist-android/static/96.js +2 -0
- package/dist-android/static/96.js.map +1 -0
- package/dist-android/static/97.js +2 -0
- package/dist-android/static/97.js.map +1 -0
- package/dist-android/static/98.js +2 -0
- package/dist-android/static/98.js.map +1 -0
- package/dist-android/static/99.js +2 -0
- package/dist-android/static/99.js.map +1 -0
- package/dist-android/static/app.css +2 -0
- package/dist-android/static/app.css.map +1 -0
- package/dist-android/static/app.js +80 -0
- package/dist-android/static/app.js.map +1 -0
- 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 +7 -0
- package/dist-android/static/denglu.png +0 -0
- package/dist-android/static/glyphicons-halflings-regular.eot +0 -0
- package/dist-android/static/glyphicons-halflings-regular.svg +288 -0
- package/dist-android/static/glyphicons-halflings-regular.ttf +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff2 +0 -0
- 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/psicon.png +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 +766 -0
- 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/index.html +26 -17
- package/package.json +13 -7
- package/src/App.vue +11 -114
- package/src/apply.js +49 -157
- package/src/applyAndroid.js +41 -49
- package/src/bootstrap/fonts//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
- package/src/bootstrap/guandao1.png +0 -0
- package/src/bootstrap/less/aofeng/animate.min.css +11 -0
- package/src/bootstrap/less/aofeng/standard.less +2121 -0
- package/src/bootstrap/less/aofeng/themeOne/BinaryTemplate.less +686 -0
- package/src/bootstrap/less/aofeng/themeOne/loginStyle.less +1586 -0
- package/src/bootstrap/less/aofeng/themeOne/systemStyle.less +2650 -0
- package/src/bootstrap/less/aofeng/themeOne.less +14 -0
- package/src/bootstrap/less/aofeng/themeTwo/newStyle1.less +415 -0
- package/src/bootstrap/less/aofeng/themeTwo.less +3 -0
- package/src/bootstrap/less/bootstrap.less +9 -0
- package/src/bootstrap/less/forms.less +2 -2
- package/src/bootstrap/less/glyphicons.less +2 -2
- package/src/bootstrap/less/less.7z +0 -0
- package/src/bootstrap/less/manageStyle/manageChile.less +180 -0
- package/src/bootstrap/less/manageStyle/manageStyle.less +1102 -0
- package/src/bootstrap/less/manageStyle/qinhuaStyle.less +116 -0
- package/src/bootstrap/less/manageStyle/safeStyle.less +498 -0
- package/src/bootstrap/less/manageStyle/telephoneanaly.less +92 -0
- package/src/bootstrap/less/navs.less +2 -3
- package/src/bootstrap/less/stand.less +207 -0
- package/src/bootstrap/less/standard.less +503 -0
- package/src/bootstrap/less/systemStyle.less +860 -0
- package/src/bootstrap/less/themeOne.less +36 -0
- package/src/bootstrap/less/themeTwo.less +29 -0
- package/src/bootstrap/less/variables.less +2 -1
- package/src/components/Util.js +4 -0
- package/src/components/app_apply/AppChargeManagement.vue +637 -0
- package/src/components/app_apply/ApplyApp.vue +5 -65
- package/src/components/app_apply/ApplyDownList.vue +2 -2
- package/src/components/app_apply/ApplyInfo.vue +1 -1
- package/src/components/app_apply/ApplyToDoList.vue +6 -42
- package/src/components/app_apply/ApplyUserInfo.vue +1 -1
- package/src/components/app_apply/FieldExploration.vue +2 -2
- package/src/components/app_apply/PlaceControler.vue +3 -7
- package/src/components/app_apply/ServiceControl.vue +11 -755
- package/src/components/app_apply/ServiceView.vue +16 -363
- package/src/components/app_apply/Ventilation.vue +2 -2
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/image//345/233/276/345/261/20212.png +0 -0
- package/src/components/image//345/233/276/345/261/20213.png +0 -0
- package/src/components/image//345/233/276/345/261/20216.png +0 -0
- package/src/components/image//345/244/232/350/276/271/345/275/2422.png +0 -0
- package/src/components/image//345/244/232/350/276/271/345/275/2422/346/213/267/350/264/235.png +0 -0
- package/src/components/image//346/244/255/345/234/2062.png +0 -0
- package/src/components/image//346/244/255/345/234/2065.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2352.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2353.png +0 -0
- package/src/components/image//347/273/2044.png +0 -0
- package/src/components/image//347/273/2045.png +0 -0
- package/src/components/image//347/273/2046.png +0 -0
- package/src/components/image//350/257/235/345/212/241/347/273/237/350/256/241/346/225/260/346/215/256/345/261/225/347/244/272.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -0
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -0
- package/src/components/product/Function/InstallFunction.vue +120 -101
- package/src/components/product/Function/InstallInfoSelect.vue +267 -212
- package/src/components/product/Function/Service/FunctionServiceControl.vue +206 -579
- package/src/components/product/Function/StopApplyCrrdList.vue +176 -0
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +81 -114
- package/src/components/product/Function/functions/StopInstall.vue +76 -92
- package/src/components/product/Process/ExplorationSelect.vue +377 -463
- package/src/components/product/Process/ExplorationUser.vue +101 -110
- package/src/components/product/Process/Processes/InstallationDetails.vue +513 -0
- package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1555 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
- package/src/components/product/Process/Processes/chargeManagement.vue +540 -0
- package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
- package/src/components/product/Process/Processes/printCharge.vue +130 -0
- package/src/components/product/Process/Processes/recordcancel.vue +50 -0
- package/src/components/product/Process/Processes/selectUserinfo.vue +199 -0
- package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
- package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -0
- package/src/components/product/Process/Service/ServiceControl.vue +1222 -0
- package/src/components/product/Process/ShowBackReason.vue +21 -6
- package/src/components/product/ServiceView.vue +584 -605
- package/src/components/product/Stop/StopApply.vue +101 -0
- package/src/components/product/Stop/StopApplyList.vue +257 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +140 -153
- package/src/components/product/Supervisory/SupervisoryControl.vue +103 -139
- package/src/components/product/Supervisory/SupervisoryList.vue +145 -374
- package/src/components/product/Supervisory/SupervisoryhCart.vue +76 -75
- package/src/components/product/Test.vue +40 -0
- package/src/components/product/VueUtils/ApplyUpload.vue +261 -0
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/expandcss.less +571 -0
- package/src/main.js +8 -15
- package/src/stores/ApplyLoadParams.js +1 -2
- package/src/stores/PagedListLogic.js +173 -0
- package/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
- package/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/static/imgerror.jpg +0 -0
- package/static/newStyle/clear.png +0 -0
- package/static/newStyle/fife.png +0 -0
- package/static/newStyle/hidden.png +0 -0
- package/static/newStyle/label-clear.png +0 -0
- package/static/newStyle/left-img.png +0 -0
- package/static/newStyle/list_ok.png +0 -0
- package/static/newStyle/login-check.png +0 -0
- package/static/newStyle/login-con.png +0 -0
- package/static/newStyle/login-do.gif +0 -0
- package/static/newStyle/login-f.png +0 -0
- package/static/newStyle/login-info.png +0 -0
- package/static/newStyle/login-left.png +0 -0
- package/static/newStyle/login-org.png +0 -0
- package/static/newStyle/login-pwd.png +0 -0
- package/static/newStyle/login-user.png +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/static/newStyle/loginbg1280.gif +0 -0
- package/static/newStyle/loginbg1366.gif +0 -0
- package/static/newStyle/setting.png +0 -0
- package/static/newStyle/setting1.png +0 -0
- package/static/newStyle/shirk.png +0 -0
- package/static/newStyle/stretch_bottom.png +0 -0
- package/static/newStyle/stretch_left.png +0 -0
- package/static/newStyle/stretch_right.png +0 -0
- package/static/newStyle/stretch_top.png +0 -0
- package/static/newStyle/system-off.png +0 -0
- package/ApplyClient.iml +0 -9
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/assets//346/212/245/350/243/205/344/270/232/345/212/241/347/253/226/345/261/2173.png +0 -0
- package/src/components/Utils.js +0 -301
- package/src/components/app_apply/AppBatchItem.vue +0 -501
- package/src/components/app_apply/AppImageUpload.vue +0 -402
- package/src/components/app_apply/PaperFeePic.vue +0 -867
- package/src/components/product/AllRecord.vue +0 -189
- package/src/components/product/Bill/BillGZK.vue +0 -78
- package/src/components/product/Bill/BillGZKMakeInfo.vue +0 -58
- package/src/components/product/Bill/BillGZKRecordInfo.vue +0 -199
- package/src/components/product/Bill/BillJLB.vue +0 -57
- package/src/components/product/Bill/BillJLBMakeInfo.vue +0 -37
- package/src/components/product/Bill/BillJLBRecordInfo.vue +0 -187
- package/src/components/product/Bill/BillKTK.vue +0 -57
- package/src/components/product/Bill/BillKTKMakeInfo.vue +0 -39
- package/src/components/product/Bill/BillKTKRecordInfo.vue +0 -193
- package/src/components/product/Bill/BillQRK.vue +0 -63
- package/src/components/product/Bill/BillQRKMakeInfo.vue +0 -79
- package/src/components/product/Bill/BillQRKRecordInfo.vue +0 -199
- package/src/components/product/Bill/BillSelect.vue +0 -66
- package/src/components/product/Bill/BillXSD.vue +0 -77
- package/src/components/product/Bill/BillXSDMakeInfo.vue +0 -206
- package/src/components/product/Bill/BillXSDRecordInfo.vue +0 -199
- package/src/components/product/Function/InstallInfoDown.vue +0 -78
- package/src/components/product/Function/functions/AddContract.vue +0 -256
- package/src/components/product/Function/functions/AllSelect.vue +0 -59
- package/src/components/product/Function/functions/InstallFee.vue +0 -661
- package/src/components/product/Function/functions/InstallFeeInfo.vue +0 -97
- package/src/components/product/Function/functions/PreparationFee.vue +0 -223
- package/src/components/product/Function/functions/PrestoreFee.vue +0 -630
- package/src/components/product/Function/functions/ReduceFee.vue +0 -143
- package/src/components/product/Function/functions/UpdateFee.vue +0 -229
- package/src/components/product/Function/functions/material_recording.vue +0 -237
- package/src/components/product/ImageUpload.vue +0 -575
- package/src/components/product/ImageUpload1.vue +0 -623
- package/src/components/product/Process/FireSelect.vue +0 -424
- package/src/components/product/Process/FireShunt.vue +0 -142
- package/src/components/product/Process/InstallationHouse.vue +0 -142
- package/src/components/product/Process/InstallationSelect.vue +0 -437
- package/src/components/product/Process/ModifyUserFiles.vue +0 -460
- package/src/components/product/Process/ProcessInfo/history_control.vue +0 -111
- package/src/components/product/Process/Processes/BatchItem.vue +0 -507
- package/src/components/product/Process/Processes/CustomerBuildingMessage.vue +0 -251
- package/src/components/product/Process/Processes/CustomerEquipmentMessage.vue +0 -172
- package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -773
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -711
- package/src/components/product/Process/Processes/ProjectSettlement.vue +0 -298
- package/src/components/product/Process/Processes/ReceiveBatch.vue +0 -850
- package/src/components/product/Process/Processes/SendOrder.vue +0 -47
- package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +0 -2112
- package/src/components/product/Process/applymaterialManage.vue +0 -369
- package/src/components/product/Statistics/ApplyPaySearch/ApplyCheckBill.vue +0 -420
- package/src/components/product/Statistics/ApplyPaySearch/ApplyFinishSearch.vue +0 -365
- package/src/components/product/Statistics/ApplyPaySearch/ApplyPayBill4.vue +0 -582
- package/src/components/product/Statistics/ApplyPaySearch/ApplyPaySearch.vue +0 -363
- package/src/components/product/Statistics/ApplyPaySearch/MaterialSummary.vue +0 -373
- package/src/components/product/Statistics/ApplyStatisticsROOT.vue +0 -51
- package/src/components/product/Supervisory/SupervisoryBaseInfo.vue +0 -126
- package/src/components/product/VueUtils/ApplyAvatarUpload.vue +0 -125
- package/src/components/product/VueUtils/TabButton.vue +0 -149
- package/src/components/product/VueUtils/Tabs.vue +0 -67
- package/src/components/product/VueUtils/rightview/InstallCardList2.vue +0 -258
- package/src/components/product/VueUtils/rightview/carddetail/BuildFeeDetail2.vue +0 -77
- package/src/components/product/VueUtils/rightview/carddetail/ChangeFeeDetail2.vue +0 -116
- package/src/components/product/VueUtils/rightview/carddetail/ReduceFeeDetail2.vue +0 -77
- package/src/components/product/VueUtils/rightview/carddetail/StopApplyDetail2.vue +0 -70
- package/src/components/product/material.vue +0 -32
|
@@ -1,630 +0,0 @@
|
|
|
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
|
-
|
|
11
|
-
<span class="col-sm-1"></span><span class="col-sm-3">预付款总金额:{{sum}}元</span><span class="col-sm-3">预付款余额:{{subcost}}元</span>
|
|
12
|
-
<button type="button" class="btn btn-warning col-sm-3 col-sm-offset-3" @click="add()">新增扣款</button>
|
|
13
|
-
<div class="col-sm-12" style="height: auto">
|
|
14
|
-
<div class="form-inline auto" style="margin-bottom: 5px;">
|
|
15
|
-
</div>
|
|
16
|
-
<div class="col-sm-12 span recordTable" style="margin-top: 10px;min-height: 500px">
|
|
17
|
-
<partial-view v-ref:single-load>
|
|
18
|
-
<data-grid :model="model" v-ref:grid>
|
|
19
|
-
<template partial='head'>
|
|
20
|
-
<tr>
|
|
21
|
-
<th>序号</th>
|
|
22
|
-
<th>扣款金额(元)</th>
|
|
23
|
-
<th>金额大写</th>
|
|
24
|
-
<th>收费项</th>
|
|
25
|
-
<th>缴费类型</th>
|
|
26
|
-
<th>收费人员</th>
|
|
27
|
-
<th>日期</th>
|
|
28
|
-
<th>备注</th>
|
|
29
|
-
<!--<th>操作</th>-->
|
|
30
|
-
</tr>
|
|
31
|
-
</template>
|
|
32
|
-
<template partial='body'>
|
|
33
|
-
<td style="text-align: center">{{$index+1}}</td>
|
|
34
|
-
<td style="text-align: center">{{row.f_fee}}</td>
|
|
35
|
-
<td style="text-align: center">{{row.f_capital}}</td>
|
|
36
|
-
<td style="text-align: center">
|
|
37
|
-
<nobr>{{row.f_charging_item}}</nobr>
|
|
38
|
-
</td>
|
|
39
|
-
<td style="text-align: center">{{row.f_payfee_way}}</td>
|
|
40
|
-
<td style="text-align: center">{{row.f_operator}}</td>
|
|
41
|
-
<td style="text-align: center">{{row.f_payfeedate}}</td>
|
|
42
|
-
<td style="text-align: center">{{row.f_payfee_remarks}}</td>
|
|
43
|
-
<!--<td class="flex-around">-->
|
|
44
|
-
<!--<!–<button type="button" name="button" class="btn btn-link"–>-->
|
|
45
|
-
<!--<!–@click.stop="$parent.$parent.$parent.modifyParam(row,'修改')">修改–>-->
|
|
46
|
-
<!--<!–</button>–>-->
|
|
47
|
-
<!--<button type="button" name="button" class="btn btn-link"-->
|
|
48
|
-
<!--@click.stop="$parent.$parent.$parent.deleteItem(row)">删除-->
|
|
49
|
-
<!--</button>-->
|
|
50
|
-
<!--</td>-->
|
|
51
|
-
</template>
|
|
52
|
-
</data-grid>
|
|
53
|
-
</partial-view>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
|
-
<!--<div class="form-group col-sm-12">-->
|
|
58
|
-
<!--<div class="col-sm-2">-->
|
|
59
|
-
<!--<label class="control-label col-sm-12">收费备注:</label>-->
|
|
60
|
-
<!--</div>-->
|
|
61
|
-
<!--<div class="col-sm-10">-->
|
|
62
|
-
<!--<textarea class="form-control" rows="3" v-model="model.f_payfee_remarks"></textarea>-->
|
|
63
|
-
<!--</div>-->
|
|
64
|
-
<!--</div>-->
|
|
65
|
-
<div class="form-group col-sm-12">
|
|
66
|
-
<div class="col-sm-6">
|
|
67
|
-
<label class="control-label col-sm-4">分公司:</label>
|
|
68
|
-
<div class="col-sm-8">
|
|
69
|
-
<input class="form-control" type="text" v-model="model.f_filiale" disabled>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
<div class="col-sm-6">
|
|
73
|
-
<label class="control-label col-sm-4">操作日期:</label>
|
|
74
|
-
<div class="col-sm-8">
|
|
75
|
-
<input class="form-control" type="text" v-model="model.f_payfee_date" disabled>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
</div>
|
|
79
|
-
<div class="form-group col-sm-12">
|
|
80
|
-
<div class="col-sm-6">
|
|
81
|
-
<label class="control-label col-sm-4">部门:</label>
|
|
82
|
-
<div class="col-sm-8">
|
|
83
|
-
<input class="form-control" type="text" v-model="model.f_payfee_department" disabled>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
<div class="col-sm-6">
|
|
87
|
-
<label class="control-label col-sm-4">操作人:</label>
|
|
88
|
-
<div class="col-sm-8">
|
|
89
|
-
<input class="form-control" type="text" v-model="model.f_payfee_operator" disabled>
|
|
90
|
-
</div>
|
|
91
|
-
</div>
|
|
92
|
-
</div>
|
|
93
|
-
<!--<div class="from-group col-sm-12">-->
|
|
94
|
-
<!--<center>-->
|
|
95
|
-
<!--<button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:50px;"-->
|
|
96
|
-
<!--:disabled="$v.invalid">-->
|
|
97
|
-
<!--保存-->
|
|
98
|
-
<!--</button>-->
|
|
99
|
-
<!--<button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:50px;">-->
|
|
100
|
-
<!--撤销-->
|
|
101
|
-
<!--</button>-->
|
|
102
|
-
<!--</center>-->
|
|
103
|
-
<!--</div>-->
|
|
104
|
-
<modal :show.sync="showpay" v-ref:modal backdrop="false">
|
|
105
|
-
<header slot="modal-header" class="modal-header">
|
|
106
|
-
<button type="button" class="close" @click="close"><span>×</span></button>
|
|
107
|
-
<h4 class="modal-title">新增收费</h4>
|
|
108
|
-
</header>
|
|
109
|
-
<article slot="modal-body" class="modal-body">
|
|
110
|
-
<div v-if="showpay">
|
|
111
|
-
<validator name="validator">
|
|
112
|
-
<div class="from-group">
|
|
113
|
-
<label>总金额(元)</label>
|
|
114
|
-
<input type="text" class="form-control" v-model="addItem.f_fee" readonly>
|
|
115
|
-
</div>
|
|
116
|
-
<div class="from-group">
|
|
117
|
-
<label>总金额大写</label>
|
|
118
|
-
<input type="text" class="form-control" v-model="getCapital" readonly>
|
|
119
|
-
</div>
|
|
120
|
-
<!--<div class="from-group">-->
|
|
121
|
-
<!--<label>交费日期</label>-->
|
|
122
|
-
<!--<div>-->
|
|
123
|
-
<!--<datepicker width="600.76px;"-->
|
|
124
|
-
<!--:value.sync="addItem.f_payfeedate"-->
|
|
125
|
-
<!--:format="'yyyy-MM-dd'"-->
|
|
126
|
-
<!--v-model="addItem.f_payfeedate" readonly="readonly"-->
|
|
127
|
-
<!--:show-reset-button="reset">-->
|
|
128
|
-
<!--</datepicker>-->
|
|
129
|
-
<!--</div>-->
|
|
130
|
-
<!--</div>-->
|
|
131
|
-
<div class="from-group">
|
|
132
|
-
<label>收费项 </label>
|
|
133
|
-
<div>
|
|
134
|
-
<label v-for="item in charging_item"><input type="checkbox"
|
|
135
|
-
@change="checkedValue($index)"/>{{item.label}} </label>
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
<div class="from-group" v-if="!infee.f_apply_type.includes('个人')">
|
|
139
|
-
<label>缴费户数 :</label>
|
|
140
|
-
<input type="text" v-model="addItem.f_pay_number">
|
|
141
|
-
</div>
|
|
142
|
-
<div class="from-group">
|
|
143
|
-
<label>其它费用名称:</label>
|
|
144
|
-
<input class="form-control" v-model="addItem.f_payfee_name">
|
|
145
|
-
<div>
|
|
146
|
-
<label>其它费用金额(元):</label>
|
|
147
|
-
<input class="form-control" v-model="addItem.f_payfee_money">
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
<div class="from-group">
|
|
151
|
-
<label>缴费类型</label>
|
|
152
|
-
<v-select :options="jiaofei"
|
|
153
|
-
v-validate:addItem.f_payfee_way[0] v-model="addItem.f_payfee_way"
|
|
154
|
-
:value.sync="addItem.f_payfee_way" close-on-select>
|
|
155
|
-
</v-select>
|
|
156
|
-
</div>
|
|
157
|
-
</validator>
|
|
158
|
-
</div>
|
|
159
|
-
</article>
|
|
160
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
161
|
-
<button v-show="showpay" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
162
|
-
<button v-show="showpay" type="button" class="btn btn-success" @click='confirm'>确认</button>
|
|
163
|
-
</footer>
|
|
164
|
-
</modal>
|
|
165
|
-
<billxsd v-show="false" v-ref:billxsdx :billinfo="billinfo" :billselect="billselect" :info="info"></billxsd>
|
|
166
|
-
</div>
|
|
167
|
-
</template>
|
|
168
|
-
<script>
|
|
169
|
-
import {DataModel} from 'vue-client'
|
|
170
|
-
import {HttpResetClass} from 'vue-client'
|
|
171
|
-
import InputAndSelect from "vue-client/src/vue-strap/src/InputAndSelect";
|
|
172
|
-
import * as Util from '../../../Util'
|
|
173
|
-
|
|
174
|
-
let gen = function* (self, val) {
|
|
175
|
-
val.f_actualfee_type = val.f_actualfee_type[0]
|
|
176
|
-
val.f_bill_type = val.f_bill_type[0]
|
|
177
|
-
yield self.$resetpost('rs/logic/saveentity', {data:{tablename:'t_apply',parameters:val}})
|
|
178
|
-
delete val.id
|
|
179
|
-
self.$resetpost('rs/logic/saveentity', {data:{tablename:'t_record',parameters:val}})
|
|
180
|
-
.then(() => {
|
|
181
|
-
self.reset()
|
|
182
|
-
})
|
|
183
|
-
}
|
|
184
|
-
export default {
|
|
185
|
-
components: {InputAndSelect},
|
|
186
|
-
title: '报装收费',
|
|
187
|
-
data() {
|
|
188
|
-
return {
|
|
189
|
-
f_billnumber: '',
|
|
190
|
-
temp: [], // 票据信息
|
|
191
|
-
billinfo: {}, // 票据信息
|
|
192
|
-
number: {}, // 单值表获取的销售单编号信息
|
|
193
|
-
sum: 0, // 总共预付款
|
|
194
|
-
billinfo: null, // 打印票据准备
|
|
195
|
-
billselect: {f_process_id:this.infee.f_process_id}, // 打印票据准备
|
|
196
|
-
info: null, // 打印票据准备
|
|
197
|
-
charging_item: [{label: '开户费', value: false},
|
|
198
|
-
{label: '入户安装费', value: false},
|
|
199
|
-
{label: '人工费', value: false},
|
|
200
|
-
{label: '改管费', value: false},
|
|
201
|
-
{label: '材料费', value: false},
|
|
202
|
-
{label: '设备安装费', value: false}],
|
|
203
|
-
showpay: false, // 新增收费模态框开关
|
|
204
|
-
addItem: {
|
|
205
|
-
f_fee: 0,
|
|
206
|
-
f_pay_number: 1, // 缴费户数默认为1
|
|
207
|
-
f_payfee_money: 0, // 其它费用
|
|
208
|
-
}, // 模态框数据
|
|
209
|
-
model: {
|
|
210
|
-
f_payfee_operator: '',
|
|
211
|
-
f_payfee_department: '',
|
|
212
|
-
f_filiale: '',
|
|
213
|
-
f_payfee_date: '',
|
|
214
|
-
rows: [] // 付费数据数组
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
props: ['infee'],
|
|
219
|
-
ready() {
|
|
220
|
-
this.load() // 初始化数据
|
|
221
|
-
this.model.f_payfee_operator = this.$login.f.name
|
|
222
|
-
this.model.f_payfee_department = this.$login.f.f_parentname
|
|
223
|
-
this.model.f_filiale = this.$login.f.f_fengongsi
|
|
224
|
-
this.model.f_payfee_date = this.$login.toStandardDateString()
|
|
225
|
-
},
|
|
226
|
-
methods: {
|
|
227
|
-
// 选中
|
|
228
|
-
checkedValue(index) {
|
|
229
|
-
this.charging_item[index].value = !this.charging_item[index].value
|
|
230
|
-
if (this.charging_item[index].label === '开户费' && this.charging_item[index].value === true) {
|
|
231
|
-
this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
|
|
232
|
-
this.infee.f_account_cost = this.infee.f_account_cost ? this.infee.f_account_cost : 0
|
|
233
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_account_cost) * Number(this.addItem.f_pay_number))
|
|
234
|
-
|
|
235
|
-
// 加入到票据中
|
|
236
|
-
let bill = {
|
|
237
|
-
f_commodity_name: this.charging_item[index].label,
|
|
238
|
-
f_price: this.infee.f_account_cost,
|
|
239
|
-
f_quantity: this.addItem.f_pay_number,
|
|
240
|
-
f_money: Number(this.infee.f_account_cost) * Number(this.addItem.f_pay_number),
|
|
241
|
-
f_sale_money: Number(this.infee.f_account_cost) * Number(this.addItem.f_pay_number)
|
|
242
|
-
}
|
|
243
|
-
this.temp.push(bill)
|
|
244
|
-
} else if (this.charging_item[index].label === '开户费' && this.charging_item[index].value === false) {
|
|
245
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_account_cost) * Number(this.addItem.f_pay_number))
|
|
246
|
-
this.temp.forEach((item, x) => {
|
|
247
|
-
if (item.f_commodity_name === this.charging_item[index].label) {
|
|
248
|
-
this.temp.splice(x, 1)
|
|
249
|
-
}
|
|
250
|
-
})
|
|
251
|
-
}
|
|
252
|
-
if (this.charging_item[index].label === '入户安装费' && this.charging_item[index].value === true) {
|
|
253
|
-
this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
|
|
254
|
-
this.infee.f_construction_cost = this.infee.f_construction_cost ? this.infee.f_construction_cost : 0
|
|
255
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_construction_cost) * Number(this.addItem.f_pay_number))
|
|
256
|
-
|
|
257
|
-
// 加入到票据中
|
|
258
|
-
let bill = {
|
|
259
|
-
f_commodity_name: this.charging_item[index].label,
|
|
260
|
-
f_price: this.infee.f_construction_cost,
|
|
261
|
-
f_quantity: this.addItem.f_pay_number,
|
|
262
|
-
f_money: Number(this.infee.f_construction_cost) * Number(this.addItem.f_pay_number),
|
|
263
|
-
f_sale_money: Number(this.infee.f_construction_cost) * Number(this.addItem.f_pay_number)
|
|
264
|
-
}
|
|
265
|
-
this.temp.push(bill)
|
|
266
|
-
} else if (this.charging_item[index].label === '入户安装费' && this.charging_item[index].value === false) {
|
|
267
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_construction_cost) * Number(this.addItem.f_pay_number))
|
|
268
|
-
this.temp.forEach((item, x) => {
|
|
269
|
-
if (item.f_commodity_name === this.charging_item[index].label) {
|
|
270
|
-
this.temp.splice(x, 1)
|
|
271
|
-
}
|
|
272
|
-
})
|
|
273
|
-
}
|
|
274
|
-
if (this.charging_item[index].label === '材料费' && this.charging_item[index].value === true) {
|
|
275
|
-
this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
|
|
276
|
-
this.infee.f_material_cost = this.infee.f_material_cost ? this.infee.f_material_cost : 0
|
|
277
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_material_cost) * Number(this.addItem.f_pay_number))
|
|
278
|
-
|
|
279
|
-
// 加入到票据中
|
|
280
|
-
let bill = {
|
|
281
|
-
f_commodity_name: this.charging_item[index].label,
|
|
282
|
-
f_price: this.infee.f_material_cost,
|
|
283
|
-
f_quantity: this.addItem.f_pay_number,
|
|
284
|
-
f_money: Number(this.infee.f_material_cost) * Number(this.addItem.f_pay_number),
|
|
285
|
-
f_sale_money: Number(this.infee.f_material_cost) * Number(this.addItem.f_pay_number)
|
|
286
|
-
}
|
|
287
|
-
this.temp.push(bill)
|
|
288
|
-
} else if (this.charging_item[index].label === '材料费' && this.charging_item[index].value === false) {
|
|
289
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_material_cost) * Number(this.addItem.f_pay_number))
|
|
290
|
-
this.temp.forEach((item, x) => {
|
|
291
|
-
if (item.f_commodity_name === this.charging_item[index].label) {
|
|
292
|
-
this.temp.splice(x, 1)
|
|
293
|
-
}
|
|
294
|
-
})
|
|
295
|
-
}
|
|
296
|
-
if (this.charging_item[index].label === '人工费' && this.charging_item[index].value === true) {
|
|
297
|
-
this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
|
|
298
|
-
this.infee.f_labor_cost = this.infee.f_labor_cost ? this.infee.f_labor_cost : 0
|
|
299
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_labor_cost) * Number(this.addItem.f_pay_number))
|
|
300
|
-
|
|
301
|
-
// 加入到票据中
|
|
302
|
-
let bill = {
|
|
303
|
-
f_commodity_name: this.charging_item[index].label,
|
|
304
|
-
f_price: this.infee.f_labor_cost,
|
|
305
|
-
f_quantity: this.addItem.f_pay_number,
|
|
306
|
-
f_money: Number(this.infee.f_labor_cost) * Number(this.addItem.f_pay_number),
|
|
307
|
-
f_sale_money: Number(this.infee.f_labor_cost) * Number(this.addItem.f_pay_number)
|
|
308
|
-
}
|
|
309
|
-
this.temp.push(bill)
|
|
310
|
-
} else if (this.charging_item[index].label === '人工费' && this.charging_item[index].value === false) {
|
|
311
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_labor_cost) * Number(this.addItem.f_pay_number))
|
|
312
|
-
this.temp.forEach((item, x) => {
|
|
313
|
-
if (item.f_commodity_name === this.charging_item[index].label) {
|
|
314
|
-
this.temp.splice(x, 1)
|
|
315
|
-
}
|
|
316
|
-
})
|
|
317
|
-
}
|
|
318
|
-
if (this.charging_item[index].label === '改管费' && this.charging_item[index].value === true) {
|
|
319
|
-
this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
|
|
320
|
-
this.infee.f_change_pipeline_cost = this.infee.f_change_pipeline_cost ? this.infee.f_change_pipeline_cost : 0
|
|
321
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_change_pipeline_cost) * Number(this.addItem.f_pay_number))
|
|
322
|
-
|
|
323
|
-
// 加入到票据中
|
|
324
|
-
let bill = {
|
|
325
|
-
f_commodity_name: this.charging_item[index].label,
|
|
326
|
-
f_price: this.infee.f_change_pipeline_cost,
|
|
327
|
-
f_quantity: this.addItem.f_pay_number,
|
|
328
|
-
f_money: Number(this.infee.f_change_pipeline_cost) * Number(this.addItem.f_pay_number),
|
|
329
|
-
f_sale_money: Number(this.infee.f_change_pipeline_cost) * Number(this.addItem.f_pay_number)
|
|
330
|
-
}
|
|
331
|
-
this.temp.push(bill)
|
|
332
|
-
} else if (this.charging_item[index].label === '改管费' && this.charging_item[index].value === false) {
|
|
333
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_change_pipeline_cost) * Number(this.addItem.f_pay_number))
|
|
334
|
-
this.temp.forEach((item, x) => {
|
|
335
|
-
if (item.f_commodity_name === this.charging_item[index].label) {
|
|
336
|
-
this.temp.splice(x, 1)
|
|
337
|
-
}
|
|
338
|
-
})
|
|
339
|
-
}
|
|
340
|
-
if (this.charging_item[index].label === '设备安装费' && this.charging_item[index].value === true) {
|
|
341
|
-
this.addItem.f_fee = this.addItem.f_fee ? this.addItem.f_fee : 0
|
|
342
|
-
this.infee.f_sbaz_cost = this.infee.f_sbaz_cost ? this.infee.f_sbaz_cost : 0
|
|
343
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) + (Number(this.infee.f_sbaz_cost) * Number(this.addItem.f_pay_number))
|
|
344
|
-
|
|
345
|
-
// 加入到票据中
|
|
346
|
-
let bill = {
|
|
347
|
-
f_commodity_name: this.charging_item[index].label,
|
|
348
|
-
f_price: this.infee.f_sbaz_cost,
|
|
349
|
-
f_quantity: this.addItem.f_pay_number,
|
|
350
|
-
f_money: Number(this.infee.f_sbaz_cost) * Number(this.addItem.f_pay_number),
|
|
351
|
-
f_sale_money: Number(this.infee.f_sbaz_cost) * Number(this.addItem.f_pay_number)
|
|
352
|
-
}
|
|
353
|
-
this.temp.push(bill)
|
|
354
|
-
} else if (this.charging_item[index].label === '设备安装费' && this.charging_item[index].value === false) {
|
|
355
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) - (Number(this.infee.f_sbaz_cost) * Number(this.addItem.f_pay_number))
|
|
356
|
-
this.temp.forEach((item, x) => {
|
|
357
|
-
if (item.f_commodity_name === this.charging_item[index].label) {
|
|
358
|
-
this.temp.splice(x, 1)
|
|
359
|
-
}
|
|
360
|
-
})
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
// 小写转换大写
|
|
364
|
-
smalltoBIG(n) {
|
|
365
|
-
let fraction = ['角', '分'];
|
|
366
|
-
let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
|
|
367
|
-
let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
|
|
368
|
-
let head = n < 0 ? '欠' : '';
|
|
369
|
-
n = Math.abs(n);
|
|
370
|
-
|
|
371
|
-
let s = '';
|
|
372
|
-
|
|
373
|
-
for (var i = 0; i < fraction.length; i++) {
|
|
374
|
-
s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
|
|
375
|
-
}
|
|
376
|
-
s = s || '整';
|
|
377
|
-
n = Math.floor(n);
|
|
378
|
-
|
|
379
|
-
for (var i = 0; i < unit[0].length && n > 0; i++) {
|
|
380
|
-
let p = '';
|
|
381
|
-
for (var j = 0; j < unit[1].length && n > 0; j++) {
|
|
382
|
-
p = digit[n % 10] + unit[1][j] + p;
|
|
383
|
-
n = Math.floor(n / 10);
|
|
384
|
-
}
|
|
385
|
-
s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
|
|
386
|
-
}
|
|
387
|
-
return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
|
|
388
|
-
}
|
|
389
|
-
,
|
|
390
|
-
//新增收费 开启模态框
|
|
391
|
-
add() {
|
|
392
|
-
this.addItem.f_fee = 0
|
|
393
|
-
this.showpay = true
|
|
394
|
-
}
|
|
395
|
-
,
|
|
396
|
-
// 关闭模态框
|
|
397
|
-
close() {
|
|
398
|
-
this.showpay = false
|
|
399
|
-
this.addItem.f_fee = 0
|
|
400
|
-
this.addItem.f_capital = ''
|
|
401
|
-
this.addItem.f_payfee_name = ''
|
|
402
|
-
this.addItem.f_payfee_money = 0
|
|
403
|
-
this.addItem.f_pay_number = 1
|
|
404
|
-
for (let i = 0; i < this.charging_item.length; i++) {
|
|
405
|
-
this.charging_item[i].value = false
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
|
-
// 处理数字,例如: 1 转换成 001
|
|
409
|
-
handle() {
|
|
410
|
-
while (this.number.value.length < 3) {
|
|
411
|
-
this.number.value = '0' + this.number.value
|
|
412
|
-
}
|
|
413
|
-
},
|
|
414
|
-
// 输入金额校验
|
|
415
|
-
check(){
|
|
416
|
-
let re = /^[+-]?\d+(\.\d+)?$/ //判断字符串是否为数字
|
|
417
|
-
if (!re.test(this.addItem.f_payfee_money)){
|
|
418
|
-
this.$showMessage("请输入数字")
|
|
419
|
-
this.addItem.f_payfee_money=''
|
|
420
|
-
return false
|
|
421
|
-
}
|
|
422
|
-
return true
|
|
423
|
-
},
|
|
424
|
-
// 模态框确定按钮保存数据
|
|
425
|
-
async confirm() {
|
|
426
|
-
if(this.check()===false){
|
|
427
|
-
return
|
|
428
|
-
}
|
|
429
|
-
// 构造字符串
|
|
430
|
-
let str = ''
|
|
431
|
-
for (let i = 0; i < this.charging_item.length; i++) {
|
|
432
|
-
if (this.charging_item[i].value === true) {
|
|
433
|
-
str += this.charging_item[i].label
|
|
434
|
-
str += ','
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
// this.addItem.f_payfeedate = Util.toStandardDateString()
|
|
438
|
-
this.addItem.f_charging_item = str.substring(0, str.length - 1) // 去掉最后一个逗号
|
|
439
|
-
this.addItem.f_payfee_way = typeof this.addItem.f_payfee_way === 'object' ? this.addItem.f_payfee_way[0] : ''
|
|
440
|
-
this.addItem.processid = this.infee.f_process_id
|
|
441
|
-
this.addItem.applyid = this.infee.f_apply_num
|
|
442
|
-
this.addItem.f_operator = this.$login.f.name
|
|
443
|
-
this.addItem.f_department = this.$login.f.f_parentname
|
|
444
|
-
this.addItem.f_filiale = this.$login.f.f_fengongsi
|
|
445
|
-
this.addItem.f_fee = Number(this.addItem.f_fee)
|
|
446
|
-
|
|
447
|
-
this.addItem.f_payfee_remarks = this.addItem.f_payfee_money ? '其它费用(' + this.addItem.f_payfee_name + '):' + this.addItem.f_payfee_money + '元' : ''
|
|
448
|
-
// this.model.rows.push(this.addItem)
|
|
449
|
-
let http = new HttpResetClass()
|
|
450
|
-
await http.load('POST', 'rs/logic/saveentity', {data:{tablename:'t_paydetail',parameters:this.addItem}}, {resolveMsg: null, rejectMsg: "添加失败"})
|
|
451
|
-
|
|
452
|
-
// 组织数据打印票据
|
|
453
|
-
let http2 = new HttpResetClass()
|
|
454
|
-
let data2 = {
|
|
455
|
-
tablename: 't_singlevalue',
|
|
456
|
-
condition: `name = '销售单编号'`
|
|
457
|
-
}
|
|
458
|
-
let res2 = await http2.load('POST', 'rs/sql/singleTable', {data: data2}, {
|
|
459
|
-
resolveMsg: null,
|
|
460
|
-
rejectMsg: "获取销售单编号失败"
|
|
461
|
-
}, {silent: true})
|
|
462
|
-
this.number = res2.data[0]
|
|
463
|
-
this.handle()
|
|
464
|
-
// let temp = {}
|
|
465
|
-
// let data = {
|
|
466
|
-
// condition: '1=1',
|
|
467
|
-
// this.billinfo= {
|
|
468
|
-
// f_billnumber: 'XS-' + Util.toStandardDateString2() + '-' + this.number.value,
|
|
469
|
-
// f_date: Util.toStandardDateString(),
|
|
470
|
-
// f_remark: ' ',
|
|
471
|
-
// f_username: this.$login.f.name
|
|
472
|
-
// },
|
|
473
|
-
this.$refs.billxsdx.billinfo = {
|
|
474
|
-
f_billnumber: 'XS-' + Util.toStandardDateString2() + '-' + this.number.value,
|
|
475
|
-
f_date: Util.toStandardDateString(),
|
|
476
|
-
f_remark: ' ',
|
|
477
|
-
f_username: this.$login.f.name
|
|
478
|
-
}
|
|
479
|
-
this.f_billnumber = 'XS-' + Util.toStandardDateString2() + '-' + this.number.value
|
|
480
|
-
this.$refs.billxsdx.info = this.temp
|
|
481
|
-
// }
|
|
482
|
-
// }
|
|
483
|
-
this.$refs.billxsdx.load()
|
|
484
|
-
setTimeout(()=>{
|
|
485
|
-
this.$refs.billxsdx.billprint()
|
|
486
|
-
},5000)
|
|
487
|
-
// t_pay
|
|
488
|
-
// http = new HttpResetClass()
|
|
489
|
-
// await http.load('POST', 'rs/logic/insertpaydipetail', this.addItem, {resolveMsg: null, rejectMsg: "添加失败"})
|
|
490
|
-
|
|
491
|
-
// let bill = await new DataModel('rs/report/xiaoshoudan', {data})
|
|
492
|
-
// http = new HttpResetClass()
|
|
493
|
-
// await http.load('POST', 'rs/report/xiaoshoudan', data, {resolveMsg: null, rejectMsg: "票据打印失败"})
|
|
494
|
-
|
|
495
|
-
this.updateNumber()
|
|
496
|
-
this.close()
|
|
497
|
-
this.load()
|
|
498
|
-
},
|
|
499
|
-
// 更新 单据编号
|
|
500
|
-
async updateNumber() {
|
|
501
|
-
let http = new HttpResetClass()
|
|
502
|
-
this.number.value = String(Number(this.number.value) + 1)
|
|
503
|
-
await http.load('POST', 'rs/logic/updatesinglevalue', {data: this.number}, {
|
|
504
|
-
resolveMsg: null,
|
|
505
|
-
rejectMsg: "存储销售单编号失败"
|
|
506
|
-
})
|
|
507
|
-
http = new HttpResetClass()
|
|
508
|
-
let billinfo = Object.assign({}, this.infee, this.temp)
|
|
509
|
-
delete billinfo.id
|
|
510
|
-
// 票据类型
|
|
511
|
-
billinfo.f_bill_type = '销售单'
|
|
512
|
-
billinfo.f_billnumber = this.f_billnumber
|
|
513
|
-
billinfo.f_date = Util.toStandardDateString(),
|
|
514
|
-
billinfo.f_username = this.$login.f.name
|
|
515
|
-
billinfo.f_remark = ' '
|
|
516
|
-
for(let i = 0;i<this.temp.length;i++){
|
|
517
|
-
this.temp[i].f_sale_money=String(this.temp[i].f_sale_money)
|
|
518
|
-
}
|
|
519
|
-
let data = {
|
|
520
|
-
billinfo: billinfo,
|
|
521
|
-
array: this.temp
|
|
522
|
-
}
|
|
523
|
-
await http.load('POST', 'rs/logic/makebillrecord', {data: data}, {resolveMsg: null, rejectMsg: "票据记录存储失败"})
|
|
524
|
-
}
|
|
525
|
-
,
|
|
526
|
-
// 获取数据
|
|
527
|
-
async load() {
|
|
528
|
-
let http = new HttpResetClass()
|
|
529
|
-
let data = {
|
|
530
|
-
columnname: 'f_preparation_fee',
|
|
531
|
-
tablename: 't_preparationfee',
|
|
532
|
-
condition: `processid = '${this.infee.f_process_id}'`
|
|
533
|
-
}
|
|
534
|
-
let res = await
|
|
535
|
-
http.load('POST', 'rs/sql/getSum', {data: data}, {resolveMsg: null, rejectMsg: '获取总金额失败'})
|
|
536
|
-
this.sum = Math.round(res.data[0].f_preparation_fee * 100) / 100;
|
|
537
|
-
data = {
|
|
538
|
-
tablename: 't_paydetail',
|
|
539
|
-
condition: `processid = '${this.infee.f_process_id}'`
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
res = await
|
|
543
|
-
http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取付款数据失败'})
|
|
544
|
-
// 去除付款时间的时分秒
|
|
545
|
-
for (var i = 0; i < res.data.length; i++) {
|
|
546
|
-
res.data[i].f_payfeedate = res.data[i].f_payfeedate.substring(0, 11)
|
|
547
|
-
}
|
|
548
|
-
this.model.rows = res.data
|
|
549
|
-
}
|
|
550
|
-
,
|
|
551
|
-
}
|
|
552
|
-
,
|
|
553
|
-
watch: {
|
|
554
|
-
'addItem.f_pay_number'() {
|
|
555
|
-
let sum = 0
|
|
556
|
-
this.charging_item.forEach((item) => {
|
|
557
|
-
if (item.value == true) {
|
|
558
|
-
if (item.label === '开户费') {
|
|
559
|
-
sum += Number(this.infee.f_account_cost)
|
|
560
|
-
}
|
|
561
|
-
if (item.label === '入户安装费') {
|
|
562
|
-
sum += Number(this.infee.f_construction_cost)
|
|
563
|
-
}
|
|
564
|
-
if (item.label === '材料费') {
|
|
565
|
-
sum += Number(this.infee.f_material_cost)
|
|
566
|
-
}
|
|
567
|
-
if (item.label === '人工费') {
|
|
568
|
-
sum += Number(this.infee.f_labor_cost)
|
|
569
|
-
}
|
|
570
|
-
if (item.label === '改管费') {
|
|
571
|
-
sum += Number(this.infee.f_change_pipeline_cost)
|
|
572
|
-
}
|
|
573
|
-
if (item.label === '设备安装费') {
|
|
574
|
-
sum += Number(this.infee.f_sbaz_cost)
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
})
|
|
578
|
-
if (this.addItem.f_pay_number) {
|
|
579
|
-
this.addItem.f_fee = (Number(sum) * Number(this.addItem.f_pay_number)) + Number(this.addItem.f_payfee_money)
|
|
580
|
-
} else {
|
|
581
|
-
this.addItem.f_fee = Number(sum) + Number(this.addItem.f_payfee_money)
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
}
|
|
585
|
-
,
|
|
586
|
-
'addItem.f_payfee_money'(new_v, old_v) {
|
|
587
|
-
if (old_v && !isNaN(Number(old_v))) {
|
|
588
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) - Number(old_v)
|
|
589
|
-
}
|
|
590
|
-
if (new_v && !isNaN(Number(new_v))) {
|
|
591
|
-
this.addItem.f_fee = Number(this.addItem.f_fee) + Number(new_v)
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
,
|
|
596
|
-
computed: {
|
|
597
|
-
// 计算大写
|
|
598
|
-
getCapital() {
|
|
599
|
-
if (this.addItem.f_fee) {
|
|
600
|
-
this.addItem.f_capital = this.smalltoBIG(Number(this.addItem.f_fee))
|
|
601
|
-
}
|
|
602
|
-
return this.addItem.f_capital
|
|
603
|
-
},
|
|
604
|
-
subcost() {
|
|
605
|
-
let temp = this.sum;
|
|
606
|
-
for (var i = 0; i < this.model.rows.length; i++) {
|
|
607
|
-
temp = Number(temp) - Number(this.model.rows[i].f_fee)
|
|
608
|
-
}
|
|
609
|
-
return temp
|
|
610
|
-
},
|
|
611
|
-
// totalcost () {
|
|
612
|
-
// this.model.f_total_cost = Number(this.model.f_construction_cost) + Number(this.model.f_material_cost)
|
|
613
|
-
// + Number(this.model.f_labor_cost) + Number(this.model.f_change_pipeline_cost)
|
|
614
|
-
// + Number(this.model.f_sbaz_cost) - Number(this.model.f_jmhj_cost)
|
|
615
|
-
// return this.model.f_total_cost
|
|
616
|
-
// },
|
|
617
|
-
feeoptions() {
|
|
618
|
-
return this.$appdata.getParam('费用类型')
|
|
619
|
-
}
|
|
620
|
-
,
|
|
621
|
-
dayin() {
|
|
622
|
-
return this.$appdata.getParam('打印格式')
|
|
623
|
-
}
|
|
624
|
-
,
|
|
625
|
-
jiaofei() {
|
|
626
|
-
return this.$appdata.getParam('缴费类型')
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
</script>
|