Commit 524eff5e by lichengming

修改了收样室收样领样

parent 8c3d3bbc
<template> <template>
<div> <div>
<Modal v-model="showModal" v-drag width="1200"> <Modal v-model="showModal" @on-visible-change="_visibleChange" v-drag width="1200">
<p slot="header"> <p slot="header">
{{ modalTitle }} {{ modalTitle }}
</p> </p>
...@@ -615,6 +615,9 @@ export default { ...@@ -615,6 +615,9 @@ export default {
_operationRecord(id) { _operationRecord(id) {
// 操作日志 // 操作日志
this.$refs.recordModal._open(id) this.$refs.recordModal._open(id)
},
_visibleChange(data) {
this.$emit('on-result-change')
} }
} }
} }
......
...@@ -276,7 +276,7 @@ export default { ...@@ -276,7 +276,7 @@ export default {
} }
}, },
_confirmTake: async function(ids) { _confirmTake: async function(ids) {
const result = await soilSample.takeSample(ids) const result = await soilSample.takeSample({ ids: ids })
if (result) { if (result) {
this._resultChange('领样成功') this._resultChange('领样成功')
} }
......
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