xuxueyang
2024-07-31 af2a86dbbe05d74b00a6e7bdc426e26bb0453654
pages/order/order-detail.vue
@@ -23,8 +23,16 @@
            await this.getDetail()
            await this.getItemList()
            this.submitForm = {
               orderId: this.id,
               imageList: [],
               videoList: [],
               reason: [],
               orderItems: []
            }
            this.showSales = options.showsales && true || false
         }
         this.showSales = options.showsales && true || false
      },
      methods: {
@@ -78,10 +86,9 @@
                  this.$message.showLoading()
                  const {
                     code
                  } = await this.$http.request('post', '/api/customer/order/refund', {
                     data: {
                  } = await this.$http.request('get', '/api/customer/order/refund', {
                     params: {
                        id: this.id,
                        evaluate: res.content
                     }
                  })
                  this.$message.hideLoading()
@@ -318,9 +325,9 @@
            {{ item.supplierName }}
         </view>
         <view class="flex m-t-12">
            <radio :checked="submitForm.orderItems.indexOf(item.id)>=0" @click="changeSalesOrderItem(item)"></radio>
            <radio v-if="showSales" :checked="submitForm.orderItems.indexOf(item.id)>=0" @click="changeSalesOrderItem(item)"></radio>
            <image class="flower-img img100 m-r-6" :src="item.flowerCover" @click="previewImg(item.flowerCover)">
            <image class="flower-img img100 br-4 m-r-6" :src="item.flowerCover" @click="previewImg(item.flowerCover)">
            </image>
            <view class="flex1">
               <view class=" flex">