|
@@ -50,18 +50,17 @@
|
|
|
<ul class="list-items">
|
|
<ul class="list-items">
|
|
|
<li
|
|
<li
|
|
|
class="list-item quyu-item"
|
|
class="list-item quyu-item"
|
|
|
- :style="{
|
|
|
|
|
- background: quyuShow == item.qu_yu_ ? '#FF9900' : '#e5baba',
|
|
|
|
|
- }"
|
|
|
|
|
|
|
+ :style="{background: quyuShow == item.qu_yu_ ? '#66b1ff' : '#e5baba',}"
|
|
|
@click="qu_yu_Event"
|
|
@click="qu_yu_Event"
|
|
|
v-for="item in quyu_arr"
|
|
v-for="item in quyu_arr"
|
|
|
:key="item.qu_yu_"
|
|
:key="item.qu_yu_"
|
|
|
>
|
|
>
|
|
|
<div v-if="item.qu_yu_.includes('冰箱')">
|
|
<div v-if="item.qu_yu_.includes('冰箱')">
|
|
|
- {{ item.qu_yu_ | freezerFilters }}({{ item.cun_chu_tiao_jian }})
|
|
|
|
|
|
|
+ {{ item.qu_yu_ | freezerFilters }}({{ item.cun_chu_tiao_jian }})
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div v-if="!item.qu_yu_.includes('冰箱')">
|
|
<div v-if="!item.qu_yu_.includes('冰箱')">
|
|
|
|
|
+
|
|
|
{{ item.qu_yu_ | freezerFilters }}
|
|
{{ item.qu_yu_ | freezerFilters }}
|
|
|
</div>
|
|
</div>
|
|
|
</li>
|
|
</li>
|
|
@@ -86,16 +85,17 @@
|
|
|
>
|
|
>
|
|
|
<div class="top-dsc">
|
|
<div class="top-dsc">
|
|
|
<div class="position">
|
|
<div class="position">
|
|
|
- <p>名称:{{ it.wu_liao_ming_chen }}</p>
|
|
|
|
|
- <p>编码:{{ it.wu_liao_bian_ma_ || "空" }}</p>
|
|
|
|
|
- <p>位置:{{ it.cun_fang_wei_zhi_ || "空" }}</p>
|
|
|
|
|
- <p>货号:{{ it.huo_hao_ || "空" }}</p>
|
|
|
|
|
|
|
+ <p><span style="vertical-align: top;">名 称:</span> <span class="matterName">{{ it.wu_liao_ming_chen }}</span></p>
|
|
|
|
|
+ <p><span style="vertical-align: top;">入库批号:</span><span class="matterCode">{{it.ru_ku_pi_hao_ || "空"}}</span></p>
|
|
|
|
|
+
|
|
|
|
|
+ <p>位 置:{{ it.cun_fang_wei_zhi_ || "空" }}</p>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="right-content">
|
|
<div class="right-content">
|
|
|
- <p>入库批号:{{ it.ru_ku_pi_hao_ || "空" }}</p>
|
|
|
|
|
|
|
+ <p><span style="vertical-align: top;">编 码:</span><span class="">{{it.wu_liao_bian_ma_ || "空"}}</span></p>
|
|
|
|
|
+ <p>货 号:{{ it.huo_hao_ || "空" }}</p>
|
|
|
|
|
+ <p>有效期 :{{ it.you_xiao_qi_ || "空" }}</p>
|
|
|
|
|
+ <p>库存量 :{{ it.ku_cun_liang_ || "空" }}</p>
|
|
|
<p>存储条件:{{ it.cun_chu_yao_qiu_ || "空" }}</p>
|
|
<p>存储条件:{{ it.cun_chu_yao_qiu_ || "空" }}</p>
|
|
|
- <p>有效期:{{ it.you_xiao_qi_ || "空" }}</p>
|
|
|
|
|
- <p>库存量:{{ it.ku_cun_liang_ || "空" }}</p>
|
|
|
|
|
</div>
|
|
</div>
|
|
|
<!-- <div class="condition">{{ it.cun_chu_tiao_jian }}</div> -->
|
|
<!-- <div class="condition">{{ it.cun_chu_tiao_jian }}</div> -->
|
|
|
</div>
|
|
</div>
|
|
@@ -224,7 +224,7 @@ export default {
|
|
|
this.formInline.qu_yu_value = "1号冰箱";
|
|
this.formInline.qu_yu_value = "1号冰箱";
|
|
|
this.selectActive = 1;
|
|
this.selectActive = 1;
|
|
|
this.firstLoadActive = true;
|
|
this.firstLoadActive = true;
|
|
|
- this.quyuShow = "1号冰箱";
|
|
|
|
|
|
|
+ this.quyuShow = "1号冰箱T";
|
|
|
var sqlString ="select * from t_mjwlgl where cun_fang_wei_zhi_ like" +"'%" +"BX1T" +"%'";
|
|
var sqlString ="select * from t_mjwlgl where cun_fang_wei_zhi_ like" +"'%" +"BX1T" +"%'";
|
|
|
this.queryLoad(sqlString, "BX1T");
|
|
this.queryLoad(sqlString, "BX1T");
|
|
|
},
|
|
},
|
|
@@ -330,7 +330,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
this.listData = newarr;
|
|
this.listData = newarr;
|
|
|
- console.log(this.listData, "listData");
|
|
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
@@ -358,8 +357,9 @@ export default {
|
|
|
this.firstLoadQuyu(newdata);
|
|
this.firstLoadQuyu(newdata);
|
|
|
},
|
|
},
|
|
|
"formInline.qu_yu_value": function (newdata) {
|
|
"formInline.qu_yu_value": function (newdata) {
|
|
|
|
|
+ console.log(newdata)
|
|
|
this.qu_yu_value = newdata;
|
|
this.qu_yu_value = newdata;
|
|
|
- this.quyuShow = newdata;
|
|
|
|
|
|
|
+ this.quyuShow = newdata.split("(")[0];
|
|
|
this.firstLoadActive = false;
|
|
this.firstLoadActive = false;
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
@@ -394,7 +394,7 @@ p {
|
|
|
.huojia {
|
|
.huojia {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
.list-items {
|
|
.list-items {
|
|
|
- display: flex;
|
|
|
|
|
|
|
+ // display: flex;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
.wDTianjian::after {
|
|
.wDTianjian::after {
|
|
|
content: "2-6";
|
|
content: "2-6";
|
|
@@ -407,16 +407,17 @@ p {
|
|
|
background: #99ccff;
|
|
background: #99ccff;
|
|
|
}
|
|
}
|
|
|
.list-item {
|
|
.list-item {
|
|
|
- padding: 4px 14px;
|
|
|
|
|
- height: 30px;
|
|
|
|
|
|
|
+ padding: 7px 5px;
|
|
|
|
|
+ // height: 30px;
|
|
|
background-color: #cec6a4;
|
|
background-color: #cec6a4;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
- line-height: 30px;
|
|
|
|
|
|
|
+ // line-height: 30px;
|
|
|
margin-left: 20px;
|
|
margin-left: 20px;
|
|
|
margin-bottom: 6px;
|
|
margin-bottom: 6px;
|
|
|
/* margin-top: 6px; */
|
|
/* margin-top: 6px; */
|
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+ display: inline-block;
|
|
|
.tiaojian {
|
|
.tiaojian {
|
|
|
// position: absolute;
|
|
// position: absolute;
|
|
|
// right: 0px;
|
|
// right: 0px;
|
|
@@ -501,9 +502,7 @@ p {
|
|
|
margin-right: 15px;
|
|
margin-right: 15px;
|
|
|
.goods-dsc {
|
|
.goods-dsc {
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
- // width: 170px;
|
|
|
|
|
- // height: 80px;
|
|
|
|
|
- padding: 6px 12px;
|
|
|
|
|
|
|
+ padding: 3px 6px;
|
|
|
border-radius: 5px;
|
|
border-radius: 5px;
|
|
|
background: #e6a23c;
|
|
background: #e6a23c;
|
|
|
margin-left: 12px;
|
|
margin-left: 12px;
|
|
@@ -514,14 +513,26 @@ p {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
|
- height: 18px;
|
|
|
|
|
- line-height: 18px;
|
|
|
|
|
|
|
+
|
|
|
|
|
+ // line-height: 18px;
|
|
|
.position > p {
|
|
.position > p {
|
|
|
text-align: left;
|
|
text-align: left;
|
|
|
- // color: #fbe8ff;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ .position .matterName{
|
|
|
|
|
+ min-width: 40px;
|
|
|
|
|
+ max-width: 70px;
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ word-wrap: break-word;
|
|
|
|
|
+ }
|
|
|
|
|
+ .position .matterCode{
|
|
|
|
|
+ min-width: 40px;
|
|
|
|
|
+ max-width: 70px;
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ word-wrap: break-word;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
.right-content > p {
|
|
.right-content > p {
|
|
|
- margin-left: 15px;
|
|
|
|
|
|
|
+ margin-left: 1px;
|
|
|
// color: #fbe8ff;
|
|
// color: #fbe8ff;
|
|
|
text-align: left;
|
|
text-align: left;
|
|
|
}
|
|
}
|
|
@@ -532,9 +543,6 @@ p {
|
|
|
.bottom-dsc {
|
|
.bottom-dsc {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
font-size: 18px;
|
|
font-size: 18px;
|
|
|
- height: 42px;
|
|
|
|
|
- line-height: 60px;
|
|
|
|
|
- margin-top: 20px;
|
|
|
|
|
// color: #fbe8ff;
|
|
// color: #fbe8ff;
|
|
|
}
|
|
}
|
|
|
.goods-demo {
|
|
.goods-demo {
|