陶杰
2025-01-08 b05a84f9178894b40a1d6a601b577403d7d93c46
sub_pages/supplier/order-manage/order-manage-settlement-op-detail.vue
@@ -7,7 +7,7 @@
            },
            orderItemId: '',
            op: '',
            opStr:''
            opStr: ''
         };
      },
      async onLoad(options) {
@@ -16,7 +16,7 @@
         this.opStr = options.opStr || ''
         if (this.opStr) {
            uni.setNavigationBarTitle({
               title: opStr
               title: this.opStr
            })
         }
@@ -26,10 +26,15 @@
      methods: {
         async init() {
            var apitype = 'supplier'
            // #ifdef PUB_CUSTOMER
            apitype = 'customer'
            // #endif
            this.$message.showLoading()
            const {
               data
            } = await this.$http.request('get', `/api/supplier/delivery/mine/list/check/info/` + this.op, {
            } = await this.$http.request('get', `/api/${apitype}/delivery/mine/list/check/info/` + this.op, {
               params: {
                  orderItemId: this.orderItemId
               }
@@ -78,6 +83,11 @@
               <!-- <view class="name" v-if="dto.type">处理类型:{{ dto.type  || '-'}}</view> -->
               <view class="name">处理数量:{{ dto.num || '-' }}</view>
               <view class="name">
                  扣款金额/每扎:¥{{ (dto.deductAmount&&parseFloat(dto.deductAmount)||0)/(dto.num&&parseInt(dto.num)||1).toFixed(2)  || '-'}}
               </view>
               <view class="name">扣款金额:¥{{ dto.deductAmount  || '-'}}</view>
            </view>
@@ -85,7 +95,7 @@
      </view>
      <!-- #ifndef PUB_CUSTOMER -->
      <view class="p10" style="margin-top: 0rpx;padding-top: 0rpx;" v-if="dto.pictureList&&dto.pictureList.length>0">
         <view class="line-gray"></view>
@@ -99,7 +109,6 @@
            </view>
         </view>
      </view>
      <!-- #endif -->
   </view>