Commit 8643f1dd by LJM

css

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