Commit 8643f1dd by LJM

css

parent 47d51ebf
......@@ -590,7 +590,7 @@
left: 0;
right: 0;
width: 100%;
height: 90rpx;
height: 65rpx;
display: flex;
flex-direction: row;
border-top-color: #f5f5f5;
......@@ -603,7 +603,7 @@
justify-content: center;
align-items: center;
height: 100%;
font-size: 26rpx;
font-size: 22rpx;
}
.button-right {
display: flex;
......@@ -615,7 +615,7 @@
border-left-color: #f0f0f0;
border-left-style: solid;
border-left-width: 1px;
font-size: 26rpx;
font-size: 22rpx;
color: #007aff;
}
}
......
......@@ -799,7 +799,7 @@
list.forEach((item, index) => {
this.filterChange(index);
});
var filteredList = list.slice(-1).filter(item => item.pick_type_val === '散');
var filteredList = list.slice(-1).filter(item => item.pick_type_val === '散' && this.warehouse_id != 9);
if (filteredList.length > 0) {
this.pick_data = filteredList;
this.is_batchNotification = true;
......@@ -1266,14 +1266,15 @@
*/
pick(lock_id, pick_qty, stock_out_item_id) {
if (this.is_required) {
uni.showModal({
title: '提示',
content: '拣货数量必填',
showCancel: false
});
return false;
if (!this.formParams.pick_qty) {
uni.showModal({
title: '提示',
content: '拣货数量必填',
showCancel: false
});
return false;
}
}
var num = Number(this.detail.lock_qty) - Number(this.detail.pick_qty); //需求拣货的数量
var pick_qty_num = pick_qty * 1; //真实拣货数量
//拣货图片集合
......@@ -1285,7 +1286,7 @@
pick_qty: pick_qty,
stock_out_item_id: stock_out_item_id,
pic_ids: pic_ids.join(','),
pick_remark: this.formParams.pick_remark,
pick_remark: this.formParams.pick_remark
}, true).then(res => {
if (res.code === 0) {
uni.showToast({
......@@ -1314,6 +1315,7 @@
this.picked_num = Number(this.picked_num) - pick_qty_num;
}
this.getData();
this.$forceUpdate();
}, timeoutDuration);
} else {
uni.showModal({
......
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