From 210822fcf3bfd6084afeed3710c522018b270cd5 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 24 Apr 2025 09:16:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yxt-as-ui/src/api/storage/oldPartsInvertory.js | 5 +++-- .../src/views/purchase/purchasereturn/purchasereturn.vue | 2 +- .../oldpPartStocktakingLossEdit.vue | 1 - .../oldpPartStocktakingSurplusEdit.vue | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/yxt-as-ui/src/api/storage/oldPartsInvertory.js b/yxt-as-ui/src/api/storage/oldPartsInvertory.js index d422268adb..8b1c0e2c80 100644 --- a/yxt-as-ui/src/api/storage/oldPartsInvertory.js +++ b/yxt-as-ui/src/api/storage/oldPartsInvertory.js @@ -15,8 +15,9 @@ export default { // 获取旧件出入库记录详情 init: function(data) { return request({ - url: '/wms/apiadmin/WmsOldInventory/getDetailsList?sid=' + data, - method: 'get' + url: '/wms/apiadmin/WmsOldInventory/getDetailsList', + method: 'get', + params: data }) }, deleteBySids: function(data) { diff --git a/yxt-as-ui/src/views/purchase/purchasereturn/purchasereturn.vue b/yxt-as-ui/src/views/purchase/purchasereturn/purchasereturn.vue index 704ffac16e..6b7b992337 100644 --- a/yxt-as-ui/src/views/purchase/purchasereturn/purchasereturn.vue +++ b/yxt-as-ui/src/views/purchase/purchasereturn/purchasereturn.vue @@ -284,7 +284,7 @@ export default { userSid: '' } } - this.init() + this.getList() }, toAdd() { this.viewState = 2 diff --git a/yxt-as-ui/src/views/workFlow/oldpPartStocktakingLossFlow/oldpPartStocktakingLossEdit.vue b/yxt-as-ui/src/views/workFlow/oldpPartStocktakingLossFlow/oldpPartStocktakingLossEdit.vue index 50d820fb98..cc5b9012c5 100644 --- a/yxt-as-ui/src/views/workFlow/oldpPartStocktakingLossFlow/oldpPartStocktakingLossEdit.vue +++ b/yxt-as-ui/src/views/workFlow/oldpPartStocktakingLossFlow/oldpPartStocktakingLossEdit.vue @@ -263,7 +263,6 @@ showAdd() { this.title = "【新增】" - this.init() this.$nextTick(() => { this.$refs['form_obj'].clearValidate() }) diff --git a/yxt-as-ui/src/views/workFlow/oldpPartStocktakingSurplusFlow/oldpPartStocktakingSurplusEdit.vue b/yxt-as-ui/src/views/workFlow/oldpPartStocktakingSurplusFlow/oldpPartStocktakingSurplusEdit.vue index 023dda1abc..35c27969da 100644 --- a/yxt-as-ui/src/views/workFlow/oldpPartStocktakingSurplusFlow/oldpPartStocktakingSurplusEdit.vue +++ b/yxt-as-ui/src/views/workFlow/oldpPartStocktakingSurplusFlow/oldpPartStocktakingSurplusEdit.vue @@ -296,7 +296,6 @@ }, showAdd() { this.title = "【新增】" - this.init() this.$nextTick(() => { this.$refs['form_obj'].clearValidate() })