apply-clients 3.0.4 → 3.0.5-ys
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/.gradle/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/{dist-android/static/.gitkeep → .gradle/5.2.1/gc.properties} +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/doc//346/226/260/347/224/250/346/210/267/350/212/261/345/220/215/345/206/214/345/257/274/345/205/245/346/250/241/346/235/277.xls +0 -0
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +0 -0
- package/gradlew.bat +84 -0
- package/index.html +26 -17
- package/package.json +8 -5
- package/src/App.vue +14 -21
- package/src/apply.js +55 -2
- package/src/applyAndroid.js +1 -1
- package/src/bootstrap/less/aofeng/animate.min.css +11 -0
- package/src/bootstrap/less/aofeng/standard.less +591 -0
- package/src/bootstrap/less/aofeng/themeOne/BinaryTemplate.less +478 -0
- package/src/bootstrap/less/aofeng/themeOne/loginStyle.less +1586 -0
- package/src/bootstrap/less/aofeng/themeOne/systemStyle.less +1915 -0
- package/src/bootstrap/less/aofeng/themeOne.less +10 -0
- package/src/bootstrap/less/aofeng/themeTwo/newStyle1.less +415 -0
- package/src/bootstrap/less/aofeng/themeTwo.less +2 -0
- package/src/bootstrap/less/bootstrap.less +11 -0
- package/src/bootstrap/less/forms.less +2 -2
- package/src/bootstrap/less/manageStyle/manageChile.less +180 -0
- package/src/bootstrap/less/manageStyle/manageStyle.less +1103 -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/variables.less +2 -1
- package/src/components/Util.js +26 -22
- package/src/components/app_apply/ApplyDownList.vue +21 -8
- package/src/components/app_apply/ApplyToDoList.vue +94 -59
- package/src/components/app_apply/ApplyUserInfo.vue +3 -3
- package/src/components/app_apply/FieldExploration.vue +2 -2
- package/src/components/app_apply/PlaceControler.vue +16 -19
- package/src/components/app_apply/ServiceControl.vue +1136 -16
- package/src/components/app_apply/ServiceView.vue +395 -167
- 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/BatchFunction/BatchPay.vue +694 -0
- package/src/components/product/Bill/BillXSDMakeInfo.vue +1 -1
- package/src/components/product/Function/InstallFunction.vue +17 -13
- package/src/components/product/Function/InstallInfoSelect.vue +293 -71
- package/src/components/product/Function/Service/FunctionServiceControl.vue +50 -5
- package/src/components/product/Function/functions/AddContract.vue +161 -139
- package/src/components/product/Function/functions/BuyerMessage.vue +285 -137
- package/src/components/product/Function/functions/InstallFee.vue +1141 -912
- package/src/components/product/Function/functions/InstallFeeInfo.vue +5 -5
- package/src/components/product/Function/functions/PrestoreFee.vue +4 -4
- package/src/components/product/Function/functions/StopInstall.vue +14 -2
- package/src/components/product/HiddenDangersInProjects/AddHiddenDangers.vue +965 -0
- package/src/components/product/HiddenDangersInProjects/HiddenProjectList.vue +433 -0
- package/src/components/product/HiddenDangersInProjects/HiddenProjectSchedule.vue +146 -0
- package/src/components/product/MaterialBatchList.vue +109 -0
- package/src/components/product/MaterialBatchManage.vue +34 -0
- package/src/components/product/Procedures/ProceduresDataGrid.vue +1022 -0
- package/src/components/product/Process/ExplorationSelect.vue +767 -416
- package/src/components/product/Process/ExplorationUser.vue +96 -51
- package/src/components/product/Process/MaterialUseList.vue +159 -0
- package/src/components/product/Process/ModifyUserFiles.vue +1 -1
- package/src/components/product/Process/ProcessInfo/history_control.vue +29 -6
- package/src/components/product/Process/Processes/CustomerBuildingMessage.vue +5 -5
- package/src/components/product/Process/Processes/CustomerEquipmentMessage.vue +1 -1
- package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +499 -210
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +1457 -753
- package/src/components/product/Process/Processes/ProjectSettlement.vue +535 -24
- package/src/components/product/Process/Processes/ReceiveBatch.vue +301 -121
- package/src/components/product/Process/Processes/Service/ApplyChangeHistory.vue +105 -0
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +87 -68
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +2521 -422
- package/src/components/product/Process/ShowBackReason.vue +1 -1
- package/src/components/product/ProjectManagement/AddProjectSchedule.vue +896 -0
- package/src/components/product/ProjectManagement/ProjectList.vue +406 -0
- package/src/components/product/ProjectManagement/ProjectSchedule.vue +144 -0
- package/src/components/product/ReportForm/PaymentRecord.vue +801 -0
- package/src/components/product/ReportForm/PaymentRecordAdd.vue +105 -0
- package/src/components/product/ReportForm/PaymentRecordBad.vue +1273 -0
- package/src/components/product/ReportForm/PaymentRecordDetailed.vue +472 -0
- package/src/components/product/ReportForm/PaymentRecordTooBad.vue +60 -0
- package/src/components/product/ReportForm/PaymentReport.vue +532 -0
- package/src/components/product/ReportForm/ProjectReport.vue +447 -0
- package/src/components/product/ReportForm/SettlementReport.vue +336 -0
- package/src/components/product/ReportForm/SummaryReport.vue +451 -0
- package/src/components/product/ReportForm/UserReport.vue +402 -0
- package/src/components/product/ServiceView.vue +383 -123
- package/src/components/product/Statistics/ApplyStatisticsROOT.vue +27 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +247 -23
- package/src/components/product/Supervisory/SupervisoryControl.vue +104 -44
- package/src/components/product/Supervisory/SupervisoryList.vue +412 -54
- package/src/components/product/Supervisory/SupervisoryhCart.vue +6 -3
- package/src/components/product/VueUtils/ApplyUpload.vue +310 -0
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/components/product/VueUtils/rightview/InstallCardList2.vue +35 -44
- package/src/components/product/VueUtils/rightview/carddetail/BuildFeeDetail2.vue +1 -1
- package/src/components/product/VueUtils/rightview/carddetail/ChangeFeeDetail2.vue +1 -1
- package/src/components/product/VueUtils/rightview/carddetail/ReduceFeeDetail2.vue +1 -1
- package/src/components/product/VueUtils/rightview/carddetail/StopApplyDetail2.vue +2 -2
- package/src/main.js +4 -2
- package/src/stores/ApplyLoadParams.js +1 -1
- package/src/stores/PagedListLogic.js +173 -0
- package/{dist-android/static/denglu.png → 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/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/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/{dist-android/static/psicon.png → 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/success.rar +0 -0
- package/.npmignore +0 -12
- package/dist-android/index.html +0 -3
- 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/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/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/8.js +0 -2
- package/dist-android/static/8.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/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/glyphicons-halflings-regular.eot +0 -0
- package/dist-android/static/glyphicons-halflings-regular.svg +0 -288
- 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/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/assets/shipin1.mp4 +0 -0
- package/yarn.lock +0 -9008
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex" style="height: auto">
|
|
2
|
+
<div class="flex col-sm-12" style="height: auto">
|
|
3
3
|
<div style="height: auto" class="flex">
|
|
4
|
-
<p class="bg-info text-center" style="padding:
|
|
4
|
+
<p class="bg-info text-center" style="padding: 2px;font-size: 10px">最终材料表
|
|
5
5
|
</p>
|
|
6
6
|
<div class="form-inline auto" style="margin-bottom: 5px;">
|
|
7
7
|
<criteria-paged :model="model" :pager="true" v-ref:paged >
|
|
@@ -10,19 +10,134 @@
|
|
|
10
10
|
<tr>
|
|
11
11
|
<th><nobr>序号</nobr></th>
|
|
12
12
|
<th><nobr>材料名称</nobr></th>
|
|
13
|
-
<th><nobr
|
|
13
|
+
<th><nobr>数量</nobr></th>
|
|
14
14
|
<th><nobr>单位</nobr></th>
|
|
15
15
|
<th><nobr>单价</nobr></th>
|
|
16
|
-
<th><nobr
|
|
16
|
+
<th><nobr>金额</nobr></th>
|
|
17
|
+
<th style="padding: 0px"><button class="btn btn-success" v-if="$parent.$parent.$parent.showprint" @click="$parent.$parent.$parent.impexcel('最终材料表')">导入</button></th>
|
|
17
18
|
</tr>
|
|
18
19
|
</template>
|
|
19
20
|
<template partial='body'>
|
|
20
21
|
<td style="text-align: center;">{{$index + 1}}</td>
|
|
21
|
-
<td style="text-align: center;">{{row.
|
|
22
|
-
<td style="text-align: center;">{{row.
|
|
23
|
-
<td style="text-align: center;">{{row.
|
|
24
|
-
<td style="text-align: center;">{{row.
|
|
25
|
-
<td style="text-align: center;">{{row.
|
|
22
|
+
<td style="text-align: center;">{{row.f_name}}</td>
|
|
23
|
+
<td style="text-align: center;">{{row.f_number}}</td>
|
|
24
|
+
<td style="text-align: center;">{{row.f_company}}</td>
|
|
25
|
+
<td style="text-align: center;">{{row.f_price}}</td>
|
|
26
|
+
<td style="text-align: center;">{{row.f_cost}}</td>
|
|
27
|
+
<td style="text-align: center;">
|
|
28
|
+
<button type="button" name="button" class="btn btn-link" v-if="$parent.$parent.$parent.showprint"
|
|
29
|
+
@click="$parent.$parent.$parent.deletematerial(row)">删除
|
|
30
|
+
</button>
|
|
31
|
+
</td>
|
|
32
|
+
</template>
|
|
33
|
+
</data-grid>
|
|
34
|
+
</criteria-paged>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div style="height: auto" class="flex">
|
|
39
|
+
<p class="bg-info text-center" style="padding: 2px;font-size: 10px">土建人工
|
|
40
|
+
</p>
|
|
41
|
+
<div class="form-inline auto" style="margin-bottom: 5px;">
|
|
42
|
+
<criteria-paged :model="tujianmodel" :pager="true" v-ref:paged >
|
|
43
|
+
<data-grid :model="$parent.tujianmodel" v-ref:grid partial='list'>
|
|
44
|
+
<template partial='head'>
|
|
45
|
+
<tr>
|
|
46
|
+
<th><nobr>序号</nobr></th>
|
|
47
|
+
<th><nobr>土建类型</nobr></th>
|
|
48
|
+
<th><nobr>规格型号</nobr></th>
|
|
49
|
+
<th><nobr>单位</nobr></th>
|
|
50
|
+
<th><nobr>数量</nobr></th>
|
|
51
|
+
<th><nobr>是否计价</nobr></th>
|
|
52
|
+
<th><nobr>人工定额</nobr></th>
|
|
53
|
+
<th><nobr>系数</nobr></th>
|
|
54
|
+
<th><nobr>人工费报审价</nobr></th>
|
|
55
|
+
<th><nobr>人工费审定价</nobr></th>
|
|
56
|
+
<th><nobr>备注</nobr></th>
|
|
57
|
+
<th style="padding: 0px"><button class="btn btn-success" v-if="$parent.$parent.$parent.showprint" @click="$parent.$parent.$parent.impexcel('土建人工')">导入</button><button class="btn btn-success" v-if="$parent.$parent.$parent.showprint" @click="$parent.$parent.$parent.tujianAdd()">+</button></th>
|
|
58
|
+
</tr>
|
|
59
|
+
</template>
|
|
60
|
+
<template partial='body'>
|
|
61
|
+
<td style="text-align: center;">{{$index + 1}}</td>
|
|
62
|
+
<!--<th><nobr>土建类型</nobr></th>-->
|
|
63
|
+
<td style="text-align: center;">{{row.f_type}}</td>
|
|
64
|
+
<!--<th><nobr>规格型号</nobr></th>-->
|
|
65
|
+
<td style="text-align: center;">{{row.f_number}}</td>
|
|
66
|
+
<!--<th><nobr>单位</nobr></th>-->
|
|
67
|
+
<td style="text-align: center;">{{row.f_danwei}}</td>
|
|
68
|
+
<!--<th><nobr>数量</nobr></th>-->
|
|
69
|
+
<td style="text-align: center;">{{row.f_shuliang}}</td>
|
|
70
|
+
<!--<th><nobr>是否计价</nobr></th>-->
|
|
71
|
+
<td style="text-align: center;">{{row.f_ispay}}</td>
|
|
72
|
+
<!--<th><nobr>人工定额</nobr></th>-->
|
|
73
|
+
<td style="text-align: center;">{{row.f_eding}}</td>
|
|
74
|
+
<!--<th><nobr>系数</nobr></th>-->
|
|
75
|
+
<td style="text-align: center;">{{row.f_xishu}}</td>
|
|
76
|
+
<!--<th><nobr>人工费报审价</nobr></th>-->
|
|
77
|
+
<td style="text-align: center;">{{row.f_baosheng}}</td>
|
|
78
|
+
<!--<th><nobr>人工费审定价</nobr></th>-->
|
|
79
|
+
<td style="text-align: center;">{{row.f_shengding}}</td>
|
|
80
|
+
<!--<th><nobr>备注</nobr></th>-->
|
|
81
|
+
<td style="text-align: center;">{{row.f_beizhu}}</td>
|
|
82
|
+
<td style="text-align: center;">
|
|
83
|
+
<button type="button" name="button" class="btn btn-link" v-if="$parent.$parent.$parent.showprint"
|
|
84
|
+
@click="$parent.$parent.$parent.deleteRow('t_tujian',row)">删除
|
|
85
|
+
</button>
|
|
86
|
+
</td>
|
|
87
|
+
</template>
|
|
88
|
+
</data-grid>
|
|
89
|
+
</criteria-paged>
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
<div style="height: auto" class="flex">
|
|
93
|
+
<p class="bg-info text-center" style="padding: 2px;font-size: 10px">安装人工
|
|
94
|
+
</p>
|
|
95
|
+
<div class="form-inline auto" style="margin-bottom: 5px;">
|
|
96
|
+
<criteria-paged :model="anzuangmodel" :pager="true" v-ref:paged >
|
|
97
|
+
<data-grid :model="$parent.anzuangmodel" v-ref:grid partial='list'>
|
|
98
|
+
<template partial='head'>
|
|
99
|
+
<tr>
|
|
100
|
+
<th><nobr>序号</nobr></th>
|
|
101
|
+
<th><nobr>安装类型</nobr></th>
|
|
102
|
+
<th><nobr>规格型号</nobr></th>
|
|
103
|
+
<th><nobr>单位</nobr></th>
|
|
104
|
+
<th><nobr>数量</nobr></th>
|
|
105
|
+
<th><nobr>是否计价</nobr></th>
|
|
106
|
+
<th><nobr>人工定额</nobr></th>
|
|
107
|
+
<th><nobr>系数</nobr></th>
|
|
108
|
+
<th><nobr>人工费报审价</nobr></th>
|
|
109
|
+
<th><nobr>人工费审定价</nobr></th>
|
|
110
|
+
<th><nobr>备注</nobr></th>
|
|
111
|
+
<th style="padding: 0px"><button class="btn btn-success" v-if="$parent.$parent.$parent.showprint" @click="$parent.$parent.$parent.impexcel('安装人工')">导入</button><button class="btn btn-success" v-if="$parent.$parent.$parent.showprint" @click="$parent.$parent.$parent.anzhuangAdd()">+</button></th>
|
|
112
|
+
</tr>
|
|
113
|
+
</template>
|
|
114
|
+
<template partial='body'>
|
|
115
|
+
<td style="text-align: center;">{{$index + 1}}</td>
|
|
116
|
+
<!--<th><nobr>土建类型</nobr></th>-->
|
|
117
|
+
<td style="text-align: center;">{{row.f_type}}</td>
|
|
118
|
+
<!--<th><nobr>规格型号</nobr></th>-->
|
|
119
|
+
<td style="text-align: center;">{{row.f_number}}</td>
|
|
120
|
+
<!--<th><nobr>单位</nobr></th>-->
|
|
121
|
+
<td style="text-align: center;">{{row.f_danwei}}</td>
|
|
122
|
+
<!--<th><nobr>数量</nobr></th>-->
|
|
123
|
+
<td style="text-align: center;">{{row.f_shuliang}}</td>
|
|
124
|
+
<!--<th><nobr>是否计价</nobr></th>-->
|
|
125
|
+
<td style="text-align: center;">{{row.f_ispay}}</td>
|
|
126
|
+
<!--<th><nobr>人工定额</nobr></th>-->
|
|
127
|
+
<td style="text-align: center;">{{row.f_eding}}</td>
|
|
128
|
+
<!--<th><nobr>系数</nobr></th>-->
|
|
129
|
+
<td style="text-align: center;">{{row.f_xishu}}</td>
|
|
130
|
+
<!--<th><nobr>人工费报审价</nobr></th>-->
|
|
131
|
+
<td style="text-align: center;">{{row.f_baosheng}}</td>
|
|
132
|
+
<!--<th><nobr>人工费审定价</nobr></th>-->
|
|
133
|
+
<td style="text-align: center;">{{row.f_shengding}}</td>
|
|
134
|
+
<!--<th><nobr>备注</nobr></th>-->
|
|
135
|
+
<td style="text-align: center;">{{row.f_beizhu}}</td>
|
|
136
|
+
<td style="text-align: center;">
|
|
137
|
+
<button type="button" name="button" class="btn btn-link" v-if="$parent.$parent.$parent.showprint"
|
|
138
|
+
@click="$parent.$parent.$parent.deleteRow('t_anzhuang',row)">删除
|
|
139
|
+
</button>
|
|
140
|
+
</td>
|
|
26
141
|
</template>
|
|
27
142
|
</data-grid>
|
|
28
143
|
</criteria-paged>
|
|
@@ -30,7 +145,7 @@
|
|
|
30
145
|
</div>
|
|
31
146
|
|
|
32
147
|
<div style="height: auto" class="flex">
|
|
33
|
-
<div class="bg-info text-center" style="padding:
|
|
148
|
+
<div class="bg-info text-center" style="padding: 2px;font-size: 10px">其他成本
|
|
34
149
|
</div>
|
|
35
150
|
<div class="form-inline auto" style="margin-bottom: 5px;">
|
|
36
151
|
<criteria-paged :model="othermodel" :pager="true" v-ref:paged1 >
|
|
@@ -42,7 +157,7 @@
|
|
|
42
157
|
<th><nobr>成本金额</nobr></th>
|
|
43
158
|
<th><nobr>备注</nobr></th>
|
|
44
159
|
<th><nobr>操作人</nobr></th>
|
|
45
|
-
<th style="padding: 0px"><button class="btn btn-success" @click="$parent.$parent.$parent.modify()">+</button></th>
|
|
160
|
+
<th style="padding: 0px"><button class="btn btn-success" v-if="$parent.$parent.$parent.showprint" @click="$parent.$parent.$parent.modify()">+</button></th>
|
|
46
161
|
</tr>
|
|
47
162
|
</template>
|
|
48
163
|
<template partial='body'>
|
|
@@ -52,10 +167,10 @@
|
|
|
52
167
|
<td style="text-align: center;">{{row.f_remarks}}</td>
|
|
53
168
|
<td style="text-align: center;">{{row.f_material_operator}}</td>
|
|
54
169
|
<td style="text-align: center;">
|
|
55
|
-
<button type="button" name="button" class="btn btn-link"
|
|
170
|
+
<button type="button" name="button" class="btn btn-link" v-if="$parent.$parent.$parent.showprint"
|
|
56
171
|
@click="$parent.$parent.$parent.update(row)">修正
|
|
57
172
|
</button>
|
|
58
|
-
<button type="button" name="button" class="btn btn-link"
|
|
173
|
+
<button type="button" name="button" class="btn btn-link" v-if="$parent.$parent.$parent.showprint"
|
|
59
174
|
@click="$parent.$parent.$parent.delete(row)">移除
|
|
60
175
|
</button>
|
|
61
176
|
</td>
|
|
@@ -72,8 +187,12 @@
|
|
|
72
187
|
<form class="form-horizontal">
|
|
73
188
|
<div class="form-group" >
|
|
74
189
|
<label for="f_cost_name" class="control-label">成本项</label>
|
|
75
|
-
|
|
76
|
-
placeholder='成本项'
|
|
190
|
+
<!--<input type="" class="form-control col-sm-2" v-model="model.f_cost_name"-->
|
|
191
|
+
<!--placeholder='成本项'>-->
|
|
192
|
+
<input-select
|
|
193
|
+
readonly="readonly" :value.sync="model.f_cost_name"
|
|
194
|
+
v-model="model.f_cost_name"
|
|
195
|
+
:options='cost_name_options' :valueSingle="true"></input-select>
|
|
77
196
|
</div>
|
|
78
197
|
<div class="form-group">
|
|
79
198
|
<label for="f_cost_money" class="control-label">成本金额</label>
|
|
@@ -92,6 +211,142 @@
|
|
|
92
211
|
<button type="button" class="btn btn-default" @click='modifyclose'>取消</button>
|
|
93
212
|
</footer>
|
|
94
213
|
</modal>
|
|
214
|
+
<modal :show.sync="showTuJianAdd" backdrop="false">
|
|
215
|
+
<header slot="modal-header" class="modal-header">
|
|
216
|
+
<h4 class="modal-title">新增土建人工成本项</h4>
|
|
217
|
+
</header>
|
|
218
|
+
<article slot="modal-body" class="modal-body">
|
|
219
|
+
<form class="form-horizontal">
|
|
220
|
+
<div class="form-group" >
|
|
221
|
+
<label for="f_type" class="control-label">土建类型</label>
|
|
222
|
+
<!--<input type="" class="form-control col-sm-2" v-model="model.f_cost_name"-->
|
|
223
|
+
<!--placeholder='成本项'>-->
|
|
224
|
+
<input type="input" class="form-control" v-model="item.f_type"
|
|
225
|
+
placeholder='土建类型'>
|
|
226
|
+
</div>
|
|
227
|
+
<div class="form-group">
|
|
228
|
+
<label for="f_number" class="control-label">规格型号</label>
|
|
229
|
+
<input type="input" class="form-control" v-model="item.f_number"
|
|
230
|
+
placeholder='规格型号'>
|
|
231
|
+
</div>
|
|
232
|
+
<div class="form-group">
|
|
233
|
+
<label for="f_danwei" class="control-label">单位</label>
|
|
234
|
+
<input type="input" class="form-control" v-model="item.f_danwei"
|
|
235
|
+
placeholder='单位'>
|
|
236
|
+
</div>
|
|
237
|
+
<div class="form-group">
|
|
238
|
+
<label for="f_cost_money" class="control-label">数量</label>
|
|
239
|
+
<input type="number" class="form-control" v-model="item.f_shuliang"
|
|
240
|
+
placeholder='数量'>
|
|
241
|
+
</div>
|
|
242
|
+
<div class="form-group">
|
|
243
|
+
<label for="f_cost_money" class="control-label">是否计价</label>
|
|
244
|
+
<input-select
|
|
245
|
+
readonly="item.readonly" :value.sync="item.f_ispay"
|
|
246
|
+
v-model="item.f_ispay" value="是"
|
|
247
|
+
:options='ispayOptions'
|
|
248
|
+
></input-select>
|
|
249
|
+
</div>
|
|
250
|
+
<div class="form-group">
|
|
251
|
+
<label for="f_cost_money" class="control-label">人工定额</label>
|
|
252
|
+
<input type="number" class="form-control" v-model="item.f_eding"
|
|
253
|
+
placeholder='人工定额'>
|
|
254
|
+
</div>
|
|
255
|
+
<div class="form-group">
|
|
256
|
+
<label for="f_cost_money" class="control-label">系数</label>
|
|
257
|
+
<input type="input" class="form-control" v-model="item.f_xishu"
|
|
258
|
+
placeholder='系数'>
|
|
259
|
+
</div>
|
|
260
|
+
<div class="form-group">
|
|
261
|
+
<label for="f_cost_money" class="control-label">人工费报审价</label>
|
|
262
|
+
<input type="number" class="form-control" v-model="item.f_baosheng"
|
|
263
|
+
placeholder='人工费报审价'>
|
|
264
|
+
</div>
|
|
265
|
+
<div class="form-group">
|
|
266
|
+
<label for="f_cost_money" class="control-label">人工费审定价</label>
|
|
267
|
+
<input type="number" class="form-control" v-model="item.f_shengding"
|
|
268
|
+
placeholder='人工费审定价'>
|
|
269
|
+
</div>
|
|
270
|
+
<div class="form-group">
|
|
271
|
+
<label for="f_remarks" class="control-label">备注</label>
|
|
272
|
+
<input type="text" class="form-control" v-model="item.f_beizhu"
|
|
273
|
+
placeholder='备注'>
|
|
274
|
+
</div>
|
|
275
|
+
</form>
|
|
276
|
+
</article>
|
|
277
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
278
|
+
<button type="button" class="btn btn-success" @click='tujianConfirm'>确认</button>
|
|
279
|
+
<button type="button" class="btn btn-default" @click='tujianClose'>取消</button>
|
|
280
|
+
</footer>
|
|
281
|
+
</modal>
|
|
282
|
+
<modal :show.sync="showAnZhuangAdd" backdrop="false">
|
|
283
|
+
<header slot="modal-header" class="modal-header">
|
|
284
|
+
<h4 class="modal-title">新增安装人工成本项</h4>
|
|
285
|
+
</header>
|
|
286
|
+
<article slot="modal-body" class="modal-body">
|
|
287
|
+
<form class="form-horizontal">
|
|
288
|
+
<div class="form-group" >
|
|
289
|
+
<label for="f_type" class="control-label">安装人工类型</label>
|
|
290
|
+
<!--<input type="" class="form-control col-sm-2" v-model="model.f_cost_name"-->
|
|
291
|
+
<!--placeholder='成本项'>-->
|
|
292
|
+
<input type="input" class="form-control" v-model="item.f_type"
|
|
293
|
+
placeholder='土建类型'>
|
|
294
|
+
</div>
|
|
295
|
+
<div class="form-group">
|
|
296
|
+
<label for="f_number" class="control-label">规格型号</label>
|
|
297
|
+
<input type="input" class="form-control" v-model="item.f_number"
|
|
298
|
+
placeholder='规格型号'>
|
|
299
|
+
</div>
|
|
300
|
+
<div class="form-group">
|
|
301
|
+
<label for="f_danwei" class="control-label">单位</label>
|
|
302
|
+
<input type="input" class="form-control" v-model="item.f_danwei"
|
|
303
|
+
placeholder='单位'>
|
|
304
|
+
</div>
|
|
305
|
+
<div class="form-group">
|
|
306
|
+
<label for="f_cost_money" class="control-label">数量</label>
|
|
307
|
+
<input type="number" class="form-control" v-model="item.f_shuliang"
|
|
308
|
+
placeholder='数量'>
|
|
309
|
+
</div>
|
|
310
|
+
<div class="form-group">
|
|
311
|
+
<label for="f_cost_money" class="control-label">是否计价</label>
|
|
312
|
+
<input-select
|
|
313
|
+
readonly="item.readonly" :value.sync="item.f_ispay"
|
|
314
|
+
v-model="item.f_ispay" value="是"
|
|
315
|
+
:options='ispayOptions'
|
|
316
|
+
></input-select>
|
|
317
|
+
</div>
|
|
318
|
+
<div class="form-group">
|
|
319
|
+
<label for="f_cost_money" class="control-label">人工定额</label>
|
|
320
|
+
<input type="number" class="form-control" v-model="item.f_eding"
|
|
321
|
+
placeholder='人工定额'>
|
|
322
|
+
</div>
|
|
323
|
+
<div class="form-group">
|
|
324
|
+
<label for="f_cost_money" class="control-label">系数</label>
|
|
325
|
+
<input type="input" class="form-control" v-model="item.f_xishu"
|
|
326
|
+
placeholder='系数'>
|
|
327
|
+
</div>
|
|
328
|
+
<div class="form-group">
|
|
329
|
+
<label for="f_cost_money" class="control-label">人工费报审价</label>
|
|
330
|
+
<input type="number" class="form-control" v-model="item.f_baosheng"
|
|
331
|
+
placeholder='人工费报审价'>
|
|
332
|
+
</div>
|
|
333
|
+
<div class="form-group">
|
|
334
|
+
<label for="f_cost_money" class="control-label">人工费审定价</label>
|
|
335
|
+
<input type="number" class="form-control" v-model="item.f_shengding"
|
|
336
|
+
placeholder='人工费审定价'>
|
|
337
|
+
</div>
|
|
338
|
+
<div class="form-group">
|
|
339
|
+
<label for="f_remarks" class="control-label">备注</label>
|
|
340
|
+
<input type="text" class="form-control" v-model="item.f_beizhu"
|
|
341
|
+
placeholder='备注'>
|
|
342
|
+
</div>
|
|
343
|
+
</form>
|
|
344
|
+
</article>
|
|
345
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
346
|
+
<button type="button" class="btn btn-success" @click='anzhuangConfirm'>确认</button>
|
|
347
|
+
<button type="button" class="btn btn-default" @click='anzhuangClose'>取消</button>
|
|
348
|
+
</footer>
|
|
349
|
+
</modal>
|
|
95
350
|
<modal :show.sync="updateshow" backdrop="false">
|
|
96
351
|
<header slot="modal-header" class="modal-header">
|
|
97
352
|
<h4 class="modal-title">修改成本项</h4>
|
|
@@ -120,6 +375,21 @@
|
|
|
120
375
|
<button type="button" class="btn btn-default" @click='updateclose'>取消</button>
|
|
121
376
|
</footer>
|
|
122
377
|
</modal>
|
|
378
|
+
<modal :show.sync="isShow" v-ref:modal backdrop="false">
|
|
379
|
+
<header slot="modal-header" class="modal-header">
|
|
380
|
+
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
381
|
+
<h4 class="modal-title">材料导入</h4>
|
|
382
|
+
</header>
|
|
383
|
+
<article slot="modal-body" class="modal-body">
|
|
384
|
+
<div class="form-group">
|
|
385
|
+
<file-upload class="my-file-uploader" name="materialExcelx"
|
|
386
|
+
action="rs/file/uploadFile" tagname="文件导入" :headers="headers" v-ref:file></file-upload>
|
|
387
|
+
</div>
|
|
388
|
+
</article>
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
392
|
+
</modal>
|
|
123
393
|
</div>
|
|
124
394
|
</template>
|
|
125
395
|
<script>
|
|
@@ -159,6 +429,18 @@
|
|
|
159
429
|
self.search()
|
|
160
430
|
self.modifyshow = false
|
|
161
431
|
}
|
|
432
|
+
let deletematerial = async function (self) {
|
|
433
|
+
let param = {
|
|
434
|
+
id: self.updaterow.id
|
|
435
|
+
}
|
|
436
|
+
console.log('删除此项材料', param)
|
|
437
|
+
self.$resetpost('rs/logic/deletematerial', param).then(() => {
|
|
438
|
+
// this.params.rows.splice(index, 1)
|
|
439
|
+
console.log('删除成功!')
|
|
440
|
+
self.search()
|
|
441
|
+
})
|
|
442
|
+
self.search()
|
|
443
|
+
}
|
|
162
444
|
let update = async function (self) {
|
|
163
445
|
let param = {
|
|
164
446
|
id: self.updaterow.id,
|
|
@@ -177,55 +459,201 @@
|
|
|
177
459
|
}
|
|
178
460
|
export default {
|
|
179
461
|
title: '工程结算',
|
|
180
|
-
props:
|
|
462
|
+
props: {
|
|
463
|
+
selectdata: {
|
|
464
|
+
type: Object
|
|
465
|
+
},
|
|
466
|
+
showprint: {
|
|
467
|
+
type: Boolean,
|
|
468
|
+
default: true
|
|
469
|
+
}
|
|
470
|
+
},
|
|
181
471
|
data () {
|
|
182
472
|
return {
|
|
473
|
+
importType:'',
|
|
474
|
+
ispayOptions:[{label:'是',value:'是'},{label:'否',value:'否'}],
|
|
475
|
+
showTuJianAdd:false,
|
|
476
|
+
item:{},
|
|
477
|
+
showAnZhuangAdd:false,
|
|
183
478
|
model: new PagedList('rs/sql/getMaterialFinal', 8, { orderitem: '`id`'}),
|
|
184
479
|
othermodel: new PagedList('rs/sql/getCost', 8, { orderitem: '`id`'}),
|
|
480
|
+
tujianmodel: new PagedList('rs/sql/getTuJian', 8, { orderitem: '`id`'}),
|
|
481
|
+
anzuangmodel: new PagedList('rs/sql/getAnZhuang', 8, { orderitem: '`id`'}),
|
|
185
482
|
number:0,
|
|
186
483
|
cost:0,
|
|
187
484
|
all:0,
|
|
485
|
+
anzhuangsum:0,
|
|
486
|
+
tujiansum:0,
|
|
188
487
|
modifyshow:false,
|
|
189
488
|
updateshow:false,
|
|
190
|
-
updaterow:null
|
|
489
|
+
updaterow:null,
|
|
490
|
+
isShow:false,
|
|
491
|
+
cost_name_options:this.$appdata.getParam('成本项')
|
|
191
492
|
}
|
|
192
493
|
},
|
|
193
494
|
ready () {
|
|
194
495
|
this.search()
|
|
195
496
|
},
|
|
196
497
|
methods: {
|
|
498
|
+
async deleteRow(tablename,row){
|
|
499
|
+
let tem = await this.$showMessage(`确认要删除这条记录吗?`, ['confirm', 'cancel'])
|
|
500
|
+
if(tem != 'confirm'){
|
|
501
|
+
return
|
|
502
|
+
}
|
|
503
|
+
row.f_state = '0'
|
|
504
|
+
row.f_operator=this.$login.f.name
|
|
505
|
+
row.f_apply_num=this.selectdata.f_apply_num
|
|
506
|
+
row.f_parentname=this.$login.f.f_parentname
|
|
507
|
+
row.f_filiale=this.$login.f.f_fengongsi
|
|
508
|
+
|
|
509
|
+
this.$resetpost('rs/logic/saveentity', {data:{tablename:tablename,parameters:row}}).then(() => {
|
|
510
|
+
// this.params.rows.splice(index, 1)
|
|
511
|
+
console.log('更新成功!')
|
|
512
|
+
this.search()
|
|
513
|
+
})
|
|
514
|
+
this.search()
|
|
515
|
+
},
|
|
516
|
+
tujianConfirm(){
|
|
517
|
+
let param = {
|
|
518
|
+
f_process_id: this.selectdata.f_process_id,
|
|
519
|
+
f_state: '1',
|
|
520
|
+
f_operator: this.$login.f.name,
|
|
521
|
+
f_apply_num:this.selectdata.f_apply_num,
|
|
522
|
+
f_parentname:this.$login.f.f_parentname,
|
|
523
|
+
f_filiale:this.$login.f.f_fengongsi,
|
|
524
|
+
f_date:new Date().Format("yyyy-MM-dd HH:mm:ss")
|
|
525
|
+
}
|
|
526
|
+
param = Object.assign(this.item,param)
|
|
527
|
+
console.log('新增成本项', param)
|
|
528
|
+
this.$resetpost('rs/logic/saveentity', {data:{tablename:'t_tujian',parameters:param}}).then(() => {
|
|
529
|
+
// this.params.rows.splice(index, 1)
|
|
530
|
+
console.log('更新成功!')
|
|
531
|
+
|
|
532
|
+
this.search()
|
|
533
|
+
})
|
|
534
|
+
this.search()
|
|
535
|
+
this.tujianClose()
|
|
536
|
+
},
|
|
537
|
+
anzhuangConfirm(){
|
|
538
|
+
let param = {
|
|
539
|
+
f_process_id: this.selectdata.f_process_id,
|
|
540
|
+
f_state: '1',
|
|
541
|
+
f_operator: this.$login.f.name,
|
|
542
|
+
f_apply_num:this.selectdata.f_apply_num,
|
|
543
|
+
f_parentname:this.$login.f.f_parentname,
|
|
544
|
+
f_filiale:this.$login.f.f_fengongsi,
|
|
545
|
+
f_date:new Date().Format("yyyy-MM-dd HH:mm:ss")
|
|
546
|
+
}
|
|
547
|
+
param = Object.assign(this.item,param)
|
|
548
|
+
console.log('新增成本项', param)
|
|
549
|
+
this.$resetpost('rs/logic/saveentity', {data:{tablename:'t_anzhuang',parameters:param}}).then(() => {
|
|
550
|
+
// this.params.rows.splice(index, 1)
|
|
551
|
+
console.log('更新成功!')
|
|
552
|
+
|
|
553
|
+
this.search()
|
|
554
|
+
})
|
|
555
|
+
this.search()
|
|
556
|
+
this.anzhuangClose()
|
|
557
|
+
},
|
|
558
|
+
tujianAdd(){
|
|
559
|
+
this.showTuJianAdd = true
|
|
560
|
+
},
|
|
561
|
+
anzhuangAdd(){
|
|
562
|
+
this.showAnZhuangAdd = true
|
|
563
|
+
},
|
|
564
|
+
tujianClose(){
|
|
565
|
+
this.showTuJianAdd = false
|
|
566
|
+
this.item = {}
|
|
567
|
+
},
|
|
568
|
+
anzhuangClose(){
|
|
569
|
+
this.showAnZhuangAdd = false
|
|
570
|
+
this.item = {}
|
|
571
|
+
},
|
|
197
572
|
search () {
|
|
198
573
|
console.log('执行查询',this.$login)
|
|
199
574
|
let condition = ` processid = '${this.selectdata.f_process_id}'`
|
|
200
575
|
let othercondition = ` f_processid = '${this.selectdata.f_process_id}'`
|
|
576
|
+
let tujiancondition = ` f_process_id = '${this.selectdata.f_process_id}'`
|
|
577
|
+
let anzuangcondition = ` f_process_id = '${this.selectdata.f_process_id}'`
|
|
201
578
|
this.model.search(condition)
|
|
202
579
|
this.othermodel.search(othercondition)
|
|
580
|
+
this.tujianmodel.search(tujiancondition)
|
|
581
|
+
this.anzuangmodel.search(anzuangcondition)
|
|
582
|
+
console.log('查询结果',this.model)
|
|
583
|
+
console.log('错误信息',this.model.error)
|
|
584
|
+
this.model.error=""
|
|
585
|
+
this.othermodel.error=""
|
|
586
|
+
this.tujianmodel.error=""
|
|
587
|
+
this.anzuangmodel.error=""
|
|
203
588
|
this.getnumber(condition)
|
|
204
589
|
},
|
|
590
|
+
getTuJianSum(){
|
|
591
|
+
let data = {
|
|
592
|
+
columnname: 'f_shengding',
|
|
593
|
+
tablename: 't_tujian',
|
|
594
|
+
condition: ` f_ispay='是' and f_state='1' and f_process_id = '${this.selectdata.f_process_id}'`
|
|
595
|
+
}
|
|
596
|
+
this.$resetpost('rs/sql/getSum', {data: data}, {resolveMsg: null, rejectMsg: '土建人工和值取失败'}).then((res) => {
|
|
597
|
+
if (res.data.length>0){
|
|
598
|
+
this.tujiansum =res.data[0].f_shengding
|
|
599
|
+
console.log('this.tujiansum=',this.tujiansum)
|
|
600
|
+
this.$dispatch('refreshSum',this.number,this.cost,this.tujiansum,this.anzhuangsum)
|
|
601
|
+
}else{
|
|
602
|
+
this.tujiansum = 0
|
|
603
|
+
}
|
|
604
|
+
console.log('2222222222222222')
|
|
605
|
+
})
|
|
606
|
+
},
|
|
607
|
+
getAnZhuangSum(){
|
|
608
|
+
let data = {
|
|
609
|
+
columnname: 'f_shengding',
|
|
610
|
+
tablename: 't_anzhuang',
|
|
611
|
+
condition: ` f_ispay='是' and f_state='1' and f_process_id = '${this.selectdata.f_process_id}'`
|
|
612
|
+
}
|
|
613
|
+
let othercondition = ` f_processid = '${this.selectdata.f_process_id}'`
|
|
614
|
+
this.$resetpost('rs/sql/getSum', {data: data}, {resolveMsg: null, rejectMsg: '安装人工和值取失败'}).then((res) => {
|
|
615
|
+
if (res.data.length>0){
|
|
616
|
+
this.anzhuangsum =res.data[0].f_shengding
|
|
617
|
+
}else{
|
|
618
|
+
this.anzhuangsum = 0
|
|
619
|
+
}
|
|
620
|
+
this.getTuJianSum()
|
|
621
|
+
console.log('this.anzhuangsum=',this.anzhuangsum)
|
|
622
|
+
})
|
|
623
|
+
},
|
|
205
624
|
getcost(){
|
|
206
625
|
let othercondition = ` f_processid = '${this.selectdata.f_process_id}'`
|
|
207
626
|
this.$resetpost('rs/sql/getCostAll', {data:{condition: othercondition,orderitem: `f_cost desc`}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
208
|
-
|
|
209
|
-
if (res.data
|
|
627
|
+
|
|
628
|
+
if (res.data.length>0){
|
|
210
629
|
this.cost =res.data[0].f_cost
|
|
211
630
|
}else{
|
|
212
631
|
this.cost = 0
|
|
213
632
|
}
|
|
214
|
-
|
|
633
|
+
this.getAnZhuangSum()
|
|
215
634
|
})
|
|
216
635
|
},
|
|
217
636
|
getnumber(condition){
|
|
218
637
|
this.$resetpost('rs/sql/getMaterialPrice', {data:{condition: condition,orderitem: `f_price desc`}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
219
|
-
console.log('res',res
|
|
220
|
-
if (res.data
|
|
638
|
+
console.log('res',res)
|
|
639
|
+
if (res.data.length>0){
|
|
221
640
|
this.number =res.data[0].f_price
|
|
222
641
|
}else{
|
|
223
|
-
this.
|
|
642
|
+
this.number = 0
|
|
224
643
|
}
|
|
225
644
|
this.getcost()
|
|
226
645
|
console.log('11111111111')
|
|
227
646
|
})
|
|
228
647
|
},
|
|
648
|
+
impexcel(titile) {
|
|
649
|
+
this.importType = titile
|
|
650
|
+
this.isShow = true
|
|
651
|
+
},
|
|
652
|
+
closeFile() {
|
|
653
|
+
this.isShow = false
|
|
654
|
+
// 将选的文件清空
|
|
655
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
656
|
+
},
|
|
229
657
|
modify(){
|
|
230
658
|
this.modifyshow = true
|
|
231
659
|
},
|
|
@@ -277,6 +705,14 @@
|
|
|
277
705
|
deletecost (this)
|
|
278
706
|
}
|
|
279
707
|
})
|
|
708
|
+
},
|
|
709
|
+
deletematerial(row){
|
|
710
|
+
this.updaterow = row
|
|
711
|
+
this.$showMessage(`是否确认删除此条记录`, ['confirm', 'cancel']).then((res) => {
|
|
712
|
+
if (res === 'confirm') {
|
|
713
|
+
deletematerial (this)
|
|
714
|
+
}
|
|
715
|
+
})
|
|
280
716
|
}
|
|
281
717
|
|
|
282
718
|
},
|
|
@@ -284,7 +720,76 @@
|
|
|
284
720
|
|
|
285
721
|
},
|
|
286
722
|
events: {
|
|
287
|
-
|
|
723
|
+
onFileUpload: function (file, res) {
|
|
724
|
+
console.log('上传成功')
|
|
725
|
+
if (!this.selectdata.f_process_id) {
|
|
726
|
+
this.$showMessage("数据异常,导入失败")
|
|
727
|
+
return
|
|
728
|
+
}
|
|
729
|
+
let data = {}
|
|
730
|
+
if(this.importType=='安装人工'){
|
|
731
|
+
data = {
|
|
732
|
+
tablename: 't_anzhuang',
|
|
733
|
+
importJsonFileName:'anzhuang.json',
|
|
734
|
+
filepath: res.f_downloadpath,
|
|
735
|
+
f_state: '1',
|
|
736
|
+
f_date:this.$login.toStandardTimeString(),
|
|
737
|
+
processid: this.selectdata.f_process_id,
|
|
738
|
+
f_process_id: this.selectdata.f_process_id,
|
|
739
|
+
f_apply_num: this.selectdata.f_apply_num,
|
|
740
|
+
f_filiale:this.selectdata.f_filiale,
|
|
741
|
+
f_parentname:this.$login.f.f_parentname,
|
|
742
|
+
f_operator:this.$login.f.name
|
|
743
|
+
/* processid:this.selectdata.f_processid*/
|
|
744
|
+
}
|
|
745
|
+
console.log('即将上传的数据,',data)
|
|
746
|
+
this.$resetpost('rs/logic/publicImport', data, {resolveMsg: '上传成功', rejectMsg: '上传失败'}).then((res) => {
|
|
747
|
+
console.log('logic返回数据',res)
|
|
748
|
+
this.search()
|
|
749
|
+
this.closeFile()
|
|
750
|
+
})
|
|
751
|
+
}else if (this.importType=='土建人工'){
|
|
752
|
+
data = {
|
|
753
|
+
tablename: 't_tujian',
|
|
754
|
+
importJsonFileName:'tujian.json',
|
|
755
|
+
f_state: '1',
|
|
756
|
+
filepath: res.f_downloadpath,
|
|
757
|
+
f_date:this.$login.toStandardTimeString(),
|
|
758
|
+
processid: this.selectdata.f_process_id,
|
|
759
|
+
f_process_id: this.selectdata.f_process_id,
|
|
760
|
+
f_apply_num: this.selectdata.f_apply_num,
|
|
761
|
+
f_filiale:this.selectdata.f_filiale,
|
|
762
|
+
f_parentname:this.$login.f.f_parentname,
|
|
763
|
+
f_operator:this.$login.f.name
|
|
764
|
+
/* processid:this.selectdata.f_processid*/
|
|
765
|
+
}
|
|
766
|
+
console.log('即将上传的数据,',data)
|
|
767
|
+
this.$resetpost('rs/logic/publicImport', data, {resolveMsg: '上传成功', rejectMsg: '上传失败'}).then((res) => {
|
|
768
|
+
console.log('logic返回数据',res)
|
|
769
|
+
this.search()
|
|
770
|
+
this.closeFile()
|
|
771
|
+
})
|
|
772
|
+
}else if(this.importType=='最终材料表'){
|
|
773
|
+
data = {
|
|
774
|
+
tablename: 'f_material',
|
|
775
|
+
filepath: res.f_downloadpath,
|
|
776
|
+
f_batch_importdate:this.$login.toStandardTimeString(),
|
|
777
|
+
processid: this.selectdata.f_process_id,
|
|
778
|
+
f_apply_num: this.selectdata.f_apply_num,
|
|
779
|
+
f_filiale:this.selectdata.f_filiale,
|
|
780
|
+
f_parentname:this.$login.f.f_parentname,
|
|
781
|
+
f_material_operator:this.$login.f.name
|
|
782
|
+
/* processid:this.selectdata.f_processid*/
|
|
783
|
+
}
|
|
784
|
+
console.log('即将上传的数据,',data)
|
|
785
|
+
this.$resetpost('rs/logic/materialfinalimport', data, {resolveMsg: '上传成功', rejectMsg: '上传失败'}).then((res) => {
|
|
786
|
+
console.log('logic返回数据',res)
|
|
787
|
+
this.search()
|
|
788
|
+
this.closeFile()
|
|
789
|
+
})
|
|
790
|
+
}
|
|
791
|
+
this.importType = ''
|
|
792
|
+
}
|
|
288
793
|
},
|
|
289
794
|
watch: {
|
|
290
795
|
'number' (){
|
|
@@ -293,6 +798,12 @@
|
|
|
293
798
|
'cost' (){
|
|
294
799
|
this.$dispatch('get-cost', this.cost)
|
|
295
800
|
},
|
|
801
|
+
'anzhuangsum' (){
|
|
802
|
+
this.$dispatch('anzhuang-sum', this.anzhuangsum)
|
|
803
|
+
},
|
|
804
|
+
'tujiansum' (){
|
|
805
|
+
this.$dispatch('tujian-sum', this.tujiansum)
|
|
806
|
+
},
|
|
296
807
|
'selectdata.f_process_id' (){
|
|
297
808
|
this.search()
|
|
298
809
|
}
|