From ea3bf600f3db602bbd3d3a874baf27763c7feaee Mon Sep 17 00:00:00 2001 From: bryan sun Date: Wed, 23 Oct 2019 19:04:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CreateWarehousePurchasing.js | 34 + src/api/ManufacturingCenter/StatusQuery.js | 5 +- src/utils/request.js | 2 +- .../AssemblyQualityInspection/index.vue | 12 +- .../index.vue | 32 +- .../SparePartsOutStockRecord/index.vue | 10 +- .../Inventory/CreatePickingList/index.vue | 52 +- src/views/Inventory/InventoryCheck/index.vue | 12 +- src/views/Inventory/MaterialOut/index.vue | 12 +- src/views/Inventory/OfflinePartOut/index.vue | 8 +- .../Inventory/OfflinePartsStorage/index.vue | 6 +- src/views/Inventory/OutPartSelect/index.vue | 12 +- .../Inventory/PurchaseInRecord/index.vue | 20 +- .../Inventory/PurchasePartsStorage/index.vue | 6 +- src/views/Inventory/StockInquiry/index.vue | 12 +- .../ActualTimeSupplement/index.vue | 12 +- .../CreatePreparationBill/index.vue | 6 +- .../CreateWarehousePurchasing/index.vue | 74 +- .../InitialProduction/index.vue | 9 +- .../InventoryQuery/index.vue | 10 +- .../MaterialArrivalManagement/index.vue | 8 +- .../PartAssignment/index.vue | 10 +- .../PartWorkCraftSelect_rdlc/index.vue | 10 +- .../ProcessTaskAssignment/index.vue | 4 +- .../ProductionCapacityBalance/index.vue | 4 +- .../SparePartsForScrap/index.vue | 2 - .../ManufacturingCenter/StatusQuery/index.vue | 83 +-- .../WorkshopEquipmentManagement/index.vue | 8 +- src/views/MarketingCenter/BidBond/index.vue | 6 +- src/views/MarketingCenter/CRM/index.vue | 2 +- .../ComprehensiveInquiryMS/index.vue | 8 +- .../ContractCapitalManagement/index.vue | 8 +- .../ContractInformationManagement/index.vue | 6 +- .../MarketingCenter/CreateProject/index.vue | 6 +- .../MarketingCenter/InvoiceRecord/index.vue | 4 +- .../MarketingCenter/PerformanceBond/index.vue | 8 +- .../MarketingCenter/SafetyMargin/index.vue | 8 +- .../InterBudgetaryBudgets/index.vue | 8 +- .../OutsourcingDataMaintenance/index.vue | 1 - .../index.vue | 16 +- .../Outsourcing/OutsourcingQCSearch/index.vue | 4 +- .../OutsourcingTaskExecution/index.vue | 16 +- .../OutsourcingTaskQuery/index.vue | 10 +- .../Outsourcing/PreorderAssociation/index.vue | 8 +- .../ArrivalStateSearch/index.vue | 8 +- .../BacklogGoodsAnalysis/index.vue | 16 +- .../InvoiceSettlementApplication/index.vue | 8 +- .../MaterialManagement/index.vue | 8 +- .../OfflineContract/index.vue | 700 ++++++++++++++---- .../OfflineContractRequestFund/index.vue | 6 +- .../PurchasingCenter/PayStateSearch/index.vue | 14 +- .../PurchaseContractRequestFund/index.vue | 14 +- .../PurchaseContractSearch/index.vue | 10 +- .../PurchaseSituationSearch/index.vue | 42 +- .../PurchaseTaskAllocate/index.vue | 52 +- .../PurchasingCenter/SetPayPlan/index.vue | 6 +- .../TechnologyCenter/QueryParts/index.vue | 34 +- .../CreatingPurchasingMaterials/index.vue | 24 +- .../InvoiceSettlementApplication1/index.vue | 14 +- .../NewArrivalList/index.vue | 12 +- .../OutsourcingMaterialsInvoice/index.vue | 8 +- .../PurchaseContractRequestFund1/index.vue | 6 +- .../RequestOutsourcingMaterials/index.vue | 2 +- 63 files changed, 1031 insertions(+), 547 deletions(-) diff --git a/src/api/ManufacturingCenter/CreateWarehousePurchasing.js b/src/api/ManufacturingCenter/CreateWarehousePurchasing.js index b4485499..08f2eb1d 100644 --- a/src/api/ManufacturingCenter/CreateWarehousePurchasing.js +++ b/src/api/ManufacturingCenter/CreateWarehousePurchasing.js @@ -109,3 +109,37 @@ export function updateNumber(...params) { } }) } +export function getperson(num) { + return request({ + url: '', + method: 'post', + data: { + type: '3', + name: 'select * from dbo.人事档案管理_人员名单 inner join dbo.菜单系统模块_人员与角色 ' + + 'on 人事档案管理_人员名单.人员编号=菜单系统模块_人员与角色.人员编号 ' + + 'where 角色编号=3 or 角色编号=2' + } + }) +} +export function tiaozheng(formNumber, PersonValue) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '采购管理_仓库采购_表单_采购分配', + param: `表单流水号=${formNumber}&采购员编号=${PersonValue}` + } + }) +} +export function deletematerial(id) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '采购管理_仓库采购_表单明细_删除', + param: `id=${id}` + } + }) +} diff --git a/src/api/ManufacturingCenter/StatusQuery.js b/src/api/ManufacturingCenter/StatusQuery.js index e27efdec..d7f4f7ed 100644 --- a/src/api/ManufacturingCenter/StatusQuery.js +++ b/src/api/ManufacturingCenter/StatusQuery.js @@ -44,15 +44,14 @@ export function searchgroup(num, pageCurrent, pageSize) { } }) } -export function searchTable(check, entryNameValue, check1, machine, check2, groupNum, check3, partNumber, check4, partStateValue, check5, partTypeValue, pageSize, pageCurrent) { +export function searchTable(check, entryNameValue, check1, machine, check2, groupNum, check3, partNumber, check4, partStateValue, check5, partTypeValue) { return request({ url: '', method: 'post', data: { type: '1', name: '车间生产管理工艺_零件工艺计划_查询数据_状态_新_MESWORK', - param: '项目流水号_check=' + check + '=int&项目流水号=' + entryNameValue + '&机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int&零件图号_check=' + check3 + '=int&零件图号=' + partNumber + '=string&考核状态_check=' + check4 + '=int&考核状态=' + partStateValue + '=int&单件是否外协_check=' + check5 + '=int&单件是否外协=' + partTypeValue + '=int', - pagination: pageCurrent + '&' + pageSize + param: '项目流水号_check=' + check + '=int&项目流水号=' + entryNameValue + '&机床流水号_check=' + check1 + '=int&机床流水号=' + machine + '=int&组件流水号_check=' + check2 + '=int&组件流水号=' + groupNum + '=int&零件图号_check=' + check3 + '=int&零件图号=' + partNumber + '=string&考核状态_check=' + check4 + '=int&考核状态=' + partStateValue + '=int&单件是否外协_check=' + check5 + '=int&单件是否外协=' + partTypeValue + '=int' } }) } diff --git a/src/utils/request.js b/src/utils/request.js index e9cf8a39..56ffd77d 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -26,7 +26,7 @@ export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFil export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx` export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx` const service = axios.create({ - baseURL: `http://192.168.0.110:8002/submit/MESCommonBase.ashx`, + baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`, timeout: 1500000 // 请求超时时间 }) export default service diff --git a/src/views/Assembly/AssemblyQualityInspection/index.vue b/src/views/Assembly/AssemblyQualityInspection/index.vue index 44c6d4ca..66f033bf 100644 --- a/src/views/Assembly/AssemblyQualityInspection/index.vue +++ b/src/views/Assembly/AssemblyQualityInspection/index.vue @@ -41,34 +41,34 @@ - + - + - + - + - + - + diff --git a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue index 431b6412..3de576d4 100644 --- a/src/views/Assembly/QualityInspectionInformationInquiry/index.vue +++ b/src/views/Assembly/QualityInspectionInformationInquiry/index.vue @@ -256,27 +256,27 @@

正在加工零件列表

- + - + - + - + - + @@ -286,17 +286,17 @@ {{ scope.row.批次数量 }} - + - + - + @@ -326,27 +326,27 @@

待加工零件列表

- + - + - + - + - + @@ -356,17 +356,17 @@ {{ scope.row.批次数量 }} - + - + - + diff --git a/src/views/Assembly/SparePartsOutStockRecord/index.vue b/src/views/Assembly/SparePartsOutStockRecord/index.vue index e24dca01..cfb78bea 100644 --- a/src/views/Assembly/SparePartsOutStockRecord/index.vue +++ b/src/views/Assembly/SparePartsOutStockRecord/index.vue @@ -46,27 +46,27 @@
- + - + - + - + - + diff --git a/src/views/Inventory/CreatePickingList/index.vue b/src/views/Inventory/CreatePickingList/index.vue index dc5aeb53..e161c9ec 100644 --- a/src/views/Inventory/CreatePickingList/index.vue +++ b/src/views/Inventory/CreatePickingList/index.vue @@ -37,27 +37,27 @@ - + - + - + date - + - + @@ -98,27 +98,27 @@ - + - + - + - + - + @@ -154,27 +154,27 @@ - + - + - + - + - + @@ -228,7 +228,7 @@ - + @@ -238,17 +238,17 @@ {{ scope.row.操作日期.split(' ')[0] }} - + - + - + - + - + - + @@ -62,22 +62,22 @@ - + - + - + - + diff --git a/src/views/Inventory/OfflinePartOut/index.vue b/src/views/Inventory/OfflinePartOut/index.vue index 231d1dbc..e25a1121 100644 --- a/src/views/Inventory/OfflinePartOut/index.vue +++ b/src/views/Inventory/OfflinePartOut/index.vue @@ -15,22 +15,22 @@ - + - + - + - + diff --git a/src/views/Inventory/OfflinePartsStorage/index.vue b/src/views/Inventory/OfflinePartsStorage/index.vue index 477fc245..1cdd00e6 100644 --- a/src/views/Inventory/OfflinePartsStorage/index.vue +++ b/src/views/Inventory/OfflinePartsStorage/index.vue @@ -22,17 +22,17 @@ - + - + - + diff --git a/src/views/Inventory/OutPartSelect/index.vue b/src/views/Inventory/OutPartSelect/index.vue index 260b174e..5d513a9f 100644 --- a/src/views/Inventory/OutPartSelect/index.vue +++ b/src/views/Inventory/OutPartSelect/index.vue @@ -40,12 +40,12 @@ align="center" width="55" type="index"/> - + - + @@ -55,22 +55,22 @@ {{ scope.row.出库数量 }} - + - + - + - + diff --git a/src/views/Inventory/PurchaseInRecord/index.vue b/src/views/Inventory/PurchaseInRecord/index.vue index 5c096ba6..d9a6b969 100644 --- a/src/views/Inventory/PurchaseInRecord/index.vue +++ b/src/views/Inventory/PurchaseInRecord/index.vue @@ -50,17 +50,17 @@

采购合同入库

- + - + - + @@ -70,12 +70,12 @@ {{ scope.row.入库数量 }} - + - + @@ -94,17 +94,17 @@

离线合同入库

- + - + - + @@ -114,12 +114,12 @@ {{ scope.row.入库数量 }} - + - + diff --git a/src/views/Inventory/PurchasePartsStorage/index.vue b/src/views/Inventory/PurchasePartsStorage/index.vue index 368ba7c7..a02e2cfa 100644 --- a/src/views/Inventory/PurchasePartsStorage/index.vue +++ b/src/views/Inventory/PurchasePartsStorage/index.vue @@ -30,17 +30,17 @@ - + - + - + diff --git a/src/views/Inventory/StockInquiry/index.vue b/src/views/Inventory/StockInquiry/index.vue index e0371333..b3f064ab 100644 --- a/src/views/Inventory/StockInquiry/index.vue +++ b/src/views/Inventory/StockInquiry/index.vue @@ -40,12 +40,12 @@ align="center" width="55" type="index"/> - + - + @@ -55,12 +55,12 @@ {{ scope.row.入库数量 }} - + - + @@ -70,12 +70,12 @@ {{ scope.row.仓库名称 }} - + - + diff --git a/src/views/ManufacturingCenter/ActualTimeSupplement/index.vue b/src/views/ManufacturingCenter/ActualTimeSupplement/index.vue index 5fbbb1a3..2f0ea333 100644 --- a/src/views/ManufacturingCenter/ActualTimeSupplement/index.vue +++ b/src/views/ManufacturingCenter/ActualTimeSupplement/index.vue @@ -59,12 +59,12 @@ style="width: 100%;" border> - + - + @@ -74,12 +74,12 @@ {{ scope.row.完成数量 }} - + - + @@ -115,12 +115,12 @@ {{ scope.row.修补工时 }} - + - + diff --git a/src/views/ManufacturingCenter/CreatePreparationBill/index.vue b/src/views/ManufacturingCenter/CreatePreparationBill/index.vue index 33699390..b39857da 100644 --- a/src/views/ManufacturingCenter/CreatePreparationBill/index.vue +++ b/src/views/ManufacturingCenter/CreatePreparationBill/index.vue @@ -27,18 +27,18 @@ type="selection" width="55" align="center"/> - + - + - + diff --git a/src/views/ManufacturingCenter/CreateWarehousePurchasing/index.vue b/src/views/ManufacturingCenter/CreateWarehousePurchasing/index.vue index c3a12a48..22f7cff4 100644 --- a/src/views/ManufacturingCenter/CreateWarehousePurchasing/index.vue +++ b/src/views/ManufacturingCenter/CreateWarehousePurchasing/index.vue @@ -128,6 +128,7 @@ @click="addpurchasingDetailsForm">创建采购明细表 - + @@ -205,17 +219,17 @@ @@ -236,12 +250,13 @@