diff --git a/src/views/invoicing/components/operatingDetail.vue b/src/views/invoicing/components/operatingDetail.vue index d643e4e..86dbc1b 100644 --- a/src/views/invoicing/components/operatingDetail.vue +++ b/src/views/invoicing/components/operatingDetail.vue @@ -13,6 +13,13 @@ - {{ scope.row.number }} {{ scope.row.unitName }} + + +
@@ -43,6 +50,10 @@ export default { } }, methods: { + //返回现有库存数量 + returnNowHasNumbr(row){ + return row.stockNumber*1 + row.number*1 +row.unitName + }, show(id) { this.dialogVisible = true this.getTableData(id) diff --git a/src/views/invoicing/goods_stoks.vue b/src/views/invoicing/goods_stoks.vue index 2aca331..0196801 100644 --- a/src/views/invoicing/goods_stoks.vue +++ b/src/views/invoicing/goods_stoks.vue @@ -96,7 +96,7 @@
-
@@ -297,6 +297,11 @@ export default { console.log(error); } }, + // 每页条数改变是回调 + paginationSizeChange(e){ + console.log(e); + this.tableData.size = e + }, // 分页回调 paginationChange(e) { this.tableData.page = e - 1