运行记录日期
This commit is contained in:
@@ -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计算
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user