miaofuhao 5 jaren geleden
bovenliggende
commit
af1bcdba56

+ 1 - 1
CallCenterWeb.UI/src/views/customerServiceManagement/orderListCustomerService/index.vue

@@ -256,7 +256,7 @@ export default {
256 256
           F_TrackingNo: this.searchData.trackingNo, //运单号
257 257
           SearchStartTime: this.searchData.searchTime[0], //添加开始时间
258 258
           SearchEndTime: this.searchData.searchTime[1], //添加结束时间
259
-          F_PayState: -2, //交易状态
259
+          F_PayState: 'this.searchData.payState', //交易状态
260 260
           F_IsExpress: -2, //-2全部 0客服未分配快递 1已分配
261 261
         };
262 262
         getOrderListCustomerService(params).then(response => {

+ 13 - 8
CallCenterWeb.UI/src/views/orderManagement/orderList/index.vue

@@ -83,9 +83,13 @@
83 83
       </el-table-column>
84 84
       <el-table-column prop="F_Customer" label="客户姓名" align="center" min-width />
85 85
       <el-table-column prop="F_CustomerPhone" label="手机号码" align="center" min-width="140">
86
-        <template slot-scope="scope" >
86
+        <template slot-scope="scope">
87 87
           {{ scope.row.F_CustomerPhone}}
88
-          <i class="el-icon-phone phoneIcon" v-if="authority_call_out(scope.row.F_Status)" @click="clickCallOut(scope.row.F_CustomerPhone)"></i>
88
+          <i
89
+            class="el-icon-phone phoneIcon"
90
+            v-if="authority_call_out(scope.row.F_Status)"
91
+            @click="clickCallOut(scope.row.F_CustomerPhone)"
92
+          ></i>
89 93
         </template>
90 94
       </el-table-column>
91 95
       <el-table-column label="订购商品" align="center" min-width>
@@ -112,7 +116,7 @@
112 116
           >支付</el-button>
113 117
           <el-button
114 118
             v-permission="'HY_edit'"
115
-            v-if="authority_edit(scope.row.F_State)"
119
+            v-if="authority_edit(scope.row.F_State,scope.row.F_Type)"
116 120
             type="text"
117 121
             @click="btn_edit(scope.row.F_Id)"
118 122
           >编辑</el-button>
@@ -255,7 +259,7 @@ export default {
255 259
           F_TrackingNo: this.searchData.trackingNo, //运单号
256 260
           SearchStartTime: this.searchData.searchTime[0], //添加开始时间
257 261
           SearchEndTime: this.searchData.searchTime[1], //添加结束时间
258
-          F_PayState:'-2',
262
+          F_PayState: -2,
259 263
         };
260 264
         getOrderLists(params).then(response => {
261 265
           this.loading = false;
@@ -411,10 +415,11 @@ export default {
411 415
       }
412 416
     },
413 417
     // 编辑权限
414
-    authority_edit (state) {
415
-      if (state == 0 || state == 2) {
418
+    authority_edit (state, type) {
419
+      if ((state == 0 || state == 2) && (type != '售后订单')) {
416 420
         return true
417
-      } else {
421
+      }
422
+      else {
418 423
         return false
419 424
       }
420 425
     },
@@ -427,7 +432,7 @@ export default {
427 432
       }
428 433
     },
429 434
     // 外呼权限
430
-    authority_call_out(status) {
435
+    authority_call_out (status) {
431 436
       if (status == 0 || status == 1) {
432 437
         return true
433 438
       } else {