Browse Source

管理费用

caojunjie 2 năm trước cách đây
mục cha
commit
1e161ed6c9
3 tập tin đã thay đổi với 32 bổ sung8 xóa
  1. 26 2
      src/views/costManagement/index.vue
  2. 4 4
      src/views/index.vue
  3. 2 2
      vue.config.js

+ 26 - 2
src/views/costManagement/index.vue

@@ -364,7 +364,31 @@ export default {
           onabort: ''
         },
         {
-          surface: '9',
+          surface: "9",
+          label: "applicantName",
+          name: "申请人",
+          checked: 0,
+          width: 200,
+          operation: 1,
+        },
+        {
+          surface: "10",
+          label: "fStatusName",
+          name: "状态",
+          checked: 0,
+          width: 200,
+          operation: 1,
+        },
+        {
+          surface: "11",
+          label: "fReviewDate",
+          name: "审核日期",
+          checked: 0,
+          width: 200,
+          operation: 1,
+        },
+        {
+          surface: '12',
           label: 'operation',
           name: '操作',
           checked: 0,
@@ -1132,7 +1156,7 @@ export default {
                 item.disabled = false
               }
             } else {
-              if (item.name == '修改' || item.name == '打印') {
+              if (item.name == '修改' || item.name == '打印' || item.name == '审批') {
                 item.disabled = false
               } else {
                 item.disabled = true

+ 4 - 4
src/views/index.vue

@@ -190,7 +190,7 @@
             >
               <div class="home_stock_table">委托方</div>
               <div class="home_stock_table">日期</div>
-              <div class="home_stock_table">提单号</div>
+<!--              <div class="home_stock_table">提单号</div>-->
               <div class="home_stock_table">业务类型</div>
               <div class="home_stock_table_right">
                 <div>操作</div>
@@ -214,7 +214,7 @@
                 <div class="home_stock_table" style="text-align: center">
                   {{ item.sendTime ? item.sendTime.slice(0, 10) : item.sendTime }}
                 </div>
-                <div class="home_stock_table"><p>{{ item.refno1 }}</p></div>
+<!--                <div class="home_stock_table"><p>{{ item.refno1 }}</p></div>-->
                 <div class="home_stock_table">
                   <span v-if="item.refno2 === 'SJRK'">入库</span>
                   <span v-else-if="item.refno2 === 'SJCK'">出库</span>
@@ -238,7 +238,7 @@
                   <span v-else-if="item.refno2 === 'XMGL'">项目管理</span>
                   <span v-else-if="item.refno2 === 'FYGL'">管理费用</span>
                 </div>
-                <div class="home_stock_table" @click="item.audit === '审核通过'?$message.error('该单据已审批通过不允许再次审批'):approval(item)">
+                <div class="home_stock_table_right" @click="item.audit === '审核通过'?$message.error('该单据已审批通过不允许再次审批'):approval(item)">
                   查看详情
                 </div>
               </div>
@@ -1294,7 +1294,7 @@ export default {
 
 .home_stock_table {
   display: flex;
-  width: 20%;
+  width: 33.33%;
   justify-content: center;
   align-self: center;
 

+ 2 - 2
vue.config.js

@@ -34,9 +34,9 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://192.168.0.106:9020`,
+        // target: `http://192.168.0.106:9020`,
         // target: `http://162.14.112.182:9020/`,
-        // target: `https://ap.tubaosoft.com/prod-api/`,
+        target: `https://ap.tubaosoft.com/prod-api/`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''