liuyifan 5 anni fa
parent
commit
3e24364d00

+ 6 - 1
CallCenterWeb.UI/src/store/modules/user.js

@@ -14,7 +14,8 @@ const user = {
14 14
     extension: '',
15 15
     avatar: '',
16 16
     seatflag: false,
17
-    menus: []
17
+    menus: [],
18
+    mobile: '',
18 19
   },
19 20
 
20 21
   mutations: {
@@ -47,6 +48,9 @@ const user = {
47 48
     },
48 49
     SET_MENUS: (state, menus) => {
49 50
       state.menus = menus
51
+    },
52
+    SET_MOBILE: (state, mobile) => {
53
+      state.mobile = mobile
50 54
     }
51 55
   },
52 56
 
@@ -81,6 +85,7 @@ const user = {
81 85
           commit('SET_EXT', window.localStorage.getItem('ext'))// 分机号
82 86
           commit('SET_GROUPID', data.F_SeartGroupID) // 用户的坐席组id
83 87
           commit('SET_AVATAR', data.F_HeadImg) // 用户头像
88
+          commit('SET_MOBILE', data.F_Mobile) // 用户头像
84 89
           resolve(response)
85 90
         }).catch(error => {
86 91
           reject(error)

+ 16 - 1
CallCenterWeb.UI/src/views/afterSaleManagement/afterSaleList/addOrEdit.vue

@@ -334,7 +334,6 @@ export default {
334 334
         if (response.state.toLowerCase() === 'success') {
335 335
           const res = response.data.Rows[0]
336 336
           this.ruleForm.F_OrderId = res.F_OrderId //订单编号
337
-          this.ruleForm.F_DetailList = res.F_DetailList //补发产品列表
338 337
           this.ruleForm.F_OldDetailList = res.F_OldDetailList //退回产品列表
339 338
           this.ruleForm.F_Type = res.F_Type + '' //售后类型
340 339
           this.ruleForm.F_Money = res.F_Money //变动金额
@@ -343,9 +342,25 @@ export default {
343 342
           this.ruleForm.F_ReturnDes = res.F_ReturnDes //售后原因
344 343
           this.ruleForm.F_ProductStatus = res.F_ProductStatus //退回商品状态
345 344
           this.getAfterSaleOrderCommodity(this.ruleForm.F_OrderId)
345
+          this.getReissueGoods(res.F_DetailList) //补发商品
346 346
         }
347 347
       })
348 348
     },
349
+    getReissueGoods(goodsData) {
350
+      let reissueGoods = goodsData.split('|')
351
+      let data = {
352
+        F_ProductId: '',
353
+        F_ProductName: '',
354
+        F_Count: '',
355
+      }
356
+      for (let i = 0; i < reissueGoods.length; i++) {
357
+        let reissueGoodsDetail = reissueGoods[i].split(',')
358
+        data.F_ProductId = reissueGoodsDetail[0]
359
+        data.F_ProductName = reissueGoodsDetail[1]
360
+        data.F_Count = reissueGoodsDetail[2]
361
+        this.commodityTableData.push(data)
362
+      }
363
+    },
349 364
     // 售后订单商品列表
350 365
     getAfterSaleOrderCommodity(rid) {
351 366
       const params = {

CallCenterWeb.UI/src/views/afterSaleManagement/orderList/afterSale.vue → CallCenterWeb.UI/src/views/afterSaleManagement/saleOrderList/afterSale.vue


+ 1 - 3
CallCenterWeb.UI/src/views/afterSaleManagement/orderList/index.vue

@@ -23,8 +23,6 @@
23 23
       <el-input v-model="searchData.customerPhone" placeholder="请输入客户手机号" class="filter-item" />
24 24
       <el-input v-model="searchData.trackingNo" placeholder="请输入运单号" class="filter-item" />
25 25
       <el-button type="primary" class="filter-item" icon="el-icon-search" @click="btn_search">搜索</el-button>
26
-      <el-button v-permission="'HY_merge'" type="primary" class="filter-item" @click="btn_merge">合并</el-button>
27
-      <el-button v-permission="'HY_split'" type="primary" class="filter-item" @click="btn_split">拆分</el-button>
28 26
     </div>
29 27
     <el-tabs v-model="activeName" type="card" @tab-click="handleTabClick" >
30 28
       <el-tab-pane label="全部" name="-2"></el-tab-pane>
@@ -88,7 +86,7 @@ import detail from "@/views/orderManagement/orderList/detail"
88 86
 import Pagination from "@/components/Pagination"; // 对el-pagination 二次封装
89 87
 
90 88
 export default {
91
-  name: "orderList",
89
+  name: "SaleOrderList",
92 90
   components: {
93 91
     Pagination
94 92
   },

+ 7 - 6
CallCenterWeb.UI/src/views/personalInfo/index.vue

@@ -45,13 +45,13 @@
45 45
               <label class="item_label">手机号码</label>
46 46
             </el-col>
47 47
             <el-col :md="21">
48
-              <span class="item_span">您已绑定了手机 <b>15238368612</b>【您的手机为安全手机,可以找回密码,但不能用于登录】</span>
49
-              <el-tooltip class="item" effect="dark" content="暂未处理" placement="top-start">
48
+              <span class="item_span">您已绑定了手机 <b>{{ mobile }}</b>【您的手机为安全手机,但不能用于登录】</span>
49
+              <!-- <el-tooltip class="item" effect="dark" content="暂未处理" placement="top-start">
50 50
                 <el-button type="text" class="btn_tel">修改</el-button>
51
-              </el-tooltip>
51
+              </el-tooltip> -->
52 52
             </el-col>
53 53
           </li>
54
-          <li class="list_item clearfix">
54
+          <!-- <li class="list_item clearfix">
55 55
             <el-col :md="3">
56 56
               <label class="item_label">转接设置</label>
57 57
             </el-col>
@@ -61,7 +61,7 @@
61 61
                 <el-button type="text" class="btn_trans">修改</el-button>
62 62
               </el-tooltip>
63 63
             </el-col>
64
-          </li>
64
+          </li> -->
65 65
         </ul>
66 66
       </el-col>
67 67
     </el-row>
@@ -100,7 +100,8 @@ export default {
100 100
       'usercode',
101 101
       'userRole',
102 102
       'seatflag',
103
-      'extension'
103
+      'extension',
104
+      'mobile',
104 105
     ])
105 106
   },
106 107
   created() {