|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="app-container home">
|
|
|
<div v-if="sysType == 1">
|
|
|
- <div style="display: flex;margin-bottom: 40px;">
|
|
|
+ <div style="display: flex; margin-bottom: 40px">
|
|
|
<div style="width: 70%">
|
|
|
<ul class="block" v-if="sysType == 1">
|
|
|
<li @click="jump('/business/inStock')">
|
|
@@ -120,7 +120,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="display: flex;margin-bottom: 40px;">
|
|
|
+ <div style="display: flex; margin-bottom: 40px">
|
|
|
<div style="width: 70%">
|
|
|
<div>
|
|
|
<div
|
|
@@ -141,7 +141,9 @@
|
|
|
<div class="home_stock_table">业务类型</div>
|
|
|
<div class="home_stock_table_right">
|
|
|
<div>操作</div>
|
|
|
- <el-link type="primary" @click="jump('/morePage/stock')">更多></el-link>
|
|
|
+ <el-link type="primary" @click="jump('/morePage/stock')"
|
|
|
+ >更多></el-link
|
|
|
+ >
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="tableData.length > 0">
|
|
@@ -154,13 +156,27 @@
|
|
|
v-for="(item, index) in tableData"
|
|
|
:key="index"
|
|
|
>
|
|
|
- <div class="home_stock_table">{{ item.refno1 }}</div>
|
|
|
+ <div class="home_stock_table"> <p>{{ item.refno1 }}</p></div>
|
|
|
<div class="home_stock_table">
|
|
|
{{ item.auditItem }}
|
|
|
</div>
|
|
|
- <div class="home_stock_table">{{ item.refno3 }}</div>
|
|
|
- <div class="home_stock_table">{{ item.refno2 }}</div>
|
|
|
- <div class="home_stock_table">操作</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>
|
|
|
+ <span v-else-if="item.refno2 === 'HQZY'">货转</span>
|
|
|
+ <span v-else-if="item.refno2 === 'CKDB'">调拨</span>
|
|
|
+ <span v-else-if="item.refno2 === 'CCF'">仓储费</span>
|
|
|
+ <span v-else-if="item.refno2 === 'HWTG'">货物通关</span>
|
|
|
+ <span v-else-if="item.refno2 === 'ZYF'">作业费</span>
|
|
|
+ <span v-else-if="item.refno2 === 'SF'">收费</span>
|
|
|
+ <span v-else-if="item.refno2 === 'DZ'">对账</span>
|
|
|
+ <span v-else-if="item.refno2 === 'FF'">付费</span>
|
|
|
+ <span v-else-if="item.refno2 === 'JSCCF'">计算仓储费</span>
|
|
|
+ </div>
|
|
|
+ <div class="home_stock_table" @click="approval(item.refno2)">
|
|
|
+ 查看详情
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
@@ -254,7 +270,7 @@
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="display: flex;">
|
|
|
+ <div style="display: flex">
|
|
|
<div style="width: 70%">
|
|
|
<div
|
|
|
id="commoDity"
|
|
@@ -683,7 +699,7 @@ export default {
|
|
|
},
|
|
|
//跳转审批页面
|
|
|
approval(row) {
|
|
|
- switch (row.refno2) {
|
|
|
+ switch (row) {
|
|
|
case "SJRK": {
|
|
|
this.$router.push({
|
|
|
path: "/business/inStock",
|
|
@@ -771,6 +787,11 @@ export default {
|
|
|
actId: "",
|
|
|
};
|
|
|
inquiry(data).then((res) => {
|
|
|
+ res.data.map(e=>{
|
|
|
+ if(e.auditItem){
|
|
|
+ e.auditItem=e.auditItem.slice(0, 10)
|
|
|
+ }
|
|
|
+ })
|
|
|
this.tableData = res.data;
|
|
|
});
|
|
|
},
|
|
@@ -887,9 +908,9 @@ export default {
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
listCorps(this.queryParams).then((response) => {
|
|
|
- if(response.rows.length>0){
|
|
|
+ if (response.rows.length > 0) {
|
|
|
this.tableDataTwo = response.rows.slice(0, 10);
|
|
|
- }
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
//查询仓库
|
|
@@ -1268,7 +1289,7 @@ export default {
|
|
|
padding: 10px;
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
- .content-bottom:last-child{
|
|
|
+ .content-bottom:last-child {
|
|
|
border-bottom: 0px;
|
|
|
}
|
|
|
.upper-right {
|
|
@@ -1298,7 +1319,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
</style>
|
|
|
-<style>
|
|
|
+<style lang="scss">
|
|
|
.text img {
|
|
|
max-width: 100%;
|
|
|
height: auto;
|
|
@@ -1308,6 +1329,13 @@ export default {
|
|
|
width: 20%;
|
|
|
justify-content: center;
|
|
|
align-self: center;
|
|
|
+ p{
|
|
|
+ display: inline-block;
|
|
|
+ white-space: nowrap;
|
|
|
+ width: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow:ellipsis;
|
|
|
+ }
|
|
|
}
|
|
|
.home_stock_table_right {
|
|
|
display: flex;
|