This commit is contained in:
zjf committed 2025-02-25 11:29:25 +08:00
1 parent 49c9da6217
commit af32ec78bd
3 files changed
+4 -4

No files matched your search

@@ -239,7 +239,7 @@ const baseDataForm = reactive<any>({
checkTime: "",
supplierId: "",
remark: "",
orderType: "1",
orderType: "2",
totalAmount: "",
memberNumber: "",
})
@@ -312,7 +312,7 @@ const getInitData = async () => {
const [erpSpuSimpleAll, supplierTypeOptions, planCode] = await Promise.allSettled([
getErpSpuSimpleAll(),
getSupplierTypeOptions(),
getPlanCode({ type: 3 }),
getPlanCode({ type: 6 }),
]).then((results) => results.map((result) => (result.status === "fulfilled" ? result.value : null)))
erpSpuSimpleAll && erpSpuSimpleAll.code === 0 && (state.erpSpuSimpleAll = erpSpuSimpleAll.data)
supplierTypeOptions && supplierTypeOptions.code === 0 && (supplierTypeDict.value = supplierTypeOptions.data)
@@ -312,7 +312,7 @@ const getInitData = async () => {
const [erpSpuSimpleAll, supplierTypeOptions, planCode] = await Promise.allSettled([
getErpSpuSimpleAll(),
getSupplierTypeOptions(),
getPlanCode({ type: 3 }),
getPlanCode({ type: 5 }),
]).then((results) => results.map((result) => (result.status === "fulfilled" ? result.value : null)))
erpSpuSimpleAll && erpSpuSimpleAll.code === 0 && (state.erpSpuSimpleAll = erpSpuSimpleAll.data)
supplierTypeOptions && supplierTypeOptions.code === 0 && (supplierTypeDict.value = supplierTypeOptions.data)