Commit 9e0cd698 by lichengming

修改了库房样品管理

parent f53e6898
...@@ -262,5 +262,7 @@ export default { ...@@ -262,5 +262,7 @@ export default {
pageStorehouseSample: data => pageStorehouseSample: data =>
http http
.post('soil/v1/alone_sample/page_storehouse_sample', data) .post('soil/v1/alone_sample/page_storehouse_sample', data)
.then(res => res) .then(res => res),
aloneSampleDelete: data =>
http.delete('soil/v1/alone_sample/?ids=' + data).then(res => res)
} }
...@@ -297,7 +297,7 @@ export default { ...@@ -297,7 +297,7 @@ export default {
}) })
}, },
_delOk: async function(ids) { _delOk: async function(ids) {
const result = await soilSample.aloneWarehouseLocationDelete(ids) const result = await soilSample.aloneSampleDelete(ids)
if (result) { if (result) {
this._page() this._page()
this.$Modal.remove() this.$Modal.remove()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment