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,457 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="select-overspread" style="background-color: #ffffff;padding: 20px;overflow: scroll">
|
|
3
|
+
<validator name="v">
|
|
4
|
+
<form class="form-horizontal">
|
|
5
|
+
<div class="form-group">
|
|
6
|
+
<div class="col-sm-4 form-group item" :class="[$v.f_ticket_number.required ? 'has-error' : '']">
|
|
7
|
+
<label class="control-label-justify control-label col-sm-6">编号</label>
|
|
8
|
+
<div class="col-sm-6">
|
|
9
|
+
<input class="form-control input_view" style=""
|
|
10
|
+
type="text"
|
|
11
|
+
@change="getTicketNumber()"
|
|
12
|
+
v-validate:f_ticket_number = "['required']"
|
|
13
|
+
v-model="model.f_ticket_number"
|
|
14
|
+
:value="model.f_ticket_number"/>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-4 form-group item" :class="[$v.f_entry_type.required ? 'has-error' : '']">
|
|
18
|
+
<label class="control-label-justify control-label col-sm-6">项目类型</label>
|
|
19
|
+
<div class="col-sm-6">
|
|
20
|
+
<input-select
|
|
21
|
+
class="select select_list"
|
|
22
|
+
:value.sync="model.outboundOrder"
|
|
23
|
+
v-model="model.outboundOrder"
|
|
24
|
+
:options="cailiaotype"
|
|
25
|
+
:valueSingle="true"></input-select>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="col-sm-4 form-group item" :class="[$v.f_warehouse.required ? 'has-error' : '']">
|
|
29
|
+
<label class="control-label-justify control-label col-sm-6">发料仓库</label>
|
|
30
|
+
<div class="col-sm-6">
|
|
31
|
+
<input class="form-control input_view" style=""
|
|
32
|
+
type="text"
|
|
33
|
+
v-validate:f_warehouse = "['required']"
|
|
34
|
+
v-model="model.f_warehouse"
|
|
35
|
+
:value="model.f_warehouse"/>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="col-sm-4 form-group item" :class="[$v.f_picking_unit.required ? 'has-error' : '']">
|
|
39
|
+
<label class="control-label-justify control-label col-sm-6">施工单位</label>
|
|
40
|
+
<div class="col-sm-6">
|
|
41
|
+
<input-select class="select select_list"
|
|
42
|
+
:value.sync="model.outboundOrder"
|
|
43
|
+
v-model="model.outboundOrder"
|
|
44
|
+
:options="shigongdanwei"
|
|
45
|
+
:valueSingle="true">
|
|
46
|
+
</input-select>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="col-sm-4 form-group item">
|
|
50
|
+
<label class="control-label-justify control-label col-sm-6">CEA号</label>
|
|
51
|
+
<div class="col-sm-6">
|
|
52
|
+
<input-select
|
|
53
|
+
class="select select_list"
|
|
54
|
+
:value.sync="cea"
|
|
55
|
+
v-model="cea"
|
|
56
|
+
:options="ceaList"
|
|
57
|
+
:valueSingle="true"></input-select>
|
|
58
|
+
<input class="form-control input_view" type="text"
|
|
59
|
+
v-show="false"
|
|
60
|
+
v-model="model.f_cea_number"
|
|
61
|
+
:value="cea.f_cea_number"/>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="col-sm-4 form-group item" :class="[$v.f_picking_site.required ? 'has-error' : '']">
|
|
65
|
+
<label class="control-label-justify control-label col-sm-6">工地名称</label>
|
|
66
|
+
<div class="col-sm-6">
|
|
67
|
+
<input class="form-control input_view" style=""
|
|
68
|
+
type="text"
|
|
69
|
+
v-validate:f_picking_site = "['required']"
|
|
70
|
+
v-model="model.f_picking_site"
|
|
71
|
+
:value="cea.f_entry_name"/>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="col-sm-12">
|
|
75
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
76
|
+
<template partial='head'>
|
|
77
|
+
<tr>
|
|
78
|
+
<th style="white-space: nowrap;">序号</th>
|
|
79
|
+
<th style="white-space: nowrap;">材料名称</th>
|
|
80
|
+
<th style="white-space: nowrap;">材料型号</th>
|
|
81
|
+
<th style="white-space: nowrap;">材料规格</th>
|
|
82
|
+
<th style="white-space: nowrap;">单位</th>
|
|
83
|
+
<th style="white-space: nowrap;">含税单价</th>
|
|
84
|
+
<th style="white-space: nowrap;">不含税单价</th>
|
|
85
|
+
<th style="white-space: nowrap;">预出库数量</th>
|
|
86
|
+
<th style="white-space: nowrap;">金额</th>
|
|
87
|
+
<th style="white-space: nowrap;">备注</th>
|
|
88
|
+
<th style="white-space: nowrap;">
|
|
89
|
+
<button @click="$parent.$parent.openShowMaterial()" type="button" class="btn btn-info">
|
|
90
|
+
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
|
|
91
|
+
</button>
|
|
92
|
+
</th>
|
|
93
|
+
</tr>
|
|
94
|
+
</template>
|
|
95
|
+
<template partial='body'>
|
|
96
|
+
<tr>
|
|
97
|
+
<td style="text-align: center;">{{$index+1}}</td>
|
|
98
|
+
<td style="text-align: center;">{{row.f_material_name}}</td>
|
|
99
|
+
<td style="text-align: center;">{{row.f_material_model}}</td>
|
|
100
|
+
<td style="text-align: center;">{{row.f_material_norm}}</td>
|
|
101
|
+
<td style="text-align: center;">{{row.f_unit}}</td>
|
|
102
|
+
<td style="text-align: center;">{{row.f_price}}</td>
|
|
103
|
+
<td style="text-align: center;">{{row.f_noprice}}</td>
|
|
104
|
+
<td style="text-align: center;">{{row.f_prepare_quantity}}</td>
|
|
105
|
+
<td style="text-align: center;">{{row.f_price * row.f_prepare_quantity}}</td>
|
|
106
|
+
<td style="text-align: center;">{{row.f_remarks}}</td>
|
|
107
|
+
<td style="text-align: center;">
|
|
108
|
+
<button type="button" name="button" class="btn btn-link" @click="$parent.$parent.openUpdateMaterial($index,row)">修改</button>
|
|
109
|
+
<button type="button" name="button" class="btn btn-link" @click="$parent.$parent.deleteMaterial($index)">删除</button>
|
|
110
|
+
</td>
|
|
111
|
+
</tr>
|
|
112
|
+
</template>
|
|
113
|
+
</data-grid>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<div class="col-sm-12 form-group" style="text-align: center">
|
|
117
|
+
<button class="btn btn-primary" @click.prevent="addOutboundOrder()" :disabled="!($v.valid && model.data.length > 0)">保存</button>
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
</form>
|
|
121
|
+
</validator>
|
|
122
|
+
<validator name="mv">
|
|
123
|
+
<modal v-if="showMaterial" :show.sync="showMaterial" backdrop="false" large>
|
|
124
|
+
<header slot="modal-header" class="modal-header">
|
|
125
|
+
<button type="button" class="close" @click="closeModal()"><span>×</span></button>
|
|
126
|
+
<span class="modal-title"><font size="3">添加材料</font></span>
|
|
127
|
+
</header>
|
|
128
|
+
<article slot="modal-body" class="form-horizontal modal-body clearfix">
|
|
129
|
+
<div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
|
|
130
|
+
<label class="control-label col-sm-2">选择材料</label>
|
|
131
|
+
<div class="col-sm-9">
|
|
132
|
+
<input type="text" v-show="false" v-model="material.id" v-validate:material = "['required']" >
|
|
133
|
+
<input-select
|
|
134
|
+
class="select select_list"
|
|
135
|
+
:value.sync="material"
|
|
136
|
+
v-model="material"
|
|
137
|
+
:options="materialList"
|
|
138
|
+
@change="changePickMaterial()"
|
|
139
|
+
:valueSingle="true"></input-select>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
<div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
|
|
143
|
+
<label class="control-label col-sm-2">材料名称</label>
|
|
144
|
+
<div class="col-sm-9">
|
|
145
|
+
<input class="form-control" type="text" :value="material.f_material_name" readonly />
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
<div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
|
|
149
|
+
<label class="control-label col-sm-2">材料型号</label>
|
|
150
|
+
<div class="col-sm-9">
|
|
151
|
+
<input class="form-control" type="text" :value="material.f_material_model" readonly/>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
<div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
|
|
155
|
+
<label class="control-label col-sm-2">材料规格</label>
|
|
156
|
+
<div class="col-sm-9">
|
|
157
|
+
<input class="form-control" type="text" :value="material.f_material_norm" readonly/>
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
<div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
|
|
161
|
+
<label class="control-label col-sm-2">单  位</label>
|
|
162
|
+
<div class="col-sm-9">
|
|
163
|
+
<input class="form-control" type="text" :value="material.f_unit" readonly/>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
<div class="col-sm-12 form-group" :class="[$mv.f_price.required ? 'has-error' : '']">
|
|
167
|
+
<label class="control-label col-sm-2">含税单价</label>
|
|
168
|
+
<div class="col-sm-9">
|
|
169
|
+
<input class="form-control" type="number" readonly v-validate:f_price = "['required']" v-model="material.f_price" :value="material.f_price"/>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
<div class="col-sm-12 form-group" :class="[$mv.f_noprice.required ? 'has-error' : '']">
|
|
173
|
+
<label class="control-label col-sm-2">不含税单价</label>
|
|
174
|
+
<div class="col-sm-9">
|
|
175
|
+
<input class="form-control" type="number" readonly v-validate:f_noprice = "['required']" v-model="material.f_noprice" :value="material.f_noprice"/>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
<div class="col-sm-12 form-group" :class="[$mv.material.required ? 'has-error' : '']">
|
|
179
|
+
<label class="control-label col-sm-2">可出数量</label>
|
|
180
|
+
<div class="col-sm-9">
|
|
181
|
+
<input class="form-control" type="number" :value="material.f_prepare_surplus" readonly/>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
<div class="col-sm-12 form-group" :class="[$mv.f_prepare_quantity.required ? 'has-error' : '']">
|
|
186
|
+
<label class="control-label col-sm-2">数  量</label>
|
|
187
|
+
<div class="col-sm-9">
|
|
188
|
+
<input class="form-control"
|
|
189
|
+
type="number"
|
|
190
|
+
@change="changePrepareQuantity()"
|
|
191
|
+
v-validate:f_prepare_quantity = "{required: true}"
|
|
192
|
+
v-model="material.f_prepare_quantity"
|
|
193
|
+
:value="material.f_prepare_quantity"/>
|
|
194
|
+
</div>
|
|
195
|
+
</div>
|
|
196
|
+
<div class="col-sm-12 form-group">
|
|
197
|
+
<label class="control-label col-sm-2">备  注</label>
|
|
198
|
+
<div class="col-sm-9">
|
|
199
|
+
<textarea
|
|
200
|
+
class="form-control input_view"
|
|
201
|
+
style="width: 100%;height: 100%"
|
|
202
|
+
rows="2"
|
|
203
|
+
@change="changeRemarks()"
|
|
204
|
+
v-model="material.f_remarks"
|
|
205
|
+
:value="material.f_remarks"
|
|
206
|
+
>
|
|
207
|
+
</textarea>
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
|
|
211
|
+
</article>
|
|
212
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
213
|
+
<button class="btn btn-primary" type="button" @click.prevent="saveOrUpdateMaterial()" :disabled='!$mv.valid'>确认</button>
|
|
214
|
+
</footer>
|
|
215
|
+
</modal>
|
|
216
|
+
</validator>
|
|
217
|
+
|
|
218
|
+
</div>
|
|
219
|
+
</template>
|
|
220
|
+
|
|
221
|
+
<script>
|
|
222
|
+
import {HttpResetClass} from 'vue-client'
|
|
223
|
+
import {isEmpty} from '../../../../Util'
|
|
224
|
+
export default {
|
|
225
|
+
title: '材料出库单',
|
|
226
|
+
data () {
|
|
227
|
+
return {
|
|
228
|
+
cailiaotype: [{label: '全部', value: ''}, ...this.$appdata.getParam('材料项目类型')],
|
|
229
|
+
shigongdanwei:[{label:'全部',value:''},...this.$appdata.getParam('施工单位')],
|
|
230
|
+
model: {
|
|
231
|
+
data: []
|
|
232
|
+
},
|
|
233
|
+
cea: {},
|
|
234
|
+
material: {},
|
|
235
|
+
ceaList: [],
|
|
236
|
+
materialList: [],
|
|
237
|
+
showMaterial: false,
|
|
238
|
+
index: null
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
ready () {
|
|
242
|
+
this.getCEAList()
|
|
243
|
+
},
|
|
244
|
+
methods: {
|
|
245
|
+
addOutboundOrder () {
|
|
246
|
+
this.$dispatch('addOutboundOrder', this.model)
|
|
247
|
+
},
|
|
248
|
+
changePickMaterial () {
|
|
249
|
+
if (!isEmpty(this.material.id)) {
|
|
250
|
+
for (const item of this.model.data) {
|
|
251
|
+
if (item.id === this.material.id) {
|
|
252
|
+
this.$showAlert('该物料已经存在,如需再次添加,请进行修改操作!!!', 'warning', 3000)
|
|
253
|
+
this.closeModal()
|
|
254
|
+
break
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
async openUpdateMaterial (index, material) {
|
|
260
|
+
await this.getMaterialByType()
|
|
261
|
+
|
|
262
|
+
this.index = index
|
|
263
|
+
this.material = material
|
|
264
|
+
|
|
265
|
+
this.showMaterial = true
|
|
266
|
+
},
|
|
267
|
+
async deleteMaterial (index) {
|
|
268
|
+
this.index = index
|
|
269
|
+
await this.$showMessage('您确定要删除这条记录吗?').then((res) => {
|
|
270
|
+
if (res === 'confirm') {
|
|
271
|
+
this.model.data.splice(this.index, 1)
|
|
272
|
+
}
|
|
273
|
+
})
|
|
274
|
+
this.closeModal()
|
|
275
|
+
},
|
|
276
|
+
saveOrUpdateMaterial () {
|
|
277
|
+
if (isEmpty(this.index)) {
|
|
278
|
+
this.model.data.push(this.material)
|
|
279
|
+
} else {
|
|
280
|
+
this.model.data.splice(this.index, 1, this.material)
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
this.closeModal()
|
|
284
|
+
},
|
|
285
|
+
closeModal () {
|
|
286
|
+
this.showMaterial = false
|
|
287
|
+
this.index = null
|
|
288
|
+
this.material = null
|
|
289
|
+
this.materialList = []
|
|
290
|
+
},
|
|
291
|
+
changeRemarks () {
|
|
292
|
+
if (!this.material.id || isEmpty(this.material.id)) {
|
|
293
|
+
this.$showAlert('请先选择物料!!!', 'warning', 3000)
|
|
294
|
+
this.material = null
|
|
295
|
+
return
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
changePrepareQuantity () {
|
|
299
|
+
if (!this.material.id || isEmpty(this.material.id)) {
|
|
300
|
+
this.$showAlert('请先选择物料!!!', 'warning', 3000)
|
|
301
|
+
this.material = null
|
|
302
|
+
return
|
|
303
|
+
}
|
|
304
|
+
if (this.material.f_prepare_quantity > this.material.f_prepare_surplus) {
|
|
305
|
+
this.$showAlert('超出可出库数量了!!!', 'warning', 3000)
|
|
306
|
+
this.material.f_prepare_quantity = null
|
|
307
|
+
return
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
// 获取有效可出库物料
|
|
311
|
+
async getMaterialByType () {
|
|
312
|
+
let data = {
|
|
313
|
+
condition: '1=1'
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
let res = await this.$resetpost(
|
|
317
|
+
`rs/sql/getMaterialByType`,
|
|
318
|
+
{data: data},
|
|
319
|
+
{resolveMsg: null, rejectMsg: '物料查询失败!!!'}
|
|
320
|
+
)
|
|
321
|
+
|
|
322
|
+
res.data.forEach(item => {
|
|
323
|
+
this.materialList.push({
|
|
324
|
+
'label': `${item.f_material_name}--${item.f_material_model}--${item.f_material_norm}--${item.f_unit}--${item.f_price}`,
|
|
325
|
+
'value': item
|
|
326
|
+
})
|
|
327
|
+
})
|
|
328
|
+
},
|
|
329
|
+
// 选择物料
|
|
330
|
+
async openShowMaterial () {
|
|
331
|
+
await this.getMaterialByType()
|
|
332
|
+
|
|
333
|
+
this.material = null
|
|
334
|
+
|
|
335
|
+
this.showMaterial = true
|
|
336
|
+
},
|
|
337
|
+
// 查询编号
|
|
338
|
+
async getTicketNumber () {
|
|
339
|
+
let data = {
|
|
340
|
+
tablename: 't_outbound_order',
|
|
341
|
+
condition: `f_ticket_number = '${this.model.f_ticket_number}'`
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
let res = await this.$resetpost(
|
|
345
|
+
`rs/sql/singleTable`,
|
|
346
|
+
{data: data},
|
|
347
|
+
{resolveMsg: null,rejectMsg: '票号查询失败!!!'}
|
|
348
|
+
)
|
|
349
|
+
|
|
350
|
+
if (res.data.length > 0) {
|
|
351
|
+
this.$showAlert('票号已经存在!!!', 'warning', 3000)
|
|
352
|
+
this.model.f_ticket_number = null
|
|
353
|
+
return
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
// 获取CEA
|
|
357
|
+
async getCEAList () {
|
|
358
|
+
let data = {
|
|
359
|
+
tablename: 't_apply',
|
|
360
|
+
condition: `f_cea_number is not null and f_sub_state != '完工'`
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
let res = await this.$resetpost(
|
|
364
|
+
`rs/sql/singleTable`,
|
|
365
|
+
{data: data},
|
|
366
|
+
{resolveMsg: null, rejectMsg: 'CEA号查询失败!!!'}
|
|
367
|
+
)
|
|
368
|
+
|
|
369
|
+
if (res.data.length <= 0) {
|
|
370
|
+
this.$showAlert('暂无工程!!!', 'warning', 3000)
|
|
371
|
+
return
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
res.data.forEach(item => {
|
|
375
|
+
this.ceaList.push({
|
|
376
|
+
'label': item.f_cea_number,
|
|
377
|
+
'value': {
|
|
378
|
+
id: item.id,
|
|
379
|
+
f_cea_number: item.f_cea_number,
|
|
380
|
+
f_entry_name: item.f_entry_name
|
|
381
|
+
}
|
|
382
|
+
})
|
|
383
|
+
})
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
events: {
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
</script>
|
|
390
|
+
|
|
391
|
+
<style scoped>
|
|
392
|
+
.item{
|
|
393
|
+
height: 40px;
|
|
394
|
+
margin-bottom: 20px;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
th{
|
|
398
|
+
font-size: 15px !important;
|
|
399
|
+
text-align: center !important;
|
|
400
|
+
background-color: #dfedfb!important;
|
|
401
|
+
color: #666666 !important;
|
|
402
|
+
font-family: PINGFANG-BOLD !important;
|
|
403
|
+
font-weight: normal!important;
|
|
404
|
+
}
|
|
405
|
+
/*清除model中的浮动*/
|
|
406
|
+
.clearfix:after,.clearfix:before{
|
|
407
|
+
display: table;
|
|
408
|
+
}
|
|
409
|
+
.clearfix:after{
|
|
410
|
+
clear: both;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.input_view{
|
|
414
|
+
padding: 8px;
|
|
415
|
+
background-color: #ffffff;
|
|
416
|
+
border-radius: 2px;
|
|
417
|
+
border: solid 1px #c7c7c7!important;
|
|
418
|
+
color: #333333!important;
|
|
419
|
+
font-size: 15px!important;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.input_view[readonly]{
|
|
423
|
+
border: 1px solid #DDD!important;
|
|
424
|
+
/*background-color: #F5F5F5;*/
|
|
425
|
+
color:#ACA899!important;
|
|
426
|
+
}
|
|
427
|
+
.input_view:disabled{
|
|
428
|
+
border: 1px solid #DDD!important;
|
|
429
|
+
/*background-color: #F5F5F5;*/
|
|
430
|
+
color:#ACA899!important;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.control-label-justify {
|
|
434
|
+
display: inline-block;
|
|
435
|
+
vertical-align: top;
|
|
436
|
+
width: 110px;
|
|
437
|
+
text-align: justify;
|
|
438
|
+
font-family: PingFang-SC-Bold;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.control-label-justify::after {
|
|
442
|
+
content: "";
|
|
443
|
+
display: inline-block;
|
|
444
|
+
width: 70px;
|
|
445
|
+
overflow: hidden;
|
|
446
|
+
height: 0;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
input::-webkit-outer-spin-button,
|
|
450
|
+
input::-webkit-inner-spin-button {
|
|
451
|
+
-webkit-appearance: none;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
input[type="number"] {
|
|
455
|
+
-moz-appearance: textfield;
|
|
456
|
+
}
|
|
457
|
+
</style>
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="margin-top: 20px">
|
|
3
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th style="white-space: nowrap;">序号</th>
|
|
7
|
+
<th style="white-space: nowrap;">入库票号</th>
|
|
8
|
+
<th style="white-space: nowrap;">CEA号</th>
|
|
9
|
+
<th style="white-space: nowrap;">入库数量</th>
|
|
10
|
+
<th style="white-space: nowrap;">库存结余</th>
|
|
11
|
+
<th style="white-space: nowrap;">预出库数量</th>
|
|
12
|
+
<th style="white-space: nowrap;">入库时间</th>
|
|
13
|
+
<th style="white-space: nowrap;">操作人</th>
|
|
14
|
+
<th style="white-space: nowrap;">备注</th>
|
|
15
|
+
</tr>
|
|
16
|
+
</template>
|
|
17
|
+
<template partial='body'>
|
|
18
|
+
<tr >
|
|
19
|
+
<td style="text-align: center;">
|
|
20
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
21
|
+
</td>
|
|
22
|
+
<td style="text-align: center;">
|
|
23
|
+
<nobr><font>{{row.f_ticket_number}}</font></nobr>
|
|
24
|
+
</td>
|
|
25
|
+
<td style="text-align: center;">
|
|
26
|
+
<nobr><font>{{row.f_cea_number}}</font></nobr>
|
|
27
|
+
</td>
|
|
28
|
+
<td style="text-align: center;">
|
|
29
|
+
<nobr><font>{{row.f_warehousing_quantity}}</font></nobr>
|
|
30
|
+
</td>
|
|
31
|
+
<td style="text-align: center;">
|
|
32
|
+
<nobr><font>{{row.f_warehousing_surplus}}</font></nobr>
|
|
33
|
+
</td>
|
|
34
|
+
<td style="text-align: center;">
|
|
35
|
+
<nobr><font>{{row.f_prepare_quantity}}</font></nobr>
|
|
36
|
+
</td>
|
|
37
|
+
<td style="text-align: center;">
|
|
38
|
+
<nobr><font>{{row.f_warehousing_date}}</font></nobr>
|
|
39
|
+
</td>
|
|
40
|
+
<td style="text-align: center;">
|
|
41
|
+
<nobr><font>{{row.f_warehousing_operator}}</font></nobr>
|
|
42
|
+
</td>
|
|
43
|
+
<td style="text-align: center;">
|
|
44
|
+
<nobr><font>{{row.f_warehousing_remarks}}</font></nobr>
|
|
45
|
+
</td>
|
|
46
|
+
</tr>
|
|
47
|
+
</template>
|
|
48
|
+
</data-grid>
|
|
49
|
+
</div>
|
|
50
|
+
</template>
|
|
51
|
+
|
|
52
|
+
<script>
|
|
53
|
+
import {PagedList} from 'vue-client'
|
|
54
|
+
import {HttpResetClass} from 'vue-client'
|
|
55
|
+
// Date格式化
|
|
56
|
+
Date.prototype.Format = function (fmt) {
|
|
57
|
+
var o = {
|
|
58
|
+
'M+': this.getMonth() + 1, // 月份
|
|
59
|
+
'd+': this.getDate(), // 日
|
|
60
|
+
'H+': this.getHours(), // 小时
|
|
61
|
+
'm+': this.getMinutes(), // 分
|
|
62
|
+
's+': this.getSeconds(), // 秒
|
|
63
|
+
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
64
|
+
'S': this.getMilliseconds() // 毫秒
|
|
65
|
+
}
|
|
66
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
67
|
+
for (var k in o) {
|
|
68
|
+
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
69
|
+
}
|
|
70
|
+
return fmt
|
|
71
|
+
}
|
|
72
|
+
export default {
|
|
73
|
+
title: '材料入库记录',
|
|
74
|
+
props: ['material'],
|
|
75
|
+
data () {
|
|
76
|
+
return {
|
|
77
|
+
model: {
|
|
78
|
+
data: []
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
ready () {
|
|
83
|
+
this.getMaterialWarehousingRecord()
|
|
84
|
+
},
|
|
85
|
+
methods: {
|
|
86
|
+
// 查询记录
|
|
87
|
+
async getMaterialWarehousingRecord () {
|
|
88
|
+
let data = {
|
|
89
|
+
condition: `m.id = ${this.material.id}`,
|
|
90
|
+
data: {
|
|
91
|
+
orgid: this.$login.f.orgid
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
let http = new HttpResetClass()
|
|
96
|
+
let res = await http.load('POST', 'rs/sql/getMaterialWarehousing', {data: data}, {
|
|
97
|
+
resolveMsg: null,
|
|
98
|
+
rejectMsg: '材料入库记录查询失败!!!'
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
this.model.data = res.data
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
computed: {
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
</script>
|
|
108
|
+
|
|
109
|
+
<style scoped>
|
|
110
|
+
</style>
|