diff --git a/src/api/Assembly/QualityInspectionInformationInquiry.js b/src/api/Assembly/QualityInspectionInformationInquiry.js index 615372cc..6b20a96d 100644 --- a/src/api/Assembly/QualityInspectionInformationInquiry.js +++ b/src/api/Assembly/QualityInspectionInformationInquiry.js @@ -18,7 +18,7 @@ export function QualityType() { method: 'post', data: { type: '1', - name: '质量管理_质检类型_查询数据' + name: '质检管理_质检类型_查询数据' } }) } @@ -35,14 +35,15 @@ export function searchgroup(num) { }) } // 组件查询 -export function selecttable(check1, value1, check2, value2, check3, value3, check4, value4) { +export function selecttable(check1, value1, check2, value2, check3, value3, check4, value4, pageCurrent, pageSize) { return request({ url: '', method: 'post', data: { type: '1', - name: '质量管理_质量情况_查询数据', - param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&组件流水号_check=' + check2 + '&组件流水号=' + value2 + '&零件名称_check=' + check3 + '&零件名称=' + value3 + '&质检类型代码_check=' + check4 + '&质检类型代码=' + value4 + name: '质检管理_质量情况_查询数据', + param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&组件流水号_check=' + check2 + '&组件流水号=' + value2 + '&零件名称_check=' + check3 + '&零件名称=' + value3 + '&质检类型代码_check=' + check4 + '&质检类型代码=' + value4, + Pagination: pageCurrent + '&' + pageSize } }) } diff --git a/src/api/Assembly/ShipmentApproval.js b/src/api/Assembly/ShipmentApproval.js new file mode 100644 index 00000000..efa590b6 --- /dev/null +++ b/src/api/Assembly/ShipmentApproval.js @@ -0,0 +1,38 @@ +import request from '@/utils/request' + +// 初始化机床项目 +export function initProject() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_项目名称_查询数据' + } + }) +} +// PDM_机床名称_发货状态_查询数据 +export function selecttable(check2, machineNumberValue) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_机床名称_发货状态_查询数据', + param: '机床流水号_check=' + check2 + '&机床流水号=' + machineNumberValue + } + }) +} +// PDM_机床名称_发货状态_编辑数据 +export function updatestate(machineNumberValue, state, attention) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_机床名称_发货审批_编辑数据', + param: '机床流水号=' + machineNumberValue + '&发货状态=' + state + '&注意事项=' + attention + } + }) +} + diff --git a/src/api/Assembly/SparePartsOutStockRecord.js b/src/api/Assembly/SparePartsOutStockRecord.js new file mode 100644 index 00000000..09a480be --- /dev/null +++ b/src/api/Assembly/SparePartsOutStockRecord.js @@ -0,0 +1,39 @@ +import request from '@/utils/request' + +// 初始化机床项目 +export function initProject() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_项目名称_查询数据' + } + }) +} +// 组件查询 +export function searchgroup(num) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_组件名称_查询数据', + param: '机床流水号=' + num + } + }) +} +// 车间生产管理工艺_备料管理_备料出库记录_视图_查询数据 +export function selecttable(check1, value1, check2, value2, check3, value3, check4, value4, check5, value5, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_备料管理_备料出库记录_视图_查询数据', + param: '机床流水号_check=' + check1 + '&机床流水号=' + value1 + '&组件流水号_check=' + check2 + '&组件流水号=' + value2 + '&零件图号_check=' + check3 + '&零件图号=' + value3 + '&开始时间_check=' + check4 + '&开始时间=' + value4 + '&结束时间_check=' + check5 + '&结束时间=' + value5, + Pagination: pageCurrent + '&' + pageSize + } + }) +} + diff --git a/src/api/Inventory/CreatePickingList.js b/src/api/Inventory/CreatePickingList.js new file mode 100644 index 00000000..bbf40ff2 --- /dev/null +++ b/src/api/Inventory/CreatePickingList.js @@ -0,0 +1,122 @@ +import request from '@/utils/request' + +// 初始化人员 +export function initPickPerson() { + return request({ + url: '', + method: 'post', + data: { + type: '3', + name: 'select 姓名,人员编号 from 人事档案管理_人员名单 where 是否离职 = 0' + } + }) +} +// 初始化机床项目 +export function initMachineProject() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_项目名称_查询数据' + } + }) +} +// 组件查询 +export function searchgroup(num) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_组件名称_查询数据', + param: '机床流水号=' + num + } + }) +} +// 查询三表 +export function searchTable(...params) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间装配管理_领料单_三表_查询数据', + param: `机床流水号_check=${params[0]}&机床流水号=${params[1]}&组件流水号_check=${params[2]}&组件流水号=${params[3]}&零件类型=${params[6]}`, + Pagination: params[4] + '&' + params[5] + } + }) +} +// 领料单查询 +export function searchList(pageCurrent, pageSize, listNumber_check, listNumber) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间装配管理_领料单_查询数据', + param: '领料单编号_check=' + listNumber_check + '&领料单编号=' + listNumber, + Pagination: pageCurrent + '&' + pageSize + } + }) +} +// 创建领料单 +export function createList(num, remark) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间装配管理_领料单_增加数据', + param: '领料人流水号=' + num + '&领料单备注=' + remark + } + }) +} +// 删除领料单 +export function dropList(num) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间装配管理_领料单_删除数据', + param: '领料单流水号=' + num + } + }) +} +// 查询领料单明细 +export function searchListDetail(...params) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间装配管理_领料单明细_查询数据', + param: `领料单流水号=${params[0]}` + } + }) +} +// 选入领料单 +export function selectIntoList(...params) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间装配管理_领料单明细_增加数据', + param: `基本件流水号组=${params[0]}&标准件和外购件流水号组=${params[1]}&领料单流水号=${params[2]}` + } + }) +} +// 删除领料单 +export function dropListDetail(num) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间装配管理_领料单明细_删除数据', + param: '领料单明细流水号=' + num + } + }) +} diff --git a/src/api/Inventory/MaterialOut.js b/src/api/Inventory/MaterialOut.js new file mode 100644 index 00000000..01fb227d --- /dev/null +++ b/src/api/Inventory/MaterialOut.js @@ -0,0 +1,39 @@ +import request from '@/utils/request' + +// 领料单查询 +export function searchList(pageCurrent, pageSize, listNumber_check, listNumber) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间装配管理_领料单_查询数据', + param: '领料单编号_check=' + listNumber_check + '&领料单编号=' + listNumber, + Pagination: pageCurrent + '&' + pageSize + } + }) +} +// 查询领料单明细 +export function searchListDetail(...params) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间装配管理_领料单明细_查询数据', + param: `领料单流水号=${params[0]}` + } + }) +} +// 查看领料单明细相关的物料货位数量 +export function searchStockNumber(...params) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '库存管理_物料出库_标准件和外购件_查询数据', + param: `物料流水号=${params[0]}` + } + }) +} diff --git a/src/api/ManufacturingCenter/InitialProduction.js b/src/api/ManufacturingCenter/InitialProduction.js index 20649ab8..8f674b1f 100644 --- a/src/api/ManufacturingCenter/InitialProduction.js +++ b/src/api/ManufacturingCenter/InitialProduction.js @@ -61,6 +61,18 @@ export function production(num, a, b, d, e, f, g, h, i, j, k, l, m, n, o, p, q, } }) } +// 合并投产 +export function production2(num, a, b, d, e, f, g, h, i, j, k, l, m, n, o, p, q, x, s, t, u, v, w) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '设备管理_可安排生产计划零件排序_制定组时间_同时传递_合并投产', + param: '组件零件基本件流水号=' + num + '=int&投产类型流水号=' + a + '=int&数据类型=' + b + '=int&投产批次=1=int&批次数量=' + d + '=string&计划开始时间=' + e + '=string&计划结束时间=' + f + '=string&工艺计划开始时间=' + g + '=string&工艺计划结束时间=' + h + '=string&定额计划开始时间=' + i + '=string&定额计划结束时间=' + j + '=string&计划编制计划开始时间=' + k + '=string&计划编制计划结束时间=' + l + '=string&机加工开始时间=' + m + '=string&机加工结束时间=' + n + '=string&单件外协时间=' + o + '=string&单件是否外协=' + p + '=int&单件是否外协分类=' + q + '=string&计划制定人员编号=' + x + '&材料流水号=' + s + '=int&是否临时件=' + t + '=int&是否难度件=' + u + '=string&是否着急=' + v + '=int&是否白图=' + w + '=int' + } + }) +} // 获取表2的值 export function getTable1(num, pageList, pageSize) { return request({ diff --git a/src/api/ManufacturingCenter/machiningHoursStatistics.js b/src/api/ManufacturingCenter/machiningHoursStatistics.js index 444da7f9..ee02ffc3 100644 --- a/src/api/ManufacturingCenter/machiningHoursStatistics.js +++ b/src/api/ManufacturingCenter/machiningHoursStatistics.js @@ -13,6 +13,18 @@ export function searchtable(num1, num2, num3, num4, num5, pageCurrent, pageSize) } }) } +// 查询人员总工工时 +export function searchtable11(num1, num2, num3, num4, num5) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_工时统计_查询数据2', + param: '操作者_check=' + num1 + '&姓名=' + num2 + '&时间_check=' + num3 + '&开始时间=' + num4 + '&结束时间=' + num5 + } + }) +} // 查询人员具体工序 export function searchtable2(num1, num2, num3, num4, pageCurrent, pageSize) { return request({ @@ -26,3 +38,76 @@ export function searchtable2(num1, num2, num3, num4, pageCurrent, pageSize) { } }) } +// 查询人员具体工序 +export function searchtable22(num1, num2, num3, num4) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_工时统计按人员查询_查询数据2', + param: '工作者编号=' + num1 + '&时间_check=' + num2 + '&开始时间=' + num3 + '&结束时间=' + num4 + } + }) +} +// 初始化机床项目 +export function initProject() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_项目名称_查询数据' + } + }) +} +// 车间生产管理工艺_工时统计_机床查询_查询数据 +export function searchtable4(num1, num2, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_工时统计_机床查询_查询数据', + param: '机床流水号_check=' + num1 + '&机床流水号=' + num2, + Pagination: pageCurrent + '&' + pageSize + } + }) +} +// 车间生产管理工艺_工时统计_机床查询_查询数据 +export function searchtable44(num1, num2) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_工时统计_机床查询_查询数据', + param: '机床流水号_check=' + num1 + '&机床流水号=' + num2 + } + }) +} +// 车间生产管理工艺_工时统计_组号查询_查询数据 +export function searchtable5(num1, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_工时统计_组号查询_查询数据', + param: '机床流水号=' + num1, + Pagination: pageCurrent + '&' + pageSize + } + }) +} +// 车间生产管理工艺_工时统计_组号查询_查询数据 +export function searchtable55(num1) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_工时统计_组号查询_查询数据', + param: '机床流水号=' + num1 + } + }) +} diff --git a/src/api/PurchasingCenter/CreateInquirySheet.js b/src/api/PurchasingCenter/CreateInquirySheet.js index f271b239..45b96472 100644 --- a/src/api/PurchasingCenter/CreateInquirySheet.js +++ b/src/api/PurchasingCenter/CreateInquirySheet.js @@ -55,14 +55,14 @@ export function getExport2(num) { }) } // 查询分配后的标准件和外购件 -export function searchMaterial(pageCurrent, pageSize, num1, check1, val1, check2, val2, check3, val3, person, check4, val4, check5, val5, check6, val6) { +export function searchMaterial(pageCurrent, pageSize, num1, check1, val1, check2, val2, check3, val3, person, check4, val4, check5, val5, check6, val6, val7) { return request({ url: '', method: 'post', data: { type: '1', name: '采购管理_采购部采购_查询物料_分配后', - param: `物料状态编号=${num1}&物料名称_check=${check1}&物料名称=${val1}&物料规格_check=${check2}&物料规格=${val2}&物料型号_check=${check3}&物料型号=${val3}&人员编号=${person}&项目流水号_check=${check4}&项目流水号=${val4}&机床流水号_check=${check5}&机床流水号=${val5}&组件流水号_check=${check6}&组件流水号=${val6}`, + param: `物料状态编号=${num1}&物料名称_check=${check1}&物料名称=${val1}&物料规格_check=${check2}&物料规格=${val2}&物料型号_check=${check3}&物料型号=${val3}&人员编号=${person}&项目流水号_check=${check4}&项目流水号=${val4}&机床流水号_check=${check5}&机床流水号=${val5}&组件流水号_check=${check6}&组件流水号=${val6}&零件类型=${val7}`, Pagination: pageCurrent + '&' + pageSize } }) diff --git a/src/api/PurchasingCenter/OfflineContract.js b/src/api/PurchasingCenter/OfflineContract.js index 0cd9792f..11414bc7 100644 --- a/src/api/PurchasingCenter/OfflineContract.js +++ b/src/api/PurchasingCenter/OfflineContract.js @@ -171,14 +171,14 @@ export function setSafeValue(...params) { }) } // 查询分配后的标准件和外购件 -export function searchMaterial(pageCurrent, pageSize, num1, check1, val1, check2, val2, check3, val3, person) { +export function searchMaterial(pageCurrent, pageSize, num1, check1, val1, check2, val2, check3, val3, person, type) { return request({ url: '', method: 'post', data: { type: '1', name: '采购管理_采购部采购_查询物料_分配后', - param: `物料状态编号=${num1}&物料名称_check=${check1}&物料名称=${val1}&物料规格_check=${check2}&物料规格=${val2}&物料型号_check=${check3}&物料型号=${val3}&人员编号=${person}`, + param: `物料状态编号=${num1}&物料名称_check=${check1}&物料名称=${val1}&物料规格_check=${check2}&物料规格=${val2}&物料型号_check=${check3}&物料型号=${val3}&人员编号=${person}&零件类型=${type}`, Pagination: pageCurrent + '&' + pageSize } }) diff --git a/src/api/PurchasingCenter/PurchaseSituationSearch.js b/src/api/PurchasingCenter/PurchaseSituationSearch.js index 29d56ee3..b650c6eb 100644 --- a/src/api/PurchasingCenter/PurchaseSituationSearch.js +++ b/src/api/PurchasingCenter/PurchaseSituationSearch.js @@ -31,7 +31,7 @@ export function searchTable1(...params) { data: { type: '1', name: '采购管理_采购部采购_查询物料_分配后_加供应商', - param: `机床流水号_check=${params[0]}&机床流水号=${params[1]}&组件流水号_check=${params[2]}&组件流水号=${params[3]}`, + param: `机床流水号_check=${params[0]}&机床流水号=${params[1]}&组件流水号_check=${params[2]}&组件流水号=${params[3]}&零件类型=${params[6]}`, Pagination: params[4] + '&' + params[5] } }) diff --git a/src/api/PurchasingCenter/PurchaseTaskAllocate.js b/src/api/PurchasingCenter/PurchaseTaskAllocate.js index bd1c5039..2b1e345a 100644 --- a/src/api/PurchasingCenter/PurchaseTaskAllocate.js +++ b/src/api/PurchasingCenter/PurchaseTaskAllocate.js @@ -77,7 +77,7 @@ export function searchTable1(...params) { data: { type: '1', name: '采购管理_采购部采购_查询物料_分配后', - param: `物料类别流水号_check=${params[2]}&物料类别流水号=${params[3]}&物料品种流水号_check=${params[4]}&物料品种流水号=${params[5]}&项目流水号_check=${params[6]}&项目流水号=${params[7]}&机床流水号_check=${params[8]}&机床流水号=${params[9]}&组件流水号_check=${params[10]}&组件流水号=${params[11]}&物料名称_check=${params[12]}&物料名称=${params[13]}&物料状态编号=${params[14]}&物料规格_check=${params[15]}&物料规格=${params[16]}&物料型号_check=${params[17]}&物料型号=${params[18]}`, + param: `物料类别流水号_check=${params[2]}&物料类别流水号=${params[3]}&物料品种流水号_check=${params[4]}&物料品种流水号=${params[5]}&项目流水号_check=${params[6]}&项目流水号=${params[7]}&机床流水号_check=${params[8]}&机床流水号=${params[9]}&组件流水号_check=${params[10]}&组件流水号=${params[11]}&物料名称_check=${params[12]}&物料名称=${params[13]}&物料状态编号=${params[14]}&物料规格_check=${params[15]}&物料规格=${params[16]}&物料型号_check=${params[17]}&物料型号=${params[18]}&零件类型=${params[19]}`, Pagination: params[0] + '&' + params[1] } }) diff --git a/src/api/TechnologyCenter/ImportParts.js b/src/api/TechnologyCenter/ImportParts.js index 63672b54..85eb72c7 100644 --- a/src/api/TechnologyCenter/ImportParts.js +++ b/src/api/TechnologyCenter/ImportParts.js @@ -400,3 +400,36 @@ export function getMachineNames(num) { } }) } +export function machineSelect(projectValue) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_机床名称_查询数据2', + param: `项目流水号=${projectValue}` + } + }) +} +export function getFileData(MachineDrawValue) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: 'PDM_机床总图_查询数据', + param: `机床流水号=${MachineDrawValue}` + } + }) +} +export function deleteFileData(id) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: 'PDM_机床总图_删除数据', + param: `文件标识=${id}` + } + }) +} diff --git a/src/api/WorkshopProcurement/CreatingPurchasingMaterials.js b/src/api/WorkshopProcurement/CreatingPurchasingMaterials.js index 8504236a..d136a8b7 100644 --- a/src/api/WorkshopProcurement/CreatingPurchasingMaterials.js +++ b/src/api/WorkshopProcurement/CreatingPurchasingMaterials.js @@ -25,6 +25,18 @@ export function addMateriel2(num1, num2) { } }) } +// 保存重量和备注 +export function saveWeight(num1, num2, num3, num4) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '备料管理_采购计划明细_保存重量和备注', + param: `采购计划明细流水号=${num1}&重量=${num2}&备注=${num3}&单价=${num4}` + } + }) +} // ////////////////////////////////////////////////////////////////////////////////0529新加↑ // 查询外购备料列表 diff --git a/src/icons/svg/AssemblyExecution.svg b/src/icons/svg/AssemblyExecution.svg new file mode 100644 index 00000000..9ee2e989 --- /dev/null +++ b/src/icons/svg/AssemblyExecution.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/CreatePickingList.svg b/src/icons/svg/CreatePickingList.svg new file mode 100644 index 00000000..343a5d73 --- /dev/null +++ b/src/icons/svg/CreatePickingList.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/DeliveryApplication.svg b/src/icons/svg/DeliveryApplication.svg new file mode 100644 index 00000000..fca39892 --- /dev/null +++ b/src/icons/svg/DeliveryApplication.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/MaterialOut.svg b/src/icons/svg/MaterialOut.svg new file mode 100644 index 00000000..2cb31100 --- /dev/null +++ b/src/icons/svg/MaterialOut.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/QualityInspectionInformationInquiry.svg b/src/icons/svg/QualityInspectionInformationInquiry.svg new file mode 100644 index 00000000..7339fb9c --- /dev/null +++ b/src/icons/svg/QualityInspectionInformationInquiry.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ShipmentApproval.svg b/src/icons/svg/ShipmentApproval.svg new file mode 100644 index 00000000..1c0ddb41 --- /dev/null +++ b/src/icons/svg/ShipmentApproval.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/SparePartsOutStockRecord.svg b/src/icons/svg/SparePartsOutStockRecord.svg new file mode 100644 index 00000000..ca0c397d --- /dev/null +++ b/src/icons/svg/SparePartsOutStockRecord.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/doc.svg b/src/icons/svg/doc.svg new file mode 100644 index 00000000..04117746 --- /dev/null +++ b/src/icons/svg/doc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/excel.svg b/src/icons/svg/excel.svg new file mode 100644 index 00000000..efbf9848 --- /dev/null +++ b/src/icons/svg/excel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/file.svg b/src/icons/svg/file.svg new file mode 100644 index 00000000..a36bf667 --- /dev/null +++ b/src/icons/svg/file.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/pdf.svg b/src/icons/svg/pdf.svg new file mode 100644 index 00000000..b2117fb9 --- /dev/null +++ b/src/icons/svg/pdf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/pic.svg b/src/icons/svg/pic.svg new file mode 100644 index 00000000..ca2f133a --- /dev/null +++ b/src/icons/svg/pic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/ppt.svg b/src/icons/svg/ppt.svg new file mode 100644 index 00000000..27dcc3e8 --- /dev/null +++ b/src/icons/svg/ppt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/utils/request.js b/src/utils/request.js index 8d46ce0f..c609d18e 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -11,11 +11,14 @@ export const name1 = `OP1000` export const readFile = `http://192.168.1.231:8411/webpage/file/` // invoice export const readImg = `http://192.168.1.231:8411/webpage/img/` // delivery/MS/performancebond export const upload = `http://192.168.1.231:8411/submit/uploadFile.ashx` // ContractInformationManagement +export const uploadFileMachine = `http://192.168.1.231:8411/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231 export const upload2 = `http://192.168.1.231:8411/submit/upload2.ashx` // delivery export const upload3 = `http://192.168.1.231:8411/submit/upload3.ashx` // performancebond export const uploadInvoiceScan = `http://192.168.1.231:8411/submit/uploadInvoiceScan.ashx` // invoice export const uploadInvoiceScan1 = `http://192.168.1.231:8411/submit/uploadInvoiceScan1.ashx` // invoice(workshop) export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement +export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFileMachine.ashx` // 机床总图 发布时改成0.231 + const service = axios.create({ baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`, timeout: 1500000 // 请求超时时间 diff --git a/src/views/Assembly/AssemblyExecution/index.vue b/src/views/Assembly/AssemblyExecution/index.vue index a661d266..951c39cb 100644 --- a/src/views/Assembly/AssemblyExecution/index.vue +++ b/src/views/Assembly/AssemblyExecution/index.vue @@ -26,7 +26,7 @@

总装调试

- + - + @@ -66,6 +66,11 @@ {{ scope.row.零件名称 }} + + + +
+ +
@@ -114,7 +135,11 @@ export default { QualityTypeNumber: [], QualityTypeValue: '', tableData1: [], - SpareParts: '' + SpareParts: '', + loading: false, + total: null, // 总条数 + pageSize: 10, // 每页显示条数 + pageCurrent: 1 // 后台获取页 } }, created() { @@ -165,10 +190,21 @@ export default { if (this.groupNumberValue !== '' && this.groupNumberValue !== null) { this.check2 = 1 } else { this.check2 = 0 } if (this.SpareParts !== '' && this.SpareParts !== null) { this.check3 = 1 } else { this.check3 = 0 } if (this.QualityTypeValue !== '' && this.QualityTypeValue !== null) { this.check4 = 1 } else { this.check4 = 0 } - selecttable(this.check1, this.machineNumberValue, this.check2, this.groupNumberValue, this.check3, this.SpareParts, this.check4, this.QualityTypeValue).then(response => { - this.tableData1 = response.data - console.log(response.data, 1111) + selecttable(this.check1, this.machineNumberValue, this.check2, this.groupNumberValue, this.check3, this.SpareParts, this.check4, this.QualityTypeValue, this.pageCurrent, this.pageSize).then(response => { + this.tableData1 = response.data.rows + this.loading = false + this.total = response.data.total }) + }, + // 分页 + handleSizeChange(val) { + this.pageCurrent = 1 + this.pageSize = val + this.selecttable() + }, + handleCurrentChange(val) { + this.pageCurrent = val + this.selecttable() } } } diff --git a/src/views/Assembly/ShipmentApproval/index.vue b/src/views/Assembly/ShipmentApproval/index.vue new file mode 100644 index 00000000..803a607e --- /dev/null +++ b/src/views/Assembly/ShipmentApproval/index.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/views/Assembly/SparePartsOutStockRecord/index.vue b/src/views/Assembly/SparePartsOutStockRecord/index.vue new file mode 100644 index 00000000..7f415c0c --- /dev/null +++ b/src/views/Assembly/SparePartsOutStockRecord/index.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/views/Inventory/CreatePickingList/index.vue b/src/views/Inventory/CreatePickingList/index.vue new file mode 100644 index 00000000..09584add --- /dev/null +++ b/src/views/Inventory/CreatePickingList/index.vue @@ -0,0 +1,645 @@ + + + + + diff --git a/src/views/Inventory/InventoryCheck/index.vue b/src/views/Inventory/InventoryCheck/index.vue index aba0b89e..d612721c 100644 --- a/src/views/Inventory/InventoryCheck/index.vue +++ b/src/views/Inventory/InventoryCheck/index.vue @@ -75,7 +75,7 @@