diff --git a/src/api/supermarketerp/stockTaking.ts b/src/api/supermarketerp/stockTaking.ts index b208261..d1830f4 100644 --- a/src/api/supermarketerp/stockTaking.ts +++ b/src/api/supermarketerp/stockTaking.ts @@ -12,8 +12,8 @@ export function addObj(data?: object) { // 库存盘点修改 export function putObj(data?: object) { return request({ - url: "/supermarket/smErpInventoryRecords/savePD", - method: "post", + url: "/supermarket/smErpInventoryRecords/updatePD", + method: "put", data, }) } diff --git a/src/views/supermarketerp/stockTaking/form.vue b/src/views/supermarketerp/stockTaking/form.vue index 80d7197..6233f15 100644 --- a/src/views/supermarketerp/stockTaking/form.vue +++ b/src/views/supermarketerp/stockTaking/form.vue @@ -95,7 +95,9 @@ @@ -144,17 +146,17 @@ {{ computeLoss(row) }} - + - +