|
|
@@ -2,10 +2,8 @@
|
|
|
<view class="order-item-view" @click="clickItemEvent">
|
|
|
<view class="item-header">
|
|
|
<view class="title">
|
|
|
- <image class="icon" :src="info.supplierAvatar" alt="" />
|
|
|
- <text class="name">
|
|
|
- {{ info.supplierName }}
|
|
|
- </text>
|
|
|
+ <image class="icon" :src="info.supplierAvatar" />
|
|
|
+ <text class="name">{{ info.supplierName }}</text>
|
|
|
</view>
|
|
|
<view v-if="info.refund == 2" class="status" style="color:red;border:1upx solid red;border-radius:20upx;font-size:20upx;padding:5upx 12upx;margin-right:50upx;">有退款 </view>
|
|
|
<view v-if="info.debt == 1" class="status" style="color:red;border:1upx solid red;border-radius:20upx;font-size:20upx;padding:5upx 12upx;margin-right:50upx;">欠款 </view>
|
|
|
@@ -15,7 +13,7 @@
|
|
|
<view class="item-info">
|
|
|
<view class="info-row">
|
|
|
<text class="info-label"> 日期:</text>
|
|
|
- <text class="info-value">{{ info.entryTime }} </text>
|
|
|
+ <text class="info-value">{{ info.entryTime.substr(5,11) }} </text>
|
|
|
</view>
|
|
|
<view class="info-row">
|
|
|
<text class="info-label"> 单号:</text>
|
|
|
@@ -30,15 +28,13 @@
|
|
|
<text class="info-value" style="overflow: hidden; text-overflow:ellipsis; white-space: nowrap;width:450upx;color:red;">{{ info.remark }} </text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="item-price"
|
|
|
- >¥{{ info.realPrice }} <text class="iconfont iconxiangyou"></text>
|
|
|
+ <view class="item-price">¥{{ info.realPrice?parseFloat(info.realPrice):0 }} <text class="iconfont iconxiangyou"></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
import { PURCHASE_ORDER_STATUS } from "@/utils/declare";
|
|
|
-
|
|
|
export default {
|
|
|
props: {
|
|
|
info: {
|