| | |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">合同金额(元)</text> |
| | | <text class="detail-value highlight">{{ item.contractAmount }}</text> |
| | | <text class="detail-value highlight">{{ formattedNumber(item.contractAmount) }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">实际合同金额(元)</text> |
| | | <text class="detail-value highlight">{{ formattedNumber(item.netContractAmount) }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">签订日期</text> |
| | |
| | | uni.hideLoading(); |
| | | }; |
| | | |
| | | const formattedNumber = value => { |
| | | if (value === undefined || value === null || value === "") { |
| | | return "0.00"; |
| | | } |
| | | return parseFloat(value).toFixed(2); |
| | | }; |
| | | |
| | | // 搜索关键词 |
| | | const salesContractNo = ref(""); |
| | | |