From fb39fc524055c5525da3097be30d6bcdecadd30d Mon Sep 17 00:00:00 2001 From: tczjx58520 <2283600185@qq.com> Date: Tue, 21 Apr 2020 15:41:31 +0800 Subject: [PATCH] =?UTF-8?q?4.21=20=E4=BF=AE=E6=94=B9=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E9=97=AE=E9=A2=98=E8=8B=A5=E5=B9=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/Stockenter.js | 3 + src/lang/en.js | 1 + src/lang/zh.js | 1 + src/views/CheckReport/AddCheckReport.vue | 5 +- src/views/CheckReport/CheckReportList.vue | 5 + src/views/CostInvoice/AddCostInvoice.vue | 42 +- src/views/CostInvoice/components/MyDialog.vue | 42 +- src/views/StockInvoice/AddRedStockInvoice.vue | 5 +- src/views/StockInvoice/AddStockInvoice.vue | 2 +- src/views/StockInvoice/StockInvoiceList.vue | 3 +- .../StockInvoice/components/MyDialog.vue | 72 ++- src/views/StockInvoice/components/MyEnter.vue | 170 ++++-- .../StockInvoice/components/MyInvoice.vue | 484 ++++++++++++++++++ 13 files changed, 763 insertions(+), 72 deletions(-) create mode 100644 src/views/StockInvoice/components/MyInvoice.vue diff --git a/src/api/Stockenter.js b/src/api/Stockenter.js index 4aeceea5..5579985d 100644 --- a/src/api/Stockenter.js +++ b/src/api/Stockenter.js @@ -58,6 +58,9 @@ export function stockenterlist(query) { if (query.supplierId !== '' && query.supplierId !== null && query.supplierId !== undefined) { params.append('supplierId', query.supplierId) // 你要传给后台的参数值 key/value } + if (query.isActive !== '' && query.isActive !== null && query.isActive !== undefined) { + params.append('isActive', query.isActive) // 你要传给后台的参数值 key/value + } params.append('pageNum', query.pagenum) // 你要传给后台的参数值 key/value params.append('pageSize', query.pagesize) // 你要传给后台的参数值 key/value return request({ diff --git a/src/lang/en.js b/src/lang/en.js index f2ad5272..ea555de2 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -1969,6 +1969,7 @@ export default { workCenterId: 'production center' }, CheckReport: { + color: 'color', checkItemId: 'inspection items', checkContent: 'inspection standards', checkTools: 'inspection tools', diff --git a/src/lang/zh.js b/src/lang/zh.js index 9836a855..a0a922e6 100644 --- a/src/lang/zh.js +++ b/src/lang/zh.js @@ -1975,6 +1975,7 @@ export default { workCenterId: '生产中心' }, CheckReport: { + color: '颜色', checkItemId: '检验项目', checkContent: '检验指标', checkTools: '检验工具', diff --git a/src/views/CheckReport/AddCheckReport.vue b/src/views/CheckReport/AddCheckReport.vue index 078fb6de..514e25e8 100644 --- a/src/views/CheckReport/AddCheckReport.vue +++ b/src/views/CheckReport/AddCheckReport.vue @@ -1126,14 +1126,15 @@ export default { checkMode: '1', checkType: '1', checkDate: null, - checkResult: '1' + checkResult: '1', + checkPersonId: this.$store.getters.userId } this.judgequilty = null this.inspectionPersonId = this.$store.getters.name this.supplierId = null this.workCenterId = null this.produceManagerId = null - this.checkPersonId = null + this.checkPersonId = this.$store.getters.name this.getdatatime() }, // 保存操作 diff --git a/src/views/CheckReport/CheckReportList.vue b/src/views/CheckReport/CheckReportList.vue index ddcf1e33..e13485e8 100644 --- a/src/views/CheckReport/CheckReportList.vue +++ b/src/views/CheckReport/CheckReportList.vue @@ -103,6 +103,11 @@ {{ scope.row.productName }} + + +