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/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue b/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue index 37bde6f0..6f48a088 100644 --- a/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue +++ b/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue @@ -200,36 +200,41 @@ - + - + - + - + - + - + + + + @@ -267,14 +272,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +