运行记录日期

This commit is contained in:
2022-07-20 18:39:03 +08:00
parent bad9fc88e3
commit 1097cb568d
2 changed files with 4 additions and 3 deletions

View File

@@ -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计算

View File

@@ -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