From 369faf6b92e7724cd534f46b5db58f24c0419bb9 Mon Sep 17 00:00:00 2001 From: qiaomu <352048422@qq.com> Date: Mon, 6 May 2024 09:50:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=AA=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E5=88=97=E8=A1=A8=E5=95=86=E6=88=B7=E6=9C=AA=E4=BC=A0?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.config.json | 7 ++++--- service/invoice.js | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/project.config.json b/project.config.json index b18837a..d2430d2 100644 --- a/project.config.json +++ b/project.config.json @@ -7,7 +7,6 @@ "postcss": true, "preloadBackgroundData": false, "ignoreDevUnusedFiles": false, - "ignoreUploadUnusedFiles": false, "minified": true, "newFeature": false, "coverView": true, @@ -28,7 +27,6 @@ "outputPath": "" }, "enableEngineNative": false, - "useIsolateContext": true, "userConfirmedBundleSwitch": false, "packNpmManually": true, "packNpmRelationList": [ @@ -39,7 +37,10 @@ ], "minifyWXSS": true, "showES6CompileOption": false, - "condition": false + "condition": false, + "compileWorklet": false, + "ignoreUploadUnusedFiles": false, + "useIsolateContext": true }, "condition": {}, "editorSetting": { diff --git a/service/invoice.js b/service/invoice.js index ff088e2..497ef93 100644 --- a/service/invoice.js +++ b/service/invoice.js @@ -23,7 +23,8 @@ export const deleteInvoiceInfo = async function(id) { // 获取可开发票列表 export const getInvoiceList = async function() { - return await GET(`/wx/getInvoiceList`); + const tenement = wx.getStorageSync('tenement'); + return await GET(`/wx/getInvoiceList?tenement=${tenement?.id}`); } // 获取创建的发开票信息详情