| | |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">合同金额(元)</text> |
| | | <text class="detail-value highlight">{{ item.contractAmount }}</text> |
| | | <text class="detail-value highlight">{{ formatNumber(item.contractAmount) }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">签订日期</text> |
| | |
| | | // 销售台账数据 |
| | | const ledgerList = ref([]); |
| | | |
| | | // 格式化数字 |
| | | const formatNumber = value => { |
| | | return parseFloat(value || 0).toFixed(3); |
| | | }; |
| | | |
| | | // 判断是否存在已发货/发货完成的产品 |
| | | const hasShippedProducts = products => { |
| | | if (!products || products.length === 0) return false; |