Commit 31e5f66b by 李伟康

commit 修复批次显示问题

1 parent 4b3805dd
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</div> </div>
<div class="info-item flex"> <div class="info-item flex">
<label>接待批次/批:</label> <label>接待批次/批:</label>
<span>{{ queryData.batchNum }}</span> <span>{{ batchNum }}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -225,7 +225,8 @@ export default { ...@@ -225,7 +225,8 @@ export default {
confLabel: '未知' confLabel: '未知'
} }
] ]
} },
batchNum: null
} }
}, },
components: { components: {
...@@ -234,6 +235,14 @@ export default { ...@@ -234,6 +235,14 @@ export default {
mounted () { mounted () {
this.setQuery() this.setQuery()
this.getOptionsList() this.getOptionsList()
let timer = setInterval(() => {
if (timer && this.batchNum != null) {
clearInterval(timer)
timer = null
return
}
this.batchNum = deepClone(this.$refs.recepDetail.total)
}, 1e3)
}, },
methods: { methods: {
setQuery () { setQuery () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!