|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="app-container home">
|
|
|
+ <div class="app-container home" v-if="sysType==1">
|
|
|
<div class="home-fleet">
|
|
|
<div class="home-left">
|
|
|
<chi-card title="业务看板" iconName="el-icon-s-cooperation">
|
|
@@ -232,95 +232,152 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- <div class="app-container home">
|
|
|
+ <div class="app-container home" v-else>
|
|
|
<ul class="block">
|
|
|
<li @click="jump('/business/inStock')">
|
|
|
<div>
|
|
|
- <i class="el-icon-download" style="font-size: 50px;text-align: center"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-download"
|
|
|
+ style="font-size: 50px; text-align: center"
|
|
|
+ ></i>
|
|
|
<p>入库</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li @click="jump('/business/outStock')">
|
|
|
<div>
|
|
|
- <i class="el-icon-upload2" style="font-size: 50px;text-align: center"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-upload2"
|
|
|
+ style="font-size: 50px; text-align: center"
|
|
|
+ ></i>
|
|
|
<p>出库</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li @click="jump('/basicdata/corps')">
|
|
|
<div>
|
|
|
- <i class="el-icon-s-custom" style="font-size: 50px;text-align: center"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-s-custom"
|
|
|
+ style="font-size: 50px; text-align: center"
|
|
|
+ ></i>
|
|
|
<p>新增用户</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li @click="jump('/basicdata/goods')">
|
|
|
<div>
|
|
|
- <i class="el-icon-s-cooperation" style="font-size: 50px;text-align: center"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-s-cooperation"
|
|
|
+ style="font-size: 50px; text-align: center"
|
|
|
+ ></i>
|
|
|
<p>新增商品</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li @click="jump('/business/stockTransfer')">
|
|
|
<div>
|
|
|
- <i class="el-icon-connection" style="font-size: 50px;text-align: center"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-connection"
|
|
|
+ style="font-size: 50px; text-align: center"
|
|
|
+ ></i>
|
|
|
<p>调拨</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li @click="jump('/finance/charge')">
|
|
|
<div>
|
|
|
- <i class="el-icon-wallet" style="font-size: 50px;text-align: center"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-wallet"
|
|
|
+ style="font-size: 50px; text-align: center"
|
|
|
+ ></i>
|
|
|
<p>收款</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li @click="jump('/finance/payment')">
|
|
|
<div>
|
|
|
- <i class="el-icon-money" style="font-size: 50px;text-align: center"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-money"
|
|
|
+ style="font-size: 50px; text-align: center"
|
|
|
+ ></i>
|
|
|
<p>付款</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li @click="jump('/finance/contrast')">
|
|
|
<div>
|
|
|
- <i class="el-icon-s-management" style="font-size: 50px;text-align: center"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-s-management"
|
|
|
+ style="font-size: 50px; text-align: center"
|
|
|
+ ></i>
|
|
|
<p>对账</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li @click="jump('/business/goodsTransfer')">
|
|
|
<div>
|
|
|
- <i class="el-icon-takeaway-box" style="font-size: 50px;text-align: center"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-takeaway-box"
|
|
|
+ style="font-size: 50px; text-align: center"
|
|
|
+ ></i>
|
|
|
<p>货转</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li @click="jump('/agreement/agreementStorage')">
|
|
|
<div>
|
|
|
- <i class="el-icon-s-order" style="font-size: 50px;text-align: center"></i>
|
|
|
+ <i
|
|
|
+ class="el-icon-s-order"
|
|
|
+ style="font-size: 50px; text-align: center"
|
|
|
+ ></i>
|
|
|
<p>协议</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
- <div style="width: 30%;float: right">
|
|
|
- <div style="display: flex;">
|
|
|
- <div id="box" style="width:100%;height:350px;"></div>
|
|
|
+ <div style="width: 30%; float: right">
|
|
|
+ <div style="display: flex">
|
|
|
+ <div id="box" style="width: 100%; height: 350px"></div>
|
|
|
|
|
|
- <el-select v-model="select" slot="prepend" size="mini" :select="query()" placeholder="点击切换仓库"
|
|
|
- style="position:absolute; width: 8%;right: 1%;"
|
|
|
+ <el-select
|
|
|
+ v-model="select"
|
|
|
+ slot="prepend"
|
|
|
+ size="mini"
|
|
|
+ :select="query()"
|
|
|
+ placeholder="点击切换仓库"
|
|
|
+ style="position: absolute; width: 8%; right: 1%"
|
|
|
>
|
|
|
<div v-for="(item, index) in warehouse" :key="index">
|
|
|
- <el-option :label="item.fName" :value="item.fWarehouseid"></el-option>
|
|
|
+ <el-option
|
|
|
+ :label="item.fName"
|
|
|
+ :value="item.fWarehouseid"
|
|
|
+ ></el-option>
|
|
|
</div>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="width: 100%;margin-bottom: 50px;">
|
|
|
- <el-table :data="tableData" :header-cell-style="{borderBottom:'1px dashed #dfe6ec'}" :cell-style="cellStyle"
|
|
|
- style="width: 67.5%;float: left;"
|
|
|
+ <div style="width: 100%; margin-bottom: 50px">
|
|
|
+ <el-table
|
|
|
+ :data="tableData"
|
|
|
+ :header-cell-style="{ borderBottom: '1px dashed #dfe6ec' }"
|
|
|
+ :cell-style="cellStyle"
|
|
|
+ style="width: 67.5%; float: left"
|
|
|
>
|
|
|
- <el-table-column prop="refno1" :show-overflow-tooltip="true" label="委托方"></el-table-column>
|
|
|
- <el-table-column prop="auditItem" :show-overflow-tooltip="true" label="日期">
|
|
|
+ <el-table-column
|
|
|
+ prop="refno1"
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
+ label="委托方"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="auditItem"
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
+ label="日期"
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="!scope.row.auditItem">无时间</span>
|
|
|
<span v-else>{{ scope.row.auditItem.slice(0, 10) }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="refno3" :show-overflow-tooltip="true" label="提单号"></el-table-column>
|
|
|
- <el-table-column prop="refno2" :show-overflow-tooltip="true" label="业务类型">
|
|
|
+ <el-table-column
|
|
|
+ prop="refno3"
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
+ label="提单号"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="refno2"
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
+ label="业务类型"
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.refno2 === 'SJRK'">入库</span>
|
|
|
<span v-else-if="scope.row.refno2 === 'SJCK'">出库</span>
|
|
@@ -336,25 +393,41 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="address" label="操作" width="80">
|
|
|
<template slot-scope="scope">
|
|
|
- <span style="cursor:pointer" @click="approval(scope.row)">查看详情</span>
|
|
|
+ <span style="cursor: pointer" @click="approval(scope.row)"
|
|
|
+ >查看详情</span
|
|
|
+ >
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
- <el-table :data="tableDataTwo" :header-cell-style="{borderBottom:'1px dashed #dfe6ec'}" :cell-style="cellStyle"
|
|
|
- style="width: 30%;float: right;margin-left: 20px;"
|
|
|
+ <el-table
|
|
|
+ :data="tableDataTwo"
|
|
|
+ :header-cell-style="{ borderBottom: '1px dashed #dfe6ec' }"
|
|
|
+ :cell-style="cellStyle"
|
|
|
+ style="width: 30%; float: right; margin-left: 20px"
|
|
|
>
|
|
|
- <el-table-column prop="noticeTitle" :show-overflow-tooltip="true" label="消息中心"/>
|
|
|
+ <el-table-column
|
|
|
+ prop="noticeTitle"
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
+ label="消息中心"
|
|
|
+ />
|
|
|
<el-table-column prop="address" label="操作" width="80">
|
|
|
<template slot-scope="scope">
|
|
|
- <span @click="querytoDo(scope.row.noticeContent)" style="cursor:pointer">查看详情</span>
|
|
|
+ <span
|
|
|
+ @click="querytoDo(scope.row.noticeContent)"
|
|
|
+ style="cursor: pointer"
|
|
|
+ >查看详情</span
|
|
|
+ >
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
- <div style="width: 100%;float: left;margin-top:20px;">
|
|
|
- <div style="display: flex;">
|
|
|
- <div id="commoDity" style="width:68%;height:350px;margin-left: 40px"></div>
|
|
|
- <div id="cargoOwner" style="width:30%;height:350px;"></div>
|
|
|
+ <div style="width: 100%; float: left; margin-top: 20px">
|
|
|
+ <div style="display: flex">
|
|
|
+ <div
|
|
|
+ id="commoDity"
|
|
|
+ style="width: 68%; height: 350px; margin-left: 40px"
|
|
|
+ ></div>
|
|
|
+ <div id="cargoOwner" style="width: 30%; height: 350px"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-dialog
|
|
@@ -364,12 +437,18 @@
|
|
|
:before-close="handleClose"
|
|
|
:close-on-click-modal="false"
|
|
|
>
|
|
|
- <span v-html="text" class="text" style="max-width: 100%;height: auto;"></span>
|
|
|
+ <span
|
|
|
+ v-html="text"
|
|
|
+ class="text"
|
|
|
+ style="max-width: 100%; height: auto"
|
|
|
+ ></span>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" @click="dialogVisible = false">关 闭</el-button>
|
|
|
- </span>
|
|
|
+ <el-button type="primary" @click="dialogVisible = false"
|
|
|
+ >关 闭</el-button
|
|
|
+ >
|
|
|
+ </span>
|
|
|
</el-dialog>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -401,6 +480,7 @@ export default {
|
|
|
tableDataTwo: [],
|
|
|
fleetData: "",
|
|
|
upperLeftCntrs: {},
|
|
|
+ sysType: "",
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
@@ -411,6 +491,9 @@ export default {
|
|
|
this.fleetData = response.data;
|
|
|
this.upperLeftCntrs = response.data.upperLeftCntrs;
|
|
|
});
|
|
|
+ this.getConfigKey("sys.index.systype").then((response) => {
|
|
|
+ this.sysType = response.msg;
|
|
|
+ });
|
|
|
},
|
|
|
activated() {
|
|
|
this.getList();
|