Commit a3d8bb30 by LJM

理货

parent 58c06ee6
......@@ -45,6 +45,7 @@
padding-bottom: 150rpx;
flex-wrap: wrap;
.box {
position: relative;
padding: 15rpx 17rpx 0 17rpx;
width: 345rpx;
height: 250rpx;
......@@ -53,8 +54,22 @@
border-radius: 10rpx;
margin-right: 15rpx;
margin-bottom: 15rpx;
.check-box-icon {
position: absolute;
right: 18rpx;
top: 17rpx;
width: 20rpx;
height: 20rpx;
background: url('https://img.ichunt.com/images/ichunt/202304/11/0bf30da3e8ce6c476c210173b5f13d51.png') no-repeat center;
background-size: contain;
display: block;
}
&.curr {
border: 1px solid #1969f9;
.check-box-icon {
background: url('https://img.ichunt.com/images/ichunt/202304/11/71a74e52e94bcf2e89f8df9817d494c6.png') no-repeat center;
background-size: contain;
}
}
&:nth-of-type(2n) {
margin-right: 0;
......
.tallyReceive {
padding: 15rpx 22rpx;
.search-box {
height: 60rpx;
background: #ffffff;
border-radius: 10rpx;
padding: 0 18rpx 0 0;
.sn {
width: 164rpx;
height: 35rpx;
border-right: 1px solid #f0f0f2;
.uni-input {
font-size: 18rpx;
color: #292b33;
font-weight: bold;
}
.uni-arrow {
width: 14rpx;
height: 9rpx;
background: url('https://img.ichunt.com/images/ichunt/202304/10/e4c72319ad41ce1425f71cc6ec35f111.png') no-repeat center;
background-size: contain;
margin-left: 12rpx;
}
}
.search-bar {
width: calc(100% - 164rpx);
.icon-juxing1 {
font-size: 30rpx;
color: #919399;
margin-left: 17rpx;
margin-right: 13rpx;
}
.uni-input {
font-size: 18rpx;
color: #484b59;
}
.icon-a-juxing11 {
font-size: 30rpx;
color: #c6c7cc;
}
}
}
.search-type {
margin-top: 10rpx;
height: 60rpx;
border-radius: 10rpx;
.left {
height: 100%;
background-color: #ffffff;
.text {
padding-left: 30rpx;
width: 164rpx;
height: 35rpx;
line-height: 35rpx;
border-right: 1px solid #f0f0f2;
font-size: 18rpx;
color: #292b33;
font-weight: bold;
}
.search-width {
width: 360rpx;
.icon-juxing1 {
font-size: 30rpx;
color: #919399;
margin-left: 17rpx;
margin-right: 13rpx;
}
.uni-input {
font-size: 18rpx;
color: #484b59;
}
}
}
.icon-box {
width: 75rpx;
height: 60rpx;
background: #ffffff;
border-radius: 10rpx;
.iconfont {
font-size: 30rpx;
color: #56585e;
}
}
}
.list {
margin-top: 15rpx;
padding-bottom: 150rpx;
flex-wrap: wrap;
.box {
position: relative;
padding: 15rpx 17rpx 0 17rpx;
width: 345rpx;
height: 252rpx;
background: #ffffff;
box-shadow: 0px 3rpx 3rpx 0px rgba(198, 199, 204, 0.3);
border-radius: 10rpx;
margin-right: 15rpx;
margin-bottom: 15rpx;
.check-box-icon {
position: absolute;
right: 18rpx;
top: 17rpx;
width: 20rpx;
height: 20rpx;
background: url('https://img.ichunt.com/images/ichunt/202304/11/0bf30da3e8ce6c476c210173b5f13d51.png') no-repeat center;
background-size: contain;
display: block;
}
&.curr {
border: 1px solid #1969f9;
.check-box-icon {
background: url('https://img.ichunt.com/images/ichunt/202304/11/71a74e52e94bcf2e89f8df9817d494c6.png') no-repeat center;
background-size: contain;
}
}
&:nth-of-type(2n) {
margin-right: 0;
}
.bor {
height: 1px;
background-color: #f0f0f2;
margin-bottom: 10rpx;
}
.text-item {
margin-bottom: 13rpx;
}
.label {
width: 98rpx;
font-size: 16rpx;
color: #919399;
}
.t1 {
font-size: 16rpx;
color: #1969f9;
}
.tt {
width: calc(100% - 93rpx);
font-size: 16rpx;
color: #484b59;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.ttt {
width: calc(100% - 93rpx);
font-size: 16rpx;
color: #f98119;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.btn-box {
position: absolute;
right: 17rpx;
bottom: 13rpx;
.btn {
width: 68rpx;
height: 30rpx;
background: #1969f9;
border-radius: 8rpx;
font-size: 15rpx;
color: #ffffff;
}
}
}
}
.fix-btn {
position: fixed;
bottom: 0;
width: 100%;
left: 0;
z-index: 999;
.btn1 {
width: 128rpx;
height: 75rpx;
background: #ffffff;
.check-box-icon {
width: 20rpx;
height: 20rpx;
background: url('https://img.ichunt.com/images/ichunt/202304/11/0bf30da3e8ce6c476c210173b5f13d51.png') no-repeat center;
background-size: contain;
display: block;
&.curr {
background: url('https://img.ichunt.com/images/ichunt/202304/11/71a74e52e94bcf2e89f8df9817d494c6.png') no-repeat center;
background-size: contain;
}
}
.text {
margin-left: 10rpx;
font-size: 20rpx;
color: #484b59;
}
}
.btn2 {
width: calc(100% - 128rpx);
height: 75rpx;
background: #1969f9;
font-size: 23rpx;
color: #ffffff;
}
.btn3 {
width: 180rpx;
height: 75rpx;
background: #ffffff;
font-size: 23rpx;
color: #ff3700;
border-left: 1px solid #f0f0f2;
font-weight: bold;
}
}
}
::v-deep .uni-drawer__content {
width: 85% !important;
}
.uni-drawer {
width: 100%;
background-color: #ffffff;
padding: 22rpx 22rpx 0 22rpx;
.title {
position: relative;
.iconfont {
position: absolute;
left: 0;
top: 0;
sfont-size: 30rpx;
color: #292b33;
}
.text {
font-size: 23rpx;
color: #292b33;
font-weight: bold;
}
}
.pp {
font-size: 20rpx;
color: #292b33;
font-weight: bold;
margin-bottom: 17rpx;
margin-top: 35rpx;
}
.field-item {
flex-wrap: wrap;
margin-top: 36rpx;
.item {
flex: 0 0 50%;
margin-bottom: 8rpx;
.label {
font-size: 16rpx;
color: #919399;
}
.text {
font-size: 16rpx;
color: #1969f9;
margin-left: 6rpx;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
max-width: 176rpx;
}
}
}
.drawer-list {
.box {
padding: 18rpx 18rpx 0 18rpx;
height: 94rpx;
background: #ffffff;
box-shadow: 0px 3rpx 3rpx 0px rgba(198, 199, 204, 0.3);
border-radius: 10rpx;
border: 1px solid #c6c7cc;
margin-bottom: 15rpx;
.top {
margin-bottom: 10rpx;
.t1 {
font-size: 17rpx;
color: #1969f9;
font-weight: bold;
}
.t2 {
font-size: 20rpx;
color: #292b33;
font-weight: bold;
margin-left: 8rpx;
}
}
.bar {
.tt {
font-size: 16rpx;
color: #919399;
}
.yy {
width: 95rpx;
font-size: 16rpx;
color: #484b59;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
}
}
.time {
margin-top: 34rpx;
font-size: 16rpx;
color: #919399;
}
.btn {
position: absolute;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 75rpx;
background: #1969f9;
font-size: 23rpx;
color: #ffffff;
}
}
......@@ -13,7 +13,7 @@
"buttons": [{
"index": "0",
"text": "已登记",
"fontSize": "20rpx",
"fontSize": "15px",
"color": "#1969F9",
"float": "right",
"width": "100px"
......@@ -29,7 +29,24 @@
}, {
"path": "pages/tallyReceive/index",
"style": {
"navigationBarTitleText": "理货"
"navigationBarTitleText": "理货",
"app-plus": {
"titleNView": {
"buttons": [{
"index": "0",
"text": "理货记录",
"fontSize": "15px",
"color": "#1969F9",
"float": "right",
"width": "100px"
}]
}
}
}
}, {
"path": "pages/tallyReceive/record",
"style": {
"navigationBarTitleText": "理货记录"
}
}, {
"path": "pages/putaway/index",
......
......@@ -19,6 +19,7 @@
</view>
<view class="list row bothSide">
<view class="box curr" @click="showDrawer()">
<view class="check-box-icon"></view>
<view class="text-item row verCenter">
<text class="label">入库单号:</text>
<text class="t1">ASN2201010001</text>
......@@ -47,6 +48,7 @@
<view class="btn-box row"><view class="btn row rowCenter verCenter">登记</view></view>
</view>
<view class="box">
<view class="check-box-icon"></view>
<view class="text-item row verCenter">
<text class="label">入库单号:</text>
<text class="t1">ASN2201010001</text>
......@@ -75,6 +77,7 @@
<view class="btn-box row"><view class="btn row rowCenter verCenter">登记</view></view>
</view>
<view class="box">
<view class="check-box-icon"></view>
<view class="text-item row verCenter">
<text class="label">入库单号:</text>
<text class="t1">ASN2201010001</text>
......@@ -131,7 +134,7 @@
<view class="pp">货品详情</view>
<view class="drawer-list">
<scroll-view style="height: 755rpx" scroll-y="true">
<view class="box" v-for="(item, index) in 25">
<view class="box">
<view class="row verCenter top">
<text class="t1">{{ index + 1 }}.</text>
<text class="t2">SDF44555SDF5ASD54ASDA</text>
......
<template>
<view class="index">理货</view>
<view class="tallyReceive">
<view class="search-box row bothSide verCenter">
<view class="sn row rowCenter verCenter">
<picker @change="bindPickerChange" :value="index" :range="array">
<view class="row verCenter">
<view class="uni-input">{{ array[index] }}</view>
<view class="uni-arrow"></view>
</view>
</picker>
</view>
<view class="search-bar row bothSide verCenter">
<view class="row verCenter">
<text class="iconfont icon-juxing1"></text>
<input class="uni-input" placeholder="请输入物流单号" placeholder-style="color:#919399" />
</view>
<text class="iconfont icon-a-juxing11"></text>
</view>
</view>
<view class="search-type row verCenter bothSide">
<view class="left row verCenter">
<view class="text">容 器</view>
<view class="search-width row verCenter">
<text class="iconfont icon-juxing1"></text>
<input class="uni-input" placeholder="请输入容器" placeholder-style="color:#919399" />
</view>
</view>
<view class="row verCenter">
<view class="icon-box row rowCenter verCenter" style="margin-right: 15rpx;"><text class="iconfont icon-juxing3"></text></view>
<view class="icon-box row rowCenter verCenter"><text class="iconfont icon-a-juxing12"></text></view>
</view>
</view>
<view class="list row bothSide">
<view class="box curr" @click="showDrawer()">
<view class="check-box-icon"></view>
<view class="text-item row verCenter">
<text class="label">入库单号:</text>
<text class="t1">ASN2201010001</text>
</view>
<view class="text-item row verCenter">
<text class="label">物流单号:</text>
<text class="t1">SF2135661465161</text>
</view>
<view class="bor row"></view>
<view class="text-item row verCenter">
<text class="label">入仓号:</text>
<text class="tt">A65512、A65512、A65512、A65512、A65512、</text>
</view>
<view class="text-item row verCenter">
<text class="label">货品名称:</text>
<text class="tt">TI</text>
</view>
<view class="text-item row verCenter">
<text class="label">标准品牌:</text>
<text class="tt">TI</text>
</view>
<view class="text-item row verCenter">
<text class="label">预期数量:</text>
<text class="tt">1000</text>
</view>
<view class="text-item row verCenter">
<text class="label">待理货数量:</text>
<text class="ttt">3000</text>
</view>
<view class="btn-box row"><view class="btn row rowCenter verCenter">理货</view></view>
</view>
<view class="box" v-for="item in 20">
<view class="check-box-icon"></view>
<view class="text-item row verCenter">
<text class="label">入库单号:</text>
<text class="t1">ASN2201010001</text>
</view>
<view class="text-item row verCenter">
<text class="label">物流单号:</text>
<text class="t1">SF2135661465161</text>
</view>
<view class="bor row"></view>
<view class="text-item row verCenter">
<text class="label">入仓号:</text>
<text class="tt">A65512、A65512、A65512、A65512、A65512、</text>
</view>
<view class="text-item row verCenter">
<text class="label">货品名称:</text>
<text class="tt">TI</text>
</view>
<view class="text-item row verCenter">
<text class="label">标准品牌:</text>
<text class="tt">TI</text>
</view>
<view class="text-item row verCenter">
<text class="label">预期数量:</text>
<text class="tt">预期数量:</text>
</view>
<view class="text-item row verCenter">
<text class="label">待理货数量:</text>
<text class="ttt">3000</text>
</view>
<view class="btn-box row"><view class="btn row rowCenter verCenter">理货</view></view>
</view>
</view>
<view class="no-date column rowCenter verCenter">
<text class="iconfont icon-a-juxing21"></text>
<text class="text">查不到当前数据</text>
</view>
<view class="fix-btn row verCenter">
<view class="btn1 row rowCenter verCenter">
<text class="check-box-icon curr"></text>
<text class="text">全选</text>
</view>
<view class="btn2 row rowCenter verCenter">一键理货</view>
</view>
</view>
</template>
<script>
import { API } from '@/util/api.js';
export default {
data() {
return {};
return {
index: 0,
array: ['物流单号', '入库单号', '入仓号']
};
},
onLoad() {},
methods: {}
onNavigationBarButtonTap(e) {
console.log(e);
if (e.index == 0) {
uni.navigateTo({
url: '/pages/tallyReceive/record'
});
}
},
methods: {
bindPickerChange: function(e) {
console.log('picker发送选择改变,携带值为', e.detail.value);
this.index = e.detail.value;
}
}
};
</script>
<style scoped lang="scss">
@import '@/assets/css/index/index.scss';
@import '@/assets/css/tallyReceive/index.scss';
</style>
<template>
<view class="tallyReceive">
<view class="search-box row bothSide verCenter">
<view class="sn row rowCenter verCenter">
<picker @change="bindPickerChange" :value="index" :range="array">
<view class="row verCenter">
<view class="uni-input">{{ array[index] }}</view>
<view class="uni-arrow"></view>
</view>
</picker>
</view>
<view class="search-bar row bothSide verCenter">
<view class="row verCenter">
<text class="iconfont icon-juxing1"></text>
<input class="uni-input" placeholder="请扫描或输入号码" placeholder-style="color:#919399" />
</view>
<text class="iconfont icon-a-juxing11"></text>
</view>
</view>
<view class="list row bothSide">
<view class="box curr" @click="showDrawer()">
<view class="check-box-icon"></view>
<view class="text-item row verCenter">
<text class="label">入库单号:</text>
<text class="t1">ASN2201010001</text>
</view>
<view class="text-item row verCenter">
<text class="label">物流单号:</text>
<text class="t1">SF2135661465161</text>
</view>
<view class="bor row"></view>
<view class="text-item row verCenter">
<text class="label">入仓号:</text>
<text class="tt">A65512、A65512、A65512、A65512、A65512、</text>
</view>
<view class="text-item row verCenter">
<text class="label">货品名称:</text>
<text class="tt">TI</text>
</view>
<view class="text-item row verCenter">
<text class="label">标准品牌:</text>
<text class="tt">TI</text>
</view>
<view class="text-item row verCenter">
<text class="label">入库批次号:</text>
<text class="tt">1000</text>
</view>
<view class="text-item row verCenter">
<text class="label">理货数量:</text>
<text class="ttt">3000</text>
</view>
<view class="btn-box row"><view class="btn row rowCenter verCenter">详情</view></view>
</view>
<view class="box" v-for="item in 20">
<view class="check-box-icon"></view>
<view class="text-item row verCenter">
<text class="label">入库单号:</text>
<text class="t1">ASN2201010001</text>
</view>
<view class="text-item row verCenter">
<text class="label">物流单号:</text>
<text class="t1">SF2135661465161</text>
</view>
<view class="bor row"></view>
<view class="text-item row verCenter">
<text class="label">入仓号:</text>
<text class="tt">A65512、A65512、A65512、A65512、A65512、</text>
</view>
<view class="text-item row verCenter">
<text class="label">货品名称:</text>
<text class="tt">TI</text>
</view>
<view class="text-item row verCenter">
<text class="label">标准品牌:</text>
<text class="tt">TI</text>
</view>
<view class="text-item row verCenter">
<text class="label">入库批次号:</text>
<text class="tt">1000</text>
</view>
<view class="text-item row verCenter">
<text class="label">理货数量:</text>
<text class="ttt">3000</text>
</view>
<view class="btn-box row"><view class="btn row rowCenter verCenter">详情</view></view>
</view>
</view>
<view class="no-date column rowCenter verCenter">
<text class="iconfont icon-a-juxing21"></text>
<text class="text">查不到当前数据</text>
</view>
<view class="fix-btn row verCenter">
<view class="btn1 row rowCenter verCenter" style="width: 127rpx;">
<text class="check-box-icon curr"></text>
<text class="text">全选</text>
</view>
<view class="btn3 row rowCenter verCenter">取消理货</view>
<view class="btn2 row rowCenter verCenter" style="width: calc(100% - 308rpx);">批量打印入库标签</view>
</view>
</view>
</template>
<script>
import { API } from '@/util/api.js';
export default {
data() {
return {
index: 0,
array: ['物流单号', '入库单号', '入仓号']
};
},
onLoad() {},
methods: {
bindPickerChange: function(e) {
console.log('picker发送选择改变,携带值为', e.detail.value);
this.index = e.detail.value;
}
}
};
</script>
<style scoped lang="scss">
@import '@/assets/css/tallyReceive/index.scss';
</style>
......@@ -112,3 +112,16 @@ image {
-ms-flex: 1;
flex: 1;
}
.no-date {
padding: 30rpx 0;
.iconfont {
font-size: 180rpx;
color: #c6c7cc;
margin-bottom: 30rpx;
}
.text {
font-size: 20rpx;
color: #484b59;
}
}
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 sign in to comment