Commit 9a1bb78e by liangjianmin

js

parent 52ce8e47
...@@ -47,13 +47,22 @@ ...@@ -47,13 +47,22 @@
margin-bottom: 23rpx; margin-bottom: 23rpx;
border-top: 1px solid #e6edf0; border-top: 1px solid #e6edf0;
} }
.box { .list {
width: 144rpx; flex-wrap: wrap;
height: 144rpx; .box {
margin-right: 24rpx;
image {
width: 144rpx; width: 144rpx;
height: 144rpx; height: 144rpx;
margin-right: 24rpx;
&:nth-of-type(4n) {
margin-right: 0;
}
&:nth-child(n+5){
margin-top: 24rpx;
}
image {
width: 144rpx;
height: 144rpx;
}
} }
} }
} }
...@@ -63,7 +72,7 @@ ...@@ -63,7 +72,7 @@
background: #ffffff; background: #ffffff;
border-radius: 4rpx; border-radius: 4rpx;
margin-bottom: 48rpx; margin-bottom: 48rpx;
.top { .top {
.title { .title {
.arrow { .arrow {
width: 12rpx; width: 12rpx;
...@@ -79,37 +88,37 @@ ...@@ -79,37 +88,37 @@
} }
} }
} }
.list{ .list {
.box{ .box {
height: 123rpx; height: 123rpx;
border-bottom: 1px solid #E6EDF0; border-bottom: 1px solid #e6edf0;
&:last-child{ &:last-child {
border-bottom: none; border-bottom: none;
} }
.w1{ .w1 {
width: 241rpx; width: 241rpx;
} }
.text{ .text {
.tt{ .tt {
.t1{ .t1 {
font-size: 22rpx; font-size: 22rpx;
color: #6E767A; color: #6e767a;
} }
.t2{ .t2 {
font-size: 22rpx; font-size: 22rpx;
color: #404547; color: #404547;
} }
} }
} }
.camera{ .camera {
width: 80rpx; width: 80rpx;
height: 60rpx; height: 60rpx;
background: #197ADB; background: #197adb;
border-radius: 4rpx; border-radius: 4rpx;
font-size: 22rpx; font-size: 22rpx;
color: #FFFFFF; color: #ffffff;
&.disable{ &.disable {
background: #9CA8AD; background: #9ca8ad;
} }
} }
} }
......
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
<text class="t2">({{ total }})</text> <text class="t2">({{ total }})</text>
</view> </view>
</view> </view>
<view class="list" v-if="warehouseOperation.length > 0"> <view class="list" v-if="total > 0">
<navigator class="box row verCenter" url="/pages/goods/warehouseOperationConfirm" hover-class="none" v-for="(item, index) in warehouseOperation" :key="index"> <navigator class="box row verCenter" :url="'/pages/goods/warehouseOperationConfirm?weonlt_id=' + item.weonlt_id" hover-class="none" v-for="(item, index) in warehouseOperation" :key="index">
<template v-if="item.arrival_status == 1"> <template v-if="item.arrival_status == 1">
<text class="status-text-no">{{ item.arrival_status_cn }}</text> <text class="status-text-no">{{ item.arrival_status_cn }}</text>
</template> </template>
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
textArr: ['待作业'], textArr: ['待作业'],
warehouseOperation: [], warehouseOperation: [],
erp_order_sn: '', erp_order_sn: '',
total: 0, total: 1,
page: 1, page: 1,
limit: 10, limit: 10,
is_loading: false is_loading: false
...@@ -126,6 +126,7 @@ export default { ...@@ -126,6 +126,7 @@ export default {
this.input_status = false; this.input_status = false;
}, },
inputChange() { inputChange() {
this.total = 0;
this.page = 1; this.page = 1;
this.warehouseOperation = []; this.warehouseOperation = [];
this.getData(); this.getData();
......
...@@ -36,7 +36,15 @@ const API = { ...@@ -36,7 +36,15 @@ const API = {
/** /**
* 仓内作业列表 * 仓内作业列表
* */ * */
warehouseOperationList: API_BASE + '/supplywechatwms/warehouseOperationList' warehouseOperationList: API_BASE + '/supplywechatwms/warehouseOperationList',
/**
* 仓内作业详情
* */
warehouseOperationDetail: API_BASE + '/supplywechatwms/warehouseOperationDetail',
/**
* 执行仓内作业
* */
execWarehouseOperation: API_BASE + '/supplywechatwms/execWarehouseOperation'
} }
......
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