|
|
@@ -7,36 +7,28 @@
|
|
|
<view class="bills-info_box content-box">
|
|
|
<view class="order-info_box">
|
|
|
<view>订单日期:</view>
|
|
|
- <view>{{ detailInfo.addTime }}</view>
|
|
|
+ <view>{{ detailInfo.addTime.substr(5,11) }}</view>
|
|
|
</view>
|
|
|
<view class="order-info_box">
|
|
|
<view>订单编码:</view>
|
|
|
<view>{{ detailInfo.orderSn }}</view>
|
|
|
<view class="price">
|
|
|
- <button
|
|
|
- @click="copy(detailInfo.orderSn)"
|
|
|
- class="admin-button-com default"
|
|
|
- >
|
|
|
- 复制
|
|
|
- </button>
|
|
|
+ <button @click="copy(detailInfo.orderSn)" class="admin-button-com default" > 复制 </button>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
<view class="order-info_box">
|
|
|
<view>支付方式:</view>
|
|
|
<view>{{ detailInfo.payWay==0?'微信':detailInfo.payWay==1?'支付宝':detailInfo.payWay==4?'现金':detailInfo.payWay==5?'银行卡':'--' }}</view>
|
|
|
</view>
|
|
|
-
|
|
|
<view class="order-info_box">
|
|
|
<view>操作人员:</view>
|
|
|
<view>{{ detailInfo.operator }}</view>
|
|
|
</view>
|
|
|
<view class="order-info_box">
|
|
|
<view>状态:</view>
|
|
|
- <view>已结账</view>
|
|
|
+ <view>{{detailInfo.status==1?'待结账':detailInfo.status==2?'已结账':detailInfo.status==3?'已取消':'待结账'}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
<view class="title">
|
|
|
客户
|
|
|
</view>
|
|
|
@@ -48,29 +40,28 @@
|
|
|
<i @click="callUp(detailInfo.customMobile)" class="iconfont icondianhua1" ></i>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
<view class="title">
|
|
|
订单信息
|
|
|
</view>
|
|
|
<view class="module-com content-box">
|
|
|
<view class="commodity-view">
|
|
|
<view class="commodity-list">
|
|
|
- <view
|
|
|
- v-for="(s, idx) in detailInfo.orderList"
|
|
|
- :key="idx"
|
|
|
- class="commodity-item"
|
|
|
- >
|
|
|
+ <view v-for="(s, idx) in detailInfo.orderList" :key="idx" class="commodity-item" >
|
|
|
<view class="item-info" @click="pageTo({url: '/pagesOrder/detail',query: {id: s.id,},})" >
|
|
|
<view class="info-line">
|
|
|
- <text class="item-name">单号 {{ s.orderSn }}</text>
|
|
|
+ <text class="item-name">单号 {{ s.orderSn }} 时间 {{s.addTime ? s.addTime.substr(5,11):''}}</text>
|
|
|
<text class="item-price">
|
|
|
<text class="unit">¥</text>
|
|
|
- <text class="price">{{ s.realPrice }}</text>
|
|
|
+ <text class="price">{{ s.orderPrice?parseFloat(s.orderPrice):0 }}</text>
|
|
|
</text>
|
|
|
</view>
|
|
|
<view class="info-line">
|
|
|
- <text class="item-type">{{ s.property }}</text>
|
|
|
- <text class="item-count">{{ `${s.bigNum}/${s.smallNum}` }}</text>
|
|
|
+ <text class="item-type">
|
|
|
+ <text v-if="Number(s.bigNum)>0">{{s.bigNum}}扎</text>
|
|
|
+ <text v-if="Number(s.smallNum)>0">{{s.smallNum}}支</text>
|
|
|
+ <text style="margin-left:10upx;color:black;" v-if="Number(s.tkPrice)>0">退款¥{{parseFloat(s.tkPrice)}} 实付¥{{parseFloat(s.actPrice)}}</text>
|
|
|
+ </text>
|
|
|
+ <text class="item-count" style="color: #3385ff;">查看明细</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -104,15 +95,7 @@
|
|
|
<div class="module-com input-line-wrap">
|
|
|
<tui-list-cell class="line-cell" :hover="false">
|
|
|
<div class="tui-title">备注</div>
|
|
|
- <input
|
|
|
- :disabled="true"
|
|
|
- v-model="detailInfo.remark"
|
|
|
- placeholder-class="phcolor"
|
|
|
- class="tui-input"
|
|
|
- name="name"
|
|
|
- maxlength="50"
|
|
|
- type="text"
|
|
|
- />
|
|
|
+ <input :disabled="true" v-model="detailInfo.remark" placeholder-class="phcolor" class="tui-input" name="name" maxlength="50" type="text" />
|
|
|
</tui-list-cell>
|
|
|
</div>
|
|
|
</view>
|