李红攀:V2.0.001采购订单添加税率

This commit is contained in:
2026-04-25 10:57:12 +08:00
parent 6f1f32df62
commit 66f47cdde4
4 changed files with 186 additions and 7 deletions

View File

@@ -62,7 +62,9 @@
<!-- 金额信息 -->
<wd-cell-group title="金额信息" border>
<wd-cell title="合计数量" :value="formatCount(detail.totalCount)" />
<wd-cell title="合计金额" :value="formatPrice(detail.totalPrice)" />
<wd-cell title="合计产品金额" :value="formatPrice(detail.totalProductPrice)" />
<wd-cell title="合计税额" :value="formatPrice(detail.totalTaxPrice)" />
<wd-cell title="合计金额(含税)" :value="formatPrice(detail.totalPrice)" />
<wd-cell title="附加费" :value="formatPrice(detail.additionalFee)" />
</wd-cell-group>
@@ -104,7 +106,19 @@
<text class="text-[#666]">{{ formatPrice(item.productPrice) }}</text>
</view>
<view class="mb-8rpx flex items-center justify-between text-26rpx">
<text class="text-[#999]">金额</text>
<text class="text-[#999]">产品金额</text>
<text class="text-[#666]">{{ formatPrice(item.totalProductPrice) }}</text>
</view>
<view v-if="item.taxPercent" class="mb-8rpx flex items-center justify-between text-26rpx">
<text class="text-[#999]">税率</text>
<text class="text-[#666]">{{ item.taxPercent }}%</text>
</view>
<view v-if="item.taxPrice" class="mb-8rpx flex items-center justify-between text-26rpx">
<text class="text-[#999]">税额</text>
<text class="text-[#666]">{{ formatPrice(item.taxPrice) }}</text>
</view>
<view class="mb-8rpx flex items-center justify-between text-26rpx">
<text class="text-[#999]">含税金额</text>
<text class="text-[#1890ff] font-semibold">{{ formatPrice(item.totalPrice) }}</text>
</view>
<view v-if="item.supplierName" class="mb-8rpx flex items-center justify-between text-26rpx">