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