From 1097cb568d12d28b443f48f20d3b5ec8b1ceed88 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Wed, 20 Jul 2022 18:39:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=A1=8C=E8=AE=B0=E5=BD=95=E6=97=A5?= =?UTF-8?q?=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData1.js | 5 +++-- src/pages/xinrui/equipment/RunLogFill.vue | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/config/getData1.js b/src/config/getData1.js index c67a5e4..6faee7f 100644 --- a/src/config/getData1.js +++ b/src/config/getData1.js @@ -319,8 +319,9 @@ export const confirmReturn = (rows) => post('api/pda/sb/confirmReturn', { }) // 1.6运行记录查询 -export const queryRunRecord = (code) => post('api/pda/sb/queryRunRecord', { - device_code: code +export const queryRunRecord = (code, date) => post('api/pda/sb/queryRunRecord', { + device_code: code, + run_date: date }) // 1.7计算 diff --git a/src/pages/xinrui/equipment/RunLogFill.vue b/src/pages/xinrui/equipment/RunLogFill.vue index 3dc7c5c..5f014b1 100644 --- a/src/pages/xinrui/equipment/RunLogFill.vue +++ b/src/pages/xinrui/equipment/RunLogFill.vue @@ -123,7 +123,7 @@ export default { } }, async _queryRunRecord () { - let res = await queryRunRecord(this.val1) + let res = await queryRunRecord(this.val1, this.date) if (res.code === '1') { this.robj = res.content this.date = this.robj.run_date