Commit 7892860d authored by 刘文虎's avatar 刘文虎

Merge branch 'master' into lwh-dev

parents ad741316 cec431f0
Pipeline #4022 canceled with stages
......@@ -35,8 +35,8 @@
</view> -->
<view class="info-view">
<view class="name-view">
<view>{{ info.customerName || info.customer.name }} </view>
<view class="phone-view">{{ info.customerPhone || info.customer.phone }}</view>
<view>{{ info.customerName || (info.customer && info.customer.name) || '' }} </view>
<view class="phone-view">{{ info.customerPhone || (info.customer && info.customer.phone) || '' }}</view>
</view>
<view class="location-view" v-if="info.address || (isDetail && !isCollection)">
<view class="image-view">
......
......@@ -44,7 +44,7 @@
<template v-else>
<view :class="['expense-item-view', {last: index + 1 == info.expenseDetails.length}]" v-for="(item, index) in info.expenseDetails" :key="index">
<view class="expense-left-view">{{item.name}}</view>
<view class="expense-middle-view">{{formatCount(item.unitPrice) + '/' + item.unit + '*' + item.number}}</view>
<view class="expense-middle-view">{{formatCount(item.unitPrice) + (item.unit ? ('/' + item.unit) : '') + '*' + item.number}}</view>
<view class="expense-right-view">{{formatCount(item.total)}}</view>
</view>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment