123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 |
- <template>
- <view class="picking-wrap">
- <view class="ground-title-picking">
- <csr-tab :value.sync="index" :tabList="tabList" style="{position: 'relative';z-index: 51;}"></csr-tab>
- <view class="ground-icon"></view>
- <ren-dropdown-filter :filterData='filterData' :defaultIndex='defaultIndex' @ed='ed'
- :stylesData="{padding:'0 0 0 580rpx'}"></ren-dropdown-filter>
- </view>
- <uni-easyinput prefixIcon="search" v-model="value" placeholder="请输入或扫描入库单号" @iconClick="iconClick"
- :focus="true">
- </uni-easyinput>
- <z-paging ref="paging" @query="queryList" v-model="dataList" :use-page-scroll="true">
- <view class="inner-item" v-for="(item,index) in dataList" :key="index">
- <view class="inventory-item">
- <view class="shuo-item">
- {{item.name}}
- </view>
- </view>
- <view class="inventory-item">
- <view class="shuo-item">
- <view class="shuo-label">
- 规格:
- </view>
- <view class="shuo-cont">
- {{item.guige}}
- </view>
- </view>
- <view class="shuo-item">
- <view class="shuo-label">
- 型号:
- </view>
- <view class="shuo-cont">
- {{item.xinghao}}
- </view>
- </view>
- </view>
- <view class="inventory-item">
- <view class="shuo-item">
- <view class="shuo-label">
- 生产厂家:
- </view>
- <view class="shuo-cont">
- {{item.shengchancj}}
- </view>
- </view>
- </view>
- <view class="inventory-item">
- <view class="shuo-item">
- <view class="shuo-label">
- 商品货位:
- </view>
- <view class="shuo-cont">
- {{item.huowei}}
- </view>
- </view>
- </view>
- <view class="inventory-item">
- <view class="shuo-item">
- <view class="shuo-label">
- 库存数量:
- </view>
- <view class="shuo-cont">
- {{item.kucunshul}}
- </view>
- </view>
- <view class="shuo-item">
- <view class="shuo-label">
- 盘点数量:
- </view>
- <view class="shuo-cont">
- <uni-number-box @change="changeValue" />
- </view>
- </view>
- </view>
- </view>
- </z-paging>
- <view class="foter-btn">
- <button type="primary" size="mini">结束盘点</button>
- </view>
- </view>
- </template>
- <script>
- import {
- listData
- } from './list.js';
- import ZPMixin from '@/uni_modules/z-paging/components/z-paging/js/z-paging-mixin.js'
- export default {
- mixins: [ZPMixin],
- data() {
- return {
- index: 0,
- tabList: ['待盘点', '已盘点'],
- value: "",
- dataList: [],
- listData: listData,
- filterData: [
- [{
- text: '货架1',
- value: 0
- }, {
- text: '货架2',
- value: 1
- }]
- ],
- defaultIndex: [0],
- }
- },
- methods: {
- queryList(pageNo, pageSize) {
- this.$refs.paging.complete(this.listData);
- },
- //跳转上架详情
- itemDetails(item) {
- uni.navigateTo({
- url: '/pages/pickingetials/pickingetials',
- success: function(res) {}
- });
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .picking-wrap {
- width: 100%;
- height: 100%;
- padding: 20rpx;
- box-sizing: border-box;
- background-color: #F1F1F1;
- .ground-title-picking {
- width: 100%;
- height: 100rpx;
- border-bottom: 2rpx solid #ccc;
- display: flex;
- align-items: center;
- padding: 20rpx;
- box-sizing: border-box;
- position: relative;
- margin-bottom: 10rpx;
- }
- .inner-item {
- width: 100%;
- height: 360rpx;
- border-bottom: 2rpx solid #BDBDBD;
- padding: 20rpx 20rpx 20rpx 50rpx;
- box-sizing: border-box;
- position: relative;
- background-color: #fff;
- border-radius: 20rpx;
- position: relative;
- margin-top: 10rpx;
- .all-text {
- width: 150rpx;
- height: 40rpx;
- position: absolute;
- right: 20rpx;
- top: 30rpx;
- font-family: PingFangSC-regular;
- font-size: 28rpx;
- color: rgba(52, 124, 175, 0.6);
- }
- .inventory-item {
- width: 100%;
- height: 40rpx;
- color: rgba(16, 16, 16, 1);
- font-size: 28rpx;
- text-align: left;
- font-family: PingFangSC-semiBold;
- margin-top: 10rpx;
- display: flex;
- align-items: center;
- .shuo-label {
- color: rgba(16, 16, 16, 1);
- font-size: 28rpx;
- text-align: left;
- font-family: PingFangSC-regular;
- }
- .shuo-cont {
- color: rgba(16, 16, 16, 1);
- font-size: 28rpx;
- text-align: left;
- font-family: PingFangSC-regular;
- margin-left: 30rpx;
- .uni-numbox{
- width:170rpx;
- }
- }
- .shuo-item {
- width: 50%;
- height: 100%;
- line-height: 20rpx;
- display: flex;
- align-items: center;
- .shuo-label {
- color: rgba(16, 16, 16, 1);
- font-size: 28rpx;
- text-align: left;
- font-family: PingFangSC-regular;
- }
- .shuo-cont {
- color: rgba(16, 16, 16, 1);
- font-size: 28rpx;
- text-align: left;
- font-family: PingFangSC-regular;
- margin-left: 30rpx;
- }
- .shuo-await {
- color: rgba(255, 191, 107, 1);
- font-size: 28rpx;
- text-align: left;
- font-family: PingFangSC-regular;
- margin-left: 20rpx;
- }
- .shuo-ready {
- color: rgba(162, 239, 77, 1);
- font-size: 28rpx;
- text-align: left;
- font-family: PingFangSC-regular;
- margin-left: 20rpx;
- }
- }
- .shuo-one-cont {
- width: 60%;
- }
- .shuo-min {
- width: 33%;
- }
- .max-item {
- width: 68%;
- margin-left: 10rpx;
- .shuo-cont {
- font-size: 25rpx;
- }
- }
- }
- }
- .foter-btn{
- width:100%;
- height:120rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: #fff;
- border-radius: 10rpx;
- }
- }
- </style>
|