shish vor 3 Jahren
Ursprung
Commit
41d2e57623
1 geänderte Dateien mit 0 neuen und 12 gelöschten Zeilen
  1. 0 12
      ghsApp/src/admin/billing/affirm.vue

+ 0 - 12
ghsApp/src/admin/billing/affirm.vue

@@ -136,13 +136,6 @@
             <button @tap="form.needPrint = 2" class="admin-button-com middle" :class="form.needPrint == 2? 'blue' : 'default'">不打</button>
           </tui-list-cell>
 
-          <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-if="(form.sendType == 0 || form.sendType == 2) && Number(form.packCost)>0" >
-            <view class="tui-title">
-              <text>打包费</text>  
-            </view>
-            <text style="color: #3385FF">¥{{parseFloat(form.packCost)}}</text>
-          </tui-list-cell>
-
           <tui-list-cell class="line-cell" :hover="false" :arrow="false" >
             <view class="tui-title">
               <text>合计金额</text>  
@@ -269,7 +262,6 @@ export default {
         sendDate: "",
         sendTimeWant: "",
         sendCost: "",
-        packCost:0,
         customId: "",
         product: "",
         remark:"",
@@ -302,7 +294,6 @@ export default {
     this.initMerchantInfo().then((data) => {
 
         uni.setNavigationBarTitle({ title: data.name })
-        that.form.packCost = data.shopInfo.packCost?parseFloat(data.shopInfo.packCost):0
 
         that.currentShop = data.shopInfo
 
@@ -387,9 +378,6 @@ export default {
       if(this.form.sendType == 2){
         finalPrice = Number(finalPrice) + Number(this.form.sendCost)
       }
-      if(this.form.sendType == 0 || this.form.sendType == 2){
-        finalPrice = finalPrice + Number(this.form.packCost)
-      }
       let currentPrice = parseFloat(finalPrice)
       this.modifyPrice = currentPrice 
       return currentPrice