|
|
@ -482,7 +482,7 @@ export default {
|
|
|
|
page_size: this.history_page_size
|
|
|
|
page_size: this.history_page_size
|
|
|
|
}
|
|
|
|
}
|
|
|
|
get_durg_record(stringify(data)).then(res => {
|
|
|
|
get_durg_record(stringify(data)).then(res => {
|
|
|
|
this.historyData = res.data.data
|
|
|
|
this.historyData = res.data.data_list
|
|
|
|
this.history_total = res.data.total_count
|
|
|
|
this.history_total = res.data.total_count
|
|
|
|
}).finally(() => { this.loadingHistory = false })
|
|
|
|
}).finally(() => { this.loadingHistory = false })
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -618,8 +618,8 @@ export default {
|
|
|
|
data.is_weigh = data.is_weigh ? 1 : 0
|
|
|
|
data.is_weigh = data.is_weigh ? 1 : 0
|
|
|
|
update(stringify(data)).then(res => {
|
|
|
|
update(stringify(data)).then(res => {
|
|
|
|
this.$message.success(res.msg)
|
|
|
|
this.$message.success(res.msg)
|
|
|
|
|
|
|
|
this.getList()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.getList()
|
|
|
|
|
|
|
|
this.onClose()
|
|
|
|
this.onClose()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|