|
|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
|
<view class="app-content">
|
|
|
<view class="page-det">
|
|
|
+
|
|
|
<view class="module-com">
|
|
|
<view class="module-tit">商品信息</view>
|
|
|
<view class="module-det">
|
|
|
@@ -13,31 +14,23 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="module-com order-msg" v-if="!$util.isEmpty(orderInfo.remark)">
|
|
|
- <view class="module-det">
|
|
|
- <view class="order-msg-blo">
|
|
|
- <view class="msg-list">
|
|
|
- <view class="label">备注:</view>
|
|
|
- <view class="value" style="color:red;font-weight:bold;">{{orderInfo.remark}}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
<view class="module-com order-msg">
|
|
|
<view class="module-tit">
|
|
|
收花人信息<text v-if="orderInfo.fromType == 4 && !$util.isEmpty(orderInfo.thirdSn)">(美团编号:{{orderInfo.thirdSn}})</text>
|
|
|
<button class="admin-button-com mini-btn" @click="edit" style="float:right;">编辑</button>
|
|
|
</view>
|
|
|
<view class="module-det">
|
|
|
+
|
|
|
<view class="order-msg-blo">
|
|
|
- <view class="msg-list">
|
|
|
- <view class="label">名称:</view>
|
|
|
- <view class="value">{{ orderInfo.receiveUserName }}</view>
|
|
|
+
|
|
|
+ <view class="msg-list" v-if="!$util.isEmpty(orderInfo.remark)">
|
|
|
+ <view class="label">备注:</view>
|
|
|
+ <view class="value" style="color:red;font-weight:bold;width:580upx;min-height:28upx;height:auto;word-break:break-all;">{{orderInfo.remark}}</view>
|
|
|
</view>
|
|
|
+
|
|
|
<view class="msg-list">
|
|
|
- <view class="label">电话:</view>
|
|
|
- <view class="value" @click="callUp(orderInfo.receiveMobile)">{{ orderInfo.receiveMobile }}</view>
|
|
|
+ <view class="label">收花:</view>
|
|
|
+ <view class="value">{{ orderInfo.receiveUserName }} <text style="margin-left:18upx;" v-if="!$util.isEmpty(orderInfo.receiveMobile)" @click="callUp(orderInfo.receiveMobile)">{{orderInfo.receiveMobile}}</text></view>
|
|
|
</view>
|
|
|
<view class="msg-list">
|
|
|
<view class="label">地址:</view>
|
|
|
@@ -57,7 +50,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="msg-list">
|
|
|
- <view class="label">贺卡内容:</view>
|
|
|
+ <view class="label">寄语:</view>
|
|
|
<view class="value">{{ orderInfo.cardInfo || '' }}</view>
|
|
|
</view>
|
|
|
<view class="msg-list" v-if="orderInfo.sendType == 1">
|
|
|
@@ -65,17 +58,23 @@
|
|
|
<view class="value" style="font-weight:bold;color:red;">到店自取</view>
|
|
|
</view>
|
|
|
<view class="msg-list" v-if="!$util.isEmpty(orderInfo.bookName)">
|
|
|
- <view class="label">订花人:</view>
|
|
|
- <view class="value">{{orderInfo.bookName}}</view>
|
|
|
- </view>
|
|
|
- <view class="msg-list" v-if="!$util.isEmpty(orderInfo.bookMobile)">
|
|
|
- <view class="label">订花人电话:</view>
|
|
|
- <view class="value" @click="callUp(orderInfo.bookMobile)">{{orderInfo.bookMobile}}</view>
|
|
|
+ <view class="label">订花:</view>
|
|
|
+ <view class="value">{{orderInfo.bookName}} <text style="margin-left:18upx;" v-if="!$util.isEmpty(orderInfo.bookMobile)" @click="callUp(orderInfo.bookMobile)">{{orderInfo.bookMobile}}</text></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
+ <view class="module-com" v-if="!$util.isEmpty(orderInfo.workList)">
|
|
|
+ <view class="module-tit">制作单</view>
|
|
|
+ <view class="module-det">
|
|
|
+ <block v-if="!$util.isEmpty(orderInfo.workList)">
|
|
|
+ <detailWork v-for="(items, subIndex) in orderInfo.workList" :key="subIndex" :info="items"></detailWork>
|
|
|
+ </block>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="module-com order-msg">
|
|
|
<view class="module-tit">
|
|
|
<text>订单信息</text>
|
|
|
@@ -181,6 +180,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import detailGoods from "./components/detail-goods.vue";
|
|
|
+import detailWork from "./components/detail-work.vue";
|
|
|
import detailItem from "./components/detail-item.vue";
|
|
|
import AppCoupon from "@/components/app-coupon-sel";
|
|
|
import ModalModule from "@/components/plugin/modal";
|
|
|
@@ -191,7 +191,7 @@ const commonUtil = require("@/utils/common.js");
|
|
|
import { confirmSettle } from "@/api/settle/index"
|
|
|
export default {
|
|
|
name: "detail",
|
|
|
- components: { detailGoods, AppCoupon, ModalModule, RateModule,detailItem },
|
|
|
+ components: { detailGoods, AppCoupon, ModalModule, RateModule,detailItem,detailWork },
|
|
|
data() {
|
|
|
return {
|
|
|
constant: this.$constant,
|