|
|
|
@ -193,7 +193,7 @@ const open = async (type: string, id?: number) => {
|
|
|
|
formType.value = type
|
|
|
|
formType.value = type
|
|
|
|
resetForm()
|
|
|
|
resetForm()
|
|
|
|
await dictStore.setDictMap()
|
|
|
|
await dictStore.setDictMap()
|
|
|
|
productList.value = await ProductApi.getMesProductSimpleList()
|
|
|
|
productList.value = await ProductApi.getMesProductSimpleList({ categoryType: 1 })
|
|
|
|
if (!id) return
|
|
|
|
if (!id) return
|
|
|
|
formLoading.value = true
|
|
|
|
formLoading.value = true
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
|