| | |
| | | </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> |
| | |
| | | <u-button class="detail-button" |
| | | size="small" |
| | | type="primary" |
| | | plain |
| | | @click.stop="openOut(item)"> |
| | | 发货状态 |
| | | </u-button> |
| | | <!-- <u-button class="detail-button" |
| | | size="small" |
| | | type="primary" |
| | | @click.stop="handleInfo('edit', item)"> |
| | | 编辑 |
| | | </u-button> |
| | |
| | | plain |
| | | @click.stop="openOut(item)"> |
| | | 发货状态 |
| | | </u-button> |
| | | <u-button class="detail-button" |
| | | </u-button> --> |
| | | <!-- <u-button class="detail-button" |
| | | size="small" |
| | | type="error" |
| | | plain |
| | | @click.stop="handleDelete(item)"> |
| | | 删除 |
| | | </u-button> |
| | | </u-button> --> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <text>暂无销售台账数据</text> |
| | | </view> |
| | | <!-- 浮动操作按钮 --> |
| | | <view class="fab-button" |
| | | <!-- <view class="fab-button" |
| | | @click="handleInfo('add')"> |
| | | <up-icon name="plus" |
| | | size="24" |
| | | color="#ffffff"></up-icon> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | uni.hideLoading(); |
| | | }; |
| | | |
| | | const formattedNumber = value => { |
| | | if (value === undefined || value === null || value === "") { |
| | | return "0.00"; |
| | | } |
| | | return parseFloat(value).toFixed(2); |
| | | }; |
| | | |
| | | // 搜索关键词 |
| | | const salesContractNo = ref(""); |
| | | |