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 @@