diff --git a/src/views/mes/monthProductionSut/index.vue b/src/views/mes/monthProductionSut/index.vue index c853e32..fdfc1de 100644 --- a/src/views/mes/monthProductionSut/index.vue +++ b/src/views/mes/monthProductionSut/index.vue @@ -1,5 +1,5 @@ + + diff --git a/src/views/mes/unitpriceReport/index.vue b/src/views/mes/unitpriceReport/index.vue index 0fa0322..b025e1c 100644 --- a/src/views/mes/unitpriceReport/index.vue +++ b/src/views/mes/unitpriceReport/index.vue @@ -42,7 +42,25 @@ @keyup.enter.native="handleQuery" /> - + + + + + + 搜索 重置 @@ -77,40 +95,43 @@ + + - - - - - - - + + + + + - + - - - - + + + + + + + + + + + + + @@ -217,6 +238,8 @@ export default { // 是否显示弹出层 open: false, value: '', + // 日期范围 + dateRange: [], // 查询参数 queryParams: { pageNum: 1, @@ -262,7 +285,7 @@ export default { /** 查询unitPrice列表 */ getList() { this.loading = true; - listUnitPriceReport(this.queryParams).then(response => { + listUnitPriceReport(this.addDateRange(this.queryParams, this.dateRange)).then(response => { this.unitPriceList = response.rows; this.total = response.total; this.loading = false; @@ -328,11 +351,6 @@ export default { getReport(picId).then(response => { this.form = response.data.MesUnitpriceReport; this.open = true; - if (response.data.attr2 === null || response.data.attr2 === undefined) { - this.form.attr2 = row.result; - } else { - this.form.attr2 = response.data.attr2; - } this.MesUnitPriceInfo=response.data.MesUnitPriceInfo; }); },