From 4c8d18cc5ed8a7b0e220c91a858d16d0310896df Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 29 六月 2026 16:50:03 +0800
Subject: [PATCH] BOM新增修改删除功能开发、以及BOM结构的可编辑
---
src/pages/sales/salesQuotation/detail.vue | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/src/pages/sales/salesQuotation/detail.vue b/src/pages/sales/salesQuotation/detail.vue
index 45c3fd6..df25931 100644
--- a/src/pages/sales/salesQuotation/detail.vue
+++ b/src/pages/sales/salesQuotation/detail.vue
@@ -65,16 +65,8 @@
<text class="info-value">{{ item.unit || "-" }}</text>
</view>
<view class="info-item">
- <text class="info-label">鏁伴噺</text>
- <text class="info-value">{{ item.quantity || "-" }}</text>
- </view>
- <view class="info-item">
<text class="info-label">鍗曚环</text>
<text class="info-value">{{ formatAmount(item.unitPrice) }}</text>
- </view>
- <view class="info-item">
- <text class="info-label">閲戦</text>
- <text class="info-value highlight">{{ formatAmount(item.amount) }}</text>
</view>
</view>
</view>
@@ -115,7 +107,11 @@
const loadDetailFromStorage = () => {
const cachedData = uni.getStorageSync("salesQuotationDetail");
- if (cachedData && (cachedData.id === quotationId.value || cachedData.id === Number(quotationId.value))) {
+ if (
+ cachedData &&
+ (cachedData.id === quotationId.value ||
+ cachedData.id === Number(quotationId.value))
+ ) {
detailData.value = cachedData;
} else {
detailData.value = cachedData || {};
--
Gitblit v1.9.3