| | |
| | | <view class="dispatch">{{ item.customerName ||'' }}</view> |
| | | </view> |
| | | <view class="point-number"> |
| | | <text class="order-type">{{ item.productNames || '' }}</text> |
| | | <text class="order-type">{{ item.productNames?limitString(item.productNames,20,'...'):'' || '' }}</text> |
| | | </view> |
| | | </view> |
| | | <view class="second-line"> |
| | |
| | | this.init(); |
| | | }, |
| | | methods: { |
| | | limitString(str, limit, suffix = '...') { |
| | | if (str.length <= limit) return str; |
| | | return str.slice(0, limit) + suffix; |
| | | }, |
| | | logoutConfirm() { |
| | | |
| | | uni.showLoading({ title: '加载中...' }); |