ccj 1 gadu atpakaļ
vecāks
revīzija
95a7982bd4

+ 17 - 3
src/views/home/index.vue

@@ -15,7 +15,7 @@
         <div class="guang"></div>
         <div class="d-flex jc-center">
           <div class="title">
-            <span v-if="this.compId=='258fba198eea4cd1a5eddc71ba421b4a'" class="title-text">申融物流大数据分析平台</span>
+            <span v-if="this.compId=='258fba198eea4cd1a5eddc71ba421b4a'" class="title-text">申信融达数字化货监平台</span>
             <span v-else class="title-text">易粮易运大数据分析平台</span>
           </div>
         </div>
@@ -40,8 +40,16 @@
           <LeftTop :listData="leftTopDataList"/>
         </ItemWrap>
         </div>
-        <div @click="routergo(2)">
-        <ItemWrap class="contetn_left-center contetn_lr-item" title="合营比例">
+        <div v-if="this.compId=='258fba198eea4cd1a5eddc71ba421b4a'" >
+          <ItemWrap class="contetn_left-center contetn_lr-item " title="快捷跳转">
+            
+            <el-button @click="obd()" style="margin-left: 100px; margin-top: 60px;" type="primary">obd后台控制中心</el-button>
+            <el-button @click="obd2()" style="margin-left: 100px !important; margin-top: 20px;" type="primary">扫码机后台数据中心</el-button>
+          </ItemWrap>
+           
+        </div>
+        <div v-else @click="routergo(2)">
+        <ItemWrap  class="contetn_left-center contetn_lr-item" title="合营比例">
           <LeftCenter :hylistData="leftCenterDataList"/>
         </ItemWrap>
         </div>
@@ -196,6 +204,12 @@ export default {
     
   },
   methods: {
+    obd(){
+        window.open('http://web.gps266.com/Skins/DefaultIndex/ ','_blank')
+      },
+    obd2(){
+        window.open('http://139.159.186.154:18998/1112_jxc_a1_sr/','_blank')
+      },
     routergo(status){
       if(status==1){
         this.$router.push({name:'autoSettlementList',query:{status:true}})

+ 24 - 24
src/views/profitable/expensemanagementdetails.vue

@@ -119,22 +119,22 @@
           </el-table-column>
           <el-table-column prop="feeType" label="类型">
             <template slot-scope="scope">
-              <div v-if="scope.row.expensesType == 1">收入</div>
-              <div v-if="scope.row.expensesType == 2">支出</div>
+              <div v-show="scope.row.expensesType == 1">收入</div>
+              <div v-show="scope.row.expensesType == 2">支出</div>
             </template>
           </el-table-column>
           <el-table-column prop="purpose" label="用途" width="150px">
             <template slot-scope="scope">
               <div v-if="scope.row.expensesPurpose == 1">
                 合同费用
-                <span v-if="scope.row.costType == 1">-粮款</span>
-                <span v-if="scope.row.costType == 3">-非粮款</span>
-                <span v-if="scope.row.costType == 5">-保证金</span>
-                <span v-if="scope.row.costType == 7">-利息</span>
+                <span v-show="scope.row.costType == 1">-粮款</span>
+                <span v-show="scope.row.costType == 3">-非粮款</span>
+                <span v-show="scope.row.costType == 5">-保证金</span>
+                <span v-show="scope.row.costType == 7">-利息</span>
               </div>
               <div v-else-if="scope.row.expensesPurpose == 3">
                 库点费用
-                <span v-if="scope.row.wareExpenseType">-{{ scope.row.wareExpenseType }}</span>
+                <span v-show="scope.row.wareExpenseType">-{{ scope.row.wareExpenseType }}</span>
               </div>
               <div v-else-if="scope.row.expensesPurpose == 5">经营性费用</div>
               <div v-else-if="scope.row.expensesPurpose == 7">备用金</div>
@@ -169,7 +169,7 @@
             <template slot-scope="scope">
               <img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
                 src="../../../public/img/fujian.png" @click="fujian(scope.row)" alt="" />
-              <span v-if="scope.row.addressUrlArray != null">
+              <span v-show="scope.row.addressUrlArray != null">
                 {{
                   scope.row.addressUrlArray.length == 0
                     ? ''
@@ -190,21 +190,21 @@
           </el-table-column>
           <el-table-column prop="address" label="操作" width="500">
             <template slot-scope="scope">
-              <el-button v-if="scope.row.expenseName != '保证金抵粮款'" @click="look(scope.row)" type="primary">查看</el-button>
-              <el-button v-if="
+              <el-button v-show="scope.row.expenseName != '保证金抵粮款'" @click="look(scope.row)" type="primary">查看</el-button>
+              <el-button v-show="
                 (scope.row.expensesPurpose == 1 &&
                   scope.row.status == '待确认')
               " @click="chehui(scope.row)" type="primary">撤回</el-button>
               <div v-hasPermission="`lirunhesuan.feiyongguanli.queshou`" style="display: inline-block">
-                <el-button v-if="
+                <el-button v-show="
                   scope.row.status == '待确认' && scope.row.expenseName != '保证金抵粮款'
                 " @click="shoukuanqueren(scope.row)" type="primary">确认</el-button>
-                <el-button v-if="
+                <el-button v-show="
                   scope.row.status == '待确认' && scope.row.expenseName == '保证金抵粮款'
                 " @click="shoukuanqueren1(scope.row)" type="primary">确认</el-button>
               </div>
               <!-- <el-button v-if='scope.row.approveStatus=="待确认"' @click="accomplish(scope.row)" type="primary">完成</el-button> -->
-              <el-button v-if="
+              <el-button v-show="
                 (scope.row.expensesPurpose == 1 &&
                   scope.row.status == '已收款' &&
                   !scope.row.approveStatus) ||
@@ -215,11 +215,11 @@
                   scope.row.status == '已付款' &&
                   !scope.row.approveStatus)
               " @click="accomplish(scope.row)" type="primary">完成</el-button>
-              <div v-if="scope.row.showFlag" style="display: inline-block"><el-button v-if="scope.row.approveStatus && scope.row.approveStatus != '发起人撤回'"
+              <div v-show="scope.row.showFlag" style="display: inline-block"><el-button v-show="scope.row.approveStatus && scope.row.approveStatus != '发起人撤回'"
                  @click="withdraw(scope.row)" type="primary">撤回</el-button></div>
-              <el-button v-if="(scope.row.status == '已驳回' ) || (scope.row.approveStatus == '发起人撤回' && scope.row.expensesType != 1)|| (scope.row.status == '已撤回' && scope.row.expensesType== 1)" @click="edit(scope.row)"
+              <el-button v-show="(scope.row.status == '已驳回' ) || (scope.row.approveStatus == '发起人撤回' && scope.row.expensesType != 1)|| (scope.row.status == '已撤回' && scope.row.expensesType== 1)" @click="edit(scope.row)"
                 type="primary">编辑</el-button>
-              <el-button v-if="
+              <el-button v-show="
                 (!scope.row.distributionStatus &&
                   scope.row.expensesPurpose == 1 &&
                   scope.row.costType == 3 &&
@@ -236,20 +236,20 @@
                   !scope.row.distributionStatus &&
                   scope.row.unallocatedAmount > 0)
               " @click="allot(scope.row)" type="primary">分配</el-button>
-              <!-- <el-button v-if='scope.row.approveStatus=="已驳回"' @click="del(0,scope.row)" type="primary">删除</el-button> -->
-              <el-button v-if='scope.row.status == "已驳回" || scope.row.approveStatus == "发起人撤回"' @click="del(0, scope.row)"
+              <!-- <el-button v-show='scope.row.approveStatus=="已驳回"' @click="del(0,scope.row)" type="primary">删除</el-button> -->
+              <el-button v-show='scope.row.status == "已驳回" || scope.row.approveStatus == "发起人撤回"' @click="del(0, scope.row)"
                 type="danger">删除</el-button>
               <el-button
-                v-if='scope.row.approveStatus == "待财务审核" || scope.row.approveStatus == "待杜大光审核" || scope.row.approveStatus == "待决策人审核" || scope.row.approveStatus == "待内勤审核" || scope.row.approveStatus == "待单证中心审核"'
+                v-show='scope.row.approveStatus == "待财务审核" || scope.row.approveStatus == "待杜大光审核" || scope.row.approveStatus == "待决策人审核" || scope.row.approveStatus == "待内勤审核" || scope.row.approveStatus == "待单证中心审核"'
                 @click="aduit(scope.row)" type="primary">审核</el-button>
-              <el-button v-if='!scope.row.approveStatus && scope.row.expensesType == 2 && scope.row.status == "待付款"'
+              <el-button v-show='!scope.row.approveStatus && scope.row.expensesType == 2 && scope.row.status == "待付款"'
                 @click="payment(scope.row)" type="primary">付款</el-button>
             </template>
           </el-table-column>
           <el-table-column prop="expenseRemarks" label="分配状态">
             <template slot-scope="scope">
               <span>{{ scope.row.distributionStatus }}</span>
-              <el-tooltip v-if="scope.row.rejectionReason && scope.row.distributionStatus" class="item" effect="dark"
+              <el-tooltip v-show="scope.row.rejectionReason && scope.row.distributionStatus" class="item" effect="dark"
                 :content="scope.row.rejectionReason" placement="top-start">
                 <i class="el-icon-question"></i>
               </el-tooltip>
@@ -257,18 +257,18 @@
           </el-table-column>
           <el-table-column prop="address" label="分配相关" width="300">
             <template slot-scope="scope">
-              <el-button v-if="
+              <el-button v-show="
                 scope.row.expensesType == 2 &&
                 scope.row.distributionStatus == '待确认' &&
                 !scope.row.approveStatus &&
                 scope.row.status != '已驳回'
               " @click="allotaduit(scope.row)" type="primary">确认</el-button>
-              <el-button v-if="
+              <el-button v-show="
                 scope.row.expensesType == 2 &&
                 scope.row.distributionStatus == '已驳回' &&
                 !scope.row.approveStatus
               " @click="expenseedit(scope.row)" type="primary">编辑</el-button>
-              <el-button v-if="
+              <el-button v-show="
                 scope.row.expensesType == 2 &&
                 scope.row.distributionStatus == '已驳回' &&
                 !scope.row.approveStatus