diff --git a/common/style/layout.css b/common/style/layout.css
index 902f8e2..f37a0ed 100644
--- a/common/style/layout.css
+++ b/common/style/layout.css
@@ -129,6 +129,11 @@ uni-button:after {
text-align: center;
color: #ff6a00;
}
+.icon_right {
+ text-align: right;
+ font-size: 28rpx;
+ color: rgb(153, 153, 153);
+}
/** 内容 */
.zd_container {
@@ -228,6 +233,9 @@ uni-button:after {
height: 100%;
overflow-y: auto;
}
+.slide_h {
+ overflow-y: hidden;
+}
.slide_new table {
table-layout: fixed;
min-width: 100%;
@@ -238,40 +246,167 @@ uni-button:after {
.slide_new table td, .slide_new table th {
box-sizing: border-box;
overflow: hidden;
- white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 20rpx;
border-bottom: 10rpx solid #f5f5f5;
text-align: center;
}
-.slide_new table td:first-child, .slide_new table th:first-child{
+.slide_h table td, .slide_h table th {
+ white-space: wrap;
+ padding: 0 20rpx;
+ border-bottom: 10rpx solid #f5f5f5;
+ text-align: center;
+}
+.slide_new table td:first-child{
position: sticky;
left: 0;
z-index: 101;
}
+.slide_new table th:first-child{
+ position: sticky;
+ left: 0;
+ z-index: 102;
+}
.slide_new table thead tr th {
position: sticky;
top: 0;
background: #d7d7d7;
font-size: 26rpx;
- line-height: 98rpx;
- color: #696969;
+ line-height: 28rpx;
+ padding: 35rpx 10rpx;
+ color: #7d7d7d;
+ background-color: #dcdfea;
font-weight: bold;
z-index: 100;
}
-.slide_new table thead tr th:first-child {
- background: #d7d7d7;
-}
.slide_new table tbody tr td {
font-size: 28rpx;
- line-height: 98rpx;
- color: #323232;
+ line-height: 58rpx;
+ padding: 14rpx 20rpx;
+ color: #7d7d7d;
+ background: #fff;
+}
+.slide_h table tbody tr td {
+ font-size: 28rpx;
+ line-height: 28rpx;
+ padding: 14rpx 20rpx;
+ color: #7d7d7d;
background: #fff;
}
.slide_new table tbody tr.checked td {
background-color: #f9efb6;
- color: #d09632
+}
+.slide_new table tbody tr td .td_input {
+ width: 150rpx;
+ font-size: 28rpx;
+ color: #305fbf;
+ line-height: 30rpx;
+ height: 58rpx;
+ padding: 14rpx;
+ border: 1px solid #889dc7;
+ box-shadow: 0 0 0 2px rgba(136, 157, 199,.2);
+ border-radius: 10rpx;
+}
+.slide_new table tbody tr td.fontcol1 {
+ color: #007de7;
+}
+.slide_new table tbody tr td.fontcol2 {
+ color: #000;
+}
+.slide_new table tbody tr td .fontbg{
+ font-size: 26rpx;
+ line-height: 30rpx;
+ padding: 8rpx 20rpx;
+ border-radius: 8rpx;
+}
+.slide_new table tbody tr td .fontbg1 {
+ background-color: #cfd2d4;
+ color: #5e5d5d;
+}
+.slide_new table tbody tr td .fontbg3 {
+ background-color: #96f3b8;
+ color: #36744c;
+}
+.slide_new table tbody tr td .fontbg4 {
+ background-color: #f3ccb5;
+ color: #ff5e00;
+}
+.item-wrapper {
+ width: 100%;
+ height: auto;
+}
+.item-wrap {
+ background-color: #fff;
+ border-radius: 24rpx;
+ padding: 22rpx 14rpx;
+ margin-bottom: 20rpx;
+ box-shadow: 0 4rpx 10rpx 2rpx rgba(0,0,0,.1);
+}
+.item-font-1 {
+ font-size: 28rpx;
+ color: #42444a;
+ line-height: 30rpx;
+ padding: 14rpx 4rpx;
+}
+.item-font-2 {
+ font-size: 26rpx;
+ color: #2b87ff;
+ line-height: 30rpx;
+ padding: 14rpx 4rpx;
+ background-color: #edf6ff;
+ border-radius: 10rpx;
+ text-align: center;
+}
+.item-font-3 {
+ font-size: 26rpx;
+ color: #ff8824;
+ line-height: 30rpx;
+ padding: 14rpx 4rpx;
+ background-color: #fff4ea;
+ border-radius: 10rpx;
+ text-align: center;
+}
+.item-font-4 {
+ font-size: 26rpx;
+ color: #c1c1c3;
+ line-height: 30rpx;
+ padding: 14rpx 4rpx;
+}
+.item-status {
+ font-size: 26rpx;
+ color: #fff;
+ line-height: 30rpx;
+ padding: 6rpx 1rpx;
+ background-color: #fff;
+ border-radius: 10rpx;
+ text-align: center;
+}
+.item-status-1 {
+ background-color: #cfd2d4;
+ color: #5e5d5d;
+}
+.item-status-2 {
+ color: #bf8836;
+ background-color: #f0e2cd;
+}
+.item-status-3 {
+ background-color: #f3ccb5;
+ color: #ff5e00;
+}
+.item-status-4 {
+ background-color: #96f3b8;
+ color: #36744c;
+}
+.item-line-1 {
+ height: 1rpx;
+ background-color: #b8b8ba;
+}
+.item-line-2 {
+ width: 1rpx;
+ height: 30rpx;
+ background-color: #000;
+ margin: 0 14rpx;
}
/** 提交栏 **/
@@ -375,17 +510,22 @@ uni-button:after {
}
.msg_wrapper {
position: fixed;
+ top: auto;
bottom: 0;
left: 0;
width: 100%;
- padding: 60rpx 28rpx;
- background-color: #fff;
+ height: calc(100% - var(--status-bar-height) - 72rpx);
box-shadow: 0 -8px 16px 0 rgba(28,31,33,.1);
border-top-left-radius: 20rpx;
border-top-right-radius: 20rpx;
z-index: 301;
transition: all .3s;
}
+.msg_content {
+ width: 100%;
+ height: 100%;
+ overflow-y: scroll;
+}
.msg_box {
width: 100%;
}
diff --git a/common/style/reset.css b/common/style/reset.css
index 3e1befa..edacccf 100644
--- a/common/style/reset.css
+++ b/common/style/reset.css
@@ -50,6 +50,9 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re
.jcflexstart {
justify-content: flex-start !important;
}
+.jcflexend {
+ justify-content: flex-end !important;
+}
.zd-row {
width: 100%;
diff --git a/pages.json b/pages.json
index 549a551..bc21cbf 100644
--- a/pages.json
+++ b/pages.json
@@ -88,6 +88,14 @@
}
}
+ ,{
+ "path" : "pages/manage/group-in-storage",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
+
+ }
],
"globalStyle": {
// "pageOrientation": "landscape",
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 7be49fc..24de8a7 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -46,7 +46,7 @@
menuList1: [
{id: 1, title: '空托盘出库', icon: 'RF01', path: '/pages/manage/empty-tray-out'},
{id: 2, title: '空托盘入库', icon: 'RF02', path: '/pages/manage/empty-tray-in'},
- {id: 3, title: '组盘入库', icon: 'RF03', path: ''},
+ {id: 3, title: '组盘入库', icon: 'RF03', path: '/pages/manage/group-in-storage'},
{id: 4, title: '原料出库', icon: 'RF04', path: ''},
{id: 5, title: '生产下料', icon: 'RF05', path: ''},
{id: 6, title: '点位更新', icon: 'RF06', path: ''},
diff --git a/pages/manage/empty-tray-in.vue b/pages/manage/empty-tray-in.vue
index a9ab1d3..edc2db9 100644
--- a/pages/manage/empty-tray-in.vue
+++ b/pages/manage/empty-tray-in.vue
@@ -7,18 +7,21 @@
载具类型
-
+
{{index1 !== '' ? options1[index1].text : ''}}
+
载具编码
-
+
@@ -27,7 +30,7 @@
@@ -72,12 +75,12 @@
},
async _emptyInStore () {
this.disabled = true
- if (!this.val1 || this.index1 === '' || !this.val2) {
+ if (this.index1 === '' || !this.val1 || !this.val2) {
this.disabled = false
return
}
try {
- let res = await emptyInStore(this.options1[this.index1].value, this.val2, this.val1)
+ let res = await emptyInStore(this.options1[this.index1].value, this.val1, this.val2)
this.clearUp()
uni.showToast({
title: res.message,
diff --git a/pages/manage/empty-tray-out.vue b/pages/manage/empty-tray-out.vue
index 23e8955..c09e6c0 100644
--- a/pages/manage/empty-tray-out.vue
+++ b/pages/manage/empty-tray-out.vue
@@ -7,11 +7,12 @@
载具类型
-
+
{{index1 !== '' ? options1[index1].text : ''}}
+