shish 4 лет назад
Родитель
Сommit
78415529e5

+ 5 - 1
hdPad/src/pages/home/components/workInfo.vue

@@ -30,9 +30,13 @@
         </view>
 
         <view v-if="orderInfo.sendType == 1">
-          <text class="left">配送方式</text>
+          <text class="left">类型</text>
           <text class="right" style="color:red;font-weight:bold;">到店自取</text>
         </view>
+        <view v-if="orderInfo.fromType == 4">
+          <text class="left">美团编号</text>
+          <text class="right" style="color:black;font-weight:bold;">{{orderInfo.thirdSn}}</text>
+        </view>
 
         <view><text class="left">分类</text><text class="right">{{orderInfo.catName}}</text></view>
         <view><text class="left">名称</text><text class="right">{{orderInfo.name}}</text></view>

+ 2 - 1
hdPad/src/pages/home/components/workList.vue

@@ -12,7 +12,8 @@
                 <view :class="[selectOrderId==item.id ? 'active' : 'not-active', 'item-body_box']">
                     <view class="flower-name_box">
                         <view class="current-item-title">
-                            <text>{{item.fromType==4 ? '美团' : item.fromType==2 ? '商城' : item.staffName}} {{item.name}}</text>
+                            <text v-if="item.fromType==4">美团 {{item.thirdSn}}</text>
+                            <text v-else>{{item.fromType==2 ? '商城' : item.staffName}} {{item.name}}</text>                            
                         </view>
                         <image class="flower-image" :src="item.cover"></image>
                         <text style="position:absolute;top:2upx;left:90upx;font-size:11upx;">{{item.sn}}</text>