Commit 3855c9c9 authored by 李苏's avatar 李苏 💬

修改

parent 80593f77
......@@ -109,7 +109,6 @@
<div class="kwMain full ">
<component :app='this' @eclick='eclick' ref="dynamic" class="full" :is="dynamicComponent">
</component>
</div>
</div>
......@@ -163,20 +162,20 @@
export default {
mounted() {
this.$post('wms/jcsj/kw/init/zt').then(res=>{
if(res.data.records){
let list =res.data.records
list.forEach(item=>{
this.ztMap[item.id]=item.name
this.$post('wms/jcsj/kw/init/zt').then(res => {
if (res.data.records) {
let list = res.data.records
list.forEach(item => {
this.ztMap[item.id] = item.name
})
console.log(this.ztMap)
}
})
this.$post('wms/jcsj/kw/init/kczt').then(res=>{
if(res.data.records){
let list =res.data.records
list.forEach(item=>{
this.ccztMap[item.id]=item.name
this.$post('wms/jcsj/kw/init/kczt').then(res => {
if (res.data.records) {
let list = res.data.records
list.forEach(item => {
this.ccztMap[item.id] = item.name
})
console.log(this.ccztMap)
}
......@@ -187,8 +186,6 @@
this.newTime = this.$moment(new Date().getTime()).format('YYYY-MM-DD HH:mm:ss')
}, 1000)
/* 测试列表*/
this.$nextTick(() => {
$(this.$refs.lkkb).dblclick(() => {
fullScreen(this.$refs.lkkb);
......@@ -200,17 +197,18 @@
},
data() {
return {
cjztMap:{
Y:'是',
N:'否'
timer2:null,
cjztMap: {
Y: '是',
N: '否'
},
ccztMap:{},
ztMap:{},
showDialog:false,
DialogTitle:'详情',
DialogWidth:'75vw',
nowSelect:{},
dynamicComponent:'mx1',
ccztMap: {},
ztMap: {},
showDialog: false,
DialogTitle: '详情',
DialogWidth: '75vw',
nowSelect: {},
dynamicComponent: 'mx1',
/* 排列*/
xdList1: [1, 2, 3, 4],
xdList2: [5, 6, 7, 8],
......@@ -222,33 +220,45 @@
timer: null
}
},
watch:{
selectIndex(val){
this.dynamicComponent=`mx${val}`
watch: {
selectIndex(val) {
this.dynamicComponent = `mx${val}`
}
},
beforeDestroy() {
clearInterval(this.timer)
clearInterval(this.timer2)
},
methods: {
eclick(item){
eclick(item) {
console.log(item)
this.nowSelect=item
this.DialogTitle=item.code
this.$nextTick(()=>{
this.showDialog=true
this.nowSelect = item
this.DialogTitle = item.code
this.$nextTick(() => {
this.showDialog = true
})
}
},
components: {
Detail,
mx1,mx2,mx3,mx11,mx4,mx5,
mx6,mx7,
mx8,mx9,
mx10,mx12,
mx13,mx14,
mx15,mx16,
mx17,mx18
mx1,
mx2,
mx3,
mx11,
mx4,
mx5,
mx6,
mx7,
mx8,
mx9,
mx10,
mx12,
mx13,
mx14,
mx15,
mx16,
mx17,
mx18
}
}
......@@ -256,40 +266,39 @@
<style lang="scss" scoped>
/* 穿透 状态 css*/
::v-deep .wh{
::v-deep .wh {
/* 无样式*/
}
::v-deep .yh{
::v-deep .yh {
background-size: 100% 100%;
background-image: url(./lkdp/xz.svg);
}
::v-deep .dj{
background: #009ae7;
::v-deep .dj {
background: #009ae7;
background-size: 100% 100%;
background-image: url(./lkdp/sd.svg);
}
::v-deep .sd{
::v-deep .sd {
background-color: darkorange;
background-size: 100% 100%;
background-image: url(./lkdp/sd.svg);
}
::v-deep .kccj{
::v-deep .kccj {
background-color: darksalmon;
background-size: 100% 100%;
background-image: url(./lkdp/jy.svg);
}
::v-deep .sdkccj{
::v-deep .sdkccj {
background-color: darksalmon;
background-size: 100% 100%;
background-image: url(./lkdp/sdjy.svg);
}
::v-deep .djkccj{
::v-deep .djkccj {
background-color: darksalmon;
background-size: 100% 100%;
background-image: url(./lkdp/djjy.svg);
}
.kwMain{
.kwMain {
padding: 20px;
}
.xd {
......@@ -310,7 +319,6 @@ background: #009ae7;
font-size: 20px;
font-weight: 800;
}
.xdmxBody {
padding: 3px;
color: rgb(131, 199, 227);
......@@ -318,29 +326,23 @@ background: #009ae7;
line-height: 34px;
display: flex;
font-size: 17px;
.xdmxBodymx {
text-align: center;
cursor: pointer;
}
}
}
}
.xdmxBodymxSelected {
border: 1px solid #ffffff;
background-color: #83c7e3;
color: #fff;
}
.infoText {
color: #fff;
font-size: 19.6px;
font-weight: 600;
}
.infoMain {
width: 100%;
height: 30px;
......@@ -351,7 +353,6 @@ background: #009ae7;
-webkit-box-shadow: #0fcaef 0px 0px 10px;
-moz-box-shadow: #0fcaef 0px 0px 10px;
box-shadow: inset 0 0 30px #0fcaef;
}
// .com-count-body {
......@@ -367,18 +368,15 @@ background: #009ae7;
line-height: 4vh;
color: #61d2f7;
}
.lbbody {
height: calc(100% - 4vh);
}
.lbbody div {
flex: 1;
line-height: 25px;
font-size: 13px;
text-align: center;
}
.infoCar {
border: 2px solid #032d60;
-webkit-box-shadow: #07417a 0px 0px 10px;
......@@ -397,7 +395,6 @@ background: #009ae7;
height: 106px;
width: 130px
}
.mktitle {
line-height: 35px;
font-size: 16px;
......@@ -407,7 +404,6 @@ background: #009ae7;
position: relative;
overflow: hidden
}
.mktitle img {
height: 15px;
width: 100%;
......@@ -415,37 +411,30 @@ background: #009ae7;
left: 0;
bottom: 0;
}
.mktitle span {
line-height: 35px;
}
.min_full {
border: 0;
}
.dbAllBody {
background-image: url('./dimage/data08.png');
background-size: 100% 100%;
}
.dbTitle {
height: 70px;
width: 100%;
position: relative;
.title-left {
top: 12px;
position: absolute;
left: 13vw;
}
.title-right {
top: 12px;
position: absolute;
right: 13vw;
}
.title-left-title-font {
text-align: center;
width: 42vw;
......@@ -460,33 +449,24 @@ background: #009ae7;
letter-spacing: 2px;
}
}
.dbBody {
padding-top: 2px;
height: calc(100% - 70px);
width: 100%;
}
.dbSvgtop {
height: 130px;
width: 100%;
padding: 20px;
}
.dbSvg {
height: calc(100% - 130px);
width: 100%;
padding: 20px;
.svgMain {
position: relative;
}
}
.topL {
}.topL {
width: 20px;
height: 20px;
border-top-width: 2px;
......
<template>
<div ref='mx11' class="full" style="position: relative;">
<div ref='mx11' class="full" style="position: relative; ">
<div class="full flex containerAll">
<div class="full flex1 container1">
<div ref="infoBox1" class="infoCar">
......
......@@ -45,26 +45,26 @@
field: "rqCode",
width: 140
},
{
title: "货主编码",
field: "hzCode",
width: 140
},
{
title: "货主",
field: "hzName",
width: 140
},
{
title: "状态",
field: "packZt",
width: 140,
transform: {
"url": "wms/jcsj/rq/init/zt",
"label": "name",
"value": "id"
}
},
// {
// title: "货主编码",
// field: "hzCode",
// width: 140
// },
// {
// title: "货主",
// field: "hzName",
// width: 140
// },
// {
// title: "状态",
// field: "packZt",
// width: 140,
// transform: {
// "url": "wms/jcsj/rq/init/zt",
// "label": "name",
// "value": "id"
// }
// },
{
title: "库存状态",
field: "packKczt",
......@@ -85,16 +85,16 @@
"value": "id"
}
},
{
title: "运输状态",
field: "packYszt",
width: 140,
transform: {
"url": "wms/jcsj/rq/init/yszt",
"label": "name",
"value": "id"
}
},
// {
// title: "运输状态",
// field: "packYszt",
// width: 140,
// transform: {
// "url": "wms/jcsj/rq/init/yszt",
// "label": "name",
// "value": "id"
// }
// },
{
title: "物料编码",
field: "wlxxCode",
......@@ -120,11 +120,11 @@
field: "sl",
width: 140
},
{
title: "入库单号",
field: "rktzDjid",
width: 180
}
// {
// title: "入库单号",
// field: "rktzDjid",
// width: 180
// }
],
queryParams: [
[{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment