diff --git a/src/views/supermarketerp/stockTaking/form.vue b/src/views/supermarketerp/stockTaking/form.vue
index 5082301..70728ba 100644
--- a/src/views/supermarketerp/stockTaking/form.vue
+++ b/src/views/supermarketerp/stockTaking/form.vue
@@ -9,27 +9,9 @@
-
-
-
-
-
-
-
-
-
-
-
@@ -88,7 +70,8 @@
>
-
+
+
{{ row.productName }}
{{ row.erpSpuId && state.erpSpuSimpleAll.find((item: any) => item.id === row.erpSpuId)?.productName }}
@@ -112,12 +95,27 @@
请选择
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{
row.purchasePrice
@@ -126,7 +124,17 @@
}}
-
+
+
+
+
+
+
+
+
+
+
+
{{ displayPrice(row.quantity * parseFloat(row.purchasePrice)) }}
@@ -211,8 +219,8 @@ const baseDataForm = reactive({
checkTime: "",
supplierId: "",
remark: "",
- inventoryType: "3",
- orderType: "1",
+ inventoryType: "7",
+ orderType: "",
totalAmount: "",
})
const state = reactive<{
@@ -269,7 +277,7 @@ const getInitData = async () => {
}
// 获取采购入库编号
- const [erpSpuSimpleAll, planCode] = await Promise.allSettled([getErpSpuSimpleAll(), getPlanCode({ type: 3 })]).then((results) =>
+ const [erpSpuSimpleAll, planCode] = await Promise.allSettled([getErpSpuSimpleAll(), getPlanCode({ type: 7 })]).then((results) =>
results.map((result) => (result.status === "fulfilled" ? result.value : null)),
)
erpSpuSimpleAll && erpSpuSimpleAll.code === 0 && (state.erpSpuSimpleAll = erpSpuSimpleAll.data)