zhengjinyi 1 سال پیش
والد
کامیت
249f487fa8
6فایلهای تغییر یافته به همراه6 افزوده شده و 9 حذف شده
  1. 2 2
      .env.development
  2. 2 2
      src/router/index.js
  3. 1 1
      src/store/modules/permission.js
  4. 0 1
      src/views/finance/details.vue
  5. 0 1
      src/views/order/detail.vue
  6. 1 2
      src/views/order/list.vue

+ 2 - 2
.env.development

@@ -3,9 +3,9 @@ ENV = 'development'
 
 
 # base api
 # base api
 # VUE_APP_BASE_API = '/dev-api'
 # VUE_APP_BASE_API = '/dev-api'
-# VUE_APP_BASE_API = 'http://192.168.2.102:9104'
+VUE_APP_BASE_API = 'http://192.168.2.102:9104'
 # VUE_APP_BASE_API = 'http://192.168.2.67:9104'
 # VUE_APP_BASE_API = 'http://192.168.2.67:9104'
-VUE_APP_BASE_API = 'https://mai-b.caimei365.com'
+# VUE_APP_BASE_API = 'https://mai-b.caimei365.com'
 # VUE_APP_BASE_API = 'http://192.168.2.103:9104'
 # VUE_APP_BASE_API = 'http://192.168.2.103:9104'
 # VUE_APP_BASE_API = 'http://192.168.78.1:9104/'
 # VUE_APP_BASE_API = 'http://192.168.78.1:9104/'
 
 

+ 2 - 2
src/router/index.js

@@ -8,7 +8,7 @@ import Layout from '@/layout'
 
 
 /* Router Modules */
 /* Router Modules */
 import clubRouter from './modules/club'
 import clubRouter from './modules/club'
-import procureRouter from './modules/procure'
+// import procureRouter from './modules/procure'
 import centralizedRouter from './modules/centralized'
 import centralizedRouter from './modules/centralized'
 import floorRouter from './modules/floor'
 import floorRouter from './modules/floor'
 import goodsRouter from './modules/goods'
 import goodsRouter from './modules/goods'
@@ -69,7 +69,7 @@ export const constantRoutes = [
  */
  */
 export const asyncRoutes = [
 export const asyncRoutes = [
   clubRouter,
   clubRouter,
-  procureRouter,
+  // procureRouter,
   centralizedRouter,
   centralizedRouter,
   goodsRouter,
   goodsRouter,
   campaign,
   campaign,

+ 1 - 1
src/store/modules/permission.js

@@ -62,7 +62,7 @@ const actions = {
         const res = await getInfo(getToken())
         const res = await getInfo(getToken())
         const data = res.data
         const data = res.data
         if (data.personnelType === 1) {
         if (data.personnelType === 1) {
-          accessedRoutes[8].children.unshift({
+          accessedRoutes[7].children.unshift({
             path: 'user',
             path: 'user',
             name: 'User',
             name: 'User',
             component: () => import('@/views/sys/user-list'),
             component: () => import('@/views/sys/user-list'),

+ 0 - 1
src/views/finance/details.vue

@@ -29,7 +29,6 @@
             <el-col :span="7">
             <el-col :span="7">
               <b>订单类型:</b>
               <b>订单类型:</b>
               <span style="margin: 0;">{{ order.orderType === 1 ? '自主订单' : '采购员订单' }}</span>
               <span style="margin: 0;">{{ order.orderType === 1 ? '自主订单' : '采购员订单' }}</span>
-              <span v-if="order.orderType === 0" style="margin: 0;">({{ order.spName }})</span>
             </el-col>
             </el-col>
           </el-row>
           </el-row>
           <template v-if="repacts.payWay === 1">
           <template v-if="repacts.payWay === 1">

+ 0 - 1
src/views/order/detail.vue

@@ -20,7 +20,6 @@
           <el-col :span="7">
           <el-col :span="7">
             <b>订单类型:</b>
             <b>订单类型:</b>
             <span style="margin: 0;">{{ order.orderType === 1 ? '自主订单' : '采购员订单' }}</span>
             <span style="margin: 0;">{{ order.orderType === 1 ? '自主订单' : '采购员订单' }}</span>
-            <span v-if="order.orderType === 0" style="margin: 0;">({{ order.spName }})</span>
           </el-col>
           </el-col>
         </el-row>
         </el-row>
         <el-row :gutter="24" class="box-row">
         <el-row :gutter="24" class="box-row">

+ 1 - 2
src/views/order/list.vue

@@ -148,8 +148,7 @@
       <el-table-column label="订单编号" align="center" prop="orderNo" />
       <el-table-column label="订单编号" align="center" prop="orderNo" />
       <el-table-column label="订单类型" align="center" prop="payTotalFee">
       <el-table-column label="订单类型" align="center" prop="payTotalFee">
         <template slot-scope="{row}">
         <template slot-scope="{row}">
-          <p style="margin: 0;">{{ row.orderType === 1 ? '自主订单' : '采购员订单' }}</p>
-          <p v-if="row.orderType === 0" style="margin: 0;">({{ row.spName }})</p>
+          {{ row.orderType === 1 ? '自主订单' : '采购员订单' }}
         </template>
         </template>
       </el-table-column>
       </el-table-column>
       <el-table-column label="机构" align="center" prop="clubName" />
       <el-table-column label="机构" align="center" prop="clubName" />