From eaecfe4730d1c785e8579bf56a59248a9e6784cf Mon Sep 17 00:00:00 2001 From: weiwei Date: Mon, 11 Aug 2025 10:32:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E7=9B=98=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/supermarketerp/stockTaking.ts | 4 +-- src/views/supermarketerp/stockTaking/form.vue | 35 +++++++++++-------- 2 files changed, 23 insertions(+), 16 deletions(-) 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) }} - + - +