1
xuxueyang
2024-08-28 2c3614061cfa88fc0a7d653f02238e3e23f16ec5
sub_pages/partner/delivery/delivery-detail.vue
@@ -82,10 +82,11 @@
               })
               this.$message.hideLoading()
               if (code === 0) {
                  this.$message.showToast('操作成功')
                  setTimeout(() => {
                     this.init()
                  }, 500)
                  await this.$message.showToast('操作成功')
                  this.init()
                  // setTimeout(() => {
                  //    this.init()
                  // }, 500)
               }
               return
            }
@@ -179,11 +180,13 @@
            })
            this.$message.hideLoading()
            if (code === 0) {
               this.$message.showToast('操作成功')
               this.$refs.popup_form.close()
               setTimeout(() => {
                  this.init()
               }, 500)
               await this.$message.showToast('操作成功')
               this.init()
               // setTimeout(() => {
               //    this.init()
               // }, 500)
            }
         },
         async init() {
@@ -302,10 +305,27 @@
                        <view class="value">{{ item.num || 0 }}</view>
                     </view>
                     <!--    <view class="each-item">
                  </view>
                  <view class="each-list">
                     <view class="each-item">
                        <view class="label">价格</view>
                        <view class="value">{{ item.price || '-' }}</view>
                     </view> -->
                        <view class="value">¥{{ item.price || '-' }}</view>
                     </view>
                     <view class="each-item">
                        <view class="label">降级</view>
                        <view class="value">{{ item.checkNum || 0 }}</view>
                     </view>
                     <view class="each-item">
                        <view class="label">缺货</view>
                        <view class="value">{{ item.lackNum || 0 }}</view>
                     </view>
                     <view class="each-item">
                        <view class="label">补货</view>
                        <view class="value">{{ item.replaceNum || 0 }}</view>
                     </view>
                  </view>
               </view>
            </view>
@@ -337,7 +357,7 @@
                  <view class="form-item-label require" style="min-width: 120rpx;margin-right: 10rpx;">
                     降级等级
                  </view>
                  <view class="form-item-value flex">
                  <view class="form-item-value flex ">
                     <view class="value-item" @click="()=>{
                           if(form.targetLevel!==query.value){
                              form.targetLevel = each.value