Pārlūkot izejas kodu

显示当前门店

shish 3 gadi atpakaļ
vecāks
revīzija
00f5ef56c5
1 mainītis faili ar 9 papildinājumiem un 2 dzēšanām
  1. 9 2
      ghsApp/src/admin/billing/affirm.vue

+ 9 - 2
ghsApp/src/admin/billing/affirm.vue

@@ -169,10 +169,14 @@
     <view class="under-bar">
       <view class="price-view">
         <text class="price-title">
-          <text>实际金额</text>
+          <text>金额</text>
         </text>
         <text class="price-number">¥<text class="large">{{ modifyPrice }}</text></text>
       </view>
+      <text style="font-size:30upx;right:100upx;">
+      当前在
+      <text v-if="currentShop && currentShop.default != 1"
+      style="font-weight:bold;color:red;margin-left:6upx;font-size:38upx;">{{currentShop.shopName}}</text></text>
       <button class="admin-button-com blue big" @click="confirmSubmit">提交</button>
     </view>
 
@@ -275,7 +279,8 @@ export default {
       modifyPrice:'',
       isScanEnv:false,
       calc:'add',
-      diffPriceList:[]
+      diffPriceList:[],
+      currentShop:{default:0}
     };
   },
   onLoad (option) {
@@ -288,6 +293,8 @@ export default {
         uni.setNavigationBarTitle({ title: data.name })
         that.form.packCost = data.shopInfo.packCost?parseFloat(data.shopInfo.packCost):0
 
+        that.currentShop = data.shopInfo
+
     })
 
     //默认出车