From 21010d5403bebe209d5d2562cc83141125d1b01f Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Tue, 11 Feb 2020 16:49:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E4=BB=98=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OutsourcingPaymentPlanManagement.js | 14 +- .../index.vue | 170 +++++++++++++----- .../Outsourcing/PreorderAssociation/index.vue | 6 +- 3 files changed, 142 insertions(+), 48 deletions(-) diff --git a/src/api/Outsourcing/OutsourcingPaymentPlanManagement.js b/src/api/Outsourcing/OutsourcingPaymentPlanManagement.js index 985b0483..adef6ade 100644 --- a/src/api/Outsourcing/OutsourcingPaymentPlanManagement.js +++ b/src/api/Outsourcing/OutsourcingPaymentPlanManagement.js @@ -4,7 +4,6 @@ import router from '@/router' // 查询表格数据 export function searchtable(check1, ManufacturerAbbreviation, check2, starttime, endTime, pageCurrent, pageSize) { - console.log(router.currentRoute.path) return request({ url: '', method: 'post', @@ -60,6 +59,19 @@ export function AddType1(num1, num2, num3, num4) { } }) } +export function AddType2(num1, num2, num3) { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '2', + name: '车间生产管理工艺_外协付款_新增付款', + param: '外协厂家流水号=' + num1 + '&付款金额=' + num2 + '&付款日期=' + num3 + } + }) +} // 编辑 export function handlechange(num, num2, num3, num4, num5, num6, num7, num8) { return request({ diff --git a/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue b/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue index d4115478..350a671f 100644 --- a/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue +++ b/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue @@ -23,12 +23,12 @@ {{ scope.row.开票金额 }} - + - + @@ -52,21 +52,21 @@ 新增 - + - - - - + + + +
新增 - + - + @@ -142,16 +142,44 @@ 确定
+ + + + + + + + + + + + + + + +