apply-clients 3.2.36 → 3.2.49
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/static/15.js +2 -2
- package/dist-android/static/23.js +2 -2
- package/index.html +1 -1
- package/package.json +5 -5
- package/src/AndroidApp.vue +10 -9
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +288 -0
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/src/android-bootstrap/less/.csscomb.json +304 -0
- package/src/android-bootstrap/less/.csslintrc +19 -0
- package/src/android-bootstrap/less/alerts.less +73 -0
- package/src/android-bootstrap/less/badges.less +66 -0
- package/src/android-bootstrap/less/bootstrap.less +56 -0
- package/src/android-bootstrap/less/breadcrumbs.less +26 -0
- package/src/android-bootstrap/less/button-groups.less +247 -0
- package/src/android-bootstrap/less/buttons.less +173 -0
- package/src/android-bootstrap/less/carousel.less +269 -0
- package/src/android-bootstrap/less/close.less +34 -0
- package/src/android-bootstrap/less/code.less +69 -0
- package/src/android-bootstrap/less/component-animations.less +33 -0
- package/src/android-bootstrap/less/dropdowns.less +216 -0
- package/src/android-bootstrap/less/forms.less +626 -0
- package/src/android-bootstrap/less/glyphicons.less +305 -0
- package/src/android-bootstrap/less/grid.less +84 -0
- package/src/android-bootstrap/less/input-groups.less +167 -0
- package/src/android-bootstrap/less/jumbotron.less +52 -0
- package/src/android-bootstrap/less/labels.less +64 -0
- package/src/android-bootstrap/less/list-group.less +141 -0
- package/src/android-bootstrap/less/media.less +66 -0
- package/src/android-bootstrap/less/mixins/alerts.less +14 -0
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
- package/src/android-bootstrap/less/mixins/buttons.less +69 -0
- package/src/android-bootstrap/less/mixins/center-block.less +7 -0
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
- package/src/android-bootstrap/less/mixins/forms.less +90 -0
- package/src/android-bootstrap/less/mixins/gradients.less +59 -0
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
- package/src/android-bootstrap/less/mixins/grid.less +122 -0
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
- package/src/android-bootstrap/less/mixins/image.less +33 -0
- package/src/android-bootstrap/less/mixins/labels.less +12 -0
- package/src/android-bootstrap/less/mixins/list-group.less +30 -0
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
- package/src/android-bootstrap/less/mixins/opacity.less +8 -0
- package/src/android-bootstrap/less/mixins/pagination.less +24 -0
- package/src/android-bootstrap/less/mixins/panels.less +24 -0
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
- package/src/android-bootstrap/less/mixins/resize.less +6 -0
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
- package/src/android-bootstrap/less/mixins/size.less +10 -0
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
- package/src/android-bootstrap/less/mixins/table-row.less +44 -0
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
- package/src/android-bootstrap/less/mixins.less +40 -0
- package/src/android-bootstrap/less/modals.less +151 -0
- package/src/android-bootstrap/less/navbar.less +660 -0
- package/src/android-bootstrap/less/navs.less +302 -0
- package/src/android-bootstrap/less/normalize.less +424 -0
- package/src/android-bootstrap/less/pager.less +76 -0
- package/src/android-bootstrap/less/pagination.less +89 -0
- package/src/android-bootstrap/less/panels.less +274 -0
- package/src/android-bootstrap/less/popovers.less +131 -0
- package/src/android-bootstrap/less/print.less +101 -0
- package/src/android-bootstrap/less/progress-bars.less +87 -0
- package/src/android-bootstrap/less/responsive-embed.less +35 -0
- package/src/android-bootstrap/less/responsive-utilities.less +194 -0
- package/src/android-bootstrap/less/scaffolding.less +161 -0
- package/src/android-bootstrap/less/tables.less +262 -0
- package/src/android-bootstrap/less/theme.less +291 -0
- package/src/android-bootstrap/less/thumbnails.less +36 -0
- package/src/android-bootstrap/less/tooltip.less +102 -0
- package/src/android-bootstrap/less/type.less +303 -0
- package/src/android-bootstrap/less/utilities.less +55 -0
- package/src/android-bootstrap/less/variables.less +896 -0
- package/src/android-bootstrap/less/wells.less +29 -0
- package/src/apply.js +143 -25
- package/src/applyAndroid.js +5 -3
- package/src/components/Util.js +5 -5
- package/src/components/app_apply/AppServiceView.vue +2 -2
- package/src/components/app_apply/Process/AppExplorationUser.vue +200 -310
- package/src/components/app_apply/Process/AppProgressReport.vue +84 -0
- package/src/components/app_apply/Process/AppServiceControl.vue +215 -4
- package/src/components/app_apply/ProgressReport/ProgressReportDetail.vue +64 -0
- package/src/components/app_apply/ProgressReport/ProgressReportList.vue +209 -0
- package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +12 -129
- package/src/components/image/tubiao.png +0 -0
- package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeList.vue +4 -8
- package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeSearch.vue +2 -4
- package/src/components/product/{Function → Apply/Function}/InstallFunction.vue +4 -4
- package/src/components/product/{Function → Apply/Function}/InstallInfoSelect.vue +12 -16
- package/src/components/product/{Function → Apply/Function}/Service/FunctionServiceControl.vue +0 -1
- package/src/components/product/{Function → Apply/Function}/StopApplyCrrdList.vue +0 -0
- package/src/components/product/{Function → Apply/Function}/functions/ApplyRecordCancel.vue +1 -1
- package/src/components/product/{Function → Apply/Function}/functions/StopInstall.vue +11 -25
- package/src/components/product/{Process → Apply/Process}/ExplorationSelect.vue +5 -8
- package/src/components/product/{Process → Apply/Process}/ExplorationUser.vue +3 -4
- package/src/components/product/Apply/Process/Processes/InstallationDetails.vue +478 -0
- package/src/components/product/{Process → Apply/Process}/Processes/addressAndUserinfoManagement.vue +3 -8
- package/src/components/product/{Process → Apply/Process}/Processes/chargeManagement.vue +11 -51
- package/src/components/product/{Process → Apply/Process}/Processes/supplementalAgreement.vue +1 -1
- package/src/components/product/{Process → Apply/Process}/Service/ServiceControl.vue +11 -75
- package/src/components/product/{Process → Apply/Process}/ShowBackReason.vue +0 -0
- package/src/components/product/{Supervisory → Apply/Supervisory}/Service/SupervisoryServiceControl.vue +0 -5
- package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryControl.vue +43 -22
- package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryList.vue +15 -13
- package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryhCart.vue +1 -1
- package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContract.vue +156 -0
- package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractInformation.vue +429 -0
- package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractList.vue +267 -0
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContract.vue +138 -0
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractInformation.vue +715 -0
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractList.vue +304 -0
- package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContract.vue +119 -0
- package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractInformation.vue +286 -0
- package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractList.vue +258 -0
- package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecord.vue +24 -0
- package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecordList.vue +218 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityEmployRecord.vue +124 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventory.vue +307 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryInformation.vue +583 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryList.vue +285 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityServiceRecord.vue +113 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addFacilityInformation.vue +406 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addoldFacilityInformation.vue +326 -0
- package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecord.vue +24 -0
- package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecordList.vue +157 -0
- package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecord.vue +24 -0
- package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecordList.vue +168 -0
- package/src/components/product/Ledger/FileDownload/FileDownload.vue +42 -0
- package/src/components/product/Ledger/Function/InstallFunction.vue +118 -0
- package/src/components/product/Ledger/Function/InstallInfoSelect.vue +299 -0
- package/src/components/product/Ledger/Function/Service/FunctionServiceControl.vue +220 -0
- package/src/components/product/Ledger/Function/functions/PauseInstall.vue +92 -0
- package/src/components/product/Ledger/ImportApply/ImportApply.vue +68 -0
- package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecord.vue +24 -0
- package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecordList.vue +281 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformation.vue +313 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformationList.vue +250 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialDeliveryRecord.vue +110 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialEarlyWarning.vue +194 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialInformation.vue +186 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutStock.vue +438 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutboundOrder.vue +457 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialWarehousingRecord.vue +110 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseMaterial.vue +425 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseOrder.vue +481 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/ReturnMaterial.vue +321 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrder.vue +86 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderInformation.vue +327 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderList.vue +304 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/PrintMaterialBill.vue +139 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PrintPurchaseOrder.vue +157 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecords.vue +73 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsInformation.vue +268 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsList.vue +261 -0
- package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecord.vue +24 -0
- package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecordList.vue +275 -0
- package/src/components/product/Ledger/Process/ProcessBusiness.vue +155 -0
- package/src/components/product/Ledger/Process/ProcessSelect.vue +340 -0
- package/src/components/product/Ledger/Process/Processes/ExhibitionPicture.vue +27 -0
- package/src/components/product/Ledger/Process/Processes/ProgressReport.vue +236 -0
- package/src/components/product/Ledger/Process/Processes/ProjectMaterialList.vue +77 -0
- package/src/components/product/Ledger/Process/Processes/QinhuaMaterialList.vue +72 -0
- package/src/components/product/Ledger/Process/Service/ServiceControl.vue +639 -0
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingInformation.vue +316 -0
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecord.vue +67 -0
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecordList.vue +194 -0
- package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningInformation.vue +385 -0
- package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecord.vue +70 -0
- package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecordList.vue +208 -0
- package/src/components/product/Ledger/Stop/StopApply.vue +103 -0
- package/src/components/product/Ledger/Stop/StopApplyList.vue +241 -0
- package/src/components/product/Ledger/Supervisory/ProcessSupervisory.vue +163 -0
- package/src/components/product/Ledger/Supervisory/Service/RenWuDan.vue +78 -0
- package/src/components/product/Ledger/Supervisory/Service/SupervisoryServiceControl.vue +606 -0
- package/src/components/product/Ledger/Supervisory/SupervisoryCart.vue +102 -0
- package/src/components/product/Ledger/Supervisory/SupervisoryList.vue +387 -0
- package/src/components/product/ServiceView.vue +376 -374
- package/src/components/product/VueUtils/ApplyUpload.vue +1 -3
- package/src/expandcssAndroid.less +534 -0
- package/src/main.js +2 -0
- package/static/Functions.js +91 -0
- package/static/Jsons.js +784 -0
- package/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
- package/static/ManagementControl/echarts10.png +0 -0
- package/static/ManagementControl/echarts11.png +0 -0
- package/static/ManagementControl/echarts12.png +0 -0
- package/static/ManagementControl/echarts13.png +0 -0
- package/static/ManagementControl/echarts14.png +0 -0
- package/static/ManagementControl/echarts15.png +0 -0
- package/static/ManagementControl/echarts16.png +0 -0
- package/static/ManagementControl/echarts17.png +0 -0
- package/static/ManagementControl/echarts18.png +0 -0
- package/static/ManagementControl/echarts4.png +0 -0
- package/static/ManagementControl/echarts5.png +0 -0
- package/static/ManagementControl/echarts51.png +0 -0
- package/static/ManagementControl/echarts6.png +0 -0
- package/static/ManagementControl/echarts7.png +0 -0
- package/static/ManagementControl/echarts71.png +0 -0
- package/static/ManagementControl/echarts8.png +0 -0
- package/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
- package/static/class.js +97 -0
- package/static/images/lefticon//346/226/207/344/273/266/346/250/241/345/235/227.png +0 -0
- package/static/init.js +135 -0
- package/static/jcwx.jpg +0 -0
- package/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/static/lefticon//345/233/276/345/261/202577.png +0 -0
- package/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/static/lefticon//347/237/251/345/275/2421183.png +0 -0
- package/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/static/loginbg1.jpg +0 -0
- package/static/loginbg_jincheng.jpg +0 -0
- package/static/loginbgmain.jpg +0 -0
- package/static/mainicon/adddevice.png +0 -0
- package/static/mainicon/addmeter.png +0 -0
- package/static/mainicon/bank.png +0 -0
- package/static/mainicon/biaopan.png +0 -0
- package/static/mainicon/cad.jpg +0 -0
- package/static/mainicon/chaobiaoyuan.png +0 -0
- package/static/mainicon/danganguanli.png +0 -0
- package/static/mainicon/deletedevice.png +0 -0
- package/static/mainicon/excel.jpg +0 -0
- package/static/mainicon/huizong.png +0 -0
- package/static/mainicon/jibiaoguanli.png +0 -0
- package/static/mainicon/jibiaoguanli2.png +0 -0
- package/static/mainicon/jiezhang.png +0 -0
- package/static/mainicon/loginbg.jpg +0 -0
- package/static/mainicon/shouqishoufei.png +0 -0
- package/static/mainicon/treeopen.png +0 -0
- package/static/mainicon/treeout.png +0 -0
- package/static/mainicon/treeset.png +0 -0
- package/static/mainicon/word.jpg +0 -0
- package/static/mainicon/wulianwang.png +0 -0
- package/static/mainicon/yingyechaxun.png +0 -0
- package/static/mainicon/zongheyewu.png +0 -0
- package/static/newStyle/loginbg-liaoyuan.gif +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/static/newStyle/loginbg1366.gif +0 -0
- package/static/newStyle/loginbg_1.gif +0 -0
- package/static/newStyle/searchin.png +0 -0
- package/static/newStyle/searchout.png +0 -0
- package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
- package/static/newStyle.7z +0 -0
- package/static/newStyle.zip +0 -0
- package/static/refresh.png +0 -0
- package/static/static.zip +0 -0
- package/static/tools.js +246 -0
- package/static/treeclose.png +0 -0
- package/static/wasm_exec.js +591 -0
- package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +0 -456
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
- package/src/components/product/Process/Processes/InstallationDetails.vue +0 -515
- package/src/components/product/Process/Processes/printCharge.vue +0 -133
- package/src/components/product/Test.vue +0 -36
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<style id="style">
|
|
3
|
+
td{
|
|
4
|
+
height: 30px;
|
|
5
|
+
width: 60px;
|
|
6
|
+
padding: 0px;
|
|
7
|
+
text-align: center;
|
|
8
|
+
}
|
|
9
|
+
table{
|
|
10
|
+
margin: auto;
|
|
11
|
+
width: 100%;
|
|
12
|
+
border-collapse:collapse;
|
|
13
|
+
border: 1px solid black;
|
|
14
|
+
}
|
|
15
|
+
h1,h2,h3,h4,h5,h6 {
|
|
16
|
+
text-align: center;
|
|
17
|
+
}
|
|
18
|
+
.top{
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: space-around;
|
|
21
|
+
margin: 0px;
|
|
22
|
+
}
|
|
23
|
+
.bottom{
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: space-around;
|
|
26
|
+
margin: 5px 0 0 0;
|
|
27
|
+
}
|
|
28
|
+
</style>
|
|
29
|
+
<div id="print">
|
|
30
|
+
<h4 style="margin: 0 0 5px 0">西安市天然气工程有限公司{{outboundOrder.f_entry_type}}项目材料领用单</h4>
|
|
31
|
+
<p class="top">
|
|
32
|
+
<span>编号:{{outboundOrder.f_ticket_number}}</span>
|
|
33
|
+
<span>此票有限期为三天过期作废</span>
|
|
34
|
+
<span>{{new Date(outboundOrder.f_billing_time).Format('yyyy年MM月dd日')}}</span>
|
|
35
|
+
</p>
|
|
36
|
+
<table border="1">
|
|
37
|
+
<tr>
|
|
38
|
+
<td>施工单位:</td>
|
|
39
|
+
<td colspan="4">{{ outboundOrder.f_picking_unit }}</td>
|
|
40
|
+
<td colspan="2">CEA:{{ outboundOrder.f_cea_number }}</td>
|
|
41
|
+
<td :rowspan="materialPrepare.length + 13" style="width: 10px">
|
|
42
|
+
<p>白<br/>联<br/>库<br/>房</p>
|
|
43
|
+
|
|
44
|
+
<p>红<br/>联<br/>财<br/>务</p>
|
|
45
|
+
|
|
46
|
+
<p>黄<br/>绿<br/>联<br/>出<br/>库</p>
|
|
47
|
+
|
|
48
|
+
<p>蓝<br/>联<br/>工<br/>队</p>
|
|
49
|
+
</td>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr>
|
|
52
|
+
<td>工地名称:</td>
|
|
53
|
+
<td colspan="4">{{ outboundOrder.f_picking_site }}</td>
|
|
54
|
+
<td>发料仓库:</td>
|
|
55
|
+
<td>{{ outboundOrder.f_warehouse }}</td>
|
|
56
|
+
</tr>
|
|
57
|
+
<tr>
|
|
58
|
+
<td>材料名称</td>
|
|
59
|
+
<td>材料型号</td>
|
|
60
|
+
<td>单位</td>
|
|
61
|
+
<td>数量</td>
|
|
62
|
+
<td>不含税单价</td>
|
|
63
|
+
<td>金额</td>
|
|
64
|
+
<td>备注</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr v-for="item in materialPrepare">
|
|
67
|
+
<td>{{ item.f_material_name }}</td>
|
|
68
|
+
<td>{{ item.f_material_model }}</td>
|
|
69
|
+
<td>{{ item.f_unit }}</td>
|
|
70
|
+
<td>{{ item.f_prepare_quantity }}</td>
|
|
71
|
+
<td>{{ item.f_noprice }}</td>
|
|
72
|
+
<td>{{ item.f_money }}</td>
|
|
73
|
+
<td>{{ item.f_remarks }}</td>
|
|
74
|
+
</tr>
|
|
75
|
+
<tr v-for="item in supplement">
|
|
76
|
+
<td></td>
|
|
77
|
+
<td></td>
|
|
78
|
+
<td></td>
|
|
79
|
+
<td></td>
|
|
80
|
+
<td></td>
|
|
81
|
+
<td></td>
|
|
82
|
+
<td></td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr>
|
|
85
|
+
<td>合计:</td>
|
|
86
|
+
<td colspan="6">¥{{ outboundOrder.f_money }}</td>
|
|
87
|
+
</tr>
|
|
88
|
+
</table>
|
|
89
|
+
<p class="bottom">
|
|
90
|
+
<span>材料员:</span>
|
|
91
|
+
<span>制单:{{ outboundOrder.f_operator }}</span>
|
|
92
|
+
<span>发料:</span>
|
|
93
|
+
<span>领料:</span>
|
|
94
|
+
</p>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<print-element v-show="false" v-ref:print id='print' styleid='style'
|
|
98
|
+
top='10' left='60' width='100%' height='100%'>
|
|
99
|
+
</print-element>
|
|
100
|
+
</template>
|
|
101
|
+
|
|
102
|
+
<script>
|
|
103
|
+
Date.prototype.Format = function (fmt) {
|
|
104
|
+
var o = {
|
|
105
|
+
"M+": this.getMonth() + 1, //月份
|
|
106
|
+
"d+": this.getDate(), //日
|
|
107
|
+
"H+": this.getHours(), //小时
|
|
108
|
+
"m+": this.getMinutes(), //分
|
|
109
|
+
"s+": this.getSeconds(), //秒
|
|
110
|
+
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
111
|
+
"S": this.getMilliseconds() //毫秒
|
|
112
|
+
};
|
|
113
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
114
|
+
for (var k in o)
|
|
115
|
+
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
116
|
+
return fmt;
|
|
117
|
+
}
|
|
118
|
+
export default {
|
|
119
|
+
title: '打印出库单',
|
|
120
|
+
props: ['outboundOrder', 'materialPrepare'],
|
|
121
|
+
data () {
|
|
122
|
+
return {}
|
|
123
|
+
},
|
|
124
|
+
ready () {
|
|
125
|
+
},
|
|
126
|
+
computed: {
|
|
127
|
+
supplement () {
|
|
128
|
+
if (this.materialPrepare.length < 10) {
|
|
129
|
+
return 10 - this.materialPrepare.length
|
|
130
|
+
}
|
|
131
|
+
return 0
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
</script>
|
|
136
|
+
|
|
137
|
+
<style scoped>
|
|
138
|
+
|
|
139
|
+
</style>
|
package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PrintPurchaseOrder.vue
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<style id="style">
|
|
3
|
+
td{
|
|
4
|
+
height: 30px;
|
|
5
|
+
width: 60px;
|
|
6
|
+
padding: 0px;
|
|
7
|
+
text-align: center;
|
|
8
|
+
}
|
|
9
|
+
table{
|
|
10
|
+
margin: auto;
|
|
11
|
+
width: 100%;
|
|
12
|
+
border-collapse:collapse;
|
|
13
|
+
border: 1px solid black;
|
|
14
|
+
}
|
|
15
|
+
h1,h2,h3,h4,h5,h6 {
|
|
16
|
+
text-align: center;
|
|
17
|
+
}
|
|
18
|
+
.space-between{
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
margin: 0px;
|
|
22
|
+
padding: 10px 40px;
|
|
23
|
+
}
|
|
24
|
+
</style>
|
|
25
|
+
<div id="print">
|
|
26
|
+
<img src="../../../../image/tubiao.png"style="width:150px; height:30px">
|
|
27
|
+
<h4 style="margin: 30px 0 5px 0">西安天然气工程有限责任公司材料采购订单</h4>
|
|
28
|
+
<p class="space-between">
|
|
29
|
+
<span>部门:设备材料部</span>
|
|
30
|
+
<span>申请人:{{ purchaseRecords.f_applicant }}</span>
|
|
31
|
+
<span>时间:{{ new Date(purchaseRecords.f_invoicing_date).Format('yyyy年MM月dd日') }}</span>
|
|
32
|
+
</p>
|
|
33
|
+
<p class="space-between">
|
|
34
|
+
<span>供货商:{{ purchaseRecords.f_supplier }}</span>
|
|
35
|
+
<span>订单编号:{{ purchaseRecords.f_order_number }}</span>
|
|
36
|
+
</p>
|
|
37
|
+
<table border="1">
|
|
38
|
+
<tr>
|
|
39
|
+
<td>序号</td>
|
|
40
|
+
<td>名称</td>
|
|
41
|
+
<td>型号</td>
|
|
42
|
+
<td>规格</td>
|
|
43
|
+
<td>单位</td>
|
|
44
|
+
<td>数量</td>
|
|
45
|
+
<td>不含税单价</td>
|
|
46
|
+
<td>金额</td>
|
|
47
|
+
<td>库存</td>
|
|
48
|
+
<td>备注</td>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr v-for="item in material">
|
|
51
|
+
<td>{{ $index+1 }}</td>
|
|
52
|
+
<td>{{ item.f_material_name }}</td>
|
|
53
|
+
<td>{{ item.f_material_model }}</td>
|
|
54
|
+
<td>{{ item.f_material_norm }}</td>
|
|
55
|
+
<td>{{ item.f_unit }}</td>
|
|
56
|
+
<td>{{ item.f_forecast_quantity }}</td>
|
|
57
|
+
<td>{{ item.f_price }}</td>
|
|
58
|
+
<td>{{ item.f_forecast_money }}</td>
|
|
59
|
+
<td>{{ item.f_stock }}</td>
|
|
60
|
+
<td>{{ item.f_remarks }}</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr v-for="item in supplement">
|
|
63
|
+
<td></td>
|
|
64
|
+
<td></td>
|
|
65
|
+
<td></td>
|
|
66
|
+
<td></td>
|
|
67
|
+
<td></td>
|
|
68
|
+
<td></td>
|
|
69
|
+
<td></td>
|
|
70
|
+
<td></td>
|
|
71
|
+
<td></td>
|
|
72
|
+
<td></td>
|
|
73
|
+
</tr>
|
|
74
|
+
<tr>
|
|
75
|
+
<td colspan="10" style="text-align: left;padding-left: 10px">总金额(大写):{{ smalltoBIG(purchaseRecords.f_lump_sum) }}</td>
|
|
76
|
+
</tr>
|
|
77
|
+
</table>
|
|
78
|
+
<p class="space-between" style="padding: 10px 250px 10px 40px">
|
|
79
|
+
<span>需求日期:{{ purchaseRecords.f_demand_date }}</span>
|
|
80
|
+
<span>合同状况:{{ purchaseRecords.f_contract_status }}</span>
|
|
81
|
+
</p>
|
|
82
|
+
<p class="space-between" style="padding: 10px 250px 10px 40px">
|
|
83
|
+
<span>部门经理:</span>
|
|
84
|
+
<span>分管副总:</span>
|
|
85
|
+
</p>
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
<print-element v-show="false" v-ref:print id='print' styleid='style'
|
|
89
|
+
top='10' left='60' width='100%' height='100%'>
|
|
90
|
+
</print-element>
|
|
91
|
+
</template>
|
|
92
|
+
|
|
93
|
+
<script>
|
|
94
|
+
Date.prototype.Format = function (fmt) {
|
|
95
|
+
var o = {
|
|
96
|
+
"M+": this.getMonth() + 1, //月份
|
|
97
|
+
"d+": this.getDate(), //日
|
|
98
|
+
"H+": this.getHours(), //小时
|
|
99
|
+
"m+": this.getMinutes(), //分
|
|
100
|
+
"s+": this.getSeconds(), //秒
|
|
101
|
+
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
102
|
+
"S": this.getMilliseconds() //毫秒
|
|
103
|
+
};
|
|
104
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
105
|
+
for (var k in o)
|
|
106
|
+
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
107
|
+
return fmt;
|
|
108
|
+
}
|
|
109
|
+
export default {
|
|
110
|
+
title: '打印出库单',
|
|
111
|
+
props: ['purchaseRecords', 'material'],
|
|
112
|
+
data () {
|
|
113
|
+
return {}
|
|
114
|
+
},
|
|
115
|
+
ready () {
|
|
116
|
+
},
|
|
117
|
+
methods: {
|
|
118
|
+
smalltoBIG (n) {
|
|
119
|
+
let fraction = ['角', '分']
|
|
120
|
+
let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
|
|
121
|
+
let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']]
|
|
122
|
+
let head = n < 0 ? '欠' : ''
|
|
123
|
+
n = Math.abs(n)
|
|
124
|
+
|
|
125
|
+
let s = ''
|
|
126
|
+
|
|
127
|
+
for (var i = 0; i < fraction.length; i++) {
|
|
128
|
+
s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '')
|
|
129
|
+
}
|
|
130
|
+
s = s || '整'
|
|
131
|
+
n = Math.floor(n)
|
|
132
|
+
|
|
133
|
+
for (var i = 0; i < unit[0].length && n > 0; i++) {
|
|
134
|
+
let p = ''
|
|
135
|
+
for (var j = 0; j < unit[1].length && n > 0; j++) {
|
|
136
|
+
p = digit[n % 10] + unit[1][j] + p
|
|
137
|
+
n = Math.floor(n / 10)
|
|
138
|
+
}
|
|
139
|
+
s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s
|
|
140
|
+
}
|
|
141
|
+
return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
computed: {
|
|
145
|
+
supplement () {
|
|
146
|
+
if (this.material.length < 10) {
|
|
147
|
+
return 10 - this.material.length
|
|
148
|
+
}
|
|
149
|
+
return 0
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
</script>
|
|
154
|
+
|
|
155
|
+
<style scoped>
|
|
156
|
+
|
|
157
|
+
</style>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div :class="showData ? 'top' : 'auto'">
|
|
5
|
+
<purchase-records-list v-ref:query :show-data="showData"></purchase-records-list>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<div v-if="showtotal" style="margin-top: 20px;height: 90%">
|
|
9
|
+
<tabset v-ref:tabs :close="false">
|
|
10
|
+
<tab header='采购单'>
|
|
11
|
+
<purchase-records-information :purchase-records="purchaseRecords"></purchase-records-information>
|
|
12
|
+
</tab>
|
|
13
|
+
</tabset>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script>
|
|
20
|
+
export default {
|
|
21
|
+
title: '采购记录',
|
|
22
|
+
data () {
|
|
23
|
+
return {
|
|
24
|
+
showData: true,
|
|
25
|
+
showtotal: false,
|
|
26
|
+
purchaseRecords: null
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
ready () {
|
|
30
|
+
},
|
|
31
|
+
methods: {
|
|
32
|
+
},
|
|
33
|
+
events: {
|
|
34
|
+
'invalidOrder' (data) {
|
|
35
|
+
this.$showMessage('您确定要作废此采购单吗?', ['confirm']).then((res) => {
|
|
36
|
+
if (res === 'confirm') {
|
|
37
|
+
data.f_status = '作废'
|
|
38
|
+
this.$resetpost(
|
|
39
|
+
'rs/entity/t_purchase_order',
|
|
40
|
+
data,
|
|
41
|
+
{resolveMsg: '作废成功!!!', rejectMsg: '作废失败!!!'}
|
|
42
|
+
).then(r => {
|
|
43
|
+
this.$refs.query.search()
|
|
44
|
+
})
|
|
45
|
+
}
|
|
46
|
+
})
|
|
47
|
+
},
|
|
48
|
+
'view' (row) {
|
|
49
|
+
this.purchaseRecords = row
|
|
50
|
+
this.showData = false
|
|
51
|
+
this.$refs.query.$refs.cp.pager = false
|
|
52
|
+
|
|
53
|
+
this.showtotal = false
|
|
54
|
+
this.$nextTick(() => {
|
|
55
|
+
this.showtotal = true
|
|
56
|
+
})
|
|
57
|
+
},
|
|
58
|
+
'search' () {
|
|
59
|
+
// 关闭详细
|
|
60
|
+
this.showtotal = false
|
|
61
|
+
// 显示列表数据
|
|
62
|
+
this.showData = true
|
|
63
|
+
// 显示分页
|
|
64
|
+
this.$refs.query.$refs.cp.pager = true
|
|
65
|
+
// 调用查询
|
|
66
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
</script>
|
|
71
|
+
|
|
72
|
+
<style scoped>
|
|
73
|
+
</style>
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="select-overspread" style="background-color: #ffffff;padding: 20px;overflow: scroll">
|
|
3
|
+
<form class="form-horizontal">
|
|
4
|
+
<div class="form-group">
|
|
5
|
+
<div class="col-sm-4 form-group item">
|
|
6
|
+
<label class="control-label-justify control-label col-sm-6">订单编号</label>
|
|
7
|
+
<div class="col-sm-6">
|
|
8
|
+
<input class="form-control input_view" style=""
|
|
9
|
+
type="text" readonly
|
|
10
|
+
v-model="purchaseRecords.f_order_number"
|
|
11
|
+
:value="purchaseRecords.f_order_number"/>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-sm-4 form-group item">
|
|
15
|
+
<label class="control-label-justify control-label col-sm-6">合同编号</label>
|
|
16
|
+
<div class="col-sm-6">
|
|
17
|
+
<input class="form-control input_view" style=""
|
|
18
|
+
type="text" readonly
|
|
19
|
+
v-model="purchaseRecords.f_contract_number"
|
|
20
|
+
:value="purchaseRecords.f_contract_number"/>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="col-sm-4 form-group item">
|
|
24
|
+
<label class="control-label-justify control-label col-sm-6">供货商</label>
|
|
25
|
+
<div class="col-sm-6">
|
|
26
|
+
<input class="form-control input_view" style=""
|
|
27
|
+
type="text" readonly
|
|
28
|
+
v-model="purchaseRecords.f_supplier"
|
|
29
|
+
:value="purchaseRecords.f_supplier"/>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="col-sm-4 form-group item">
|
|
33
|
+
<label class="control-label-justify control-label col-sm-6">合同状态</label>
|
|
34
|
+
<div class="col-sm-6">
|
|
35
|
+
<input class="form-control input_view" style=""
|
|
36
|
+
type="text" readonly
|
|
37
|
+
v-model="purchaseRecords.f_contract_status"
|
|
38
|
+
:value="purchaseRecords.f_contract_status"/>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-4 form-group item">
|
|
42
|
+
<label class="control-label-justify control-label col-sm-6">申请人</label>
|
|
43
|
+
<div class="col-sm-6">
|
|
44
|
+
<input class="form-control input_view" style=""
|
|
45
|
+
type="text" readonly
|
|
46
|
+
v-model="purchaseRecords.f_applicant"
|
|
47
|
+
:value="purchaseRecords.f_applicant"/>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="col-sm-4 form-group item">
|
|
51
|
+
<label class="control-label-justify control-label col-sm-6">时间</label>
|
|
52
|
+
<div class="col-sm-6">
|
|
53
|
+
<input class="form-control input_view" style=""
|
|
54
|
+
type="text" readonly
|
|
55
|
+
v-model="purchaseRecords.f_invoicing_date"
|
|
56
|
+
:value="purchaseRecords.f_invoicing_date"/>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="col-sm-4 form-group item">
|
|
60
|
+
<label class="control-label-justify control-label col-sm-6">需求日期</label>
|
|
61
|
+
<div class="col-sm-6">
|
|
62
|
+
<input class="form-control input_view" style=""
|
|
63
|
+
type="text" readonly
|
|
64
|
+
v-model="purchaseRecords.f_demand_date"
|
|
65
|
+
:value="purchaseRecords.f_demand_date"/>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="col-sm-4 form-group item">
|
|
69
|
+
<label class="control-label-justify control-label col-sm-6">开票金额</label>
|
|
70
|
+
<div class="col-sm-6">
|
|
71
|
+
<input class="form-control input_view" style=""
|
|
72
|
+
type="text" readonly
|
|
73
|
+
v-model="purchaseRecords.f_lump_sum"
|
|
74
|
+
:value="purchaseRecords.f_lump_sum"/>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="col-sm-4 form-group item">
|
|
78
|
+
<label class="control-label-justify control-label col-sm-6">实际金额</label>
|
|
79
|
+
<div class="col-sm-6">
|
|
80
|
+
<input class="form-control input_view" style=""
|
|
81
|
+
type="text" readonly
|
|
82
|
+
v-model="purchaseRecords.f_actual_money"
|
|
83
|
+
:value="purchaseRecords.f_actual_money"/>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="col-sm-4 form-group item">
|
|
87
|
+
<label class="control-label-justify control-label col-sm-6">订单状态</label>
|
|
88
|
+
<div class="col-sm-6">
|
|
89
|
+
<input class="form-control input_view" style=""
|
|
90
|
+
type="text" readonly
|
|
91
|
+
v-model="purchaseRecords.f_status"
|
|
92
|
+
:value="purchaseRecords.f_status"/>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
<div class="col-sm-12">
|
|
97
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
98
|
+
<template partial='head'>
|
|
99
|
+
<tr>
|
|
100
|
+
<th style="white-space: nowrap;">序号</th>
|
|
101
|
+
<th style="white-space: nowrap;">名称</th>
|
|
102
|
+
<th style="white-space: nowrap;">型号</th>
|
|
103
|
+
<th style="white-space: nowrap;">规格</th>
|
|
104
|
+
<th style="white-space: nowrap;">单位</th>
|
|
105
|
+
<th style="white-space: nowrap;">含税单价</th>
|
|
106
|
+
<th style="white-space: nowrap;">不含税单价</th>
|
|
107
|
+
<th style="white-space: nowrap;">预购数量</th>
|
|
108
|
+
<th style="white-space: nowrap;">开票金额</th>
|
|
109
|
+
<th style="white-space: nowrap;">已购数量</th>
|
|
110
|
+
<th style="white-space: nowrap;">剩余数量</th>
|
|
111
|
+
<th style="white-space: nowrap;">实际金额</th>
|
|
112
|
+
<th style="white-space: nowrap;">开票库存</th>
|
|
113
|
+
<th style="white-space: nowrap;">备注</th>
|
|
114
|
+
</tr>
|
|
115
|
+
</template>
|
|
116
|
+
<template partial='body'>
|
|
117
|
+
<tr>
|
|
118
|
+
<td style="text-align: center;">{{$index+1}}</td>
|
|
119
|
+
<td style="text-align: center;">{{row.f_material_name}}</td>
|
|
120
|
+
<td style="text-align: center;">{{row.f_material_model}}</td>
|
|
121
|
+
<td style="text-align: center;">{{row.f_material_norm}}</td>
|
|
122
|
+
<td style="text-align: center;">{{row.f_unit}}</td>
|
|
123
|
+
<td style="text-align: center;">{{row.f_price}}</td>
|
|
124
|
+
<td style="text-align: center;">{{row.f_noprice}}</td>
|
|
125
|
+
<td style="text-align: center;">{{row.f_forecast_quantity}}</td>
|
|
126
|
+
<td style="text-align: center;">{{row.f_forecast_money}}</td>
|
|
127
|
+
<td style="text-align: center;">{{row.f_quantity}}</td>
|
|
128
|
+
<td style="text-align: center;">{{row.f_forecast_quantity-row.f_quantity}}</td>
|
|
129
|
+
<td style="text-align: center;">{{row.f_actual_money}}</td>
|
|
130
|
+
<td style="text-align: center;">{{row.f_stock}}</td>
|
|
131
|
+
<td style="text-align: center;">{{row.f_remarks}}</td>
|
|
132
|
+
</tr>
|
|
133
|
+
</template>
|
|
134
|
+
</data-grid>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<div class="col-sm-12 form-group" style="text-align: center">
|
|
138
|
+
<button class="btn btn-primary" @click.prevent="showPrint = !showPrint">打印预览</button>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
</form>
|
|
142
|
+
|
|
143
|
+
<modal v-if="showPrint" :show.sync="showPrint" v-ref:modal :large="true" :backdrop="false" title="打印预览">
|
|
144
|
+
<header slot="modal-header" class="modal-header">
|
|
145
|
+
<button type="button" class="close" @click="showPrint = !showPrint"><span>×</span></button>
|
|
146
|
+
<h4 class="modal-title">打印预览</h4>
|
|
147
|
+
</header>
|
|
148
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
149
|
+
<print-purchase-order :purchase-records="purchaseRecords" :material="model.data" v-ref:print></print-purchase-order>
|
|
150
|
+
</article>
|
|
151
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
152
|
+
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
153
|
+
</footer>
|
|
154
|
+
</modal>
|
|
155
|
+
</div>
|
|
156
|
+
</template>
|
|
157
|
+
|
|
158
|
+
<script>
|
|
159
|
+
import Vue from 'vue'
|
|
160
|
+
import {HttpResetClass} from 'vue-client'
|
|
161
|
+
import {isEmpty} from '../../../../Util'
|
|
162
|
+
export default {
|
|
163
|
+
title: '采购单',
|
|
164
|
+
props: ['purchaseRecords'],
|
|
165
|
+
data () {
|
|
166
|
+
return {
|
|
167
|
+
model: {
|
|
168
|
+
data: null
|
|
169
|
+
},
|
|
170
|
+
showPrint: false
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
ready () {
|
|
174
|
+
this.getPurchaseRecordsMaterial()
|
|
175
|
+
},
|
|
176
|
+
methods: {
|
|
177
|
+
print () {
|
|
178
|
+
this.$refs.print.$refs.print.PrintTable()
|
|
179
|
+
},
|
|
180
|
+
async getPurchaseRecordsMaterial () {
|
|
181
|
+
let data = {
|
|
182
|
+
tablename: 't_purchase_order_material',
|
|
183
|
+
condition: `f_purchase_order_id = ${this.purchaseRecords.id}`
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
let res = await this.$resetpost(
|
|
187
|
+
`rs/sql/singleTable`,
|
|
188
|
+
{data: data},
|
|
189
|
+
{resolveMsg: null, rejectMsg: '采购物料查询失败!!!'}
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
this.model.data = res.data
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
computed: {
|
|
196
|
+
},
|
|
197
|
+
watch: {
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
</script>
|
|
201
|
+
|
|
202
|
+
<style scoped>
|
|
203
|
+
.item{
|
|
204
|
+
height: 40px;
|
|
205
|
+
margin-bottom: 20px;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
th{
|
|
209
|
+
font-size: 15px !important;
|
|
210
|
+
text-align: center !important;
|
|
211
|
+
background-color: #dfedfb!important;
|
|
212
|
+
color: #666666 !important;
|
|
213
|
+
font-family: PINGFANG-BOLD !important;
|
|
214
|
+
font-weight: normal!important;
|
|
215
|
+
}
|
|
216
|
+
/*清除model中的浮动*/
|
|
217
|
+
.clearfix:after,.clearfix:before{
|
|
218
|
+
display: table;
|
|
219
|
+
}
|
|
220
|
+
.clearfix:after{
|
|
221
|
+
clear: both;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.input_view{
|
|
225
|
+
padding: 8px;
|
|
226
|
+
background-color: #ffffff;
|
|
227
|
+
border-radius: 2px;
|
|
228
|
+
border: solid 1px #c7c7c7!important;
|
|
229
|
+
color: #333333!important;
|
|
230
|
+
font-size: 15px!important;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.input_view[readonly]{
|
|
234
|
+
border: 1px solid #DDD!important;
|
|
235
|
+
/*background-color: #F5F5F5;*/
|
|
236
|
+
color:#ACA899!important;
|
|
237
|
+
}
|
|
238
|
+
.input_view:disabled{
|
|
239
|
+
border: 1px solid #DDD!important;
|
|
240
|
+
/*background-color: #F5F5F5;*/
|
|
241
|
+
color:#ACA899!important;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.control-label-justify {
|
|
245
|
+
display: inline-block;
|
|
246
|
+
vertical-align: top;
|
|
247
|
+
width: 110px;
|
|
248
|
+
text-align: justify;
|
|
249
|
+
font-family: PingFang-SC-Bold;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.control-label-justify::after {
|
|
253
|
+
content: "";
|
|
254
|
+
display: inline-block;
|
|
255
|
+
width: 70px;
|
|
256
|
+
overflow: hidden;
|
|
257
|
+
height: 0;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
input::-webkit-outer-spin-button,
|
|
261
|
+
input::-webkit-inner-spin-button {
|
|
262
|
+
-webkit-appearance: none;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
input[type="number"] {
|
|
266
|
+
-moz-appearance: textfield;
|
|
267
|
+
}
|
|
268
|
+
</style>
|