-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -43,22 +25,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -66,14 +32,6 @@
-
-
-
-
-
-
-
-
@@ -353,7 +311,7 @@ const baseDataForm = reactive
({
deptId: "",
supplierId: "",
remark: "",
- orderType: "",
+ orderType: "1",
totalAmount: "",
})
const state = reactive<{
@@ -410,7 +368,7 @@ const getInitData = async () => {
}
// 获取货商选项 & 获取采购计划编号
- const [supplierTypeOptions, planCode] = await Promise.allSettled([getSupplierTypeOptions(), getPlanCode({ type: 2 })]).then((results) =>
+ const [supplierTypeOptions, planCode] = await Promise.allSettled([getSupplierTypeOptions(), getPlanCode({ type: 3 })]).then((results) =>
results.map((result) => (result.status === "fulfilled" ? result.value : null)),
)
supplierTypeOptions && supplierTypeOptions.code === 0 && (supplierTypeDict.value = supplierTypeOptions.data)