领用列表数据获取

duizhaopin_ui
tangxuan 2 years ago
parent 191258a2d6
commit cc7a55904d

@ -237,6 +237,7 @@ export default {
use(stringify({ 'bar_code': this.barCode,notes: value})).then(res => { use(stringify({ 'bar_code': this.barCode,notes: value})).then(res => {
this.tableData.push(res.data) this.tableData.push(res.data)
this.$message.success(res.data.name + ' 试剂领用成功, 请称重!') this.$message.success(res.data.name + ' 试剂领用成功, 请称重!')
this.getList()
}) })
} }
}) })
@ -303,9 +304,10 @@ export default {
}, },
pageChange(page) { pageChange(page) {
this.page = page this.page = page
if (this.$route.name != 'standardReceiving') {
this.getList() this.getList()
} // if (this.$route.name != 'standardReceiving') {
// this.getList()
// }
}, },
getDrugInfo(code) { getDrugInfo(code) {
get_drug_info(stringify({ 'bar_code': code })).then(res => { get_drug_info(stringify({ 'bar_code': code })).then(res => {

Loading…
Cancel
Save