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().startOf('M'),
dayjs().endOf('M') dayjs().endOf('M')
], ],
weekdayList: ['5', '6'], weekdayList: [],
fresh: true // 标识是否是新记录,新记录才用添加列表 fresh: true // 标识是否是新记录,新记录才用添加列表
}), }),

@ -19,8 +19,6 @@ const batchSetupInitialValues = {
'unitId': '0', 'unitId': '0',
'currency': 'RMB', 'currency': 'RMB',
'weekend': [ 'weekend': [
'5',
'6'
], ],
'priceList': [ 'priceList': [
{ {
@ -65,8 +63,6 @@ const batchSetupInitialValues = {
'unitId': '0', 'unitId': '0',
'currency': 'RMB', 'currency': 'RMB',
'weekend': [ 'weekend': [
'5',
'6'
], ],
'priceList': [ 'priceList': [
{ {
@ -122,8 +118,6 @@ const defaultDefinitionValue = {
'unitId': '0', 'unitId': '0',
'currency': 'RMB', 'currency': 'RMB',
'weekend': [ 'weekend': [
'5',
'6'
], ],
'priceList': [ 'priceList': [
defaultPriceValue defaultPriceValue

Loading…
Cancel
Save