Explorar o código

达人订单管理添加渠道

朱鑫波 %!s(int64=2) %!d(string=hai) anos
pai
achega
dc231395ee
Modificáronse 2 ficheiros con 11 adicións e 1 borrados
  1. 1 1
      src/utils/request.js
  2. 10 0
      src/views/supplyChain/index.vue

+ 1 - 1
src/utils/request.js

@@ -19,7 +19,7 @@ const service = axios.create({
   // http://192.168.0.195:9003 测试
   // http://192.168.1.143:9003 西安
   // http://192.168.1.148:9003 蒙蒙
-  baseURL: 'http://192.168.1.143:9003',
+  baseURL: 'http://ruixuan.api.tjyourong.com.cn',
   // 超时
   timeout: 300000
 })

+ 10 - 0
src/views/supplyChain/index.vue

@@ -143,6 +143,16 @@
       </el-table-column>
       <el-table-column label="未发货数" align="center" prop="notDeliveryNum"  width="100">
       </el-table-column>
+      <el-table-column label="渠道" align="center" prop="userName"  width="150">
+        <template slot-scope="scope">
+          {{
+            scope.row.userName
+              ? scope.row.userName 
+              : "-"
+          }}
+        </template>
+      </el-table-column>
+      
       <el-table-column label="订单top3(订单数)" align="center" prop="topOrders">
         <template slot-scope="scope">
           <a