Browse Source

no message

linwenxin 1 year ago
parent
commit
a50ee4ad08

+ 3 - 5
src/views/secondHandMall/orderManagement/deliverGoods.vue

@@ -32,9 +32,6 @@ export default {
       formData: {
         
       },
-      orderDetail:{
-
-      },
     }
   },
   computed: {
@@ -253,8 +250,9 @@ export default {
       esOrderDetail({
         esOrderId: this.detailsId
       }).then(res=>{
-        this.orderDetail = {
-          ...res.data
+        console.log(res.data)
+        this.formData = {
+          esOrderInfos:res.data.esOrderInfos
         }
       })
     },

+ 2 - 2
src/views/secondHandMall/orderManagement/index.vue

@@ -142,10 +142,10 @@
                           <el-col :span="3" style="height: 100%;">
                             <div class="col-item">  
                               <div class="operate">
-                                <el-popconfirm v-if="~['WAIT'].indexOf(order.status)" title="确认订单吗?" @confirm="quedingesOrderPayOk">
+                                <el-popconfirm v-if="~['WAIT'].indexOf(order.status)" title="确认订单吗?" @confirm="quedingesOrderPayOk(order)">
                                   <el-button slot="reference" type="text" size="small">确认订单</el-button>
                                 </el-popconfirm>
-                                <el-popconfirm v-if="~['SAVE','WAIT'].indexOf(order.status)" title="确认取消订单吗?" @confirm="quedingesOrderCancel">
+                                <el-popconfirm v-if="~['SAVE','WAIT'].indexOf(order.status)" title="确认取消订单吗?" @confirm="quedingesOrderCancel(order)">
                                   <el-button slot="reference" type="text" size="small">取消订单</el-button>
                                 </el-popconfirm>
                                 <el-button v-if="~['SEND','OVER'].indexOf(order.status)" @click="viewMaterialFlow(order)" type="text" size="small">查看物流</el-button>