|
@@ -35,12 +35,12 @@
|
|
|
</a-alert>
|
|
|
<s-table
|
|
|
class="sTable"
|
|
|
- ref="table"
|
|
|
+ ref="tableDetail"
|
|
|
size="small"
|
|
|
- :rowKey="(record) => record.stockPutSn"
|
|
|
+ :rowKey="(record) => record.id"
|
|
|
:columns="columns"
|
|
|
:data="loadData"
|
|
|
- :defaultLoadData="false"
|
|
|
+ :defaultLoadData="true"
|
|
|
bordered>
|
|
|
</s-table>
|
|
|
<div class="btn-cont"><a-button id="confirmationDetail-modal-back" @click="isShow = false">返回列表</a-button></div>
|
|
@@ -136,7 +136,7 @@ export default {
|
|
|
isShow (newValue, oldValue) {
|
|
|
if (!newValue) {
|
|
|
this.$emit('close')
|
|
|
- this.$refs.table.clearTable()
|
|
|
+ this.$refs.tableDetail.clearTable()
|
|
|
} else {
|
|
|
this.getStatisticsData()
|
|
|
this.getBasicsInfo()
|
|
@@ -146,7 +146,7 @@ export default {
|
|
|
if (this.isShow && newValue) {
|
|
|
const _this = this
|
|
|
setTimeout(() => {
|
|
|
- _this.$refs.table.refresh(true)
|
|
|
+ _this.$refs.tableDetail.refresh(true)
|
|
|
}, 200)
|
|
|
}
|
|
|
}
|