From 8e87fc4a9cd9e05d5ea2090febd7e2806952f43d Mon Sep 17 00:00:00 2001 From: caoxinyu Date: Sat, 15 Dec 2018 20:15:23 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DeliveryManagement/index.vue | 5 ++--- .../MarketingCenter/InvoiceRecord/index.vue | 8 ++++--- .../MarketingCenter/PerformanceBond/index.vue | 22 ++++++++++++++++--- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/src/views/MarketingCenter/DeliveryManagement/index.vue b/src/views/MarketingCenter/DeliveryManagement/index.vue index 683105d1..755ff14d 100644 --- a/src/views/MarketingCenter/DeliveryManagement/index.vue +++ b/src/views/MarketingCenter/DeliveryManagement/index.vue @@ -104,14 +104,13 @@ :file-list="fileList" :before-upload="beforeUpload" :on-success="onSuccess" - :action="'http://192.168.1.122:8410/submit/upload2.ashx?InvoiceNum='+ invoiceNum" + :action="'http://localhost:8411/submit/upload2.ashx?InvoiceNum='+ invoiceNum" list-type="picture-card"> - @@ -1093,7 +1092,7 @@ export default { return { _id: item.附件号, name: item.文件标识, - url: 'http://192.168.1.122:8410/webpage/img/' + item.文件标识 + url: 'http://localhost:8411/webpage/img/' + item.文件标识 } }) }, diff --git a/src/views/MarketingCenter/InvoiceRecord/index.vue b/src/views/MarketingCenter/InvoiceRecord/index.vue index f0b6a296..c3d4b0eb 100644 --- a/src/views/MarketingCenter/InvoiceRecord/index.vue +++ b/src/views/MarketingCenter/InvoiceRecord/index.vue @@ -94,7 +94,7 @@ size="mini" type="primary" icon="el-icon-circle-plus-outline" - @click.stop="openAddInvoiceRecordingDialog(); flag = 1">增加记录 + @click.stop="openAddInvoiceRecordingDialog(scope.row); flag = 1">增加记录 @@ -391,6 +391,7 @@ export default { }, created() { this.init() + this.fetchTableData1() }, methods: { // 初始化条件 @@ -466,7 +467,7 @@ export default { sums[index] = this.taxRate * 100 + '% (税率)' return } else if (index === 9) { - sums[index] = parseFloat(sums[7]) * this.taxRate + ' 元(税额)' + sums[index] = (parseInt(sums[7]) * 100 * this.taxRate) / 100 + ' 元(税额)' return } else if (index === 10) { sums[index] = parseFloat(sums[7]) - parseFloat(sums[9]) + ' 元(未税)' @@ -522,7 +523,8 @@ export default { this.peopleid = '' }, // 打开增加开票记录对话框 - openAddInvoiceRecordingDialog() { + openAddInvoiceRecordingDialog(row) { + this.projectid = row.项目流水号 this.addForm('form') this.title = '增加' this.dialogFormVisible1 = true diff --git a/src/views/MarketingCenter/PerformanceBond/index.vue b/src/views/MarketingCenter/PerformanceBond/index.vue index c751dfe1..78019360 100644 --- a/src/views/MarketingCenter/PerformanceBond/index.vue +++ b/src/views/MarketingCenter/PerformanceBond/index.vue @@ -90,7 +90,7 @@ size="mini" type="primary" icon="el-icon-circle-plus-outline" - @click.stop="openPerformanceBondDialog(); flag = 1">履约保证金 + @click.stop="openPerformanceBondDialog(scope.row); flag = 1">履约保证金 - 履约保函 +
+ + + + + + + + + + + + + +
@@ -329,6 +343,7 @@ export default { }, created() { this.init() + this.fetchTableData1() }, methods: { // 初始化条件 @@ -444,10 +459,11 @@ export default { } }) }, - openPerformanceBondDialog() { + openPerformanceBondDialog(row) { this.addForm('form2') this.title1 = '增加履约保证金' this.dialogFormVisible1 = true + this.projectId = row.项目流水号 this.tableData2 = [] }, callOffPerformanceBondDialog() { From f4500e046d6b9429aece8e4d7670e1e4da31b81c Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Mon, 17 Dec 2018 08:44:02 +0800 Subject: [PATCH 02/10] =?UTF-8?q?=E5=88=9D=E6=AC=A1=E6=8A=95=E4=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ManufacturingCenter/InitialProduction/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/ManufacturingCenter/InitialProduction/index.vue b/src/views/ManufacturingCenter/InitialProduction/index.vue index d0fa55ee..c8c94e65 100644 --- a/src/views/ManufacturingCenter/InitialProduction/index.vue +++ b/src/views/ManufacturingCenter/InitialProduction/index.vue @@ -86,7 +86,7 @@ - + From 64f4350ba67cf8383d3ed876b694853574e2f1a1 Mon Sep 17 00:00:00 2001 From: chenjianan Date: Mon, 17 Dec 2018 10:33:38 +0800 Subject: [PATCH 03/10] =?UTF-8?q?=E9=87=87=E8=B4=AD=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E5=88=86=E9=85=8D=E7=94=9F=E4=BA=A7=E5=88=86=E9=85=8D=E6=97=B6?= =?UTF-8?q?=E9=97=B4=EF=BC=8C=E6=89=93=E5=9B=9E=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PurchasingCenter/PurchaseTaskAllocate/index.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue index 1b01d4ad..f560d976 100644 --- a/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue +++ b/src/views/PurchasingCenter/PurchaseTaskAllocate/index.vue @@ -142,6 +142,11 @@ {{ scope.row.物料计划到货时间.split(' ')[0] }} + + + + + +