| | |
| | | </view> |
| | | <view class="summary-item"> |
| | | <text class="summary-label">合同金额</text> |
| | | <text class="summary-value">{{ outData.contractAmount }}</text> |
| | | <text class="summary-value">{{ formatNumber(outData.contractAmount) }}</text> |
| | | </view> |
| | | <view class="summary-item"> |
| | | <text class="summary-label">签订日期</text> |
| | |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">数量</text> |
| | | <text class="detail-value">{{ item.quantity }}</text> |
| | | <text class="detail-value">{{ formatNumber(item.quantity) }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">税率(%)</text> |
| | |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">含税单价(元)</text> |
| | | <text class="detail-value">{{ item.taxInclusiveUnitPrice }}</text> |
| | | <text class="detail-value">{{ formatNumber(item.taxInclusiveUnitPrice) }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">含税总价(元)</text> |
| | | <text class="detail-value">{{ item.taxInclusiveTotalPrice }}</text> |
| | | <text class="detail-value">{{ formatNumber(item.taxInclusiveTotalPrice) }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">不含税总价(元)</text> |
| | | <text class="detail-value">{{ item.taxExclusiveTotalPrice }}</text> |
| | | <text class="detail-value">{{ formatNumber(item.taxExclusiveTotalPrice) }}</text> |
| | | </view> |
| | | <up-divider></up-divider> |
| | | <u-button class="detail-button" |
| | |
| | | // 客户信息 |
| | | const supplierId = ref(""); |
| | | |
| | | const formatNumber = value => { |
| | | if (value === null || value === undefined || value === "") return "-"; |
| | | return parseFloat(value).toFixed(3); |
| | | }; |
| | | |
| | | // 表格数据 |
| | | const tableData = ref([]); |
| | | |