Commit 6454d6ee by LJM

理货

parent 029b2358
......@@ -44,41 +44,43 @@
margin-top: 10rpx;
height: 60rpx;
border-radius: 10rpx;
.left {
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: calc(100% - 164rpx);
padding-right: 22rpx;
height: 100%;
background-color: #ffffff;
.text {
padding-left: 30rpx;
width: 164rpx;
height: 35rpx;
line-height: 35rpx;
border-right: 1px solid #f0f0f2;
.icon-juxing1 {
font-size: 30rpx;
color: #919399;
margin-left: 17rpx;
margin-right: 13rpx;
}
.uni-input {
width: 80%;
height: 60rpx;
font-size: 18rpx;
color: #292b33;
font-weight: bold;
color: #484b59;
}
.search-width {
width: 360rpx;
.icon-juxing1 {
font-size: 30rpx;
color: #919399;
margin-left: 17rpx;
margin-right: 13rpx;
}
.uni-input {
font-size: 18rpx;
color: #484b59;
}
.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;
}
}
.icon-box {
width: 75rpx;
height: 60rpx;
background: #ffffff;
border-radius: 10rpx;
.iconfont {
font-size: 30rpx;
color: #56585e;
.wrap {
width: 100%;
height: 100%;
}
}
}
......@@ -88,11 +90,11 @@
flex-wrap: wrap;
.box {
position: relative;
padding: 15rpx 17rpx 0 17rpx;
padding: 15rpx 17rpx 17rpx 17rpx;
width: 345rpx;
height: 252rpx;
background: #ffffff;
box-shadow: 0px 3rpx 3rpx 0px rgba(198, 199, 204, 0.3);
border: 1px solid transparent;
border-radius: 10rpx;
margin-right: 15rpx;
margin-bottom: 15rpx;
......@@ -295,9 +297,17 @@
color: #c6c7cc;
}
.uni-input {
height: 100%;
font-size: 18rpx;
color: #484b59;
}
.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;
}
}
.icon-box {
width: 75rpx;
......
......@@ -63,6 +63,7 @@
</view>
</view>
</view>
<!-- 无数据展示 -->
<view class="no-date column rowCenter verCenter" v-else>
<text class="iconfont icon-a-juxing21"></text>
<text class="text">查不到当前数据</text>
......@@ -168,6 +169,7 @@ export default {
array: ['物流单号', '入库单号', '入仓号'],
list: [],
filter_list: [], //筛选已选中的列表
filter_id: [], //入库单列表的入库登记
detail: {}, //详情的数据
searchParams: {
stock_in_sn: '', //入库单号
......@@ -178,8 +180,7 @@ export default {
logistics_company: '',
logistics_sn: '',
other_info: ''
},
filter_id: [] //入库单列表的入库登记
}
};
},
onNavigationBarButtonTap(e) {
......@@ -225,7 +226,7 @@ export default {
} else if (this.index == 1) {
this.searchParams.stock_in_sn = '';
} else if (this.index == 2) {
this.searchParams.other_info = '';
this.searchParams.stock_in_with_stock_in_items_inhouses = '';
}
this.getData();
},
......@@ -302,6 +303,7 @@ export default {
});
setTimeout(() => {
this.getData();
this.closeDrawer();
}, 2000);
} else {
uni.showToast({
......@@ -313,7 +315,7 @@ export default {
},
/**
* 到货登记
* @param {Object} type 1列表登记 2详情登记
* @param {Object} type 1无单号登记 2详情登记
* @param {Object} id
*/
addStockInRegister(type, id) {
......@@ -336,8 +338,11 @@ export default {
title: '登记成功',
icon: 'success'
});
s;
setTimeout(() => {
this.getData();
this.closeDrawer();
this.filter_id = [];
}, 2000);
} else {
uni.showToast({
......
......@@ -63,6 +63,11 @@
</view>
</view>
</view>
<!-- 无数据展示 -->
<view class="no-date column rowCenter verCenter" v-else>
<text class="iconfont icon-a-juxing21"></text>
<text class="text">查不到当前数据</text>
</view>
<view class="fix-btn row verCenter">
<view class="btn3 row rowCenter verCenter" @click="allChnage()">
<text class="check-box-icon" :class="{ curr: this.filter_list.length == this.filter_id.length }"></text>
......@@ -214,7 +219,7 @@ export default {
} else if (this.index == 1) {
this.searchParams.stock_in_sn = '';
} else if (this.index == 2) {
this.searchParams.other_info = '';
this.searchParams.stock_in_with_stock_in_items_inhouse = '';
}
this.getData();
},
......@@ -290,6 +295,8 @@ export default {
});
setTimeout(() => {
this.getData();
this.closeDrawer();
this.filter_id = [];
}, 2000);
} else {
uni.showToast({
......@@ -307,9 +314,6 @@ export default {
this.$refs.showRight.open();
this.getDetail(stock_in_sn);
},
showDrawers() {
this.$refs.showRightAdd.open();
},
closeDrawer() {
this.$refs.showRight.close();
}
......
......@@ -4,6 +4,7 @@ const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
const API_BASE_SUPPLIER = 'http://supplier.liexin.net'; //供应商系统
const API_BASE_CRM = 'http://crmnew.liexindev.net'; //CRM系统
const API_BASE = 'http://wms.liexindev.net'; //WMS系统
const API_BASE_LIEXIN = 'http://api.liexin.com'; //api系统
const API = {
/**
......@@ -30,6 +31,26 @@ const API = {
* 删除到货登记
* */
delStockInRegister: API_BASE + '/api/stockIn/stockInRegister/delStockInRegister',
/**
* 待理货列表
* */
waitTallyReceiveList: API_BASE + '/api/stockIn/tallyReceive/waitTallyReceiveList',
/**
* 已理货列表
* */
haveTallyReceiveList: API_BASE + '/api/stockIn/tallyReceive/haveTallyReceiveList',
/**
* 获取容器下拉列表
* */
getTallyContainer: API_BASE + '/api/stockIn/tallyReceive/getTallyContainer',
/**
* 新增理货
* */
createTallyReceive: API_BASE + '/api/stockIn/tallyReceive/createTallyReceive',
/**
* 上传文件
* */
upload: API_BASE_LIEXIN + '/oss/upload',
}
......
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