Commit a2df247f by lichengming

修改了留存位置调出

parent 62113f8c
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
prepareCheckBack: data => prepareCheckBack: data =>
http.post('soil/v1/sample/prepare_check_back', data).then(res => res), http.post('soil/v1/sample/prepare_check_back', data).then(res => res),
sampleBringOut: data => sampleBringOut: data =>
http.post('soil/v1/sample/sample_bring_out?ids=' + data).then(res => res), http.post('soil/v1/sample/sample_bring_out', data).then(res => res),
boxPage: data => http.post('soil/v1/box/page', data).then(res => res), boxPage: data => http.post('soil/v1/box/page', data).then(res => res),
addBox: data => http.post('soil/v1/box/', data).then(res => res), addBox: data => http.post('soil/v1/box/', data).then(res => res),
deleteBox: data => http.delete('soil/v1/box/?ids=' + data).then(res => res), deleteBox: data => http.delete('soil/v1/box/?ids=' + data).then(res => res),
......
...@@ -251,7 +251,9 @@ export default { ...@@ -251,7 +251,9 @@ export default {
}, },
_calloutOk() { _calloutOk() {
console.log(this.selectIds) console.log(this.selectIds)
const result = soilSample.sampleBringOut(this.selectIds) const result = soilSample.sampleBringOut({
ids: this.selectIds.join(',')
})
if (result) { if (result) {
this.$Message.success('调出成功') this.$Message.success('调出成功')
this._page() this._page()
......
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