YY 2 jaren geleden
bovenliggende
commit
36a0c81c29

+ 1 - 0
src/components/orderParts/card-1.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="card-1">
     <el-row>
+      <!-- 平台订单待付款列表 -->
       <el-col :span="24" class="main">
         <el-col :span="24" class="one">
           <search-1 :form="searchForm" @onSubmit="search" @querySearch="querySearch" @toReset="toClose" :shopList="shopList"> </search-1>

+ 1 - 0
src/components/orderParts/card-2.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="card-1">
     <el-row>
+      <!-- 自营订单待付款列表 -->
       <el-col :span="24" class="main" v-loading="loadings" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading">
         <el-col :span="24" class="one">
           <search-1 :form="searchForm" @onSubmit="search" @querySearch="querySearch" @toReset="toClose" :shopList="shopList"> </search-1>

+ 1 - 0
src/components/orderParts/card-3.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="card-1">
     <el-row>
+      <!-- 平台订单待发货列表 -->
       <el-col :span="24" class="main">
         <detail-1 v-if="num == '1'" @toDeliver="toDeliver" :statusList="statusList" @toDetails="toDetails" @toSaless="toSaless"></detail-1>
         <detail-2 v-else-if="num == '2'" :deliverList="list" @toBack="toBack"></detail-2>

+ 1 - 0
src/components/orderParts/card-4.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="card-1">
     <el-row>
+      <!-- 团购订单待发货 -->
       <el-col :span="24" class="main">
         <detail-1 v-if="num == '1'" @toDeliver="toDeliver" :statusList="statusList" @toDetails="toDetails" @toSaless="toSaless"></detail-1>
         <detail-2 v-else-if="num == '2'" :deliverList="list" @toBack="toBack"></detail-2>

+ 1 - 0
src/components/orderParts/detail/detail_order.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="form-1">
     <el-row>
+      <!-- 待付款订单详情 -->
       <el-col
         :span="24"
         class="main animate__animated animate__backInRight"

+ 1 - 0
src/components/orderParts/detail/detail_orderDetail.vue

@@ -1,5 +1,6 @@
 <template>
   <div id="form-1">
+    <!-- 订单详情 -->
     <el-row>
       <el-col :span="24" class="top-btn">
         <el-button type="primary" size="mini" @click="toBack()">返回</el-button>

+ 1 - 0
src/components/orderParts/detail/detail_sales_order.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="form-1">
     <el-row>
+      <!-- 待付款申请售后 -->
       <el-col
         :span="24"
         class="main animate__animated animate__backInRight"

+ 1 - 0
src/components/orderParts/detail/detail_sales_orderDetail.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="form-1">
     <el-row>
+      <!-- 申请售后 -->
       <el-col
         :span="24"
         class="main animate__animated animate__backInRight"

+ 1 - 0
src/components/orderParts/detail/group_order.vue

@@ -1,5 +1,6 @@
 <template>
   <div id="form-1">
+    <!-- 团购订单详情 -->
     <el-row>
       <el-col :span="24" class="top-btn">
         <el-button type="primary" size="mini" @click="toBack()">返回</el-button>

+ 3 - 5
src/components/orderParts/detail/group_sales.vue

@@ -1,5 +1,6 @@
 <template>
   <div id="form-1">
+    <!-- 团购订单申请售后 -->
     <el-row>
       <el-col
         :span="24"
@@ -236,11 +237,8 @@ export default {
       if (this.$checkRes(res)) this.$set(this, 'shop_transport_typeList', res.data);
     },
     toUrl(url) {
-      if (url) {
-        window.open(url, '_blank');
-      } else {
-        this.$message.error('该商品还未添加来源网址,无法跳转');
-      }
+      if (url) window.open(url, '_blank');
+      else this.$message.error('该商品还未添加来源网址,无法跳转');
     },
     // 选择商品
     getFile(value) {

+ 1 - 0
src/components/orderParts/detail/parts/card-1.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="card-1">
     <el-row>
+      <!-- 自营店铺订单详情--商品详情 -->
       <el-col :span="24" class="main">
         <el-col :span="12" class="main_one">
           <el-col :span="24" class="add">

+ 1 - 0
src/components/orderParts/detail/parts/card-2.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="card-2">
     <el-row>
+      <!-- 自营店铺订单详情--物流信息 -->
       <el-col :span="24" class="main">
         <el-col :span="9" class="one">
           <!-- 快递列表 -->

+ 1 - 0
src/components/orderParts/detail/parts/card-3.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="card-1">
     <el-row>
+      <!-- 团购订单详情--商品详情 -->
       <el-col :span="24" class="main">
         <el-col :span="12" class="main_one">
           <el-col :span="24" class="add">

+ 1 - 0
src/components/orderParts/detail/parts/card-4.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="card-2">
     <el-row>
+      <!-- 团购订单详情--物流信息 -->
       <el-col :span="24" class="main">
         <el-col :span="9" class="one">
           <!-- 快递列表 -->

+ 1 - 0
src/components/orderParts/parts/detail-1.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="card-1">
     <el-row>
+      <!-- 自营店铺订单待发货列表 -->
       <el-col :span="24" class="main" v-loading="loadings" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading">
         <el-col :span="24" v-if="num == '1'">
           <el-col :span="24" class="one">

+ 1 - 0
src/components/orderParts/parts/detail-2.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="form-1">
     <el-row>
+      <!-- 自营店铺订单待发货--发货清单 -->
       <el-col :span="24" class="main animate__animated animate__backInRight">
         <el-col class="top_btn"><el-button type="primary" size="mini" @click="toBack()">返回</el-button></el-col>
         <el-col :span="24" class="one"> <span>发货清单</span> </el-col>

+ 1 - 0
src/components/orderParts/parts/detail-3.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="card-1">
     <el-row>
+      <!-- 团购订单待发货列表 -->
       <el-col :span="24" class="main" v-loading="loadings" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading">
         <el-col :span="24" v-if="num == '1'">
           <el-col :span="24" class="one">

+ 3 - 3
src/components/orderParts/parts/detail-4.vue

@@ -1,6 +1,7 @@
 <template>
   <div id="form-1">
     <el-row>
+      <!-- 团购订单待发货--发货清单 -->
       <el-col :span="24" class="main animate__animated animate__backInRight">
         <el-col class="top_btn"><el-button type="primary" size="mini" @click="toBack()">返回</el-button></el-col>
         <el-col :span="24" class="one"> <span>发货清单</span> </el-col>
@@ -84,9 +85,8 @@ export default {
     // 选中要导出的商品
     handleSelect(goodsList, address) {
       let fileList = this.fileList;
-      if (fileList.length == 0) {
-        fileList.push({ goodsList, address });
-      } else {
+      if (fileList.length == 0) fileList.push({ goodsList, address });
+      else {
         if (goodsList.length > 0) {
           for (const val of fileList) {
             if (address._id == val.address._id) val.goodsList = goodsList;

+ 1 - 0
src/components/orderParts/search-1.vue

@@ -1,5 +1,6 @@
 <template>
   <div id="search-1">
+    <!-- 平台订单查询 -->
     <el-row>
       <el-col :span="24" class="main">
         <el-form :model="form" ref="form" label-width="130px">

+ 1 - 0
src/components/orderParts/search-2.vue

@@ -1,5 +1,6 @@
 <template>
   <div id="search-1">
+    <!-- 自营店铺订单查询 -->
     <el-row>
       <el-col :span="24" class="main">
         <el-form :model="form" ref="form" label-width="130px">

+ 1 - 0
src/components/orderParts/search-3.vue

@@ -1,5 +1,6 @@
 <template>
   <div id="search-1">
+    <!-- 团购订单查询 -->
     <el-row>
       <el-col :span="24" class="main">
         <el-form :model="form" ref="form" label-width="130px">

+ 1 - 3
src/components/salesParts/detail.vue

@@ -17,9 +17,7 @@
             <el-col :span="20"> {{ customers.name }},{{ customers.phone }} </el-col>
           </el-col>
           <el-col :span="24" class="add">
-            <el-col :span="2">
-              <i class="el-icon-location"></i>
-            </el-col>
+            <el-col :span="2"><i class="el-icon-location"></i></el-col>
             <el-col :span="22">
               <el-col :span="24"> {{ address.name }},{{ address.phone }} </el-col>
               <el-col :span="24"> {{ address.province }} , {{ address.city }} , {{ address.area }} , {{ address.address }} </el-col>

+ 4 - 4
src/components/salesParts/guide_detail.vue

@@ -17,9 +17,7 @@
             <el-col :span="20"> {{ customers.name }},{{ customers.phone }} </el-col>
           </el-col>
           <el-col :span="24" class="add">
-            <el-col :span="2">
-              <i class="el-icon-location"></i>
-            </el-col>
+            <el-col :span="2"><i class="el-icon-location"></i></el-col>
             <el-col :span="22">
               <el-col :span="24"> {{ address.name }},{{ address.phone }} </el-col>
               <el-col :span="24"> {{ address.province }} , {{ address.city }} , {{ address.area }} , {{ address.address }} </el-col>
@@ -306,6 +304,7 @@ export default {
         }
       });
     },
+    // 换货、退货
     async exam_one(status) {
       this.$confirm('是否确认不填写单号修改售后状态', '提示', {
         confirmButtonText: '确定',
@@ -366,9 +365,10 @@ export default {
     // 查询其他信息
     async searchOther() {
       let res;
-      // 类型
+      // 售后类型
       res = await this.dictQuery({ code: 'afterSale_type' });
       if (this.$checkRes(res)) this.$set(this, `typeList`, res.data);
+      // 售后状态
       res = await this.dictQuery({ code: 'afterSale_status' });
       if (this.$checkRes(res)) this.$set(this, `statusList`, res.data);
     },

+ 2 - 1
src/views/platmanag/order/index.vue

@@ -90,8 +90,9 @@ export default {
       shopList: [],
       order_id: '',
       sales_id: '',
+      // 状态
       status: '',
-
+      // 查询
       searchForm: {},
       list: [],
       total: 0,