|
@@ -106,7 +106,7 @@
|
|
<!-- <u-icon name="close" color="#fff"></u-icon> -->
|
|
<!-- <u-icon name="close" color="#fff"></u-icon> -->
|
|
<view style="color: #fff;">申请退款</view>
|
|
<view style="color: #fff;">申请退款</view>
|
|
</view>
|
|
</view>
|
|
- <view @click="orderClosing"
|
|
|
|
|
|
+ <view @click="orderClosing" v-if="form.status != '录入'"
|
|
style="width: 100%;background-color: #FD4B09;display: grid;justify-items: center;height: 100%;align-items: center;">
|
|
style="width: 100%;background-color: #FD4B09;display: grid;justify-items: center;height: 100%;align-items: center;">
|
|
<!-- <u-icon name="close" color="#fff"></u-icon> -->
|
|
<!-- <u-icon name="close" color="#fff"></u-icon> -->
|
|
<view style="color: #fff;">{{order}}</view>
|
|
<view style="color: #fff;">{{order}}</view>
|
|
@@ -168,7 +168,11 @@
|
|
}).then(res => {
|
|
}).then(res => {
|
|
console.log(234324324);
|
|
console.log(234324324);
|
|
this.form = res.data
|
|
this.form = res.data
|
|
- console.log(this.form);
|
|
|
|
|
|
+ console.log(this.form);
|
|
|
|
+ this.form.orderItemsList.map(item=>{
|
|
|
|
+ item.totalAmount = item.price * item.goodsNum
|
|
|
|
+ })
|
|
|
|
+
|
|
if (this.form.status == '已发货' ) {
|
|
if (this.form.status == '已发货' ) {
|
|
_this.isDisabled = true;
|
|
_this.isDisabled = true;
|
|
_this.order = "确认收货";
|
|
_this.order = "确认收货";
|