Преглед изворни кода

直播售后订单和样式

yuhongqi пре 2 недеља
родитељ
комит
78ad544f95

+ 2 - 2
src/api/live/liveAfterSales.js

@@ -78,14 +78,14 @@ export function audit(data) {
 
 export function audit1(data) {
   return request({
-    url: '/store/storeAfterSales/audit1',
+    url: '/live/liveAfterSales/audit1',
     method: 'post',
     data: data
   })
 }
 export function audit2(data) {
   return request({
-    url: '/store/storeAfterSales/audit2',
+    url: '/live/liveAfterSales/audit2',
     method: 'post',
     data: data
   })

+ 4 - 4
src/views/live/components/productAfterSalesOrder.vue

@@ -29,8 +29,8 @@
         </div>
         <el-descriptions :column="4" border  >
           <el-descriptions-item label="订单单号"  >
-                <span v-if="afterSales!=null">
-                  {{afterSales.orderCode}}
+                <span v-if="order!=null">
+                  {{order.orderCode}}
                 </span>
           </el-descriptions-item>
           <el-descriptions-item label="会员"  >
@@ -337,7 +337,7 @@ export default {
         var data={salesId:id}
         return audit1(data);
       }).then(() => {
-        this.getStoreAfterSales(id);
+        this.getLiveAfterSales(id);
         this.msgSuccess("操作成功");
       }).catch(function() {});
 
@@ -352,7 +352,7 @@ export default {
         var data={salesId:id}
         return audit2(data);
       }).then(() => {
-        this.getStoreAfterSales(id);
+        this.getLiveAfterSales(id);
         this.msgSuccess("操作成功");
       }).catch(function() {});