소스 검색

人工订单bug

xxm 6 년 전
부모
커밋
94e861c19a
71개의 변경된 파일198개의 추가작업 그리고 106개의 파일을 삭제
  1. 2 2
      dist/200.html
  2. 1 0
      dist/_nuxt/00b662934102a4b137ef.js
  3. 1 1
      dist/_nuxt/5965047bf75f9e9481c1.js
  4. 1 0
      dist/_nuxt/063f7ca206b5dbd9ff70.js
  5. 1 0
      dist/_nuxt/08cbf01720b0c5425d84.js
  6. 0 1
      dist/_nuxt/0a420371974c3a98b5d1.js
  7. 1 1
      dist/_nuxt/4b3a105e1d31ad03b270.js
  8. 1 0
      dist/_nuxt/3790637097c509976b15.js
  9. 1 1
      dist/_nuxt/7f3ece18571d3afafbab.js
  10. 1 0
      dist/_nuxt/3f3977c778fff54065aa.js
  11. 0 1
      dist/_nuxt/3f9bb7c34130ba9f5a64.js
  12. 1 1
      dist/_nuxt/ef93eb5d7e4e15d49052.js
  13. 1 1
      dist/_nuxt/13dc7480f54445873b07.js
  14. 1 1
      dist/_nuxt/9d109bdcd21eb4323e80.js
  15. 1 0
      dist/_nuxt/4fe95b8f0f4b945eae1d.js
  16. 1 1
      dist/_nuxt/c7909daacb7f480d1cd2.js
  17. 0 1
      dist/_nuxt/581b4881cd1362a45528.js
  18. 1 1
      dist/_nuxt/a7d2b9dabd924c3195f9.js
  19. 1 1
      dist/_nuxt/103395e30e3be0f38213.js
  20. 1 1
      dist/_nuxt/c9a02af944c468ef7e71.js
  21. 1 0
      dist/_nuxt/682cd413238be1d292a9.js
  22. 1 1
      dist/_nuxt/7fd9eb2e29698f64b1b3.js
  23. 1 1
      dist/_nuxt/544ed01852772e014cad.js
  24. 0 1
      dist/_nuxt/6d5d4a3a7bb67324abdc.js
  25. 0 1
      dist/_nuxt/759385f996602a0d91d7.js
  26. 1 1
      dist/_nuxt/a2ca09b42b6f69e88516.js
  27. 1 0
      dist/_nuxt/80ae9b69d49cb43d5af5.js
  28. 1 1
      dist/_nuxt/2f29d61964185af3966d.js
  29. 1 1
      dist/_nuxt/5acf50f32a1ba29a47c0.js
  30. 1 1
      dist/_nuxt/10559bc8a7ed5091a60e.js
  31. 1 1
      dist/_nuxt/43a00f36d4fe57baa6af.js
  32. 1 1
      dist/_nuxt/aa0ea7344d26717ae634.js
  33. 0 1
      dist/_nuxt/c47551e235892a78efea.js
  34. 1 1
      dist/_nuxt/51670de39a9c4a1ef471.js
  35. 1 1
      dist/_nuxt/0f004a596a83a84cd8d5.js
  36. 1 1
      dist/_nuxt/21f5c40f5f7d328cf778.js
  37. 1 1
      dist/_nuxt/f9d3f471a3fe1519efa4.js
  38. 0 1
      dist/_nuxt/eb0858809fb2901482ad.js
  39. 1 1
      dist/_nuxt/2f1284e69986656a5868.js
  40. 2 2
      dist/index.html
  41. 2 2
      dist/login/index.html
  42. 2 2
      dist/main/404/index.html
  43. 2 2
      dist/main/artificial_orders/index.html
  44. 9 0
      dist/main/balance_change/index.html
  45. 2 2
      dist/main/cats copy/index.html
  46. 2 2
      dist/main/cats/index.html
  47. 2 2
      dist/main/cert_check/index.html
  48. 2 2
      dist/main/cert_edit/index.html
  49. 2 2
      dist/main/cert_pro/index.html
  50. 2 2
      dist/main/cloud_balance/index.html
  51. 2 2
      dist/main/cloud_developer/index.html
  52. 2 2
      dist/main/cloud_job/index.html
  53. 2 2
      dist/main/cloud_order copy/index.html
  54. 2 2
      dist/main/dev_check/index.html
  55. 2 2
      dist/main/dev_check_detail/index.html
  56. 2 2
      dist/main/dev_show/index.html
  57. 2 2
      dist/main/gongmall/index.html
  58. 2 2
      dist/main/group_list/index.html
  59. 2 2
      dist/main/index.html
  60. 2 2
      dist/main/cloud_detail/index.html
  61. 2 2
      dist/main/orders/index.html
  62. 2 2
      dist/main/orders_detail/index.html
  63. 2 2
      dist/main/orders_frozen/index.html
  64. 2 2
      dist/main/vip_manager/index.html
  65. 2 2
      dist/main/vip_order/index.html
  66. 2 2
      dist/main/vip_setting/index.html
  67. 2 2
      dist/main/wage_details/index.html
  68. 2 2
      dist/main/wage_settlement/index.html
  69. 20 7
      pages/main/index/artificial_orders.vue
  70. 72 7
      pages/main/index/orders.vue
  71. 8 4
      pages/main/index/orders_detail.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/200.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/_nuxt/00b662934102a4b137ef.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/5965047bf75f9e9481c1.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/_nuxt/063f7ca206b5dbd9ff70.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/_nuxt/08cbf01720b0c5425d84.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/_nuxt/0a420371974c3a98b5d1.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/4b3a105e1d31ad03b270.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/_nuxt/3790637097c509976b15.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/7f3ece18571d3afafbab.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/_nuxt/3f3977c778fff54065aa.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/_nuxt/3f9bb7c34130ba9f5a64.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/ef93eb5d7e4e15d49052.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/13dc7480f54445873b07.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/9d109bdcd21eb4323e80.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/_nuxt/4fe95b8f0f4b945eae1d.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/c7909daacb7f480d1cd2.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/_nuxt/581b4881cd1362a45528.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/a7d2b9dabd924c3195f9.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/103395e30e3be0f38213.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/c9a02af944c468ef7e71.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/_nuxt/682cd413238be1d292a9.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/7fd9eb2e29698f64b1b3.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/544ed01852772e014cad.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/_nuxt/6d5d4a3a7bb67324abdc.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/_nuxt/759385f996602a0d91d7.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/a2ca09b42b6f69e88516.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 0
dist/_nuxt/80ae9b69d49cb43d5af5.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/2f29d61964185af3966d.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/5acf50f32a1ba29a47c0.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/10559bc8a7ed5091a60e.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/43a00f36d4fe57baa6af.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/aa0ea7344d26717ae634.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/_nuxt/c47551e235892a78efea.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/51670de39a9c4a1ef471.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/0f004a596a83a84cd8d5.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/21f5c40f5f7d328cf778.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/f9d3f471a3fe1519efa4.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
dist/_nuxt/eb0858809fb2901482ad.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/_nuxt/2f1284e69986656a5868.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/login/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/404/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/artificial_orders/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 9 - 0
dist/main/balance_change/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/cats copy/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/cats/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/cert_check/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/cert_edit/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/cert_pro/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/cloud_balance/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/cloud_developer/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/cloud_job/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/cloud_order copy/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/dev_check/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/dev_check_detail/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/dev_show/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/gongmall/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/group_list/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/cloud_detail/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/orders/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/orders_detail/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/orders_frozen/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/vip_manager/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/vip_order/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/vip_setting/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/wage_details/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/main/wage_settlement/index.html


+ 20 - 7
pages/main/index/artificial_orders.vue

@@ -6,7 +6,9 @@
     <div class="type-boxs">
       <div class="clear">
         <div class="floatr">
-          <el-button type="primary">新增订单</el-button>
+          <nuxt-link :to="{path:'/main/order_detail'}">
+            <el-button type="primary">新增订单</el-button>
+          </nuxt-link>
           <el-button>导出报表</el-button>
         </div>
       </div>
@@ -26,11 +28,16 @@
             </span>
           </template>
         </el-table-column>
-        <el-table-column prop="uid" label="用户"></el-table-column>
+        <el-table-column label="用户">
+          <template slot-scope="scope">{{scope.row.user_info.nickname}}({{scope.row.uid }})</template>
+        </el-table-column>
         <el-table-column label="实际金额">
           <template slot-scope="scope">
-            <span v-if="parseInt(scope.row.real_amount)>=0" class="green">+{{scope.row.real_amount}}</span>
-            <span v-else class="orange">+{{scope.row.real_amount}}</span>
+            <span
+              v-if="parseInt(scope.row.real_amount)>=0"
+              class="green"
+            >+{{scope.row.real_amount/100}}</span>
+            <span v-else class="orange">+{{scope.row.real_amount/100}}</span>
           </template>
         </el-table-column>
         <el-table-column label="收支类型">
@@ -44,7 +51,7 @@
             <span>{{scope.row.order_type_name}}</span>
           </template>
         </el-table-column>
-        <el-table-column prop="product_type_name" width="100" label="订单类型">
+        <el-table-column prop="product_type_name" width="100" label="订单状态">
           <template slot-scope="scope">
             {{scope.row.product_type_name}}
             <!-- order_type -->
@@ -65,13 +72,19 @@
 
         <el-table-column label="关联项目">
           <template slot-scope="scope">
-            <span class="lblue">{{scope.row.related_project_name?related_project_id:"--"}}</span>
+            <a :href="scope.row.related_project.url?scope.row.related_project.url:'#'">
+              <span
+                class="lblue"
+              >{{scope.row.related_project.name?scope.row.related_project.name:"--"}}</span>
+            </a>
           </template>
         </el-table-column>
         <el-table-column label="编辑">
           <template slot-scope="scope">
             <!-- 需求是状态等于“待提交的时候显示”给我一个状态_name 或者是待提交的id -->
-            <span v-if="scope.row.status==0" class="lblue point">编辑</span>
+            <nuxt-link :to="{path:'/main/order_detail?id='+scope.row.id}">
+              <span v-if="scope.row.status==0" class="lblue point">编辑</span>
+            </nuxt-link>
           </template>
         </el-table-column>
       </el-table>

+ 72 - 7
pages/main/index/orders.vue

@@ -113,7 +113,7 @@
           </div>
 
           <el-button type="primary" @click="getFinanceList">筛选</el-button>
-          <el-button>导出报表</el-button>
+          <el-button @click="downFinanceList">导出报表</el-button>
         </div>
         <div class="type-boxs">
           <div>
@@ -168,14 +168,19 @@
             </span>
           </template>
         </el-table-column>
-        <el-table-column prop="uid" label="用户"></el-table-column>
+        <el-table-column label="用户">
+          <template slot-scope="scope">{{scope.row.user_info.nickname}}({{scope.row.uid }})</template>
+        </el-table-column>
         <el-table-column label="实际金额">
           <template slot-scope="scope">
-            <span v-if="parseInt(scope.row.real_amount)>=0" class="green">+{{scope.row.real_amount}}</span>
-            <span v-else class="orange">+{{scope.row.real_amount}}</span>
+            <span
+              v-if="parseInt(scope.row.real_amount)>=0"
+              class="green"
+            >+{{scope.row.real_amount/100}}</span>
+            <span v-else class="orange">+{{scope.row.real_amount/100}}</span>
           </template>
         </el-table-column>
-        <el-table-column prop="channel" label="支付方式"></el-table-column>
+        <el-table-column prop="channel_name" label="支付方式"></el-table-column>
         <el-table-column prop="order_state_name" label="订单状态"></el-table-column>
         <el-table-column prop label="创建时间">
           <template slot-scope="scope">
@@ -206,7 +211,11 @@
         </el-table-column>
         <el-table-column label="关联项目">
           <template slot-scope="scope">
-            <span class="lblue">{{scope.row.related_project_name?related_project_id:"--"}}</span>
+            <a :href="scope.row.related_project.url?scope.row.related_project.url:'#'">
+              <span
+                class="lblue"
+              >{{scope.row.related_project.name?scope.row.related_project.name:"--"}}</span>
+            </a>
           </template>
         </el-table-column>
         <el-table-column prop="operator_uid" label="人工"></el-table-column>
@@ -249,7 +258,7 @@ export default {
       orderType: [0],
       tradeType: [0],
       payType: [0],
-      timeType: 1,
+      timeType: 2,
       timeOptions: [
         {
           value: 1,
@@ -703,6 +712,62 @@ export default {
       this.totalPage = data.totalPage;
       this.localData.env = data.current_env;
     },
+    async downFinanceList() {
+      var checkedTF = 0;
+      console.log(this.checked);
+      if (this.checked) {
+        console.log(333);
+        checkedTF = 1;
+      }
+      var arr1 = [];
+      if (this.productType[0] == 0) {
+        arr1 = "";
+      } else {
+        arr1 = this.productType.toString();
+      }
+      var arr2 = [];
+      if (this.payType[0] == 0) {
+        arr2 = "";
+      } else {
+        arr2 = this.payType.toString();
+      }
+
+      var time = 1;
+      if (this.timeType == "") {
+        time = "";
+      } else {
+        time = this.timeType;
+      }
+      var starTime = "";
+      var endTime = "";
+      if (this.timeRange.length) {
+        starTime = this.formatDate(this.timeRange[0] / 1000);
+        endTime = this.formatDate(this.timeRange[1] / 1000);
+      } else {
+        starTime = "";
+        endTime = "";
+      }
+
+      let body = {
+        // 1111
+        product_type: arr1,
+        order_type: this.orderTypes,
+        channel: arr2,
+        start_time: starTime,
+        end_time: endTime,
+        date_type: time,
+        status: this.orderState,
+        artificial_mark: checkedTF,
+        order: this.searchId,
+        user: this.checkUser,
+        // this.productTypes
+        product_id: this.productId,
+
+        page: this.currentPage,
+        page_size: this.currentPageSize
+      };
+      const res = await this.$post("/api/admin/order/export", body);
+    },
     async getFinanceList() {
       var checkedTF = 0;
       console.log(this.checked);

+ 8 - 4
pages/main/index/orders_detail.vue

@@ -18,7 +18,7 @@
           <span
             v-if="inforDetail.real_amount>=0"
             class="detail-pays green font20"
-          >+{{inforDetail.real_amount}}</span>
+          >+{{inforDetail.real_amount/100}}</span>
           <span v-else class="detail-pays orange font20">-¥{{inforDetail.real_amount}}</span>
         </p>
         <p>
@@ -78,11 +78,15 @@
         </p>
         <p>
           <span>关联项目:</span>
-          <span>————</span>
+          <a :href="inforDetail.related_project.url?inforDetail.related_project.url:'#'">
+            <span
+              class="lblue"
+            >{{inforDetail.related_project.name?inforDetail.related_project.name:"--"}}</span>
+          </a>
         </p>
         <p>
           <span>关联订单:</span>
-          <span class="blue">将减肥咖啡|酒店客房</span>
+          <span class="lblue">将减肥咖啡|酒店客房</span>
         </p>
         <p>
           <span>人工财务:</span>
@@ -138,7 +142,7 @@ export default {
       centerDialogVisible: false,
       currentPage: 1,
       currentPageSize: 1,
-      inforDetail: {},
+      inforDetail: { related_project: "" },
       status: 1,
       iconUrl: "",
       nikeName: ""