fix: 新增价格取消默认周末设置

perf/export-docx
Jimmy Liow 11 months ago
parent 6ecdb54938
commit f33dfa2415

@ -184,7 +184,7 @@ export const useProductsStore = create(
dayjs().startOf('M'),
dayjs().endOf('M')
],
weekdayList: ['5', '6'],
weekdayList: [],
fresh: true // 标识是否是新记录,新记录才用添加列表
}),

@ -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

Loading…
Cancel
Save