Commit 01aecc7f by zhuzhequan

fix:ts报错修改

parent 061ce193
...@@ -20,7 +20,7 @@ const useOrderStore = defineStore('order', { ...@@ -20,7 +20,7 @@ const useOrderStore = defineStore('order', {
}, },
actions: { actions: {
async setPodBoxList(content: { async setPodBoxList(content: {
boxList: PodMakeOrderData[] | OrderData | null boxList: PodMakeOrderData[] | OrderData | null | undefined,
factoryNo: number | string factoryNo: number | string
warehouseId: number | string warehouseId: number | string
box?: number box?: number
......
...@@ -20,7 +20,7 @@ const useOrderStore = defineStore('cnSuperOrder', { ...@@ -20,7 +20,7 @@ const useOrderStore = defineStore('cnSuperOrder', {
}, },
actions: { actions: {
async setPodBoxList(content: { async setPodBoxList(content: {
boxList: PodMakeOrderData[] | OrderData | null boxList: PodMakeOrderData[] | OrderData | null | undefined,
factoryNo: number | string factoryNo: number | string
box?: number box?: number
data?: OrderData data?: OrderData
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment