Commit 67291d18 by 王志慧

commit

1 parent 5393d98c
...@@ -23,6 +23,9 @@ ...@@ -23,6 +23,9 @@
<GLTable ref="purchaseOrderDetailTable" :tableParams="tableParams" @refreshTable="refreshTable" :tableData="detailInfo.tableData" :pageConf="pageConf" :tableTotal="detailInfo.tableTotal"></GLTable> <GLTable ref="purchaseOrderDetailTable" :tableParams="tableParams" @refreshTable="refreshTable" :tableData="detailInfo.tableData" :pageConf="pageConf" :tableTotal="detailInfo.tableTotal"></GLTable>
</div> </div>
</div> </div>
<span slot="footer" class="dialog-footer">
<el-button type="primary" size="small" @click="dialogShow = false">关闭</el-button>
</span>
</GLDialog> </GLDialog>
</template> </template>
...@@ -44,7 +47,7 @@ export default { ...@@ -44,7 +47,7 @@ export default {
dialogShow: { dialogShow: {
get() { get() {
if (this.visible) { if (this.visible) {
this.getDetail({ currentPage: 1, pageSize: 20 }) this.getDetail({ currentPage: 1, pageSize: 20 })
} }
return this.visible return this.visible
}, },
...@@ -97,7 +100,7 @@ export default { ...@@ -97,7 +100,7 @@ export default {
this.dialogShow = false this.dialogShow = false
}, },
refreshTable(pageObj) { refreshTable(pageObj) {
this.getDetail(pageObj) this.getDetail(pageObj)
}, },
getDetail(pageObj) { getDetail(pageObj) {
this.$apis.purchaseShopping.purchaseOrderDetail({ orderCode: this.paramsObj.orderCode, pageSize: pageObj.pageSize, currentPage: pageObj.currentPage }).then(res => { this.$apis.purchaseShopping.purchaseOrderDetail({ orderCode: this.paramsObj.orderCode, pageSize: pageObj.pageSize, currentPage: pageObj.currentPage }).then(res => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!