From dc02bca062334994bd031f25eafc73c1145221e2 Mon Sep 17 00:00:00 2001
From: zmj <1493694146@qq.com>
Date: Sat, 11 May 2024 10:31:59 +0800
Subject: [PATCH] add
---
pageQuota/quotation/index.vue | 208 ++++++++++++++++++----------------
1 file changed, 109 insertions(+), 99 deletions(-)
diff --git a/pageQuota/quotation/index.vue b/pageQuota/quotation/index.vue
index 5e91e66..d7a9ac5 100644
--- a/pageQuota/quotation/index.vue
+++ b/pageQuota/quotation/index.vue
@@ -20,111 +20,123 @@
-
-
-
-
-
-
-
-
-
-
-
- {{tabIndex==1?"未报价":"已报价" }}
-
+
+
+
+
+
+
+
-
-
- {{item.goods.name}}
+
+
+
+
+ {{tabIndex==1?"未报价":"已报价" }}
+
-
- 需求量: {{item.need_num}}{{item.unit_name}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{tabIndex==1?"未报价":"已报价" }}
-
-
-
-
- {{item.goods.name}}
-
-
- 需求量: {{item.need_num}}{{item.unit_name}}
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{tabIndex==1?"未报价":"已报价" }}
+
+
+
+
+ {{item.goods.name}}
+
+
+ 需求量: {{item.need_num}}{{item.unit_name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -160,8 +172,8 @@
const tabsRight = ref(tabsLeft.value + (windowWidth / 2))
// tabsindex结束
- const priceBlur = (index) => {
- goodsList.value[index].price = Number(goodsList.value[index].price).toFixed(2)
+ const priceBlur = (index, goodsList) => {
+ goodsList[index].price = Number(goodsList[index].price).toFixed(2)
}
// 列表
@@ -208,7 +220,7 @@
getGoodsList(tabIndex.value)
// 列表结束
const submit = async () => {
- let datas = goodsList.value.map(item => ({
+ let datas = goodsList1.value.map(item => ({
id: item.id,
nums: item.nums,
price: item.price
@@ -219,8 +231,6 @@
newData.push(item)
}
})
-
-
let res = await OpurchaseGoodsOfferApi({
data: newData
})