diff --git a/src/api/supermarketerp/stockTaking.ts b/src/api/supermarketerp/stockTaking.ts new file mode 100644 index 0000000..8778f22 --- /dev/null +++ b/src/api/supermarketerp/stockTaking.ts @@ -0,0 +1,27 @@ +import request from "/@/utils/request" + +// 获取库存盘点列表 +export function getStockTakingPage(params?: object) { + return request({ + url: "/supermarket/smErpInventoryRecords/savePD", + method: "get", + params, + }) +} + +// 库存盘点新增 +export function stockTakingAdd(data?: object) { + return request({ + url: "/supermarket/smErpInventoryRecords/savePD", + method: "post", + data, + }) +} + +// 查看库存盘点详情 +export function getStockTakingDeatil(params: { id: string }) { + return request({ + url: `/supermarket/smErpInventoryRecords/getPD/${params.id}`, + method: "get", + }) +} diff --git a/src/views/supermarketerp/stockTaking/form.vue b/src/views/supermarketerp/stockTaking/form.vue index 45fdbf2..09f0499 100644 --- a/src/views/supermarketerp/stockTaking/form.vue +++ b/src/views/supermarketerp/stockTaking/form.vue @@ -73,6 +73,7 @@ " @checkbox-all="selectChangeEvent" @checkbox-change="selectChangeEvent" + @edit-change="handleEditChange" size="mini" align="center" > @@ -92,7 +93,7 @@ @@ -117,16 +118,12 @@ @@ -144,7 +141,7 @@ - + @@ -152,7 +149,10 @@ @@ -189,11 +189,12 @@