From f33dfa2415c323679ef71a6ce6eaa950dd0de71b Mon Sep 17 00:00:00 2001 From: Jimmy Liow Date: Wed, 14 Aug 2024 09:36:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E5=A2=9E=E4=BB=B7=E6=A0=BC?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E9=BB=98=E8=AE=A4=E5=91=A8=E6=9C=AB=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/Products/Index.js | 2 +- src/views/products/Detail/ProductInfoQuotation.jsx | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/stores/Products/Index.js b/src/stores/Products/Index.js index 94c3cc2..add4d20 100644 --- a/src/stores/Products/Index.js +++ b/src/stores/Products/Index.js @@ -184,7 +184,7 @@ export const useProductsStore = create( dayjs().startOf('M'), dayjs().endOf('M') ], - weekdayList: ['5', '6'], + weekdayList: [], fresh: true // 标识是否是新记录,新记录才用添加列表 }), diff --git a/src/views/products/Detail/ProductInfoQuotation.jsx b/src/views/products/Detail/ProductInfoQuotation.jsx index 940bb6b..db85504 100644 --- a/src/views/products/Detail/ProductInfoQuotation.jsx +++ b/src/views/products/Detail/ProductInfoQuotation.jsx @@ -19,8 +19,6 @@ const batchSetupInitialValues = { 'unitId': '0', 'currency': 'RMB', 'weekend': [ - '5', - '6' ], 'priceList': [ { @@ -65,8 +63,6 @@ const batchSetupInitialValues = { 'unitId': '0', 'currency': 'RMB', 'weekend': [ - '5', - '6' ], 'priceList': [ { @@ -122,8 +118,6 @@ const defaultDefinitionValue = { 'unitId': '0', 'currency': 'RMB', 'weekend': [ - '5', - '6' ], 'priceList': [ defaultPriceValue