diff --git a/favicon.ico b/favicon.ico index 34b63ac6..8f486dbb 100644 Binary files a/favicon.ico and b/favicon.ico differ diff --git a/src/api/Inventory/DirectPart.js b/src/api/Inventory/DirectPart.js index 29b413fc..944d2ea0 100644 --- a/src/api/Inventory/DirectPart.js +++ b/src/api/Inventory/DirectPart.js @@ -72,14 +72,14 @@ export function searchDirectPart(pageCurrent, pageSize, project_check, project, }) } // 人员查询 需要在部门确定之后修改 -export function searchPeople() { +export function searchPeople(data1) { return request({ url: '', method: 'post', data: { type: '1', - name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', - param: '考核部门编号=18' + name: '库存管理_人员查询_库存部门', + param: '角色编号=' + data1 } }) } diff --git a/src/api/Inventory/InboundCard.js b/src/api/Inventory/InboundCard.js index a57066c3..96afedc3 100644 --- a/src/api/Inventory/InboundCard.js +++ b/src/api/Inventory/InboundCard.js @@ -10,6 +10,17 @@ export function searchContract() { } }) } +export function searchShopContract() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '库存管理_库存管理_车间采购合同查询' + } + }) +} + // 仓库查询 export function searchInventory() { return request({ @@ -33,7 +44,7 @@ export function searchInbound(data1, data2, data3) { } }) } -// 入库记录查询 +// 车间采购查询 export function searchShopInbound(data1, data2, data3) { return request({ url: '', @@ -45,3 +56,78 @@ export function searchShopInbound(data1, data2, data3) { } }) } +// 入库单查询 +export function searchInboundCard(data1, data2) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '库存管理_采购入库单_入库单查询', + param: '入库单号_check=' + data1 + '&入库单号=' + data2 + } + }) +} +// 入库单增加 +export function addInboundCard(data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '库存管理_采购入库单_入库单增加', + param: '入库日期=' + data1 + '&仓库流水号=' + data2 + '&合同流水号=' + data3 + '&到货单号=' + data4 + '&业务员=' + data5 + '&业务号=' + data6 + '&到货日期=' + data7 + '&业务类型=' + data8 + '&采购类型=' + data9 + '&入库类别=' + data10 + '&备注=' + data11 + } + }) +} + +// 库存角色查询 +export function searchAffairPeople(data1) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '库存管理_人员查询_库存部门', + param: '角色编号=' + data1 + } + }) +} + +// 入库单明细查询 +export function searchInboundCardDetail(data1) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '库存管理_采购入库单_入库单明细_查询数据', + param: '采购入库单流水号=' + data1 + } + }) +} +// 入库单明细增加 +export function addInboundCardDetail(data1, data2, data3, data4, data5, data6, data7) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '库存管理_采购入库单_批量增加入库单明细', + param: '采购入库单流水号=' + data1 + '&名称组=' + data2 + '&型号组=' + data3 + '&规格组=' + data4 + '&图号组=' + data5 + '&数量组=' + data6 + '&本币单价组=' + data7 + } + }) +} + +// 入库单明细查询 +export function deleteInboundCardDetail(data1) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '库存管理_采购入库单_采购入库单明细删除', + param: '采购入库单明细流水号=' + data1 + } + }) +} diff --git a/src/api/Inventory/OfflinePartOut.js b/src/api/Inventory/OfflinePartOut.js index 16b6745d..0d22e669 100644 --- a/src/api/Inventory/OfflinePartOut.js +++ b/src/api/Inventory/OfflinePartOut.js @@ -47,14 +47,14 @@ export function searchPart() { }) } // 人员查询 需要在部门确定之后修改 -export function searchPeople() { +export function searchPeople(data1) { return request({ url: '', method: 'post', data: { type: '1', - name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', - param: '考核部门编号=' + 18 + name: '库存管理_人员查询_库存部门', + param: '角色编号=' + data1 } }) } diff --git a/src/api/ManufacturingCenter/MachiningSequenceAdjustment.js b/src/api/ManufacturingCenter/MachiningSequenceAdjustment.js index b6543ae1..2cbc42e0 100644 --- a/src/api/ManufacturingCenter/MachiningSequenceAdjustment.js +++ b/src/api/ManufacturingCenter/MachiningSequenceAdjustment.js @@ -1,6 +1,6 @@ import request from '@/utils/request' // 初始化 项目名称 -export function getEntryNameValue() { +export function searchtable() { return request({ url: '', method: 'post', diff --git a/src/api/ManufacturingCenter/PartAssignment.js b/src/api/ManufacturingCenter/PartAssignment.js index 771c20de..7ccc4bf5 100644 --- a/src/api/ManufacturingCenter/PartAssignment.js +++ b/src/api/ManufacturingCenter/PartAssignment.js @@ -211,3 +211,67 @@ export function Production(num, MaterialNum, projectFloatValue, machineFloatValu } }) } +export function PartCallbackInformation() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '采购管理_退回记录_基本件_查询数据' + } + }) +} +export function PartCallbackInformation1() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '采购管理_退回记录_标准件和外购件_查询数据' + } + }) +} +export function submit(num) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '采购管理_退回记录_确认数据', + param: '基本件流水号=' + num + } + }) +} +export function submit1(num) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '采购管理_退回记录_确认数据', + param: '标准件和外购件流水号=' + num + } + }) +} +export function Delete(num) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '采购管理_退回记录_删除数据', + param: '基本件流水号=' + num + } + }) +} +export function Delete1(num) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '采购管理_退回记录_删除数据', + param: '标准件和外购件流水号=' + num + } + }) +} diff --git a/src/api/ManufacturingCenter/ProcessPlanning.js b/src/api/ManufacturingCenter/ProcessPlanning.js index 73f70ed3..dfc15e3d 100644 --- a/src/api/ManufacturingCenter/ProcessPlanning.js +++ b/src/api/ManufacturingCenter/ProcessPlanning.js @@ -8,7 +8,7 @@ export function initCraftmen() { data: { type: '1', name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', - param: '考核部门编号=9' + param: '考核部门编号=17' } }) } @@ -209,8 +209,8 @@ export function gongyiCopy(num1, num2) { method: 'post', data: { type: '1', - name: '车间生产管理工艺_零件工序_工艺拷贝_工艺计划流水号', - param: '工艺计划流水号_完成工艺=' + num1 + '=int&工艺计划流水号_被拷工艺=' + num2 + '=int' + name: '车间采购管理工艺_零件工序_工艺拷贝_工艺流水号', + param: '工艺流水号_完成工艺=' + num1 + '=int&工艺流水号_被拷工艺=' + num2 + '=int' } }) } @@ -233,8 +233,8 @@ export function hardEdit(num, hard) { method: 'post', data: { type: '2', - name: '车间生产管理工艺_零件工序_修改数据_工艺难度等级', - param: '工序流水号=' + num + '=int&工艺难度等级=' + hard + name: '车间采购管理工艺_零件工序_修改数据_工艺难度等级', + param: '外购件工序流水号=' + num + '=int&工艺难度等级=' + hard } }) } @@ -329,8 +329,8 @@ export function selectRequest(num0, num1, num2, num3, request0) { method: 'post', data: { type: '2', - name: '车间生产管理工艺_零件工序_修改数据_根据工序流水号和工艺计划流水号', - param: '工序流水号=' + num0 + '&工艺计划流水号=' + num1 + '&工艺编号=' + num2 + '&工艺顺序=' + num3 + '&工艺要求=' + request0 + name: '车间采购管理工艺_零件工序_修改数据_根据外购件工序流水号和工艺流水号', + param: '外购件工序流水号=' + num0 + '&工艺流水号=' + num1 + '&工艺编号=' + num2 + '&工艺顺序=' + num3 + '&工艺要求=' + request0 } }) } diff --git a/src/api/Outsourcing/OutsourcingPaymentPlanManagement.js b/src/api/Outsourcing/OutsourcingPaymentPlanManagement.js index d400c370..4b1ef682 100644 --- a/src/api/Outsourcing/OutsourcingPaymentPlanManagement.js +++ b/src/api/Outsourcing/OutsourcingPaymentPlanManagement.js @@ -67,9 +67,45 @@ export function getParts(Number, pageCurrent, pageSize) { method: 'post', data: { type: '1', - name: '车间生产管理_外协加工任务单明细_查询数据', + name: '车间生产管理工艺_外协发票管理_查询数据', param: '外协加工任务单流水号=' + Number + '=int', Pagination: pageCurrent + '&' + pageSize } }) } +// 增加 +export function edittype(num1, num2, num3, num4, num5, num6, num7) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间生产管理工艺_外协发票管理_增加数据', + param: '外协加工任务单流水号=' + num1 + '&发票号=' + num2 + '&开户行=' + num3 + '&开票时间=' + num4 + '&开票金额=' + num5 + '&接收人=' + num6 + '&接收时间=' + num7 + } + }) +} +// 编辑 +export function handlechange(CoManufacturerFlowNumber, ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间生产管理工艺_基础表_外协厂家_修改数据', + param: '外协厂家流水号=' + CoManufacturerFlowNumber + '&序号=' + ManufacturerNumber + '&外协厂家名称=' + ManufacturerName + '&外协厂家简称=' + ManufacturerAbbreviation + '&地址=' + address + '&联系人=' + roleName + '&电话=' + phNumber + '&传真=' + Fax + '&备注=' + Remarks + '&类别=' + category + '&关注=' + attention + '&设备情况=' + EquipmentCondition + } + }) +} +// 删除 +export function handledelete(CoManufacturerFlowNumber) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间生产管理工艺_基础表_外协厂家_删除数据', + param: '外协厂家流水号=' + CoManufacturerFlowNumber + '=int' + } + }) +} diff --git a/src/api/PurchasingCenter/PurchaseInvoiceDelivery.js b/src/api/PurchasingCenter/PurchaseInvoiceDelivery.js index 60be8648..563a0ef3 100644 --- a/src/api/PurchasingCenter/PurchaseInvoiceDelivery.js +++ b/src/api/PurchasingCenter/PurchaseInvoiceDelivery.js @@ -60,15 +60,14 @@ export function deleteInvoice(num1) { } }) } -// 传送人初始化 采购科改16 +// 传送人初始化 export function initSender() { return request({ url: '', method: 'post', data: { type: '1', - name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', - param: '考核部门编号=16' + name: '人事档案管理_人员与角色_查询数据_采购员' } }) } diff --git a/src/api/WorkshopProcurement/OutsourcingProcessPlanning.js b/src/api/WorkshopProcurement/OutsourcingProcessPlanning.js new file mode 100644 index 00000000..ab5ae7ec --- /dev/null +++ b/src/api/WorkshopProcurement/OutsourcingProcessPlanning.js @@ -0,0 +1,277 @@ +import request from '@/utils/request' + +// 初始化 工艺员A +export function initCraftmen() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', + param: '考核部门编号=17' + } + }) +} +// 查询 项目 +export function getProject(num) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间采购管理工艺_零件工艺计划_项目查询', + param: '是否制定计划=' + num + } + }) +} +// 查询 机床 +export function getMachine(num, num1) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间采购管理工艺_零件工艺计划_机床查询', + param: '项目流水号=' + num1 + '&是否制定计划=' + num + } + }) +} +// 查询 组号 +export function getGroup(num, num1) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间采购管理工艺_零件工艺计划_组号查询', + param: '机床流水号=' + num1 + '&是否制定计划=' + num + } + }) +} +// 查询 零件号 +export function getPartnames1(num, num1, num2, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间采购管理工艺_零件工艺计划_零件查询', + param: '组件流水号=' + num1 + '&是否制定计划=' + num + '&组件类别=' + num2, + Pagination: pageCurrent + '&' + pageSize + } + }) +} +// 查询 零件工序 +export function getProcedure(num) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间采购管理工艺_零件工序_查询工序信息', + param: '工艺流水号=' + num + } + }) +} +// 初始化工艺名称 +export function processNameClick() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_基础表_工艺分类名称_查询数据' + } + }) +} +// 工艺名称查询 +export function processNameSelect(val) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_基础表_工艺名称_查询数据', + param: '工艺分类流水号_check=1=bit&工艺分类流水号=' + val + '=int' + } + }) +} +// 工艺要求查询 +export function processRequestSelect(val) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理_基础表_工艺要求_查询数据', + param: '工艺编号=' + val + '=int' + } + }) +} +// 初始化公差A +export function initTolerance() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_基础表_公差对照表_查询数据' + } + }) +} +// 公差查询 +export function searchTolerance(val1, val2) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间生产管理工艺_基础表_公差对照表_公差_查询数据', + param: '输入数值=' + val1 + '&参数=' + val2 + } + }) +} +// 工艺定额人员查询 +export function initPerson() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', + param: '考核部门编号=17' + } + }) +} +// 完艺工艺拷贝 +export function gongyiCopy(num1, num2) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间采购管理工艺_零件工序_工艺拷贝_工艺流水号', + param: '工艺流水号_完成工艺=' + num1 + '=int&工艺流水号_被拷工艺=' + num2 + '=int' + } + }) +} +// 主界面主表难度等级修改 +export function hardEdit(num, hard) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_零件工序_修改数据_工艺难度等级', + param: '外购件工序流水号=' + num + '=int&工艺难度等级=' + hard + } + }) +} +// 主界面主表工艺要求修改 +export function requestEdit(num, request0) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_零件工序_修改数据_工艺要求_根据外购件工序流水号', + param: '外购件工序流水号=' + num + '=int&工艺要求=' + request0 + } + }) +} +// 主界面主表插入功能 +export function insertOne(num0, num1) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_零件工序_修改数据_工艺流水号和外购件工序流水号', + param: '工艺流水号=' + num0 + '&外购件工序流水号=' + num1 + } + }) +} +// 主界面主表删除功能 +export function deleteOne(num0, num1) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_零件工序_删除数据_外购件工序流水号', + param: '工艺流水号=' + num0 + '&外购件工序流水号=' + num1 + } + }) +} +// 主界面主表上移功能 +export function upOne(num0, num1) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_零件工序_修改数据_上移工序', + param: '工艺流水号=' + num0 + '&外购件工序流水号=' + num1 + } + }) +} +// 主界面主表下移功能 +export function downOne(num0, num1) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_零件工序_修改数据_下移工序', + param: '工艺流水号=' + num0 + '&外购件工序流水号=' + num1 + } + }) +} +// 核准保存 +export function saveApprove(num0, num1) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_零件工序_增加数据_同时修改工艺计划', + param: '工艺流水号=' + num0 + '&工艺人员编号=' + num1 + } + }) +} +// 选择工艺要求 +export function selectRequest(num0, num1, num2, num3, request0) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_零件工序_修改数据_根据外购件工序流水号和工艺流水号', + param: '外购件工序流水号=' + num0 + '&工艺流水号=' + num1 + '&工艺编号=' + num2 + '&工艺顺序=' + num3 + '&工艺要求=' + request0 + } + }) +} +// 删除 +export function deleteTable(num) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_零件工序_删除零件工艺', + param: '工艺流水号=' + num + } + }) +} +// 零件工艺修改 +export function returnEdit(num) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_工艺调整_修改工艺', + param: '工艺流水号=' + num + } + }) +} diff --git a/src/api/WorkshopProcurement/OutsourcingQuotaSetting.js b/src/api/WorkshopProcurement/OutsourcingQuotaSetting.js new file mode 100644 index 00000000..a4527017 --- /dev/null +++ b/src/api/WorkshopProcurement/OutsourcingQuotaSetting.js @@ -0,0 +1,111 @@ +import request from '@/utils/request' + +// 人员111 +export function getPerson() { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号', + param: '考核部门编号=17' + } + }) +} +// 查询 项目 +export function getProject(num) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间采购管理工艺_零件定额计划_项目查询', + param: '是否制定定额=' + num + } + }) +} +// 查询 机床 +export function getMachine(num, num1) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间采购管理工艺_零件定额计划_机床查询', + param: '项目流水号=' + num1 + '&是否制定定额=' + num + } + }) +} +// 查询 组号 +export function getGroup(num, num1) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间采购管理工艺_零件定额计划_组号查询', + param: '机床流水号=' + num1 + '&是否制定定额=' + num + } + }) +} +// 查询 零件号 +export function getPartnames1(num, num1, num2, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间采购管理工艺_零件定额计划_零件查询', + param: '组件流水号=' + num1 + '&是否制定定额=' + num + '&组件类别=' + num2, + Pagination: pageCurrent + '&' + pageSize + } + }) +} +// 查询 零件工序 +export function getProcedure(num) { + return request({ + url: '', + method: 'post', + data: { + type: '1', + name: '车间采购管理工艺_零件工序_查询工序信息', + param: '工艺流水号=' + num + } + }) +} +// 定额状态修改 +export function returnEdit(num) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_工艺调整_修改定额', + param: '工艺流水号=' + num + } + }) +} +// 零件定额修改 +export function update(num, num1, num2) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_零件定额计划_修改定额', + param: '外购件工序流水号=' + num + '&单件定额工时=' + num1 + '&准结定额工时=' + num2 + } + }) +} +// 保存 +export function saveApprove(num0, num1) { + return request({ + url: '', + method: 'post', + data: { + type: '2', + name: '车间采购管理工艺_零件工序_修改定额计划', + param: '工艺流水号=' + num0 + '&定额人员编号=' + num1 + } + }) +} diff --git a/src/views/Inventory/DirectPart/index.vue b/src/views/Inventory/DirectPart/index.vue index efda0f78..fc4a7f6d 100644 --- a/src/views/Inventory/DirectPart/index.vue +++ b/src/views/Inventory/DirectPart/index.vue @@ -250,7 +250,8 @@ export default { }, computed: { ...mapGetters([ - 'id' + 'id', + 'token' ]) }, created() { @@ -292,7 +293,7 @@ export default { }, searchPeopleData() { // 查询人员 this.People = [] - searchPeople().then(response => { + searchPeople(this.token).then(response => { for (let i = 0; i < response.data.length; i++) { this.People.push({ label: response.data[i].姓名, diff --git a/src/views/Inventory/InboundCard/index.vue b/src/views/Inventory/InboundCard/index.vue index 067f423c..8551d4ab 100644 --- a/src/views/Inventory/InboundCard/index.vue +++ b/src/views/Inventory/InboundCard/index.vue @@ -37,7 +37,9 @@ size="mini" border style="width: 100%;" - height="400"> + height="400" + @selection-change="handleSelectionChange"> + - + + + + + + + - + + + + + + + + + 采购合同编号: + + + + 入库日期 + + 仓库: + + + + 查询 + + + + + + + + + + + + + + + + + + + + + + + + - - - - 配置管理 + + 入库单编号 + + 查询 + 创建 + 选入 + 导出 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/ManufacturingCenter/PartAssignment/index.vue b/src/views/ManufacturingCenter/PartAssignment/index.vue index fff04203..edeb0472 100644 --- a/src/views/ManufacturingCenter/PartAssignment/index.vue +++ b/src/views/ManufacturingCenter/PartAssignment/index.vue @@ -27,6 +27,12 @@ :value="item.value"/> 查询 + + 外购件和标准件打回信息 + + + 基本件打回信息 + @@ -386,11 +392,147 @@ 确定 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +