From f1aa60fbf69eeb0f66a21b0fcc5fc62bd01b8282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Mon, 23 Dec 2024 14:34:14 +0800 Subject: [PATCH] debug --- jsconfig.json | 10 +++ src/api/yh/price.js | 4 +- src/components/Business/Price/PriceDialog.vue | 1 + .../yh/price/components/VerifyPriceDialog.vue | 2 +- src/views/yh/price/index.vue | 61 ++++++++++++++++++- 5 files changed, 73 insertions(+), 5 deletions(-) create mode 100644 jsconfig.json diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..af62672 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": "./", + "paths": { + "@/*": ["src/*"] + } + }, + "include": ["src/**/*"], + "exclude": ["node_modules"] +} \ No newline at end of file diff --git a/src/api/yh/price.js b/src/api/yh/price.js index 086e223..5706d3b 100644 --- a/src/api/yh/price.js +++ b/src/api/yh/price.js @@ -72,12 +72,12 @@ export function cancelPrice(priceId) { } // 审核单价 -export function verifyPrice(priceId, pass) { +export function verifyPrice(priceIds, pass) { return request({ url: `/yh/price/verify`, method: 'put', data: { - priceId, + priceIds, pass } }) diff --git a/src/components/Business/Price/PriceDialog.vue b/src/components/Business/Price/PriceDialog.vue index a94a066..f243e5c 100644 --- a/src/components/Business/Price/PriceDialog.vue +++ b/src/components/Business/Price/PriceDialog.vue @@ -8,6 +8,7 @@ ref="check" :multiple="multiple" :init-select="initSelect" + :query="query" v-on="$listeners" />