diff --git a/src/api/supermarketerp/common.ts b/src/api/supermarketerp/common.ts
index aeb9638..115f4a2 100644
--- a/src/api/supermarketerp/common.ts
+++ b/src/api/supermarketerp/common.ts
@@ -1,8 +1,10 @@
import request from "/@/utils/request"
-// type:1 获取采购计划编号
-// type:2 获取订单编号
-export function getPlanCode(params: { type: 1 | 2 | 3 }) {
+// type:1 获取补货申请编号
+// type:2 获取采购订单编号
+// type:3 获取采购入库编号
+// type:4 获取采购退货编号
+export function getPlanCode(params: { type: 1 | 2 | 3 | 4 }) {
return request({
url: "/supermarket/sm/common/getSequence",
method: "get",
diff --git a/src/views/supermarketerp/smErpCgBack/index.vue b/src/views/supermarketerp/smErpCgBack/index.vue
index 9227c70..544ddb0 100644
--- a/src/views/supermarketerp/smErpCgBack/index.vue
+++ b/src/views/supermarketerp/smErpCgBack/index.vue
@@ -16,9 +16,7 @@
/>
-
-
-
+
@@ -78,14 +76,14 @@
-
-
-
-
-
+
+
+
+
+
-
+
-
@@ -266,7 +265,7 @@ const getInitData = async () => {
}
}
- // 获取货商选项 & 获取采购计划编号
+ // 获取货商选项 & 获取采购退货编号
const [erpSpuSimpleAll, supplierTypeOptions, planCode] = await Promise.allSettled([
getErpSpuSimpleAll(),
getSupplierTypeOptions(),
diff --git a/src/views/supermarketerp/smErpCgDd/index.vue b/src/views/supermarketerp/smErpCgDd/index.vue
index a0b5fd3..3073527 100644
--- a/src/views/supermarketerp/smErpCgDd/index.vue
+++ b/src/views/supermarketerp/smErpCgDd/index.vue
@@ -40,14 +40,14 @@
-
+
-
+
diff --git a/src/views/supermarketerp/smErpCgDd/smErpCgDdOption.vue b/src/views/supermarketerp/smErpCgDd/smErpCgDdOption.vue
index 3260674..b065461 100644
--- a/src/views/supermarketerp/smErpCgDd/smErpCgDdOption.vue
+++ b/src/views/supermarketerp/smErpCgDd/smErpCgDdOption.vue
@@ -274,7 +274,7 @@ const getInitData = async () => {
}
}
- // 获取货商选项 & 获取采购计划编号
+ // 获取货商选项 & 获取采购订单编号
const [erpSpuSimpleAll, supplierTypeOptions, planCode] = await Promise.allSettled([
getErpSpuSimpleAll(),
getSupplierTypeOptions(),
diff --git a/src/views/supermarketerp/smErpCgPlan/cgPlanOption.vue b/src/views/supermarketerp/smErpCgPlan/cgPlanOption.vue
index 7f89124..bc388a4 100644
--- a/src/views/supermarketerp/smErpCgPlan/cgPlanOption.vue
+++ b/src/views/supermarketerp/smErpCgPlan/cgPlanOption.vue
@@ -233,7 +233,7 @@ const getInitData = async () => {
const id = route.query.id as string
if (id) {
loading.value = true
- // 获取采购计划数据 & 获取简要商品列表
+ // 获取补货申请编号 & 获取简要商品列表
const [cgPlanData, erpSpuSimpleAll] = await Promise.allSettled([getObj(id), getErpSpuSimpleAll()])
.then((results) => results.map((result) => (result.status === "fulfilled" ? result.value : null)))
.finally(() => (loading.value = false))
diff --git a/src/views/supermarketerp/smErpCgPlan/index.vue b/src/views/supermarketerp/smErpCgPlan/index.vue
index 36cc754..af9e353 100644
--- a/src/views/supermarketerp/smErpCgPlan/index.vue
+++ b/src/views/supermarketerp/smErpCgPlan/index.vue
@@ -10,9 +10,7 @@
-
-
-
+
diff --git a/src/views/supermarketerp/smErpInventoryRecords/index.vue b/src/views/supermarketerp/smErpInventoryRecords/index.vue
index d279fab..03f8070 100644
--- a/src/views/supermarketerp/smErpInventoryRecords/index.vue
+++ b/src/views/supermarketerp/smErpInventoryRecords/index.vue
@@ -16,9 +16,7 @@
/>
-
-
-
+
diff --git a/src/views/supermarketerp/smErpInventoryRecords/smErpInventoryRecordsOption.vue b/src/views/supermarketerp/smErpInventoryRecords/smErpInventoryRecordsOption.vue
index 37221f1..bf2fa09 100644
--- a/src/views/supermarketerp/smErpInventoryRecords/smErpInventoryRecordsOption.vue
+++ b/src/views/supermarketerp/smErpInventoryRecords/smErpInventoryRecordsOption.vue
@@ -269,7 +269,7 @@ const getInitData = async () => {
}
}
- // 获取货商选项 & 获取采购计划编号
+ // 获取货商选项 & 获取采购入库编号
const [erpSpuSimpleAll, supplierTypeOptions, planCode] = await Promise.allSettled([
getErpSpuSimpleAll(),
getSupplierTypeOptions(),